From ecf47809f960bd057af8a414168fada6fe22c5f7 Mon Sep 17 00:00:00 2001 From: Llewellyn van der Merwe Date: Sat, 30 Jan 2016 22:28:43 +0200 Subject: [PATCH] first commit of free version --- LICENSE.txt | 340 + README.md | 75 + admin/access.xml | 223 + admin/assets/css/admin.css | 32 + admin/assets/css/admin_view.css | 28 + admin/assets/css/admin_views.css | 28 + admin/assets/css/component.css | 28 + admin/assets/css/components.css | 28 + admin/assets/css/custom_admin_view.css | 28 + admin/assets/css/custom_admin_views.css | 28 + admin/assets/css/dashboard.css | 178 + admin/assets/css/dynamic_get.css | 28 + admin/assets/css/dynamic_gets.css | 28 + admin/assets/css/field.css | 28 + admin/assets/css/fields.css | 28 + admin/assets/css/fieldtype.css | 28 + admin/assets/css/fieldtypes.css | 28 + admin/assets/css/help_document.css | 28 + admin/assets/css/help_documents.css | 28 + admin/assets/css/index.html | 1 + admin/assets/css/layout.css | 28 + admin/assets/css/layouts.css | 28 + admin/assets/css/site_view.css | 28 + admin/assets/css/site_views.css | 28 + admin/assets/css/snippet.css | 28 + admin/assets/css/snippets.css | 28 + admin/assets/css/template.css | 28 + admin/assets/css/templates.css | 28 + admin/assets/images/ajax-loader.gif | Bin 0 -> 402119 bytes admin/assets/images/ajax.gif | Bin 0 -> 65516 bytes admin/assets/images/component-300.png | Bin 0 -> 129074 bytes admin/assets/images/grid.png | Bin 0 -> 3586 bytes admin/assets/images/icons/admin_view_add.png | Bin 0 -> 15481 bytes admin/assets/images/icons/admin_views.png | Bin 0 -> 13176 bytes admin/assets/images/icons/compiler.png | Bin 0 -> 20445 bytes admin/assets/images/icons/component_add.png | Bin 0 -> 13685 bytes admin/assets/images/icons/components.png | Bin 0 -> 11043 bytes .../images/icons/custom_admin_view_add.png | Bin 0 -> 23959 bytes .../images/icons/custom_admin_views.png | Bin 0 -> 22174 bytes admin/assets/images/icons/dynamic_get_add.png | Bin 0 -> 15024 bytes admin/assets/images/icons/dynamic_gets.png | Bin 0 -> 14299 bytes admin/assets/images/icons/field_add.png | Bin 0 -> 7715 bytes admin/assets/images/icons/fields.png | Bin 0 -> 5093 bytes admin/assets/images/icons/fields_catid.png | Bin 0 -> 9788 bytes admin/assets/images/icons/fieldtype_add.png | Bin 0 -> 24499 bytes admin/assets/images/icons/fieldtypes.png | Bin 0 -> 25066 bytes .../assets/images/icons/fieldtypes_catid.png | Bin 0 -> 15321 bytes .../assets/images/icons/help_document_add.png | Bin 0 -> 26419 bytes admin/assets/images/icons/help_documents.png | Bin 0 -> 26097 bytes admin/assets/images/icons/index.html | 1 + admin/assets/images/icons/layout_add.png | Bin 0 -> 26600 bytes admin/assets/images/icons/layouts.png | Bin 0 -> 26773 bytes admin/assets/images/icons/site_view_add.png | Bin 0 -> 21456 bytes admin/assets/images/icons/site_views.png | Bin 0 -> 19557 bytes admin/assets/images/icons/snippet_add.png | Bin 0 -> 11569 bytes admin/assets/images/icons/snippets.png | Bin 0 -> 8536 bytes admin/assets/images/icons/template_add.png | Bin 0 -> 18591 bytes admin/assets/images/icons/templates.png | Bin 0 -> 18579 bytes admin/assets/images/import.gif | Bin 0 -> 65516 bytes admin/assets/images/index.html | 1 + admin/assets/index.html | 1 + admin/assets/js/admin.js | 0 admin/assets/js/index.html | 1 + admin/compiler/default.txt | 18 + admin/compiler/description.txt | 16 + admin/compiler/giz.txt | 17 + admin/compiler/index.html | 1 + admin/compiler/joomla_3/1.0.0.sql | 1 + .../joomla_3/DASHJControllerAdmin.php | 41 + admin/compiler/joomla_3/DASHJModelList.php | 210 + admin/compiler/joomla_3/DASHJViewLagacy.php | 101 + admin/compiler/joomla_3/DASHdefault.php | 50 + admin/compiler/joomla_3/Helper.php | 860 + admin/compiler/joomla_3/Helper_site.php | 812 + admin/compiler/joomla_3/JControllerAdmin.php | 51 + .../JControllerAdmin_custom_admin.php | 57 + admin/compiler/joomla_3/JControllerForm.php | 271 + .../joomla_3/JControllerForm_custom_site.php | 120 + .../joomla_3/JControllerForm_site.php | 271 + admin/compiler/joomla_3/JControllerLegacy.php | 108 + .../joomla_3/JControllerLegacyAjax.php | 76 + .../joomla_3/JControllerLegacyAjaxSite.php | 76 + .../joomla_3/JControllerLegacyHelp.php | 132 + .../joomla_3/JControllerLegacyHelp_site.php | 133 + .../joomla_3/JControllerLegacySITE.php | 103 + .../JControllerLegacy_custom_admin.php | 50 + .../joomla_3/JControllerLegacy_import.php | 70 + .../joomla_3/JFormFieldCheckboxes.php | 57 + admin/compiler/joomla_3/JFormFieldList.php | 57 + admin/compiler/joomla_3/JFormFieldRadio.php | 57 + admin/compiler/joomla_3/JFormFieldUser.php | 71 + admin/compiler/joomla_3/JFormRule.php | 47 + admin/compiler/joomla_3/JModelAdmin.php | 429 + admin/compiler/joomla_3/JModelAdmin_site.php | 410 + .../joomla_3/JModelItem_custom_admin.php | 141 + admin/compiler/joomla_3/JModelItem_site.php | 143 + .../compiler/joomla_3/JModelLegacy_import.php | 735 + admin/compiler/joomla_3/JModelList.php | 126 + admin/compiler/joomla_3/JModelListAjax.php | 48 + .../compiler/joomla_3/JModelListAjaxSite.php | 48 + .../joomla_3/JModelList_custom_admin.php | 98 + admin/compiler/joomla_3/JModelList_site.php | 98 + admin/compiler/joomla_3/JTable.php | 351 + .../joomla_3/JViewLegacy_custom_admin.php | 113 + admin/compiler/joomla_3/JViewLegacy_edit.php | 128 + .../joomla_3/JViewLegacy_edit_site.php | 137 + .../compiler/joomla_3/JViewLegacy_import.php | 113 + admin/compiler/joomla_3/JViewLegacy_list.php | 233 + .../JViewLegacy_list_custom_admin.php | 102 + .../joomla_3/JViewLegacy_list_site.php | 90 + admin/compiler/joomla_3/JViewLegacy_site.php | 90 + admin/compiler/joomla_3/LICENSE.txt | 340 + admin/compiler/joomla_3/README.md | 1 + admin/compiler/joomla_3/access.xml | 4 + admin/compiler/joomla_3/admin.css | 7 + admin/compiler/joomla_3/admin.js | 0 admin/compiler/joomla_3/ajax.json.php | 100 + admin/compiler/joomla_3/ajax.php | 88 + admin/compiler/joomla_3/batch_.php | 95 + admin/compiler/joomla_3/batchselection.php | 65 + admin/compiler/joomla_3/component.xml | 94 + admin/compiler/joomla_3/component_admin.php | 62 + admin/compiler/joomla_3/component_site.php | 52 + admin/compiler/joomla_3/config.xml | 19 + admin/compiler/joomla_3/dashboard.css | 155 + admin/compiler/joomla_3/default.php | 102 + admin/compiler/joomla_3/default.xml | 1 + .../compiler/joomla_3/default_batch_body.php | 35 + .../joomla_3/default_batch_footer.php | 40 + admin/compiler/joomla_3/default_body.php | 35 + .../joomla_3/default_custom_admin.php | 58 + .../default_custom_admin_template.php | 32 + admin/compiler/joomla_3/default_foot.php | 35 + admin/compiler/joomla_3/default_head.php | 33 + admin/compiler/joomla_3/default_import.php | 236 + admin/compiler/joomla_3/default_list.xml | 6 + .../joomla_3/default_list_custom_admin.php | 57 + admin/compiler/joomla_3/default_list_site.php | 33 + admin/compiler/joomla_3/default_main.php | 45 + admin/compiler/joomla_3/default_site.php | 33 + .../joomla_3/default_site_template.php | 32 + admin/compiler/joomla_3/default_toolbar.php | 62 + admin/compiler/joomla_3/default_vdm.php | 58 + admin/compiler/joomla_3/edit.php | 42 + admin/compiler/joomla_3/edit_site.php | 44 + admin/compiler/joomla_3/en-GB.com_admin.ini | 1 + .../compiler/joomla_3/en-GB.com_admin.sys.ini | 1 + admin/compiler/joomla_3/en-GB.com_site.ini | 1 + .../compiler/joomla_3/en-GB.com_site.sys.ini | 1 + admin/compiler/joomla_3/headercheck.php | 88 + admin/compiler/joomla_3/import.gif | Bin 0 -> 65516 bytes admin/compiler/joomla_3/index.html | 1 + .../compiler/joomla_3/install.mysql.utf8.sql | 1 + admin/compiler/joomla_3/layout.php | 58 + .../compiler/joomla_3/layout_custom_admin.php | 33 + admin/compiler/joomla_3/layout_site.php | 33 + admin/compiler/joomla_3/layoutfull.php | 51 + admin/compiler/joomla_3/layoutitems.php | 57 + admin/compiler/joomla_3/layoutlinkedview.php | 42 + admin/compiler/joomla_3/layoutmetadata.php | 59 + admin/compiler/joomla_3/layoutpublished.php | 58 + admin/compiler/joomla_3/layouttitle.php | 44 + admin/compiler/joomla_3/module_forms.js | 3 + admin/compiler/joomla_3/module_forms.xml | 9 + admin/compiler/joomla_3/routeHelper.php | 222 + admin/compiler/joomla_3/router.php | 202 + admin/compiler/joomla_3/script.php | 114 + admin/compiler/joomla_3/settings.json | 710 + admin/compiler/joomla_3/site.css | 7 + admin/compiler/joomla_3/site.js | 0 admin/compiler/joomla_3/submitbutton.js | 27 + admin/compiler/joomla_3/submitbutton_site.js | 27 + .../joomla_3/uninstall.mysql.utf8.sql | 1 + admin/compiler/joomla_3/update_server.xml | 1 + admin/compiler/joomla_3/vdm.php | 32 + admin/compiler/joomla_3/view.css | 5 + admin/compiler/joomla_3/view_custom_admin.css | 5 + admin/compiler/joomla_3/view_site.css | 5 + admin/compiler/joomla_3/view_site_edit.css | 5 + admin/compiler/joomla_3/views.css | 5 + .../compiler/joomla_3/views_custom_admin.css | 5 + admin/compiler/joomla_3/views_site.css | 5 + admin/compiler/joomla_3/wideimage/Canvas.php | 167 + .../joomla_3/wideimage/Coordinate.php | 208 + .../compiler/joomla_3/wideimage/Exception.php | 31 + .../compiler/joomla_3/wideimage/Font/GDF.php | 48 + admin/compiler/joomla_3/wideimage/Font/PS.php | 60 + .../compiler/joomla_3/wideimage/Font/TTF.php | 75 + .../joomla_3/wideimage/Font/index.html | 1 + admin/compiler/joomla_3/wideimage/Image.php | 964 + .../joomla_3/wideimage/Mapper/BMP.php | 51 + .../compiler/joomla_3/wideimage/Mapper/GD.php | 44 + .../joomla_3/wideimage/Mapper/GD2.php | 41 + .../joomla_3/wideimage/Mapper/GIF.php | 50 + .../joomla_3/wideimage/Mapper/JPEG.php | 41 + .../joomla_3/wideimage/Mapper/PNG.php | 41 + .../joomla_3/wideimage/Mapper/TGA.php | 48 + .../joomla_3/wideimage/Mapper/index.html | 1 + .../joomla_3/wideimage/MapperFactory.php | 126 + .../joomla_3/wideimage/Operation/AddNoise.php | 153 + .../wideimage/Operation/ApplyConvolution.php | 48 + .../wideimage/Operation/ApplyFilter.php | 67 + .../wideimage/Operation/ApplyMask.php | 105 + .../wideimage/Operation/AsGrayscale.php | 49 + .../wideimage/Operation/AsNegative.php | 63 + .../joomla_3/wideimage/Operation/AutoCrop.php | 162 + .../Operation/CopyChannelsPalette.php | 90 + .../Operation/CopyChannelsTrueColor.php | 67 + .../wideimage/Operation/CorrectGamma.php | 48 + .../joomla_3/wideimage/Operation/Crop.php | 86 + .../joomla_3/wideimage/Operation/Flip.php | 54 + .../joomla_3/wideimage/Operation/GetMask.php | 67 + .../joomla_3/wideimage/Operation/Merge.php | 78 + .../joomla_3/wideimage/Operation/Mirror.php | 55 + .../joomla_3/wideimage/Operation/Resize.php | 157 + .../wideimage/Operation/ResizeCanvas.php | 107 + .../joomla_3/wideimage/Operation/Rotate.php | 64 + .../wideimage/Operation/RoundCorners.php | 114 + .../joomla_3/wideimage/Operation/Unsharp.php | 135 + .../joomla_3/wideimage/Operation/index.html | 1 + .../joomla_3/wideimage/OperationFactory.php | 57 + .../joomla_3/wideimage/PaletteImage.php | 136 + .../joomla_3/wideimage/TrueColorImage.php | 218 + .../compiler/joomla_3/wideimage/WideImage.php | 377 + admin/compiler/joomla_3/wideimage/index.html | 1 + .../joomla_3/wideimage/vendor/de77/index.html | 1 + .../joomla_3/wideimage/vendor/index.html | 1 + admin/compiler/vdm.txt | 23 + admin/componentbuilder.php | 60 + admin/config.xml | 504 + admin/controller.php | 117 + admin/controllers/admin_view.php | 327 + admin/controllers/admin_views.php | 112 + admin/controllers/ajax.json.php | 419 + admin/controllers/compiler.php | 204 + admin/controllers/component.php | 313 + admin/controllers/componentbuilder.php | 39 + admin/controllers/components.php | 112 + admin/controllers/custom_admin_view.php | 327 + admin/controllers/custom_admin_views.php | 112 + admin/controllers/dynamic_get.php | 327 + admin/controllers/dynamic_gets.php | 112 + admin/controllers/field.php | 357 + admin/controllers/fields.php | 112 + admin/controllers/fieldtype.php | 357 + admin/controllers/fieldtypes.php | 112 + admin/controllers/help.php | 130 + admin/controllers/help_document.php | 327 + admin/controllers/help_documents.php | 112 + admin/controllers/import.php | 68 + admin/controllers/index.html | 1 + admin/controllers/layout.php | 327 + admin/controllers/layouts.php | 112 + admin/controllers/site_view.php | 327 + admin/controllers/site_views.php | 112 + admin/controllers/snippet.php | 327 + admin/controllers/snippets.php | 112 + admin/controllers/template.php | 327 + admin/controllers/templates.php | 112 + admin/custom/PHPExcel.php | 1139 + admin/custom/PHPExcel/Autoloader.php | 89 + .../PHPExcel/CachedObjectStorage/APC.php | 295 + .../CachedObjectStorage/CacheBase.php | 347 + .../PHPExcel/CachedObjectStorage/DiscISAM.php | 219 + .../PHPExcel/CachedObjectStorage/ICache.php | 112 + .../PHPExcel/CachedObjectStorage/Igbinary.php | 152 + .../PHPExcel/CachedObjectStorage/Memcache.php | 312 + .../PHPExcel/CachedObjectStorage/Memory.php | 125 + .../CachedObjectStorage/MemoryGZip.php | 137 + .../CachedObjectStorage/MemorySerialized.php | 137 + .../PHPExcel/CachedObjectStorage/PHPTemp.php | 206 + .../PHPExcel/CachedObjectStorage/SQLite.php | 306 + .../PHPExcel/CachedObjectStorage/SQLite3.php | 345 + .../PHPExcel/CachedObjectStorage/Wincache.php | 294 + .../PHPExcel/CachedObjectStorage/index.html | 1 + .../PHPExcel/CachedObjectStorageFactory.php | 251 + .../CalcEngine/CyclicReferenceStack.php | 98 + admin/custom/PHPExcel/CalcEngine/Logger.php | 153 + admin/custom/PHPExcel/CalcEngine/index.html | 1 + admin/custom/PHPExcel/Calculation.php | 3946 ++++ .../custom/PHPExcel/Calculation/Database.php | 725 + .../custom/PHPExcel/Calculation/DateTime.php | 1475 ++ .../PHPExcel/Calculation/Engineering.php | 2505 +++ .../custom/PHPExcel/Calculation/Exception.php | 52 + .../PHPExcel/Calculation/ExceptionHandler.php | 49 + .../custom/PHPExcel/Calculation/Financial.php | 2292 ++ .../PHPExcel/Calculation/FormulaParser.php | 614 + .../PHPExcel/Calculation/FormulaToken.php | 176 + .../custom/PHPExcel/Calculation/Function.php | 149 + .../custom/PHPExcel/Calculation/Functions.php | 725 + admin/custom/PHPExcel/Calculation/Logical.php | 288 + .../custom/PHPExcel/Calculation/LookupRef.php | 881 + .../custom/PHPExcel/Calculation/MathTrig.php | 1373 ++ .../PHPExcel/Calculation/Statistical.php | 3651 ++++ .../custom/PHPExcel/Calculation/TextData.php | 631 + .../PHPExcel/Calculation/Token/Stack.php | 115 + .../PHPExcel/Calculation/Token/index.html | 1 + .../PHPExcel/Calculation/functionlist.txt | 351 + admin/custom/PHPExcel/Calculation/index.html | 1 + admin/custom/PHPExcel/Cell.php | 1022 + .../PHPExcel/Cell/AdvancedValueBinder.php | 192 + admin/custom/PHPExcel/Cell/DataType.php | 122 + admin/custom/PHPExcel/Cell/DataValidation.php | 472 + .../PHPExcel/Cell/DefaultValueBinder.php | 100 + admin/custom/PHPExcel/Cell/Hyperlink.php | 126 + admin/custom/PHPExcel/Cell/IValueBinder.php | 46 + admin/custom/PHPExcel/Cell/index.html | 1 + admin/custom/PHPExcel/Chart.php | 635 + admin/custom/PHPExcel/Chart/Axis.php | 584 + admin/custom/PHPExcel/Chart/DataSeries.php | 365 + .../PHPExcel/Chart/DataSeriesValues.php | 327 + admin/custom/PHPExcel/Chart/Exception.php | 52 + admin/custom/PHPExcel/Chart/GridLines.php | 458 + admin/custom/PHPExcel/Chart/Layout.php | 445 + admin/custom/PHPExcel/Chart/Legend.php | 171 + admin/custom/PHPExcel/Chart/PlotArea.php | 128 + admin/custom/PHPExcel/Chart/Properties.php | 359 + .../Chart/Renderer/PHP Charting Libraries.txt | 17 + .../custom/PHPExcel/Chart/Renderer/index.html | 1 + .../PHPExcel/Chart/Renderer/jpgraph.php | 855 + admin/custom/PHPExcel/Chart/Title.php | 92 + admin/custom/PHPExcel/Chart/index.html | 1 + admin/custom/PHPExcel/Comment.php | 327 + admin/custom/PHPExcel/DocumentProperties.php | 587 + admin/custom/PHPExcel/DocumentSecurity.php | 218 + admin/custom/PHPExcel/Exception.php | 52 + admin/custom/PHPExcel/HashTable.php | 202 + admin/custom/PHPExcel/IComparable.php | 43 + admin/custom/PHPExcel/IOFactory.php | 288 + admin/custom/PHPExcel/NamedRange.php | 246 + admin/custom/PHPExcel/Reader/Abstract.php | 230 + admin/custom/PHPExcel/Reader/CSV.php | 387 + .../PHPExcel/Reader/DefaultReadFilter.php | 58 + admin/custom/PHPExcel/Reader/Excel2003XML.php | 802 + admin/custom/PHPExcel/Reader/Excel2007.php | 2085 ++ .../PHPExcel/Reader/Excel2007/Chart.php | 517 + .../PHPExcel/Reader/Excel2007/Theme.php | 124 + .../PHPExcel/Reader/Excel2007/index.html | 1 + admin/custom/PHPExcel/Reader/Excel5.php | 7088 +++++++ .../custom/PHPExcel/Reader/Excel5/Escher.php | 640 + admin/custom/PHPExcel/Reader/Excel5/MD5.php | 221 + admin/custom/PHPExcel/Reader/Excel5/RC4.php | 88 + .../custom/PHPExcel/Reader/Excel5/index.html | 1 + admin/custom/PHPExcel/Reader/Exception.php | 52 + admin/custom/PHPExcel/Reader/Gnumeric.php | 873 + admin/custom/PHPExcel/Reader/HTML.php | 469 + admin/custom/PHPExcel/Reader/IReadFilter.php | 47 + admin/custom/PHPExcel/Reader/IReader.php | 54 + admin/custom/PHPExcel/Reader/OOCalc.php | 711 + admin/custom/PHPExcel/Reader/SYLK.php | 450 + admin/custom/PHPExcel/Reader/index.html | 1 + admin/custom/PHPExcel/ReferenceHelper.php | 922 + admin/custom/PHPExcel/RichText.php | 199 + .../custom/PHPExcel/RichText/ITextElement.php | 64 + admin/custom/PHPExcel/RichText/Run.php | 102 + .../custom/PHPExcel/RichText/TextElement.php | 108 + admin/custom/PHPExcel/RichText/index.html | 1 + admin/custom/PHPExcel/Settings.php | 391 + admin/custom/PHPExcel/Shared/CodePage.php | 105 + admin/custom/PHPExcel/Shared/Date.php | 393 + admin/custom/PHPExcel/Shared/Drawing.php | 272 + admin/custom/PHPExcel/Shared/Escher.php | 91 + .../PHPExcel/Shared/Escher/DgContainer.php | 83 + .../Escher/DgContainer/SpgrContainer.php | 109 + .../DgContainer/SpgrContainer/SpContainer.php | 395 + .../DgContainer/SpgrContainer/index.html | 1 + .../Shared/Escher/DgContainer/index.html | 1 + .../PHPExcel/Shared/Escher/DggContainer.php | 203 + .../Escher/DggContainer/BstoreContainer.php | 65 + .../DggContainer/BstoreContainer/BSE.php | 120 + .../DggContainer/BstoreContainer/BSE/Blip.php | 91 + .../BstoreContainer/BSE/index.html | 1 + .../DggContainer/BstoreContainer/index.html | 1 + .../Shared/Escher/DggContainer/index.html | 1 + .../custom/PHPExcel/Shared/Escher/index.html | 1 + admin/custom/PHPExcel/Shared/Excel5.php | 317 + admin/custom/PHPExcel/Shared/File.php | 178 + admin/custom/PHPExcel/Shared/Font.php | 773 + .../custom/PHPExcel/Shared/JAMA/CHANGELOG.TXT | 16 + .../Shared/JAMA/CholeskyDecomposition.php | 149 + .../Shared/JAMA/EigenvalueDecomposition.php | 862 + .../PHPExcel/Shared/JAMA/LUDecomposition.php | 258 + admin/custom/PHPExcel/Shared/JAMA/Matrix.php | 1059 + .../PHPExcel/Shared/JAMA/QRDecomposition.php | 234 + .../JAMA/SingularValueDecomposition.php | 526 + admin/custom/PHPExcel/Shared/JAMA/index.html | 1 + .../PHPExcel/Shared/JAMA/utils/Error.php | 82 + .../PHPExcel/Shared/JAMA/utils/Maths.php | 43 + .../PHPExcel/Shared/JAMA/utils/index.html | 1 + admin/custom/PHPExcel/Shared/OLE.php | 531 + .../Shared/OLE/ChainedBlockStream.php | 222 + admin/custom/PHPExcel/Shared/OLE/PPS.php | 230 + admin/custom/PHPExcel/Shared/OLE/PPS/File.php | 84 + admin/custom/PHPExcel/Shared/OLE/PPS/Root.php | 467 + .../custom/PHPExcel/Shared/OLE/PPS/index.html | 1 + admin/custom/PHPExcel/Shared/OLE/index.html | 1 + admin/custom/PHPExcel/Shared/OLERead.php | 317 + .../PHPExcel/Shared/PCLZip/gnu-lgpl.txt | 504 + .../custom/PHPExcel/Shared/PCLZip/index.html | 1 + .../PHPExcel/Shared/PCLZip/pclzip.lib.php | 5694 +++++ .../custom/PHPExcel/Shared/PCLZip/readme.txt | 421 + .../custom/PHPExcel/Shared/PasswordHasher.php | 66 + admin/custom/PHPExcel/Shared/String.php | 776 + admin/custom/PHPExcel/Shared/TimeZone.php | 140 + admin/custom/PHPExcel/Shared/XMLWriter.php | 127 + admin/custom/PHPExcel/Shared/ZipArchive.php | 175 + .../PHPExcel/Shared/ZipStreamWrapper.php | 201 + admin/custom/PHPExcel/Shared/index.html | 1 + .../PHPExcel/Shared/trend/bestFitClass.php | 432 + .../Shared/trend/exponentialBestFitClass.php | 148 + admin/custom/PHPExcel/Shared/trend/index.html | 1 + .../Shared/trend/linearBestFitClass.php | 111 + .../Shared/trend/logarithmicBestFitClass.php | 120 + .../Shared/trend/polynomialBestFitClass.php | 224 + .../Shared/trend/powerBestFitClass.php | 142 + .../PHPExcel/Shared/trend/trendClass.php | 156 + admin/custom/PHPExcel/Style.php | 668 + admin/custom/PHPExcel/Style/Alignment.php | 459 + admin/custom/PHPExcel/Style/Border.php | 294 + admin/custom/PHPExcel/Style/Borders.php | 424 + admin/custom/PHPExcel/Style/Color.php | 429 + admin/custom/PHPExcel/Style/Conditional.php | 277 + admin/custom/PHPExcel/Style/Fill.php | 321 + admin/custom/PHPExcel/Style/Font.php | 532 + admin/custom/PHPExcel/Style/NumberFormat.php | 711 + admin/custom/PHPExcel/Style/Protection.php | 207 + admin/custom/PHPExcel/Style/Supervisor.php | 132 + admin/custom/PHPExcel/Style/index.html | 1 + admin/custom/PHPExcel/Worksheet.php | 2917 +++ .../custom/PHPExcel/Worksheet/AutoFilter.php | 858 + .../PHPExcel/Worksheet/AutoFilter/Column.php | 394 + .../Worksheet/AutoFilter/Column/Rule.php | 464 + .../Worksheet/AutoFilter/Column/index.html | 1 + .../PHPExcel/Worksheet/AutoFilter/index.html | 1 + .../custom/PHPExcel/Worksheet/BaseDrawing.php | 489 + .../PHPExcel/Worksheet/CellIterator.php | 161 + .../PHPExcel/Worksheet/ColumnDimension.php | 266 + admin/custom/PHPExcel/Worksheet/Drawing.php | 148 + .../PHPExcel/Worksheet/Drawing/Shadow.php | 288 + .../PHPExcel/Worksheet/Drawing/index.html | 1 + .../PHPExcel/Worksheet/HeaderFooter.php | 465 + .../Worksheet/HeaderFooterDrawing.php | 350 + .../PHPExcel/Worksheet/MemoryDrawing.php | 200 + .../custom/PHPExcel/Worksheet/PageMargins.php | 220 + admin/custom/PHPExcel/Worksheet/PageSetup.php | 798 + .../custom/PHPExcel/Worksheet/Protection.php | 545 + admin/custom/PHPExcel/Worksheet/Row.php | 90 + .../PHPExcel/Worksheet/RowDimension.php | 265 + .../custom/PHPExcel/Worksheet/RowIterator.php | 148 + admin/custom/PHPExcel/Worksheet/SheetView.php | 188 + admin/custom/PHPExcel/Worksheet/index.html | 1 + admin/custom/PHPExcel/WorksheetIterator.php | 118 + admin/custom/PHPExcel/Writer/Abstract.php | 158 + admin/custom/PHPExcel/Writer/CSV.php | 310 + admin/custom/PHPExcel/Writer/Excel2007.php | 532 + .../PHPExcel/Writer/Excel2007/Chart.php | 1606 ++ .../PHPExcel/Writer/Excel2007/Comments.php | 268 + .../Writer/Excel2007/ContentTypes.php | 287 + .../PHPExcel/Writer/Excel2007/DocProps.php | 272 + .../PHPExcel/Writer/Excel2007/Drawing.php | 598 + .../custom/PHPExcel/Writer/Excel2007/Rels.php | 437 + .../PHPExcel/Writer/Excel2007/RelsRibbon.php | 77 + .../PHPExcel/Writer/Excel2007/RelsVBA.php | 72 + .../PHPExcel/Writer/Excel2007/StringTable.php | 319 + .../PHPExcel/Writer/Excel2007/Style.php | 707 + .../PHPExcel/Writer/Excel2007/Theme.php | 871 + .../PHPExcel/Writer/Excel2007/Workbook.php | 456 + .../PHPExcel/Writer/Excel2007/Worksheet.php | 1220 ++ .../PHPExcel/Writer/Excel2007/WriterPart.php | 81 + .../PHPExcel/Writer/Excel2007/index.html | 1 + admin/custom/PHPExcel/Writer/Excel5.php | 935 + .../PHPExcel/Writer/Excel5/BIFFwriter.php | 255 + .../custom/PHPExcel/Writer/Excel5/Escher.php | 537 + admin/custom/PHPExcel/Writer/Excel5/Font.php | 165 + .../custom/PHPExcel/Writer/Excel5/Parser.php | 1583 ++ .../PHPExcel/Writer/Excel5/Workbook.php | 1450 ++ .../PHPExcel/Writer/Excel5/Worksheet.php | 3681 ++++ admin/custom/PHPExcel/Writer/Excel5/Xf.php | 547 + .../custom/PHPExcel/Writer/Excel5/index.html | 1 + admin/custom/PHPExcel/Writer/Exception.php | 52 + admin/custom/PHPExcel/Writer/HTML.php | 1548 ++ admin/custom/PHPExcel/Writer/IWriter.php | 46 + admin/custom/PHPExcel/Writer/OpenDocument.php | 200 + .../Writer/OpenDocument/Cell/Comment.php | 63 + .../PHPExcel/Writer/OpenDocument/Content.php | 272 + .../PHPExcel/Writer/OpenDocument/Meta.php | 98 + .../PHPExcel/Writer/OpenDocument/MetaInf.php | 96 + .../PHPExcel/Writer/OpenDocument/Mimetype.php | 50 + .../PHPExcel/Writer/OpenDocument/Settings.php | 85 + .../PHPExcel/Writer/OpenDocument/Styles.php | 101 + .../Writer/OpenDocument/Thumbnails.php | 50 + .../Writer/OpenDocument/WriterPart.php | 38 + admin/custom/PHPExcel/Writer/PDF.php | 90 + admin/custom/PHPExcel/Writer/PDF/Core.php | 364 + admin/custom/PHPExcel/Writer/PDF/DomPDF.php | 122 + admin/custom/PHPExcel/Writer/PDF/index.html | 1 + admin/custom/PHPExcel/Writer/PDF/mPDF.php | 130 + admin/custom/PHPExcel/Writer/PDF/tcPDF.php | 136 + admin/custom/PHPExcel/Writer/index.html | 1 + admin/custom/PHPExcel/index.html | 1 + admin/custom/PHPExcel/locale/bg/config | 49 + admin/custom/PHPExcel/locale/cs/config | 47 + admin/custom/PHPExcel/locale/cs/functions | 438 + admin/custom/PHPExcel/locale/cs/index.html | 1 + admin/custom/PHPExcel/locale/da/config | 48 + admin/custom/PHPExcel/locale/da/functions | 438 + admin/custom/PHPExcel/locale/da/index.html | 1 + admin/custom/PHPExcel/locale/de/config | 47 + admin/custom/PHPExcel/locale/de/functions | 438 + admin/custom/PHPExcel/locale/de/index.html | 1 + admin/custom/PHPExcel/locale/en/index.html | 1 + admin/custom/PHPExcel/locale/en/uk/config | 32 + admin/custom/PHPExcel/locale/en/uk/index.html | 1 + admin/custom/PHPExcel/locale/es/config | 47 + admin/custom/PHPExcel/locale/es/functions | 438 + admin/custom/PHPExcel/locale/es/index.html | 1 + admin/custom/PHPExcel/locale/fi/config | 47 + admin/custom/PHPExcel/locale/fi/functions | 438 + admin/custom/PHPExcel/locale/fi/index.html | 1 + admin/custom/PHPExcel/locale/fr/config | 47 + admin/custom/PHPExcel/locale/fr/functions | 438 + admin/custom/PHPExcel/locale/fr/index.html | 1 + admin/custom/PHPExcel/locale/hu/config | 47 + admin/custom/PHPExcel/locale/hu/functions | 438 + admin/custom/PHPExcel/locale/hu/index.html | 1 + admin/custom/PHPExcel/locale/index.html | 1 + admin/custom/PHPExcel/locale/it/config | 47 + admin/custom/PHPExcel/locale/it/functions | 439 + admin/custom/PHPExcel/locale/it/index.html | 1 + admin/custom/PHPExcel/locale/nl/config | 47 + admin/custom/PHPExcel/locale/nl/functions | 438 + admin/custom/PHPExcel/locale/nl/index.html | 1 + admin/custom/PHPExcel/locale/no/config | 47 + admin/custom/PHPExcel/locale/no/functions | 438 + admin/custom/PHPExcel/locale/no/index.html | 1 + admin/custom/PHPExcel/locale/pl/config | 47 + admin/custom/PHPExcel/locale/pl/functions | 438 + admin/custom/PHPExcel/locale/pl/index.html | 1 + admin/custom/PHPExcel/locale/pt/br/config | 47 + admin/custom/PHPExcel/locale/pt/br/functions | 408 + admin/custom/PHPExcel/locale/pt/br/index.html | 1 + admin/custom/PHPExcel/locale/pt/config | 47 + admin/custom/PHPExcel/locale/pt/functions | 408 + admin/custom/PHPExcel/locale/pt/index.html | 1 + admin/custom/PHPExcel/locale/ru/config | 47 + admin/custom/PHPExcel/locale/ru/functions | 438 + admin/custom/PHPExcel/locale/ru/index.html | 1 + admin/custom/PHPExcel/locale/sv/config | 47 + admin/custom/PHPExcel/locale/sv/functions | 408 + admin/custom/PHPExcel/locale/sv/index.html | 1 + admin/custom/PHPExcel/locale/tr/config | 47 + admin/custom/PHPExcel/locale/tr/functions | 438 + admin/custom/PHPExcel/locale/tr/index.html | 1 + admin/custom/chartMenu.js | 126 + admin/custom/chartbuilder.php | 192 + admin/custom/fb_loader.gif | Bin 0 -> 17008 bytes admin/custom/footable/css/fonts/footable.eot | Bin 0 -> 4824 bytes admin/custom/footable/css/fonts/footable.svg | 78 + admin/custom/footable/css/fonts/footable.ttf | Bin 0 -> 4656 bytes admin/custom/footable/css/fonts/footable.woff | Bin 0 -> 4016 bytes admin/custom/footable/css/fonts/index.html | 1 + admin/custom/footable/css/footable.core.css | 178 + .../custom/footable/css/footable.core.min.css | 1 + admin/custom/footable/css/footable.metro.css | 152 + .../footable/css/footable.metro.min.css | 1 + .../footable/css/footable.standalone.css | 181 + .../footable/css/footable.standalone.min.css | 1 + admin/custom/footable/css/index.html | 1 + .../custom/footable/dist/footable.all.min.js | 14 + .../dist/footable.bookmarkable.min.js | 1 + .../footable/dist/footable.filter.min.js | 1 + .../custom/footable/dist/footable.grid.min.js | 1 + admin/custom/footable/dist/footable.min.js | 14 + .../footable/dist/footable.paginate.min.js | 1 + .../custom/footable/dist/footable.sort.min.js | 1 + .../footable/dist/footable.striping.min.js | 1 + admin/custom/footable/dist/index.html | 1 + admin/custom/footable/icomoon/footable.json | 1 + admin/custom/footable/icomoon/index.html | 1 + admin/custom/footable/index.html | 1 + admin/custom/footable/js/.jshintrc | 29 + .../footable/js/footable.bookmarkable.js | 170 + admin/custom/footable/js/footable.filter.js | 143 + admin/custom/footable/js/footable.grid.js | 373 + admin/custom/footable/js/footable.js | 824 + admin/custom/footable/js/footable.memory.js | 429 + admin/custom/footable/js/footable.paginate.js | 242 + .../footable/js/footable.plugin.template.js | 44 + admin/custom/footable/js/footable.sort.js | 190 + admin/custom/footable/js/footable.striping.js | 57 + admin/custom/footable/js/index.html | 1 + admin/custom/google.jsapi.js | 39 + admin/custom/index.html | 1 + admin/custom/soundmanager/README.rdoc | 72 + .../360 button (retina - not playing).psd | Bin 0 -> 39723 bytes .../360 button (retina - playing).psd | Bin 0 -> 39361 bytes .../demo/360-player/360 button - large.psd | Bin 0 -> 31168 bytes .../demo/360-player/360 button.psd | Bin 0 -> 38695 bytes .../demo/360-player/360-button-pause-2x.png | Bin 0 -> 627 bytes .../360-player/360-button-pause-light-2x.png | Bin 0 -> 752 bytes .../360-player/360-button-pause-light.gif | Bin 0 -> 329 bytes .../360-player/360-button-pause-light.png | Bin 0 -> 408 bytes .../demo/360-player/360-button-pause.gif | Bin 0 -> 329 bytes .../demo/360-player/360-button-pause.png | Bin 0 -> 329 bytes .../demo/360-player/360-button-play-2x.png | Bin 0 -> 693 bytes .../360-player/360-button-play-light-2x.png | Bin 0 -> 898 bytes .../demo/360-player/360-button-play-light.gif | Bin 0 -> 441 bytes .../demo/360-player/360-button-play-light.png | Bin 0 -> 477 bytes .../demo/360-player/360-button-play.gif | Bin 0 -> 441 bytes .../demo/360-player/360-button-play.png | Bin 0 -> 357 bytes .../360-player/360-button-vis-pause-light.gif | Bin 0 -> 889 bytes .../360-player/360-button-vis-pause-light.png | Bin 0 -> 1303 bytes .../demo/360-player/360-button-vis-pause.gif | Bin 0 -> 881 bytes .../demo/360-player/360-button-vis-pause.png | Bin 0 -> 1292 bytes .../360-player/360-button-vis-play-light.gif | Bin 0 -> 1009 bytes .../360-player/360-button-vis-play-light.png | Bin 0 -> 1441 bytes .../demo/360-player/360-button-vis-play.gif | Bin 0 -> 1001 bytes .../demo/360-player/360-button-vis-play.png | Bin 0 -> 1380 bytes .../360-player/360player-visualization.css | 150 + .../demo/360-player/360player.css | 316 + .../canvas-visualization-basic.html | 132 + .../demo/360-player/canvas-visualization.html | 360 + .../demo/360-player/demo-slider-controls.css | 179 + .../demo/360-player/demo-slider-controls.js | 750 + .../soundmanager/demo/360-player/demo.css | 64 + .../demo/360-player/icon_loading_dots.gif | Bin 0 -> 1379 bytes .../demo/360-player/icon_loading_spinner.gif | Bin 0 -> 493 bytes .../icon_loading_spinner_bigger.gif | Bin 0 -> 2506 bytes .../soundmanager/demo/360-player/index.html | 171 + .../demo/360-player/script/360player.js | 1416 ++ .../360-player/script/berniecode-animator.js | 674 + .../demo/360-player/script/excanvas.js | 17 + admin/custom/soundmanager/demo/index.html | 28 + admin/custom/soundmanager/index.html | 1046 + admin/custom/soundmanager/license.txt | 29 + .../script/soundmanager2-jsmin.js | 113 + .../script/soundmanager2-nodebug-jsmin.js | 83 + .../script/soundmanager2-nodebug.js | 2765 +++ .../soundmanager/script/soundmanager2.js | 6325 ++++++ .../custom/soundmanager/swf/soundmanager2.swf | Bin 0 -> 2911 bytes .../soundmanager/swf/soundmanager2_debug.swf | Bin 0 -> 3285 bytes .../soundmanager/swf/soundmanager2_flash9.swf | Bin 0 -> 8665 bytes .../swf/soundmanager2_flash9_debug.swf | Bin 0 -> 17211 bytes .../swf/soundmanager2_flash_xdomain.zip | Bin 0 -> 32927 bytes admin/custom/soundmanager2.js | 113 + .../css/components/accordion.almost-flat.css | 39 + .../components/accordion.almost-flat.min.css | 2 + .../custom/uikit/css/components/accordion.css | 37 + .../css/components/accordion.gradient.css | 39 + .../css/components/accordion.gradient.min.css | 2 + .../uikit/css/components/accordion.min.css | 2 + .../components/autocomplete.almost-flat.css | 52 + .../autocomplete.almost-flat.min.css | 2 + .../uikit/css/components/autocomplete.css | 50 + .../css/components/autocomplete.gradient.css | 52 + .../components/autocomplete.gradient.min.css | 2 + .../uikit/css/components/autocomplete.min.css | 2 + .../css/components/datepicker.almost-flat.css | 129 + .../components/datepicker.almost-flat.min.css | 2 + .../uikit/css/components/datepicker.css | 123 + .../css/components/datepicker.gradient.css | 139 + .../components/datepicker.gradient.min.css | 2 + .../uikit/css/components/datepicker.min.css | 2 + .../css/components/dotnav.almost-flat.css | 129 + .../css/components/dotnav.almost-flat.min.css | 2 + admin/custom/uikit/css/components/dotnav.css | 125 + .../uikit/css/components/dotnav.gradient.css | 129 + .../css/components/dotnav.gradient.min.css | 2 + .../uikit/css/components/dotnav.min.css | 2 + .../components/form-advanced.almost-flat.css | 78 + .../form-advanced.almost-flat.min.css | 2 + .../uikit/css/components/form-advanced.css | 78 + .../css/components/form-advanced.gradient.css | 78 + .../components/form-advanced.gradient.min.css | 2 + .../css/components/form-advanced.min.css | 2 + .../css/components/form-file.almost-flat.css | 34 + .../components/form-file.almost-flat.min.css | 2 + .../custom/uikit/css/components/form-file.css | 34 + .../css/components/form-file.gradient.css | 34 + .../css/components/form-file.gradient.min.css | 2 + .../uikit/css/components/form-file.min.css | 2 + .../components/form-password.almost-flat.css | 34 + .../form-password.almost-flat.min.css | 2 + .../uikit/css/components/form-password.css | 34 + .../css/components/form-password.gradient.css | 34 + .../components/form-password.gradient.min.css | 2 + .../css/components/form-password.min.css | 2 + .../components/form-select.almost-flat.css | 35 + .../form-select.almost-flat.min.css | 2 + .../uikit/css/components/form-select.css | 35 + .../css/components/form-select.gradient.css | 35 + .../components/form-select.gradient.min.css | 2 + .../uikit/css/components/form-select.min.css | 2 + .../css/components/htmleditor.almost-flat.css | 225 + .../components/htmleditor.almost-flat.min.css | 2 + .../uikit/css/components/htmleditor.css | 167 + .../css/components/htmleditor.gradient.css | 232 + .../components/htmleditor.gradient.min.css | 2 + .../uikit/css/components/htmleditor.min.css | 2 + admin/custom/uikit/css/components/index.html | 1 + .../css/components/nestable.almost-flat.css | 135 + .../components/nestable.almost-flat.min.css | 2 + .../custom/uikit/css/components/nestable.css | 132 + .../css/components/nestable.gradient.css | 139 + .../css/components/nestable.gradient.min.css | 2 + .../uikit/css/components/nestable.min.css | 2 + .../css/components/notify.almost-flat.css | 99 + .../css/components/notify.almost-flat.min.css | 2 + admin/custom/uikit/css/components/notify.css | 93 + .../uikit/css/components/notify.gradient.css | 99 + .../css/components/notify.gradient.min.css | 2 + .../uikit/css/components/notify.min.css | 2 + .../components/placeholder.almost-flat.css | 29 + .../placeholder.almost-flat.min.css | 2 + .../uikit/css/components/placeholder.css | 29 + .../css/components/placeholder.gradient.css | 29 + .../components/placeholder.gradient.min.css | 2 + .../uikit/css/components/placeholder.min.css | 2 + .../css/components/progress.almost-flat.css | 105 + .../components/progress.almost-flat.min.css | 2 + .../custom/uikit/css/components/progress.css | 95 + .../css/components/progress.gradient.css | 113 + .../css/components/progress.gradient.min.css | 2 + .../uikit/css/components/progress.min.css | 2 + .../css/components/search.almost-flat.css | 192 + .../css/components/search.almost-flat.min.css | 2 + admin/custom/uikit/css/components/search.css | 190 + .../uikit/css/components/search.gradient.css | 192 + .../css/components/search.gradient.min.css | 2 + .../uikit/css/components/search.min.css | 2 + .../css/components/slidenav.almost-flat.css | 99 + .../components/slidenav.almost-flat.min.css | 2 + .../custom/uikit/css/components/slidenav.css | 99 + .../css/components/slidenav.gradient.css | 99 + .../css/components/slidenav.gradient.min.css | 2 + .../uikit/css/components/slidenav.min.css | 2 + .../css/components/slider.almost-flat.css | 85 + .../css/components/slider.almost-flat.min.css | 2 + admin/custom/uikit/css/components/slider.css | 85 + .../uikit/css/components/slider.gradient.css | 85 + .../css/components/slider.gradient.min.css | 2 + .../uikit/css/components/slider.min.css | 2 + .../css/components/slideshow.almost-flat.css | 140 + .../components/slideshow.almost-flat.min.css | 2 + .../custom/uikit/css/components/slideshow.css | 140 + .../css/components/slideshow.gradient.css | 140 + .../css/components/slideshow.gradient.min.css | 2 + .../uikit/css/components/slideshow.min.css | 2 + .../css/components/sortable.almost-flat.css | 62 + .../components/sortable.almost-flat.min.css | 2 + .../custom/uikit/css/components/sortable.css | 62 + .../css/components/sortable.gradient.css | 62 + .../css/components/sortable.gradient.min.css | 2 + .../uikit/css/components/sortable.min.css | 2 + .../css/components/sticky.almost-flat.css | 32 + .../css/components/sticky.almost-flat.min.css | 2 + admin/custom/uikit/css/components/sticky.css | 32 + .../uikit/css/components/sticky.gradient.css | 32 + .../css/components/sticky.gradient.min.css | 2 + .../uikit/css/components/sticky.min.css | 2 + .../css/components/tooltip.almost-flat.css | 120 + .../components/tooltip.almost-flat.min.css | 2 + admin/custom/uikit/css/components/tooltip.css | 118 + .../uikit/css/components/tooltip.gradient.css | 120 + .../css/components/tooltip.gradient.min.css | 2 + .../uikit/css/components/tooltip.min.css | 2 + .../css/components/upload.almost-flat.css | 10 + .../css/components/upload.almost-flat.min.css | 2 + admin/custom/uikit/css/components/upload.css | 10 + .../uikit/css/components/upload.gradient.css | 10 + .../css/components/upload.gradient.min.css | 2 + .../uikit/css/components/upload.min.css | 2 + admin/custom/uikit/css/index.html | 1 + admin/custom/uikit/css/uikit.almost-flat.css | 8355 ++++++++ .../uikit/css/uikit.almost-flat.min.css | 2 + admin/custom/uikit/css/uikit.css | 8057 +++++++ admin/custom/uikit/css/uikit.gradient.css | 8417 ++++++++ admin/custom/uikit/css/uikit.gradient.min.css | 2 + admin/custom/uikit/css/uikit.min.css | 2 + admin/custom/uikit/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes .../uikit/fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes .../uikit/fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes .../uikit/fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes .../uikit/fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes admin/custom/uikit/fonts/index.html | 1 + admin/custom/uikit/index.html | 1 + admin/custom/uikit/js/components/accordion.js | 172 + .../uikit/js/components/accordion.min.js | 2 + .../uikit/js/components/autocomplete.js | 336 + .../uikit/js/components/autocomplete.min.js | 2 + .../custom/uikit/js/components/datepicker.js | 3168 +++ .../uikit/js/components/datepicker.min.js | 3 + .../uikit/js/components/form-password.js | 66 + .../uikit/js/components/form-password.min.js | 2 + .../custom/uikit/js/components/form-select.js | 70 + .../uikit/js/components/form-select.min.js | 2 + admin/custom/uikit/js/components/grid.js | 524 + admin/custom/uikit/js/components/grid.min.js | 2 + .../custom/uikit/js/components/htmleditor.js | 621 + .../uikit/js/components/htmleditor.min.js | 2 + admin/custom/uikit/js/components/index.html | 1 + admin/custom/uikit/js/components/lightbox.js | 544 + .../uikit/js/components/lightbox.min.js | 2 + admin/custom/uikit/js/components/nestable.js | 625 + .../uikit/js/components/nestable.min.js | 2 + admin/custom/uikit/js/components/notify.js | 191 + .../custom/uikit/js/components/notify.min.js | 2 + .../custom/uikit/js/components/pagination.js | 148 + .../uikit/js/components/pagination.min.js | 2 + admin/custom/uikit/js/components/parallax.js | 417 + .../uikit/js/components/parallax.min.js | 2 + admin/custom/uikit/js/components/search.js | 92 + .../custom/uikit/js/components/search.min.js | 2 + admin/custom/uikit/js/components/slider.js | 482 + .../custom/uikit/js/components/slider.min.js | 2 + admin/custom/uikit/js/components/slideset.js | 503 + .../uikit/js/components/slideset.min.js | 2 + .../uikit/js/components/slideshow-fx.js | 377 + .../uikit/js/components/slideshow-fx.min.js | 2 + admin/custom/uikit/js/components/slideshow.js | 545 + .../uikit/js/components/slideshow.min.js | 2 + admin/custom/uikit/js/components/sortable.js | 643 + .../uikit/js/components/sortable.min.js | 2 + admin/custom/uikit/js/components/sticky.js | 298 + .../custom/uikit/js/components/sticky.min.js | 2 + .../custom/uikit/js/components/timepicker.js | 192 + .../uikit/js/components/timepicker.min.js | 2 + admin/custom/uikit/js/components/tooltip.js | 234 + .../custom/uikit/js/components/tooltip.min.js | 2 + admin/custom/uikit/js/components/upload.js | 256 + .../custom/uikit/js/components/upload.min.js | 2 + admin/custom/uikit/js/core/alert.js | 66 + admin/custom/uikit/js/core/alert.min.js | 2 + admin/custom/uikit/js/core/button.js | 154 + admin/custom/uikit/js/core/button.min.js | 2 + admin/custom/uikit/js/core/core.js | 722 + admin/custom/uikit/js/core/core.min.js | 2 + admin/custom/uikit/js/core/cover.js | 95 + admin/custom/uikit/js/core/cover.min.js | 2 + admin/custom/uikit/js/core/dropdown.js | 296 + admin/custom/uikit/js/core/dropdown.min.js | 2 + admin/custom/uikit/js/core/grid.js | 114 + admin/custom/uikit/js/core/grid.min.js | 2 + admin/custom/uikit/js/core/index.html | 1 + admin/custom/uikit/js/core/modal.js | 373 + admin/custom/uikit/js/core/modal.min.js | 2 + admin/custom/uikit/js/core/nav.js | 136 + admin/custom/uikit/js/core/nav.min.js | 2 + admin/custom/uikit/js/core/offcanvas.js | 178 + admin/custom/uikit/js/core/offcanvas.min.js | 2 + admin/custom/uikit/js/core/scrollspy.js | 208 + admin/custom/uikit/js/core/scrollspy.min.js | 2 + admin/custom/uikit/js/core/smooth-scroll.js | 62 + .../custom/uikit/js/core/smooth-scroll.min.js | 2 + admin/custom/uikit/js/core/switcher.js | 298 + admin/custom/uikit/js/core/switcher.min.js | 2 + admin/custom/uikit/js/core/tab.js | 165 + admin/custom/uikit/js/core/tab.min.js | 2 + admin/custom/uikit/js/core/toggle.js | 117 + admin/custom/uikit/js/core/toggle.min.js | 2 + admin/custom/uikit/js/core/touch.js | 173 + admin/custom/uikit/js/core/touch.min.js | 2 + admin/custom/uikit/js/core/utility.js | 243 + admin/custom/uikit/js/core/utility.min.js | 2 + admin/custom/uikit/js/index.html | 1 + admin/custom/uikit/js/uikit.js | 3400 +++ admin/custom/uikit/js/uikit.min.js | 3 + admin/helpers/PHPExcel.php | 1139 + admin/helpers/PHPExcel/Autoloader.php | 89 + .../PHPExcel/CachedObjectStorage/APC.php | 295 + .../CachedObjectStorage/CacheBase.php | 347 + .../PHPExcel/CachedObjectStorage/DiscISAM.php | 219 + .../PHPExcel/CachedObjectStorage/ICache.php | 112 + .../PHPExcel/CachedObjectStorage/Igbinary.php | 152 + .../PHPExcel/CachedObjectStorage/Memcache.php | 312 + .../PHPExcel/CachedObjectStorage/Memory.php | 125 + .../CachedObjectStorage/MemoryGZip.php | 137 + .../CachedObjectStorage/MemorySerialized.php | 137 + .../PHPExcel/CachedObjectStorage/PHPTemp.php | 206 + .../PHPExcel/CachedObjectStorage/SQLite.php | 306 + .../PHPExcel/CachedObjectStorage/SQLite3.php | 345 + .../PHPExcel/CachedObjectStorage/Wincache.php | 294 + .../PHPExcel/CachedObjectStorage/index.html | 1 + .../PHPExcel/CachedObjectStorageFactory.php | 251 + .../CalcEngine/CyclicReferenceStack.php | 98 + admin/helpers/PHPExcel/CalcEngine/Logger.php | 153 + admin/helpers/PHPExcel/CalcEngine/index.html | 1 + admin/helpers/PHPExcel/Calculation.php | 3946 ++++ .../helpers/PHPExcel/Calculation/Database.php | 725 + .../helpers/PHPExcel/Calculation/DateTime.php | 1475 ++ .../PHPExcel/Calculation/Engineering.php | 2505 +++ .../PHPExcel/Calculation/Exception.php | 52 + .../PHPExcel/Calculation/ExceptionHandler.php | 49 + .../PHPExcel/Calculation/Financial.php | 2292 ++ .../PHPExcel/Calculation/FormulaParser.php | 614 + .../PHPExcel/Calculation/FormulaToken.php | 176 + .../helpers/PHPExcel/Calculation/Function.php | 149 + .../PHPExcel/Calculation/Functions.php | 725 + .../helpers/PHPExcel/Calculation/Logical.php | 288 + .../PHPExcel/Calculation/LookupRef.php | 881 + .../helpers/PHPExcel/Calculation/MathTrig.php | 1373 ++ .../PHPExcel/Calculation/Statistical.php | 3651 ++++ .../helpers/PHPExcel/Calculation/TextData.php | 631 + .../PHPExcel/Calculation/Token/Stack.php | 115 + .../PHPExcel/Calculation/Token/index.html | 1 + .../PHPExcel/Calculation/functionlist.txt | 351 + admin/helpers/PHPExcel/Calculation/index.html | 1 + admin/helpers/PHPExcel/Cell.php | 1022 + .../PHPExcel/Cell/AdvancedValueBinder.php | 192 + admin/helpers/PHPExcel/Cell/DataType.php | 122 + .../helpers/PHPExcel/Cell/DataValidation.php | 472 + .../PHPExcel/Cell/DefaultValueBinder.php | 100 + admin/helpers/PHPExcel/Cell/Hyperlink.php | 126 + admin/helpers/PHPExcel/Cell/IValueBinder.php | 46 + admin/helpers/PHPExcel/Cell/index.html | 1 + admin/helpers/PHPExcel/Chart.php | 635 + admin/helpers/PHPExcel/Chart/Axis.php | 584 + admin/helpers/PHPExcel/Chart/DataSeries.php | 365 + .../PHPExcel/Chart/DataSeriesValues.php | 327 + admin/helpers/PHPExcel/Chart/Exception.php | 52 + admin/helpers/PHPExcel/Chart/GridLines.php | 458 + admin/helpers/PHPExcel/Chart/Layout.php | 445 + admin/helpers/PHPExcel/Chart/Legend.php | 171 + admin/helpers/PHPExcel/Chart/PlotArea.php | 128 + admin/helpers/PHPExcel/Chart/Properties.php | 359 + .../Chart/Renderer/PHP Charting Libraries.txt | 17 + .../PHPExcel/Chart/Renderer/index.html | 1 + .../PHPExcel/Chart/Renderer/jpgraph.php | 855 + admin/helpers/PHPExcel/Chart/Title.php | 92 + admin/helpers/PHPExcel/Chart/index.html | 1 + admin/helpers/PHPExcel/Comment.php | 327 + admin/helpers/PHPExcel/DocumentProperties.php | 587 + admin/helpers/PHPExcel/DocumentSecurity.php | 218 + admin/helpers/PHPExcel/Exception.php | 52 + admin/helpers/PHPExcel/HashTable.php | 202 + admin/helpers/PHPExcel/IComparable.php | 43 + admin/helpers/PHPExcel/IOFactory.php | 288 + admin/helpers/PHPExcel/NamedRange.php | 246 + admin/helpers/PHPExcel/Reader/Abstract.php | 230 + admin/helpers/PHPExcel/Reader/CSV.php | 387 + .../PHPExcel/Reader/DefaultReadFilter.php | 58 + .../helpers/PHPExcel/Reader/Excel2003XML.php | 802 + admin/helpers/PHPExcel/Reader/Excel2007.php | 2085 ++ .../PHPExcel/Reader/Excel2007/Chart.php | 517 + .../PHPExcel/Reader/Excel2007/Theme.php | 124 + .../PHPExcel/Reader/Excel2007/index.html | 1 + admin/helpers/PHPExcel/Reader/Excel5.php | 7088 +++++++ .../helpers/PHPExcel/Reader/Excel5/Escher.php | 640 + admin/helpers/PHPExcel/Reader/Excel5/MD5.php | 221 + admin/helpers/PHPExcel/Reader/Excel5/RC4.php | 88 + .../helpers/PHPExcel/Reader/Excel5/index.html | 1 + admin/helpers/PHPExcel/Reader/Exception.php | 52 + admin/helpers/PHPExcel/Reader/Gnumeric.php | 873 + admin/helpers/PHPExcel/Reader/HTML.php | 469 + admin/helpers/PHPExcel/Reader/IReadFilter.php | 47 + admin/helpers/PHPExcel/Reader/IReader.php | 54 + admin/helpers/PHPExcel/Reader/OOCalc.php | 711 + admin/helpers/PHPExcel/Reader/SYLK.php | 450 + admin/helpers/PHPExcel/Reader/index.html | 1 + admin/helpers/PHPExcel/ReferenceHelper.php | 922 + admin/helpers/PHPExcel/RichText.php | 199 + .../PHPExcel/RichText/ITextElement.php | 64 + admin/helpers/PHPExcel/RichText/Run.php | 102 + .../helpers/PHPExcel/RichText/TextElement.php | 108 + admin/helpers/PHPExcel/RichText/index.html | 1 + admin/helpers/PHPExcel/Settings.php | 391 + admin/helpers/PHPExcel/Shared/CodePage.php | 105 + admin/helpers/PHPExcel/Shared/Date.php | 393 + admin/helpers/PHPExcel/Shared/Drawing.php | 272 + admin/helpers/PHPExcel/Shared/Escher.php | 91 + .../PHPExcel/Shared/Escher/DgContainer.php | 83 + .../Escher/DgContainer/SpgrContainer.php | 109 + .../DgContainer/SpgrContainer/SpContainer.php | 395 + .../DgContainer/SpgrContainer/index.html | 1 + .../Shared/Escher/DgContainer/index.html | 1 + .../PHPExcel/Shared/Escher/DggContainer.php | 203 + .../Escher/DggContainer/BstoreContainer.php | 65 + .../DggContainer/BstoreContainer/BSE.php | 120 + .../DggContainer/BstoreContainer/BSE/Blip.php | 91 + .../BstoreContainer/BSE/index.html | 1 + .../DggContainer/BstoreContainer/index.html | 1 + .../Shared/Escher/DggContainer/index.html | 1 + .../helpers/PHPExcel/Shared/Escher/index.html | 1 + admin/helpers/PHPExcel/Shared/Excel5.php | 317 + admin/helpers/PHPExcel/Shared/File.php | 178 + admin/helpers/PHPExcel/Shared/Font.php | 773 + .../PHPExcel/Shared/JAMA/CHANGELOG.TXT | 16 + .../Shared/JAMA/CholeskyDecomposition.php | 149 + .../Shared/JAMA/EigenvalueDecomposition.php | 862 + .../PHPExcel/Shared/JAMA/LUDecomposition.php | 258 + admin/helpers/PHPExcel/Shared/JAMA/Matrix.php | 1059 + .../PHPExcel/Shared/JAMA/QRDecomposition.php | 234 + .../JAMA/SingularValueDecomposition.php | 526 + admin/helpers/PHPExcel/Shared/JAMA/index.html | 1 + .../PHPExcel/Shared/JAMA/utils/Error.php | 82 + .../PHPExcel/Shared/JAMA/utils/Maths.php | 43 + .../PHPExcel/Shared/JAMA/utils/index.html | 1 + admin/helpers/PHPExcel/Shared/OLE.php | 531 + .../Shared/OLE/ChainedBlockStream.php | 222 + admin/helpers/PHPExcel/Shared/OLE/PPS.php | 230 + .../helpers/PHPExcel/Shared/OLE/PPS/File.php | 84 + .../helpers/PHPExcel/Shared/OLE/PPS/Root.php | 467 + .../PHPExcel/Shared/OLE/PPS/index.html | 1 + admin/helpers/PHPExcel/Shared/OLE/index.html | 1 + admin/helpers/PHPExcel/Shared/OLERead.php | 317 + .../PHPExcel/Shared/PCLZip/gnu-lgpl.txt | 504 + .../helpers/PHPExcel/Shared/PCLZip/index.html | 1 + .../PHPExcel/Shared/PCLZip/pclzip.lib.php | 5694 +++++ .../helpers/PHPExcel/Shared/PCLZip/readme.txt | 421 + .../PHPExcel/Shared/PasswordHasher.php | 66 + admin/helpers/PHPExcel/Shared/String.php | 776 + admin/helpers/PHPExcel/Shared/TimeZone.php | 140 + admin/helpers/PHPExcel/Shared/XMLWriter.php | 127 + admin/helpers/PHPExcel/Shared/ZipArchive.php | 175 + .../PHPExcel/Shared/ZipStreamWrapper.php | 201 + admin/helpers/PHPExcel/Shared/index.html | 1 + .../PHPExcel/Shared/trend/bestFitClass.php | 432 + .../Shared/trend/exponentialBestFitClass.php | 148 + .../helpers/PHPExcel/Shared/trend/index.html | 1 + .../Shared/trend/linearBestFitClass.php | 111 + .../Shared/trend/logarithmicBestFitClass.php | 120 + .../Shared/trend/polynomialBestFitClass.php | 224 + .../Shared/trend/powerBestFitClass.php | 142 + .../PHPExcel/Shared/trend/trendClass.php | 156 + admin/helpers/PHPExcel/Style.php | 668 + admin/helpers/PHPExcel/Style/Alignment.php | 459 + admin/helpers/PHPExcel/Style/Border.php | 294 + admin/helpers/PHPExcel/Style/Borders.php | 424 + admin/helpers/PHPExcel/Style/Color.php | 429 + admin/helpers/PHPExcel/Style/Conditional.php | 277 + admin/helpers/PHPExcel/Style/Fill.php | 321 + admin/helpers/PHPExcel/Style/Font.php | 532 + admin/helpers/PHPExcel/Style/NumberFormat.php | 711 + admin/helpers/PHPExcel/Style/Protection.php | 207 + admin/helpers/PHPExcel/Style/Supervisor.php | 132 + admin/helpers/PHPExcel/Style/index.html | 1 + admin/helpers/PHPExcel/Worksheet.php | 2917 +++ .../helpers/PHPExcel/Worksheet/AutoFilter.php | 858 + .../PHPExcel/Worksheet/AutoFilter/Column.php | 394 + .../Worksheet/AutoFilter/Column/Rule.php | 464 + .../Worksheet/AutoFilter/Column/index.html | 1 + .../PHPExcel/Worksheet/AutoFilter/index.html | 1 + .../PHPExcel/Worksheet/BaseDrawing.php | 489 + .../PHPExcel/Worksheet/CellIterator.php | 161 + .../PHPExcel/Worksheet/ColumnDimension.php | 266 + admin/helpers/PHPExcel/Worksheet/Drawing.php | 148 + .../PHPExcel/Worksheet/Drawing/Shadow.php | 288 + .../PHPExcel/Worksheet/Drawing/index.html | 1 + .../PHPExcel/Worksheet/HeaderFooter.php | 465 + .../Worksheet/HeaderFooterDrawing.php | 350 + .../PHPExcel/Worksheet/MemoryDrawing.php | 200 + .../PHPExcel/Worksheet/PageMargins.php | 220 + .../helpers/PHPExcel/Worksheet/PageSetup.php | 798 + .../helpers/PHPExcel/Worksheet/Protection.php | 545 + admin/helpers/PHPExcel/Worksheet/Row.php | 90 + .../PHPExcel/Worksheet/RowDimension.php | 265 + .../PHPExcel/Worksheet/RowIterator.php | 148 + .../helpers/PHPExcel/Worksheet/SheetView.php | 188 + admin/helpers/PHPExcel/Worksheet/index.html | 1 + admin/helpers/PHPExcel/WorksheetIterator.php | 118 + admin/helpers/PHPExcel/Writer/Abstract.php | 158 + admin/helpers/PHPExcel/Writer/CSV.php | 310 + admin/helpers/PHPExcel/Writer/Excel2007.php | 532 + .../PHPExcel/Writer/Excel2007/Chart.php | 1606 ++ .../PHPExcel/Writer/Excel2007/Comments.php | 268 + .../Writer/Excel2007/ContentTypes.php | 287 + .../PHPExcel/Writer/Excel2007/DocProps.php | 272 + .../PHPExcel/Writer/Excel2007/Drawing.php | 598 + .../PHPExcel/Writer/Excel2007/Rels.php | 437 + .../PHPExcel/Writer/Excel2007/RelsRibbon.php | 77 + .../PHPExcel/Writer/Excel2007/RelsVBA.php | 72 + .../PHPExcel/Writer/Excel2007/StringTable.php | 319 + .../PHPExcel/Writer/Excel2007/Style.php | 707 + .../PHPExcel/Writer/Excel2007/Theme.php | 871 + .../PHPExcel/Writer/Excel2007/Workbook.php | 456 + .../PHPExcel/Writer/Excel2007/Worksheet.php | 1220 ++ .../PHPExcel/Writer/Excel2007/WriterPart.php | 81 + .../PHPExcel/Writer/Excel2007/index.html | 1 + admin/helpers/PHPExcel/Writer/Excel5.php | 935 + .../PHPExcel/Writer/Excel5/BIFFwriter.php | 255 + .../helpers/PHPExcel/Writer/Excel5/Escher.php | 537 + admin/helpers/PHPExcel/Writer/Excel5/Font.php | 165 + .../helpers/PHPExcel/Writer/Excel5/Parser.php | 1583 ++ .../PHPExcel/Writer/Excel5/Workbook.php | 1450 ++ .../PHPExcel/Writer/Excel5/Worksheet.php | 3681 ++++ admin/helpers/PHPExcel/Writer/Excel5/Xf.php | 547 + .../helpers/PHPExcel/Writer/Excel5/index.html | 1 + admin/helpers/PHPExcel/Writer/Exception.php | 52 + admin/helpers/PHPExcel/Writer/HTML.php | 1548 ++ admin/helpers/PHPExcel/Writer/IWriter.php | 46 + .../helpers/PHPExcel/Writer/OpenDocument.php | 200 + .../Writer/OpenDocument/Cell/Comment.php | 63 + .../PHPExcel/Writer/OpenDocument/Content.php | 272 + .../PHPExcel/Writer/OpenDocument/Meta.php | 98 + .../PHPExcel/Writer/OpenDocument/MetaInf.php | 96 + .../PHPExcel/Writer/OpenDocument/Mimetype.php | 50 + .../PHPExcel/Writer/OpenDocument/Settings.php | 85 + .../PHPExcel/Writer/OpenDocument/Styles.php | 101 + .../Writer/OpenDocument/Thumbnails.php | 50 + .../Writer/OpenDocument/WriterPart.php | 38 + admin/helpers/PHPExcel/Writer/PDF.php | 90 + admin/helpers/PHPExcel/Writer/PDF/Core.php | 364 + admin/helpers/PHPExcel/Writer/PDF/DomPDF.php | 122 + admin/helpers/PHPExcel/Writer/PDF/index.html | 1 + admin/helpers/PHPExcel/Writer/PDF/mPDF.php | 130 + admin/helpers/PHPExcel/Writer/PDF/tcPDF.php | 136 + admin/helpers/PHPExcel/Writer/index.html | 1 + admin/helpers/PHPExcel/index.html | 1 + admin/helpers/PHPExcel/locale/bg/config | 49 + admin/helpers/PHPExcel/locale/cs/config | 47 + admin/helpers/PHPExcel/locale/cs/functions | 438 + admin/helpers/PHPExcel/locale/cs/index.html | 1 + admin/helpers/PHPExcel/locale/da/config | 48 + admin/helpers/PHPExcel/locale/da/functions | 438 + admin/helpers/PHPExcel/locale/da/index.html | 1 + admin/helpers/PHPExcel/locale/de/config | 47 + admin/helpers/PHPExcel/locale/de/functions | 438 + admin/helpers/PHPExcel/locale/de/index.html | 1 + admin/helpers/PHPExcel/locale/en/index.html | 1 + admin/helpers/PHPExcel/locale/en/uk/config | 32 + .../helpers/PHPExcel/locale/en/uk/index.html | 1 + admin/helpers/PHPExcel/locale/es/config | 47 + admin/helpers/PHPExcel/locale/es/functions | 438 + admin/helpers/PHPExcel/locale/es/index.html | 1 + admin/helpers/PHPExcel/locale/fi/config | 47 + admin/helpers/PHPExcel/locale/fi/functions | 438 + admin/helpers/PHPExcel/locale/fi/index.html | 1 + admin/helpers/PHPExcel/locale/fr/config | 47 + admin/helpers/PHPExcel/locale/fr/functions | 438 + admin/helpers/PHPExcel/locale/fr/index.html | 1 + admin/helpers/PHPExcel/locale/hu/config | 47 + admin/helpers/PHPExcel/locale/hu/functions | 438 + admin/helpers/PHPExcel/locale/hu/index.html | 1 + admin/helpers/PHPExcel/locale/index.html | 1 + admin/helpers/PHPExcel/locale/it/config | 47 + admin/helpers/PHPExcel/locale/it/functions | 439 + admin/helpers/PHPExcel/locale/it/index.html | 1 + admin/helpers/PHPExcel/locale/nl/config | 47 + admin/helpers/PHPExcel/locale/nl/functions | 438 + admin/helpers/PHPExcel/locale/nl/index.html | 1 + admin/helpers/PHPExcel/locale/no/config | 47 + admin/helpers/PHPExcel/locale/no/functions | 438 + admin/helpers/PHPExcel/locale/no/index.html | 1 + admin/helpers/PHPExcel/locale/pl/config | 47 + admin/helpers/PHPExcel/locale/pl/functions | 438 + admin/helpers/PHPExcel/locale/pl/index.html | 1 + admin/helpers/PHPExcel/locale/pt/br/config | 47 + admin/helpers/PHPExcel/locale/pt/br/functions | 408 + .../helpers/PHPExcel/locale/pt/br/index.html | 1 + admin/helpers/PHPExcel/locale/pt/config | 47 + admin/helpers/PHPExcel/locale/pt/functions | 408 + admin/helpers/PHPExcel/locale/pt/index.html | 1 + admin/helpers/PHPExcel/locale/ru/config | 47 + admin/helpers/PHPExcel/locale/ru/functions | 438 + admin/helpers/PHPExcel/locale/ru/index.html | 1 + admin/helpers/PHPExcel/locale/sv/config | 47 + admin/helpers/PHPExcel/locale/sv/functions | 408 + admin/helpers/PHPExcel/locale/sv/index.html | 1 + admin/helpers/PHPExcel/locale/tr/config | 47 + admin/helpers/PHPExcel/locale/tr/functions | 438 + admin/helpers/PHPExcel/locale/tr/index.html | 1 + admin/helpers/compiler.php | 17283 ++++++++++++++++ admin/helpers/componentbuilder.php | 1403 ++ admin/helpers/html/batch_.php | 93 + admin/helpers/html/index.html | 1 + admin/helpers/indenter.php | 205 + admin/helpers/index.html | 1 + admin/helpers/js.php | 452 + admin/helpers/keywords_after.txt | 7 + admin/helpers/keywords_before.txt | 28 + admin/helpers/keywords_reserved.txt | 47 + admin/helpers/minify.php | 382 + admin/helpers/operators_after.txt | 45 + admin/helpers/operators_before.txt | 43 + admin/index.html | 1 + .../en-GB/en-GB.com_componentbuilder.ini | 2910 +++ .../en-GB/en-GB.com_componentbuilder.sys.ini | 15 + admin/language/en-GB/index.html | 1 + admin/language/index.html | 1 + admin/layouts/admin_view/css_fullwidth.php | 52 + admin/layouts/admin_view/fields_fullwidth.php | 166 + admin/layouts/admin_view/index.html | 1 + .../admin_view/javascript_fullwidth.php | 56 + admin/layouts/admin_view/mysql_fullwidth.php | 49 + admin/layouts/admin_view/mysql_left.php | 57 + admin/layouts/admin_view/php_fullwidth.php | 71 + admin/layouts/admin_view/publishing.php | 59 + admin/layouts/admin_view/publlshing.php | 61 + admin/layouts/admin_view/settings_above.php | 42 + admin/layouts/admin_view/settings_left.php | 62 + admin/layouts/admin_view/settings_right.php | 63 + admin/layouts/admin_view/settings_under.php | 42 + admin/layouts/batchselection.php | 63 + .../component/admin_views_fullwidth.php | 140 + admin/layouts/component/details_above.php | 42 + admin/layouts/component/details_left.php | 62 + admin/layouts/component/details_right.php | 66 + admin/layouts/component/details_under.php | 42 + admin/layouts/component/index.html | 1 + admin/layouts/component/publishing.php | 59 + admin/layouts/component/publlshing.php | 61 + admin/layouts/component/readme_left.php | 56 + admin/layouts/component/readme_right.php | 55 + admin/layouts/component/scripts_fullwidth.php | 63 + admin/layouts/component/settings_left.php | 66 + admin/layouts/component/settings_right.php | 64 + .../component/site_views_fullwidth.php | 146 + .../custom_buttons_fullwidth.php | 50 + .../custom_admin_view/custom_buttons_left.php | 56 + .../custom_script_fullwidth.php | 62 + .../custom_admin_view/details_above.php | 42 + .../custom_admin_view/details_fullwidth.php | 50 + .../custom_admin_view/details_left.php | 59 + .../custom_admin_view/details_right.php | 55 + .../custom_admin_view/details_rightside.php | 58 + .../custom_admin_view/details_under.php | 42 + admin/layouts/custom_admin_view/index.html | 1 + .../layouts/custom_admin_view/publishing.php | 59 + .../layouts/custom_admin_view/publlshing.php | 61 + .../layouts/dynamic_get/abacus_fullwidth.php | 51 + admin/layouts/dynamic_get/abacus_left.php | 55 + .../dynamic_get/custom_script_fullwidth.php | 58 + admin/layouts/dynamic_get/gettable_above.php | 45 + .../dynamic_get/gettable_fullwidth.php | 49 + admin/layouts/dynamic_get/gettable_left.php | 59 + admin/layouts/dynamic_get/gettable_right.php | 60 + admin/layouts/dynamic_get/gettable_under.php | 42 + admin/layouts/dynamic_get/index.html | 1 + admin/layouts/dynamic_get/publishing.php | 59 + admin/layouts/dynamic_get/publlshing.php | 61 + admin/layouts/field/details_fullwidth.php | 50 + admin/layouts/field/details_left.php | 66 + admin/layouts/field/details_right.php | 55 + admin/layouts/field/details_under.php | 42 + admin/layouts/field/index.html | 1 + admin/layouts/field/publishing.php | 59 + admin/layouts/field/publlshing.php | 61 + admin/layouts/field/scripts_left.php | 58 + admin/layouts/field/scripts_right.php | 58 + admin/layouts/fieldtype/details_left.php | 58 + admin/layouts/fieldtype/details_right.php | 56 + admin/layouts/fieldtype/fields_fullwidth.php | 162 + admin/layouts/fieldtype/index.html | 1 + admin/layouts/fieldtype/publishing.php | 59 + admin/layouts/fieldtype/publlshing.php | 61 + admin/layouts/help_document/details_above.php | 43 + .../help_document/details_fullwidth.php | 49 + admin/layouts/help_document/details_left.php | 59 + admin/layouts/help_document/details_right.php | 57 + admin/layouts/help_document/details_under.php | 42 + admin/layouts/help_document/index.html | 1 + admin/layouts/help_document/publishing.php | 59 + admin/layouts/help_document/publlshing.php | 60 + admin/layouts/index.html | 1 + .../layout/custom_script_fullwidth.php | 50 + admin/layouts/layout/details_fullwidth.php | 50 + admin/layouts/layout/details_left.php | 59 + admin/layouts/layout/details_right.php | 55 + admin/layouts/layout/details_rightside.php | 56 + admin/layouts/layout/details_under.php | 42 + admin/layouts/layout/index.html | 1 + admin/layouts/layout/publishing.php | 59 + admin/layouts/layout/publlshing.php | 61 + .../site_view/custom_buttons_fullwidth.php | 53 + admin/layouts/site_view/details_above.php | 42 + admin/layouts/site_view/details_fullwidth.php | 50 + admin/layouts/site_view/details_left.php | 59 + admin/layouts/site_view/details_right.php | 55 + admin/layouts/site_view/details_rightside.php | 58 + admin/layouts/site_view/details_under.php | 42 + admin/layouts/site_view/index.html | 1 + .../site_view/javascript_css_fullwidth.php | 54 + admin/layouts/site_view/php_fullwidth.php | 59 + admin/layouts/site_view/publishing.php | 59 + admin/layouts/site_view/publlshing.php | 61 + admin/layouts/snippet/details_above.php | 44 + admin/layouts/snippet/details_left.php | 57 + admin/layouts/snippet/details_right.php | 55 + admin/layouts/snippet/index.html | 1 + admin/layouts/snippet/publishing.php | 59 + admin/layouts/snippet/publlshing.php | 61 + .../template/custom_script_fullwidth.php | 50 + admin/layouts/template/details_fullwidth.php | 50 + admin/layouts/template/details_left.php | 59 + admin/layouts/template/details_right.php | 55 + admin/layouts/template/details_rightside.php | 56 + admin/layouts/template/details_under.php | 42 + admin/layouts/template/index.html | 1 + admin/layouts/template/publishing.php | 59 + admin/layouts/template/publlshing.php | 61 + admin/models/admin_view.php | 1235 ++ admin/models/admin_views.php | 420 + admin/models/ajax.php | 801 + admin/models/compiler.php | 217 + admin/models/component.php | 1139 + admin/models/componentbuilder.php | 264 + admin/models/components.php | 402 + admin/models/custom_admin_view.php | 1053 + admin/models/custom_admin_views.php | 408 + admin/models/dynamic_get.php | 940 + admin/models/dynamic_gets.php | 456 + admin/models/field.php | 985 + admin/models/fields.php | 564 + admin/models/fields/adminviews.php | 116 + admin/models/fields/articles.php | 116 + admin/models/fields/customadminviews.php | 115 + admin/models/fields/customfilelist.php | 120 + admin/models/fields/customfolderlist.php | 120 + admin/models/fields/customgets.php | 118 + admin/models/fields/dbtables.php | 116 + admin/models/fields/dynamicgets.php | 117 + admin/models/fields/fields.php | 116 + admin/models/fields/fieldsmulti.php | 116 + admin/models/fields/fieldtypes.php | 116 + admin/models/fields/index.html | 1 + admin/models/fields/maingets.php | 118 + admin/models/fields/siteviews.php | 115 + admin/models/fields/snippets.php | 118 + admin/models/fieldtype.php | 1070 + admin/models/fieldtypes.php | 413 + admin/models/forms/admin_view.js | 804 + admin/models/forms/admin_view.xml | 1421 ++ admin/models/forms/component.js | 386 + admin/models/forms/component.xml | 2376 +++ admin/models/forms/custom_admin_view.js | 519 + admin/models/forms/custom_admin_view.xml | 950 + admin/models/forms/dynamic_get.js | 1367 ++ admin/models/forms/dynamic_get.xml | 1344 ++ admin/models/forms/field.js | 474 + admin/models/forms/field.xml | 459 + admin/models/forms/fieldtype.js | 26 + admin/models/forms/fieldtype.xml | 259 + admin/models/forms/help_document.js | 312 + admin/models/forms/help_document.xml | 245 + admin/models/forms/index.html | 1 + admin/models/forms/layout.js | 226 + admin/models/forms/layout.xml | 228 + admin/models/forms/site_view.js | 556 + admin/models/forms/site_view.xml | 1134 + admin/models/forms/snippet.js | 26 + admin/models/forms/snippet.xml | 215 + admin/models/forms/template.js | 267 + admin/models/forms/template.xml | 228 + admin/models/help_document.php | 924 + admin/models/help_documents.php | 459 + admin/models/import.php | 733 + admin/models/index.html | 1 + admin/models/layout.php | 936 + admin/models/layouts.php | 397 + admin/models/rules/index.html | 1 + admin/models/site_view.php | 1065 + admin/models/site_views.php | 410 + admin/models/snippet.php | 832 + admin/models/snippets.php | 429 + admin/models/template.php | 936 + admin/models/templates.php | 387 + admin/sql/index.html | 1 + admin/sql/install.mysql.utf8.sql | 640 + admin/sql/uninstall.mysql.utf8.sql | 11 + admin/sql/updates/index.html | 1 + admin/sql/updates/mysql/1.0.0.sql | 1 + admin/sql/updates/mysql/1.0.5.sql | 1 + admin/sql/updates/mysql/1.1.0.sql | 1 + admin/sql/updates/mysql/2.0.0.sql | 1 + admin/sql/updates/mysql/2.0.7.sql | 4 + admin/sql/updates/mysql/index.html | 1 + admin/tables/admin_view.php | 352 + admin/tables/component.php | 352 + admin/tables/custom_admin_view.php | 352 + admin/tables/dynamic_get.php | 352 + admin/tables/field.php | 352 + admin/tables/fieldtype.php | 352 + admin/tables/help_document.php | 352 + admin/tables/index.html | 1 + admin/tables/layout.php | 352 + admin/tables/site_view.php | 352 + admin/tables/snippet.php | 352 + admin/tables/template.php | 352 + admin/views/admin_view/submitbutton.js | 50 + admin/views/admin_view/tmpl/edit.php | 511 + admin/views/admin_view/tmpl/index.html | 1 + admin/views/admin_view/view.html.php | 230 + admin/views/admin_views/index.html | 1 + admin/views/admin_views/tmpl/default.php | 100 + .../admin_views/tmpl/default_batch_body.php | 33 + .../admin_views/tmpl/default_batch_footer.php | 38 + admin/views/admin_views/tmpl/default_body.php | 118 + admin/views/admin_views/tmpl/default_foot.php | 33 + admin/views/admin_views/tmpl/default_head.php | 71 + .../admin_views/tmpl/default_toolbar.php | 60 + admin/views/admin_views/tmpl/index.html | 1 + admin/views/admin_views/view.html.php | 254 + admin/views/compiler/index.html | 1 + admin/views/compiler/tmpl/default.php | 153 + admin/views/compiler/tmpl/index.html | 1 + admin/views/compiler/view.html.php | 147 + admin/views/component/submitbutton.js | 50 + admin/views/component/tmpl/edit.php | 313 + admin/views/component/tmpl/index.html | 1 + admin/views/component/view.html.php | 226 + admin/views/componentbuilder/index.html | 1 + admin/views/componentbuilder/tmpl/default.php | 48 + .../componentbuilder/tmpl/default_main.php | 43 + .../componentbuilder/tmpl/default_vdm.php | 56 + admin/views/componentbuilder/tmpl/index.html | 1 + admin/views/componentbuilder/view.html.php | 99 + admin/views/components/index.html | 1 + admin/views/components/tmpl/default.php | 100 + .../components/tmpl/default_batch_body.php | 33 + .../components/tmpl/default_batch_footer.php | 38 + admin/views/components/tmpl/default_body.php | 124 + admin/views/components/tmpl/default_foot.php | 33 + admin/views/components/tmpl/default_head.php | 77 + .../views/components/tmpl/default_toolbar.php | 60 + admin/views/components/tmpl/index.html | 1 + admin/views/components/view.html.php | 364 + admin/views/custom_admin_view/submitbutton.js | 50 + admin/views/custom_admin_view/tmpl/edit.php | 337 + admin/views/custom_admin_view/tmpl/index.html | 1 + admin/views/custom_admin_view/view.html.php | 203 + admin/views/custom_admin_views/index.html | 1 + .../views/custom_admin_views/tmpl/default.php | 100 + .../tmpl/default_batch_body.php | 33 + .../tmpl/default_batch_footer.php | 38 + .../custom_admin_views/tmpl/default_body.php | 121 + .../custom_admin_views/tmpl/default_foot.php | 33 + .../custom_admin_views/tmpl/default_head.php | 74 + .../tmpl/default_toolbar.php | 60 + .../views/custom_admin_views/tmpl/index.html | 1 + admin/views/custom_admin_views/view.html.php | 254 + admin/views/dynamic_get/submitbutton.js | 50 + admin/views/dynamic_get/tmpl/edit.php | 570 + admin/views/dynamic_get/tmpl/index.html | 1 + admin/views/dynamic_get/view.html.php | 203 + admin/views/dynamic_gets/index.html | 1 + admin/views/dynamic_gets/tmpl/default.php | 100 + .../dynamic_gets/tmpl/default_batch_body.php | 33 + .../tmpl/default_batch_footer.php | 38 + .../views/dynamic_gets/tmpl/default_body.php | 115 + .../views/dynamic_gets/tmpl/default_foot.php | 33 + .../views/dynamic_gets/tmpl/default_head.php | 68 + .../dynamic_gets/tmpl/default_toolbar.php | 60 + admin/views/dynamic_gets/tmpl/index.html | 1 + admin/views/dynamic_gets/view.html.php | 369 + admin/views/field/submitbutton.js | 50 + admin/views/field/tmpl/edit.php | 295 + admin/views/field/tmpl/index.html | 1 + admin/views/field/view.html.php | 203 + admin/views/fields/index.html | 1 + admin/views/fields/tmpl/default.php | 100 + .../views/fields/tmpl/default_batch_body.php | 33 + .../fields/tmpl/default_batch_footer.php | 38 + admin/views/fields/tmpl/default_body.php | 137 + admin/views/fields/tmpl/default_foot.php | 33 + admin/views/fields/tmpl/default_head.php | 80 + admin/views/fields/tmpl/default_toolbar.php | 60 + admin/views/fields/tmpl/index.html | 1 + admin/views/fields/view.html.php | 528 + admin/views/fieldtype/submitbutton.js | 50 + admin/views/fieldtype/tmpl/edit.php | 101 + admin/views/fieldtype/tmpl/index.html | 1 + admin/views/fieldtype/view.html.php | 228 + admin/views/fieldtypes/index.html | 1 + admin/views/fieldtypes/tmpl/default.php | 100 + .../fieldtypes/tmpl/default_batch_body.php | 33 + .../fieldtypes/tmpl/default_batch_footer.php | 38 + admin/views/fieldtypes/tmpl/default_body.php | 119 + admin/views/fieldtypes/tmpl/default_foot.php | 33 + admin/views/fieldtypes/tmpl/default_head.php | 68 + .../views/fieldtypes/tmpl/default_toolbar.php | 60 + admin/views/fieldtypes/tmpl/index.html | 1 + admin/views/fieldtypes/view.html.php | 270 + admin/views/help_document/submitbutton.js | 50 + admin/views/help_document/tmpl/edit.php | 194 + admin/views/help_document/tmpl/index.html | 1 + admin/views/help_document/view.html.php | 201 + admin/views/help_documents/index.html | 1 + admin/views/help_documents/tmpl/default.php | 100 + .../tmpl/default_batch_body.php | 33 + .../tmpl/default_batch_footer.php | 38 + .../help_documents/tmpl/default_body.php | 124 + .../help_documents/tmpl/default_foot.php | 33 + .../help_documents/tmpl/default_head.php | 77 + .../help_documents/tmpl/default_toolbar.php | 60 + admin/views/help_documents/tmpl/index.html | 1 + admin/views/help_documents/view.html.php | 479 + admin/views/import/index.html | 1 + admin/views/import/tmpl/default.php | 234 + admin/views/import/tmpl/index.html | 1 + admin/views/import/view.html.php | 111 + admin/views/index.html | 1 + admin/views/layout/submitbutton.js | 50 + admin/views/layout/tmpl/edit.php | 187 + admin/views/layout/tmpl/index.html | 1 + admin/views/layout/view.html.php | 203 + admin/views/layouts/index.html | 1 + admin/views/layouts/tmpl/default.php | 100 + .../views/layouts/tmpl/default_batch_body.php | 33 + .../layouts/tmpl/default_batch_footer.php | 38 + admin/views/layouts/tmpl/default_body.php | 124 + admin/views/layouts/tmpl/default_foot.php | 33 + admin/views/layouts/tmpl/default_head.php | 71 + admin/views/layouts/tmpl/default_toolbar.php | 60 + admin/views/layouts/tmpl/index.html | 1 + admin/views/layouts/view.html.php | 276 + admin/views/site_view/submitbutton.js | 50 + admin/views/site_view/tmpl/edit.php | 359 + admin/views/site_view/tmpl/index.html | 1 + admin/views/site_view/view.html.php | 203 + admin/views/site_views/index.html | 1 + admin/views/site_views/tmpl/default.php | 100 + .../site_views/tmpl/default_batch_body.php | 33 + .../site_views/tmpl/default_batch_footer.php | 38 + admin/views/site_views/tmpl/default_body.php | 121 + admin/views/site_views/tmpl/default_foot.php | 33 + admin/views/site_views/tmpl/default_head.php | 74 + .../views/site_views/tmpl/default_toolbar.php | 60 + admin/views/site_views/tmpl/index.html | 1 + admin/views/site_views/view.html.php | 254 + admin/views/snippet/submitbutton.js | 50 + admin/views/snippet/tmpl/edit.php | 92 + admin/views/snippet/tmpl/index.html | 1 + admin/views/snippet/view.html.php | 201 + admin/views/snippets/index.html | 1 + admin/views/snippets/tmpl/default.php | 100 + .../snippets/tmpl/default_batch_body.php | 33 + .../snippets/tmpl/default_batch_footer.php | 38 + admin/views/snippets/tmpl/default_body.php | 118 + admin/views/snippets/tmpl/default_foot.php | 33 + admin/views/snippets/tmpl/default_head.php | 71 + admin/views/snippets/tmpl/default_toolbar.php | 60 + admin/views/snippets/tmpl/index.html | 1 + admin/views/snippets/view.html.php | 312 + admin/views/template/submitbutton.js | 50 + admin/views/template/tmpl/edit.php | 188 + admin/views/template/tmpl/index.html | 1 + admin/views/template/view.html.php | 203 + admin/views/templates/index.html | 1 + admin/views/templates/tmpl/default.php | 100 + .../templates/tmpl/default_batch_body.php | 33 + .../templates/tmpl/default_batch_footer.php | 38 + admin/views/templates/tmpl/default_body.php | 118 + admin/views/templates/tmpl/default_foot.php | 33 + admin/views/templates/tmpl/default_head.php | 71 + .../views/templates/tmpl/default_toolbar.php | 60 + admin/views/templates/tmpl/index.html | 1 + admin/views/templates/view.html.php | 253 + componentbuilder.xml | 113 + index.html | 1 + media/css/index.html | 1 + media/footable/css/fonts/footable.eot | Bin 0 -> 4824 bytes media/footable/css/fonts/footable.svg | 78 + media/footable/css/fonts/footable.ttf | Bin 0 -> 4656 bytes media/footable/css/fonts/footable.woff | Bin 0 -> 4016 bytes media/footable/css/fonts/index.html | 1 + media/footable/css/footable.core.css | 178 + media/footable/css/footable.core.min.css | 1 + media/footable/css/footable.metro.css | 152 + media/footable/css/footable.metro.min.css | 1 + media/footable/css/footable.standalone.css | 181 + .../footable/css/footable.standalone.min.css | 1 + media/footable/css/index.html | 1 + media/footable/dist/footable.all.min.js | 14 + .../dist/footable.bookmarkable.min.js | 1 + media/footable/dist/footable.filter.min.js | 1 + media/footable/dist/footable.grid.min.js | 1 + media/footable/dist/footable.min.js | 14 + media/footable/dist/footable.paginate.min.js | 1 + media/footable/dist/footable.sort.min.js | 1 + media/footable/dist/footable.striping.min.js | 1 + media/footable/dist/index.html | 1 + media/footable/icomoon/footable.json | 1 + media/footable/icomoon/index.html | 1 + media/footable/index.html | 1 + media/footable/js/.jshintrc | 29 + media/footable/js/footable.bookmarkable.js | 170 + media/footable/js/footable.filter.js | 143 + media/footable/js/footable.grid.js | 373 + media/footable/js/footable.js | 824 + media/footable/js/footable.memory.js | 429 + media/footable/js/footable.paginate.js | 242 + media/footable/js/footable.plugin.template.js | 44 + media/footable/js/footable.sort.js | 190 + media/footable/js/footable.striping.js | 57 + media/footable/js/index.html | 1 + media/images/index.html | 1 + media/index.html | 1 + media/js/index.html | 1 + .../css/components/accordion.almost-flat.css | 39 + .../components/accordion.almost-flat.min.css | 2 + media/uikit/css/components/accordion.css | 37 + .../css/components/accordion.gradient.css | 39 + .../css/components/accordion.gradient.min.css | 2 + media/uikit/css/components/accordion.min.css | 2 + .../components/autocomplete.almost-flat.css | 52 + .../autocomplete.almost-flat.min.css | 2 + media/uikit/css/components/autocomplete.css | 50 + .../css/components/autocomplete.gradient.css | 52 + .../components/autocomplete.gradient.min.css | 2 + .../uikit/css/components/autocomplete.min.css | 2 + .../css/components/datepicker.almost-flat.css | 129 + .../components/datepicker.almost-flat.min.css | 2 + media/uikit/css/components/datepicker.css | 123 + .../css/components/datepicker.gradient.css | 139 + .../components/datepicker.gradient.min.css | 2 + media/uikit/css/components/datepicker.min.css | 2 + .../css/components/dotnav.almost-flat.css | 129 + .../css/components/dotnav.almost-flat.min.css | 2 + media/uikit/css/components/dotnav.css | 125 + .../uikit/css/components/dotnav.gradient.css | 129 + .../css/components/dotnav.gradient.min.css | 2 + media/uikit/css/components/dotnav.min.css | 2 + .../components/form-advanced.almost-flat.css | 78 + .../form-advanced.almost-flat.min.css | 2 + media/uikit/css/components/form-advanced.css | 78 + .../css/components/form-advanced.gradient.css | 78 + .../components/form-advanced.gradient.min.css | 2 + .../css/components/form-advanced.min.css | 2 + .../css/components/form-file.almost-flat.css | 34 + .../components/form-file.almost-flat.min.css | 2 + media/uikit/css/components/form-file.css | 34 + .../css/components/form-file.gradient.css | 34 + .../css/components/form-file.gradient.min.css | 2 + media/uikit/css/components/form-file.min.css | 2 + .../components/form-password.almost-flat.css | 34 + .../form-password.almost-flat.min.css | 2 + media/uikit/css/components/form-password.css | 34 + .../css/components/form-password.gradient.css | 34 + .../components/form-password.gradient.min.css | 2 + .../css/components/form-password.min.css | 2 + .../components/form-select.almost-flat.css | 35 + .../form-select.almost-flat.min.css | 2 + media/uikit/css/components/form-select.css | 35 + .../css/components/form-select.gradient.css | 35 + .../components/form-select.gradient.min.css | 2 + .../uikit/css/components/form-select.min.css | 2 + .../css/components/htmleditor.almost-flat.css | 225 + .../components/htmleditor.almost-flat.min.css | 2 + media/uikit/css/components/htmleditor.css | 167 + .../css/components/htmleditor.gradient.css | 232 + .../components/htmleditor.gradient.min.css | 2 + media/uikit/css/components/htmleditor.min.css | 2 + media/uikit/css/components/index.html | 1 + .../css/components/nestable.almost-flat.css | 135 + .../components/nestable.almost-flat.min.css | 2 + media/uikit/css/components/nestable.css | 132 + .../css/components/nestable.gradient.css | 139 + .../css/components/nestable.gradient.min.css | 2 + media/uikit/css/components/nestable.min.css | 2 + .../css/components/notify.almost-flat.css | 99 + .../css/components/notify.almost-flat.min.css | 2 + media/uikit/css/components/notify.css | 93 + .../uikit/css/components/notify.gradient.css | 99 + .../css/components/notify.gradient.min.css | 2 + media/uikit/css/components/notify.min.css | 2 + .../components/placeholder.almost-flat.css | 29 + .../placeholder.almost-flat.min.css | 2 + media/uikit/css/components/placeholder.css | 29 + .../css/components/placeholder.gradient.css | 29 + .../components/placeholder.gradient.min.css | 2 + .../uikit/css/components/placeholder.min.css | 2 + .../css/components/progress.almost-flat.css | 105 + .../components/progress.almost-flat.min.css | 2 + media/uikit/css/components/progress.css | 95 + .../css/components/progress.gradient.css | 113 + .../css/components/progress.gradient.min.css | 2 + media/uikit/css/components/progress.min.css | 2 + .../css/components/search.almost-flat.css | 192 + .../css/components/search.almost-flat.min.css | 2 + media/uikit/css/components/search.css | 190 + .../uikit/css/components/search.gradient.css | 192 + .../css/components/search.gradient.min.css | 2 + media/uikit/css/components/search.min.css | 2 + .../css/components/slidenav.almost-flat.css | 99 + .../components/slidenav.almost-flat.min.css | 2 + media/uikit/css/components/slidenav.css | 99 + .../css/components/slidenav.gradient.css | 99 + .../css/components/slidenav.gradient.min.css | 2 + media/uikit/css/components/slidenav.min.css | 2 + .../css/components/slider.almost-flat.css | 85 + .../css/components/slider.almost-flat.min.css | 2 + media/uikit/css/components/slider.css | 85 + .../uikit/css/components/slider.gradient.css | 85 + .../css/components/slider.gradient.min.css | 2 + media/uikit/css/components/slider.min.css | 2 + .../css/components/slideshow.almost-flat.css | 140 + .../components/slideshow.almost-flat.min.css | 2 + media/uikit/css/components/slideshow.css | 140 + .../css/components/slideshow.gradient.css | 140 + .../css/components/slideshow.gradient.min.css | 2 + media/uikit/css/components/slideshow.min.css | 2 + .../css/components/sortable.almost-flat.css | 62 + .../components/sortable.almost-flat.min.css | 2 + media/uikit/css/components/sortable.css | 62 + .../css/components/sortable.gradient.css | 62 + .../css/components/sortable.gradient.min.css | 2 + media/uikit/css/components/sortable.min.css | 2 + .../css/components/sticky.almost-flat.css | 32 + .../css/components/sticky.almost-flat.min.css | 2 + media/uikit/css/components/sticky.css | 32 + .../uikit/css/components/sticky.gradient.css | 32 + .../css/components/sticky.gradient.min.css | 2 + media/uikit/css/components/sticky.min.css | 2 + .../css/components/tooltip.almost-flat.css | 120 + .../components/tooltip.almost-flat.min.css | 2 + media/uikit/css/components/tooltip.css | 118 + .../uikit/css/components/tooltip.gradient.css | 120 + .../css/components/tooltip.gradient.min.css | 2 + media/uikit/css/components/tooltip.min.css | 2 + .../css/components/upload.almost-flat.css | 10 + .../css/components/upload.almost-flat.min.css | 2 + media/uikit/css/components/upload.css | 10 + .../uikit/css/components/upload.gradient.css | 10 + .../css/components/upload.gradient.min.css | 2 + media/uikit/css/components/upload.min.css | 2 + media/uikit/css/index.html | 1 + media/uikit/css/uikit.almost-flat.css | 8355 ++++++++ media/uikit/css/uikit.almost-flat.min.css | 2 + media/uikit/css/uikit.css | 8057 +++++++ media/uikit/css/uikit.gradient.css | 8417 ++++++++ media/uikit/css/uikit.gradient.min.css | 2 + media/uikit/css/uikit.min.css | 2 + media/uikit/fonts/FontAwesome.otf | Bin 0 -> 93888 bytes media/uikit/fonts/fontawesome-webfont.eot | Bin 0 -> 60767 bytes media/uikit/fonts/fontawesome-webfont.ttf | Bin 0 -> 122092 bytes media/uikit/fonts/fontawesome-webfont.woff | Bin 0 -> 71508 bytes media/uikit/fonts/fontawesome-webfont.woff2 | Bin 0 -> 56780 bytes media/uikit/fonts/index.html | 1 + media/uikit/index.html | 1 + media/uikit/js/components/accordion.js | 172 + media/uikit/js/components/accordion.min.js | 2 + media/uikit/js/components/autocomplete.js | 336 + media/uikit/js/components/autocomplete.min.js | 2 + media/uikit/js/components/datepicker.js | 3168 +++ media/uikit/js/components/datepicker.min.js | 3 + media/uikit/js/components/form-password.js | 66 + .../uikit/js/components/form-password.min.js | 2 + media/uikit/js/components/form-select.js | 70 + media/uikit/js/components/form-select.min.js | 2 + media/uikit/js/components/grid.js | 524 + media/uikit/js/components/grid.min.js | 2 + media/uikit/js/components/htmleditor.js | 621 + media/uikit/js/components/htmleditor.min.js | 2 + media/uikit/js/components/index.html | 1 + media/uikit/js/components/lightbox.js | 544 + media/uikit/js/components/lightbox.min.js | 2 + media/uikit/js/components/nestable.js | 625 + media/uikit/js/components/nestable.min.js | 2 + media/uikit/js/components/notify.js | 191 + media/uikit/js/components/notify.min.js | 2 + media/uikit/js/components/pagination.js | 148 + media/uikit/js/components/pagination.min.js | 2 + media/uikit/js/components/parallax.js | 417 + media/uikit/js/components/parallax.min.js | 2 + media/uikit/js/components/search.js | 92 + media/uikit/js/components/search.min.js | 2 + media/uikit/js/components/slider.js | 482 + media/uikit/js/components/slider.min.js | 2 + media/uikit/js/components/slideset.js | 503 + media/uikit/js/components/slideset.min.js | 2 + media/uikit/js/components/slideshow-fx.js | 377 + media/uikit/js/components/slideshow-fx.min.js | 2 + media/uikit/js/components/slideshow.js | 545 + media/uikit/js/components/slideshow.min.js | 2 + media/uikit/js/components/sortable.js | 643 + media/uikit/js/components/sortable.min.js | 2 + media/uikit/js/components/sticky.js | 298 + media/uikit/js/components/sticky.min.js | 2 + media/uikit/js/components/timepicker.js | 192 + media/uikit/js/components/timepicker.min.js | 2 + media/uikit/js/components/tooltip.js | 234 + media/uikit/js/components/tooltip.min.js | 2 + media/uikit/js/components/upload.js | 256 + media/uikit/js/components/upload.min.js | 2 + media/uikit/js/core/alert.js | 66 + media/uikit/js/core/alert.min.js | 2 + media/uikit/js/core/button.js | 154 + media/uikit/js/core/button.min.js | 2 + media/uikit/js/core/core.js | 722 + media/uikit/js/core/core.min.js | 2 + media/uikit/js/core/cover.js | 95 + media/uikit/js/core/cover.min.js | 2 + media/uikit/js/core/dropdown.js | 296 + media/uikit/js/core/dropdown.min.js | 2 + media/uikit/js/core/grid.js | 114 + media/uikit/js/core/grid.min.js | 2 + media/uikit/js/core/index.html | 1 + media/uikit/js/core/modal.js | 373 + media/uikit/js/core/modal.min.js | 2 + media/uikit/js/core/nav.js | 136 + media/uikit/js/core/nav.min.js | 2 + media/uikit/js/core/offcanvas.js | 178 + media/uikit/js/core/offcanvas.min.js | 2 + media/uikit/js/core/scrollspy.js | 208 + media/uikit/js/core/scrollspy.min.js | 2 + media/uikit/js/core/smooth-scroll.js | 62 + media/uikit/js/core/smooth-scroll.min.js | 2 + media/uikit/js/core/switcher.js | 298 + media/uikit/js/core/switcher.min.js | 2 + media/uikit/js/core/tab.js | 165 + media/uikit/js/core/tab.min.js | 2 + media/uikit/js/core/toggle.js | 117 + media/uikit/js/core/toggle.min.js | 2 + media/uikit/js/core/touch.js | 173 + media/uikit/js/core/touch.min.js | 2 + media/uikit/js/core/utility.js | 243 + media/uikit/js/core/utility.min.js | 2 + media/uikit/js/index.html | 1 + media/uikit/js/uikit.js | 3400 +++ media/uikit/js/uikit.min.js | 3 + script.php | 1440 ++ site/assets/css/index.html | 1 + site/assets/css/site.css | 32 + site/assets/images/index.html | 1 + site/assets/index.html | 1 + site/assets/js/index.html | 1 + site/assets/js/site.js | 0 site/componentbuilder.php | 50 + site/controller.php | 102 + site/controllers/help.php | 131 + site/controllers/index.html | 1 + site/helpers/componentbuilder.php | 999 + site/helpers/headercheck.php | 86 + site/helpers/index.html | 1 + site/helpers/route.php | 222 + site/index.html | 1 + .../en-GB/en-GB.com_componentbuilder.ini | 14 + .../en-GB/en-GB.com_componentbuilder.sys.ini | 1 + site/language/en-GB/index.html | 1 + site/language/index.html | 1 + site/layouts/index.html | 1 + site/models/index.html | 1 + site/router.php | 200 + site/views/index.html | 1 + 1834 files changed, 447351 insertions(+) create mode 100644 LICENSE.txt create mode 100644 README.md create mode 100644 admin/access.xml create mode 100644 admin/assets/css/admin.css create mode 100644 admin/assets/css/admin_view.css create mode 100644 admin/assets/css/admin_views.css create mode 100644 admin/assets/css/component.css create mode 100644 admin/assets/css/components.css create mode 100644 admin/assets/css/custom_admin_view.css create mode 100644 admin/assets/css/custom_admin_views.css create mode 100644 admin/assets/css/dashboard.css create mode 100644 admin/assets/css/dynamic_get.css create mode 100644 admin/assets/css/dynamic_gets.css create mode 100644 admin/assets/css/field.css create mode 100644 admin/assets/css/fields.css create mode 100644 admin/assets/css/fieldtype.css create mode 100644 admin/assets/css/fieldtypes.css create mode 100644 admin/assets/css/help_document.css create mode 100644 admin/assets/css/help_documents.css create mode 100644 admin/assets/css/index.html create mode 100644 admin/assets/css/layout.css create mode 100644 admin/assets/css/layouts.css create mode 100644 admin/assets/css/site_view.css create mode 100644 admin/assets/css/site_views.css create mode 100644 admin/assets/css/snippet.css create mode 100644 admin/assets/css/snippets.css create mode 100644 admin/assets/css/template.css create mode 100644 admin/assets/css/templates.css create mode 100644 admin/assets/images/ajax-loader.gif create mode 100644 admin/assets/images/ajax.gif create mode 100644 admin/assets/images/component-300.png create mode 100644 admin/assets/images/grid.png create mode 100644 admin/assets/images/icons/admin_view_add.png create mode 100644 admin/assets/images/icons/admin_views.png create mode 100644 admin/assets/images/icons/compiler.png create mode 100644 admin/assets/images/icons/component_add.png create mode 100644 admin/assets/images/icons/components.png create mode 100644 admin/assets/images/icons/custom_admin_view_add.png create mode 100644 admin/assets/images/icons/custom_admin_views.png create mode 100644 admin/assets/images/icons/dynamic_get_add.png create mode 100644 admin/assets/images/icons/dynamic_gets.png create mode 100644 admin/assets/images/icons/field_add.png create mode 100644 admin/assets/images/icons/fields.png create mode 100644 admin/assets/images/icons/fields_catid.png create mode 100644 admin/assets/images/icons/fieldtype_add.png create mode 100644 admin/assets/images/icons/fieldtypes.png create mode 100644 admin/assets/images/icons/fieldtypes_catid.png create mode 100644 admin/assets/images/icons/help_document_add.png create mode 100644 admin/assets/images/icons/help_documents.png create mode 100644 admin/assets/images/icons/index.html create mode 100644 admin/assets/images/icons/layout_add.png create mode 100644 admin/assets/images/icons/layouts.png create mode 100644 admin/assets/images/icons/site_view_add.png create mode 100644 admin/assets/images/icons/site_views.png create mode 100644 admin/assets/images/icons/snippet_add.png create mode 100644 admin/assets/images/icons/snippets.png create mode 100644 admin/assets/images/icons/template_add.png create mode 100644 admin/assets/images/icons/templates.png create mode 100644 admin/assets/images/import.gif create mode 100644 admin/assets/images/index.html create mode 100644 admin/assets/index.html create mode 100644 admin/assets/js/admin.js create mode 100644 admin/assets/js/index.html create mode 100644 admin/compiler/default.txt create mode 100644 admin/compiler/description.txt create mode 100644 admin/compiler/giz.txt create mode 100644 admin/compiler/index.html create mode 100644 admin/compiler/joomla_3/1.0.0.sql create mode 100644 admin/compiler/joomla_3/DASHJControllerAdmin.php create mode 100644 admin/compiler/joomla_3/DASHJModelList.php create mode 100644 admin/compiler/joomla_3/DASHJViewLagacy.php create mode 100644 admin/compiler/joomla_3/DASHdefault.php create mode 100644 admin/compiler/joomla_3/Helper.php create mode 100644 admin/compiler/joomla_3/Helper_site.php create mode 100644 admin/compiler/joomla_3/JControllerAdmin.php create mode 100644 admin/compiler/joomla_3/JControllerAdmin_custom_admin.php create mode 100644 admin/compiler/joomla_3/JControllerForm.php create mode 100644 admin/compiler/joomla_3/JControllerForm_custom_site.php create mode 100644 admin/compiler/joomla_3/JControllerForm_site.php create mode 100644 admin/compiler/joomla_3/JControllerLegacy.php create mode 100644 admin/compiler/joomla_3/JControllerLegacyAjax.php create mode 100644 admin/compiler/joomla_3/JControllerLegacyAjaxSite.php create mode 100644 admin/compiler/joomla_3/JControllerLegacyHelp.php create mode 100644 admin/compiler/joomla_3/JControllerLegacyHelp_site.php create mode 100644 admin/compiler/joomla_3/JControllerLegacySITE.php create mode 100644 admin/compiler/joomla_3/JControllerLegacy_custom_admin.php create mode 100644 admin/compiler/joomla_3/JControllerLegacy_import.php create mode 100644 admin/compiler/joomla_3/JFormFieldCheckboxes.php create mode 100644 admin/compiler/joomla_3/JFormFieldList.php create mode 100644 admin/compiler/joomla_3/JFormFieldRadio.php create mode 100644 admin/compiler/joomla_3/JFormFieldUser.php create mode 100644 admin/compiler/joomla_3/JFormRule.php create mode 100644 admin/compiler/joomla_3/JModelAdmin.php create mode 100644 admin/compiler/joomla_3/JModelAdmin_site.php create mode 100644 admin/compiler/joomla_3/JModelItem_custom_admin.php create mode 100644 admin/compiler/joomla_3/JModelItem_site.php create mode 100644 admin/compiler/joomla_3/JModelLegacy_import.php create mode 100644 admin/compiler/joomla_3/JModelList.php create mode 100644 admin/compiler/joomla_3/JModelListAjax.php create mode 100644 admin/compiler/joomla_3/JModelListAjaxSite.php create mode 100644 admin/compiler/joomla_3/JModelList_custom_admin.php create mode 100644 admin/compiler/joomla_3/JModelList_site.php create mode 100644 admin/compiler/joomla_3/JTable.php create mode 100644 admin/compiler/joomla_3/JViewLegacy_custom_admin.php create mode 100644 admin/compiler/joomla_3/JViewLegacy_edit.php create mode 100644 admin/compiler/joomla_3/JViewLegacy_edit_site.php create mode 100644 admin/compiler/joomla_3/JViewLegacy_import.php create mode 100644 admin/compiler/joomla_3/JViewLegacy_list.php create mode 100644 admin/compiler/joomla_3/JViewLegacy_list_custom_admin.php create mode 100644 admin/compiler/joomla_3/JViewLegacy_list_site.php create mode 100644 admin/compiler/joomla_3/JViewLegacy_site.php create mode 100644 admin/compiler/joomla_3/LICENSE.txt create mode 100644 admin/compiler/joomla_3/README.md create mode 100644 admin/compiler/joomla_3/access.xml create mode 100644 admin/compiler/joomla_3/admin.css create mode 100644 admin/compiler/joomla_3/admin.js create mode 100644 admin/compiler/joomla_3/ajax.json.php create mode 100644 admin/compiler/joomla_3/ajax.php create mode 100644 admin/compiler/joomla_3/batch_.php create mode 100644 admin/compiler/joomla_3/batchselection.php create mode 100644 admin/compiler/joomla_3/component.xml create mode 100644 admin/compiler/joomla_3/component_admin.php create mode 100644 admin/compiler/joomla_3/component_site.php create mode 100644 admin/compiler/joomla_3/config.xml create mode 100644 admin/compiler/joomla_3/dashboard.css create mode 100644 admin/compiler/joomla_3/default.php create mode 100644 admin/compiler/joomla_3/default.xml create mode 100644 admin/compiler/joomla_3/default_batch_body.php create mode 100644 admin/compiler/joomla_3/default_batch_footer.php create mode 100644 admin/compiler/joomla_3/default_body.php create mode 100644 admin/compiler/joomla_3/default_custom_admin.php create mode 100644 admin/compiler/joomla_3/default_custom_admin_template.php create mode 100644 admin/compiler/joomla_3/default_foot.php create mode 100644 admin/compiler/joomla_3/default_head.php create mode 100644 admin/compiler/joomla_3/default_import.php create mode 100644 admin/compiler/joomla_3/default_list.xml create mode 100644 admin/compiler/joomla_3/default_list_custom_admin.php create mode 100644 admin/compiler/joomla_3/default_list_site.php create mode 100644 admin/compiler/joomla_3/default_main.php create mode 100644 admin/compiler/joomla_3/default_site.php create mode 100644 admin/compiler/joomla_3/default_site_template.php create mode 100644 admin/compiler/joomla_3/default_toolbar.php create mode 100644 admin/compiler/joomla_3/default_vdm.php create mode 100644 admin/compiler/joomla_3/edit.php create mode 100644 admin/compiler/joomla_3/edit_site.php create mode 100644 admin/compiler/joomla_3/en-GB.com_admin.ini create mode 100644 admin/compiler/joomla_3/en-GB.com_admin.sys.ini create mode 100644 admin/compiler/joomla_3/en-GB.com_site.ini create mode 100644 admin/compiler/joomla_3/en-GB.com_site.sys.ini create mode 100644 admin/compiler/joomla_3/headercheck.php create mode 100644 admin/compiler/joomla_3/import.gif create mode 100644 admin/compiler/joomla_3/index.html create mode 100644 admin/compiler/joomla_3/install.mysql.utf8.sql create mode 100644 admin/compiler/joomla_3/layout.php create mode 100644 admin/compiler/joomla_3/layout_custom_admin.php create mode 100644 admin/compiler/joomla_3/layout_site.php create mode 100644 admin/compiler/joomla_3/layoutfull.php create mode 100644 admin/compiler/joomla_3/layoutitems.php create mode 100644 admin/compiler/joomla_3/layoutlinkedview.php create mode 100644 admin/compiler/joomla_3/layoutmetadata.php create mode 100644 admin/compiler/joomla_3/layoutpublished.php create mode 100644 admin/compiler/joomla_3/layouttitle.php create mode 100644 admin/compiler/joomla_3/module_forms.js create mode 100644 admin/compiler/joomla_3/module_forms.xml create mode 100644 admin/compiler/joomla_3/routeHelper.php create mode 100644 admin/compiler/joomla_3/router.php create mode 100644 admin/compiler/joomla_3/script.php create mode 100644 admin/compiler/joomla_3/settings.json create mode 100644 admin/compiler/joomla_3/site.css create mode 100644 admin/compiler/joomla_3/site.js create mode 100644 admin/compiler/joomla_3/submitbutton.js create mode 100644 admin/compiler/joomla_3/submitbutton_site.js create mode 100644 admin/compiler/joomla_3/uninstall.mysql.utf8.sql create mode 100644 admin/compiler/joomla_3/update_server.xml create mode 100644 admin/compiler/joomla_3/vdm.php create mode 100644 admin/compiler/joomla_3/view.css create mode 100644 admin/compiler/joomla_3/view_custom_admin.css create mode 100644 admin/compiler/joomla_3/view_site.css create mode 100644 admin/compiler/joomla_3/view_site_edit.css create mode 100644 admin/compiler/joomla_3/views.css create mode 100644 admin/compiler/joomla_3/views_custom_admin.css create mode 100644 admin/compiler/joomla_3/views_site.css create mode 100644 admin/compiler/joomla_3/wideimage/Canvas.php create mode 100644 admin/compiler/joomla_3/wideimage/Coordinate.php create mode 100644 admin/compiler/joomla_3/wideimage/Exception.php create mode 100644 admin/compiler/joomla_3/wideimage/Font/GDF.php create mode 100644 admin/compiler/joomla_3/wideimage/Font/PS.php create mode 100644 admin/compiler/joomla_3/wideimage/Font/TTF.php create mode 100644 admin/compiler/joomla_3/wideimage/Font/index.html create mode 100644 admin/compiler/joomla_3/wideimage/Image.php create mode 100644 admin/compiler/joomla_3/wideimage/Mapper/BMP.php create mode 100644 admin/compiler/joomla_3/wideimage/Mapper/GD.php create mode 100644 admin/compiler/joomla_3/wideimage/Mapper/GD2.php create mode 100644 admin/compiler/joomla_3/wideimage/Mapper/GIF.php create mode 100644 admin/compiler/joomla_3/wideimage/Mapper/JPEG.php create mode 100644 admin/compiler/joomla_3/wideimage/Mapper/PNG.php create mode 100644 admin/compiler/joomla_3/wideimage/Mapper/TGA.php create mode 100644 admin/compiler/joomla_3/wideimage/Mapper/index.html create mode 100644 admin/compiler/joomla_3/wideimage/MapperFactory.php create mode 100644 admin/compiler/joomla_3/wideimage/Operation/AddNoise.php create mode 100644 admin/compiler/joomla_3/wideimage/Operation/ApplyConvolution.php create mode 100644 admin/compiler/joomla_3/wideimage/Operation/ApplyFilter.php create mode 100644 admin/compiler/joomla_3/wideimage/Operation/ApplyMask.php create mode 100644 admin/compiler/joomla_3/wideimage/Operation/AsGrayscale.php create mode 100644 admin/compiler/joomla_3/wideimage/Operation/AsNegative.php create mode 100644 admin/compiler/joomla_3/wideimage/Operation/AutoCrop.php create mode 100644 admin/compiler/joomla_3/wideimage/Operation/CopyChannelsPalette.php create mode 100644 admin/compiler/joomla_3/wideimage/Operation/CopyChannelsTrueColor.php create mode 100644 admin/compiler/joomla_3/wideimage/Operation/CorrectGamma.php create mode 100644 admin/compiler/joomla_3/wideimage/Operation/Crop.php create mode 100644 admin/compiler/joomla_3/wideimage/Operation/Flip.php create mode 100644 admin/compiler/joomla_3/wideimage/Operation/GetMask.php create mode 100644 admin/compiler/joomla_3/wideimage/Operation/Merge.php create mode 100644 admin/compiler/joomla_3/wideimage/Operation/Mirror.php create mode 100644 admin/compiler/joomla_3/wideimage/Operation/Resize.php create mode 100644 admin/compiler/joomla_3/wideimage/Operation/ResizeCanvas.php create mode 100644 admin/compiler/joomla_3/wideimage/Operation/Rotate.php create mode 100644 admin/compiler/joomla_3/wideimage/Operation/RoundCorners.php create mode 100644 admin/compiler/joomla_3/wideimage/Operation/Unsharp.php create mode 100644 admin/compiler/joomla_3/wideimage/Operation/index.html create mode 100644 admin/compiler/joomla_3/wideimage/OperationFactory.php create mode 100644 admin/compiler/joomla_3/wideimage/PaletteImage.php create mode 100644 admin/compiler/joomla_3/wideimage/TrueColorImage.php create mode 100644 admin/compiler/joomla_3/wideimage/WideImage.php create mode 100644 admin/compiler/joomla_3/wideimage/index.html create mode 100644 admin/compiler/joomla_3/wideimage/vendor/de77/index.html create mode 100644 admin/compiler/joomla_3/wideimage/vendor/index.html create mode 100644 admin/compiler/vdm.txt create mode 100644 admin/componentbuilder.php create mode 100644 admin/config.xml create mode 100644 admin/controller.php create mode 100644 admin/controllers/admin_view.php create mode 100644 admin/controllers/admin_views.php create mode 100644 admin/controllers/ajax.json.php create mode 100644 admin/controllers/compiler.php create mode 100644 admin/controllers/component.php create mode 100644 admin/controllers/componentbuilder.php create mode 100644 admin/controllers/components.php create mode 100644 admin/controllers/custom_admin_view.php create mode 100644 admin/controllers/custom_admin_views.php create mode 100644 admin/controllers/dynamic_get.php create mode 100644 admin/controllers/dynamic_gets.php create mode 100644 admin/controllers/field.php create mode 100644 admin/controllers/fields.php create mode 100644 admin/controllers/fieldtype.php create mode 100644 admin/controllers/fieldtypes.php create mode 100644 admin/controllers/help.php create mode 100644 admin/controllers/help_document.php create mode 100644 admin/controllers/help_documents.php create mode 100644 admin/controllers/import.php create mode 100644 admin/controllers/index.html create mode 100644 admin/controllers/layout.php create mode 100644 admin/controllers/layouts.php create mode 100644 admin/controllers/site_view.php create mode 100644 admin/controllers/site_views.php create mode 100644 admin/controllers/snippet.php create mode 100644 admin/controllers/snippets.php create mode 100644 admin/controllers/template.php create mode 100644 admin/controllers/templates.php create mode 100644 admin/custom/PHPExcel.php create mode 100644 admin/custom/PHPExcel/Autoloader.php create mode 100644 admin/custom/PHPExcel/CachedObjectStorage/APC.php create mode 100644 admin/custom/PHPExcel/CachedObjectStorage/CacheBase.php create mode 100644 admin/custom/PHPExcel/CachedObjectStorage/DiscISAM.php create mode 100644 admin/custom/PHPExcel/CachedObjectStorage/ICache.php create mode 100644 admin/custom/PHPExcel/CachedObjectStorage/Igbinary.php create mode 100644 admin/custom/PHPExcel/CachedObjectStorage/Memcache.php create mode 100644 admin/custom/PHPExcel/CachedObjectStorage/Memory.php create mode 100644 admin/custom/PHPExcel/CachedObjectStorage/MemoryGZip.php create mode 100644 admin/custom/PHPExcel/CachedObjectStorage/MemorySerialized.php create mode 100644 admin/custom/PHPExcel/CachedObjectStorage/PHPTemp.php create mode 100644 admin/custom/PHPExcel/CachedObjectStorage/SQLite.php create mode 100644 admin/custom/PHPExcel/CachedObjectStorage/SQLite3.php create mode 100644 admin/custom/PHPExcel/CachedObjectStorage/Wincache.php create mode 100644 admin/custom/PHPExcel/CachedObjectStorage/index.html create mode 100644 admin/custom/PHPExcel/CachedObjectStorageFactory.php create mode 100644 admin/custom/PHPExcel/CalcEngine/CyclicReferenceStack.php create mode 100644 admin/custom/PHPExcel/CalcEngine/Logger.php create mode 100644 admin/custom/PHPExcel/CalcEngine/index.html create mode 100644 admin/custom/PHPExcel/Calculation.php create mode 100644 admin/custom/PHPExcel/Calculation/Database.php create mode 100644 admin/custom/PHPExcel/Calculation/DateTime.php create mode 100644 admin/custom/PHPExcel/Calculation/Engineering.php create mode 100644 admin/custom/PHPExcel/Calculation/Exception.php create mode 100644 admin/custom/PHPExcel/Calculation/ExceptionHandler.php create mode 100644 admin/custom/PHPExcel/Calculation/Financial.php create mode 100644 admin/custom/PHPExcel/Calculation/FormulaParser.php create mode 100644 admin/custom/PHPExcel/Calculation/FormulaToken.php create mode 100644 admin/custom/PHPExcel/Calculation/Function.php create mode 100644 admin/custom/PHPExcel/Calculation/Functions.php create mode 100644 admin/custom/PHPExcel/Calculation/Logical.php create mode 100644 admin/custom/PHPExcel/Calculation/LookupRef.php create mode 100644 admin/custom/PHPExcel/Calculation/MathTrig.php create mode 100644 admin/custom/PHPExcel/Calculation/Statistical.php create mode 100644 admin/custom/PHPExcel/Calculation/TextData.php create mode 100644 admin/custom/PHPExcel/Calculation/Token/Stack.php create mode 100644 admin/custom/PHPExcel/Calculation/Token/index.html create mode 100644 admin/custom/PHPExcel/Calculation/functionlist.txt create mode 100644 admin/custom/PHPExcel/Calculation/index.html create mode 100644 admin/custom/PHPExcel/Cell.php create mode 100644 admin/custom/PHPExcel/Cell/AdvancedValueBinder.php create mode 100644 admin/custom/PHPExcel/Cell/DataType.php create mode 100644 admin/custom/PHPExcel/Cell/DataValidation.php create mode 100644 admin/custom/PHPExcel/Cell/DefaultValueBinder.php create mode 100644 admin/custom/PHPExcel/Cell/Hyperlink.php create mode 100644 admin/custom/PHPExcel/Cell/IValueBinder.php create mode 100644 admin/custom/PHPExcel/Cell/index.html create mode 100644 admin/custom/PHPExcel/Chart.php create mode 100644 admin/custom/PHPExcel/Chart/Axis.php create mode 100644 admin/custom/PHPExcel/Chart/DataSeries.php create mode 100644 admin/custom/PHPExcel/Chart/DataSeriesValues.php create mode 100644 admin/custom/PHPExcel/Chart/Exception.php create mode 100644 admin/custom/PHPExcel/Chart/GridLines.php create mode 100644 admin/custom/PHPExcel/Chart/Layout.php create mode 100644 admin/custom/PHPExcel/Chart/Legend.php create mode 100644 admin/custom/PHPExcel/Chart/PlotArea.php create mode 100644 admin/custom/PHPExcel/Chart/Properties.php create mode 100644 admin/custom/PHPExcel/Chart/Renderer/PHP Charting Libraries.txt create mode 100644 admin/custom/PHPExcel/Chart/Renderer/index.html create mode 100644 admin/custom/PHPExcel/Chart/Renderer/jpgraph.php create mode 100644 admin/custom/PHPExcel/Chart/Title.php create mode 100644 admin/custom/PHPExcel/Chart/index.html create mode 100644 admin/custom/PHPExcel/Comment.php create mode 100644 admin/custom/PHPExcel/DocumentProperties.php create mode 100644 admin/custom/PHPExcel/DocumentSecurity.php create mode 100644 admin/custom/PHPExcel/Exception.php create mode 100644 admin/custom/PHPExcel/HashTable.php create mode 100644 admin/custom/PHPExcel/IComparable.php create mode 100644 admin/custom/PHPExcel/IOFactory.php create mode 100644 admin/custom/PHPExcel/NamedRange.php create mode 100644 admin/custom/PHPExcel/Reader/Abstract.php create mode 100644 admin/custom/PHPExcel/Reader/CSV.php create mode 100644 admin/custom/PHPExcel/Reader/DefaultReadFilter.php create mode 100644 admin/custom/PHPExcel/Reader/Excel2003XML.php create mode 100644 admin/custom/PHPExcel/Reader/Excel2007.php create mode 100644 admin/custom/PHPExcel/Reader/Excel2007/Chart.php create mode 100644 admin/custom/PHPExcel/Reader/Excel2007/Theme.php create mode 100644 admin/custom/PHPExcel/Reader/Excel2007/index.html create mode 100644 admin/custom/PHPExcel/Reader/Excel5.php create mode 100644 admin/custom/PHPExcel/Reader/Excel5/Escher.php create mode 100644 admin/custom/PHPExcel/Reader/Excel5/MD5.php create mode 100644 admin/custom/PHPExcel/Reader/Excel5/RC4.php create mode 100644 admin/custom/PHPExcel/Reader/Excel5/index.html create mode 100644 admin/custom/PHPExcel/Reader/Exception.php create mode 100644 admin/custom/PHPExcel/Reader/Gnumeric.php create mode 100644 admin/custom/PHPExcel/Reader/HTML.php create mode 100644 admin/custom/PHPExcel/Reader/IReadFilter.php create mode 100644 admin/custom/PHPExcel/Reader/IReader.php create mode 100644 admin/custom/PHPExcel/Reader/OOCalc.php create mode 100644 admin/custom/PHPExcel/Reader/SYLK.php create mode 100644 admin/custom/PHPExcel/Reader/index.html create mode 100644 admin/custom/PHPExcel/ReferenceHelper.php create mode 100644 admin/custom/PHPExcel/RichText.php create mode 100644 admin/custom/PHPExcel/RichText/ITextElement.php create mode 100644 admin/custom/PHPExcel/RichText/Run.php create mode 100644 admin/custom/PHPExcel/RichText/TextElement.php create mode 100644 admin/custom/PHPExcel/RichText/index.html create mode 100644 admin/custom/PHPExcel/Settings.php create mode 100644 admin/custom/PHPExcel/Shared/CodePage.php create mode 100644 admin/custom/PHPExcel/Shared/Date.php create mode 100644 admin/custom/PHPExcel/Shared/Drawing.php create mode 100644 admin/custom/PHPExcel/Shared/Escher.php create mode 100644 admin/custom/PHPExcel/Shared/Escher/DgContainer.php create mode 100644 admin/custom/PHPExcel/Shared/Escher/DgContainer/SpgrContainer.php create mode 100644 admin/custom/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php create mode 100644 admin/custom/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/index.html create mode 100644 admin/custom/PHPExcel/Shared/Escher/DgContainer/index.html create mode 100644 admin/custom/PHPExcel/Shared/Escher/DggContainer.php create mode 100644 admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer.php create mode 100644 admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE.php create mode 100644 admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/Blip.php create mode 100644 admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/index.html create mode 100644 admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/index.html create mode 100644 admin/custom/PHPExcel/Shared/Escher/DggContainer/index.html create mode 100644 admin/custom/PHPExcel/Shared/Escher/index.html create mode 100644 admin/custom/PHPExcel/Shared/Excel5.php create mode 100644 admin/custom/PHPExcel/Shared/File.php create mode 100644 admin/custom/PHPExcel/Shared/Font.php create mode 100644 admin/custom/PHPExcel/Shared/JAMA/CHANGELOG.TXT create mode 100644 admin/custom/PHPExcel/Shared/JAMA/CholeskyDecomposition.php create mode 100644 admin/custom/PHPExcel/Shared/JAMA/EigenvalueDecomposition.php create mode 100644 admin/custom/PHPExcel/Shared/JAMA/LUDecomposition.php create mode 100644 admin/custom/PHPExcel/Shared/JAMA/Matrix.php create mode 100644 admin/custom/PHPExcel/Shared/JAMA/QRDecomposition.php create mode 100644 admin/custom/PHPExcel/Shared/JAMA/SingularValueDecomposition.php create mode 100644 admin/custom/PHPExcel/Shared/JAMA/index.html create mode 100644 admin/custom/PHPExcel/Shared/JAMA/utils/Error.php create mode 100644 admin/custom/PHPExcel/Shared/JAMA/utils/Maths.php create mode 100644 admin/custom/PHPExcel/Shared/JAMA/utils/index.html create mode 100644 admin/custom/PHPExcel/Shared/OLE.php create mode 100644 admin/custom/PHPExcel/Shared/OLE/ChainedBlockStream.php create mode 100644 admin/custom/PHPExcel/Shared/OLE/PPS.php create mode 100644 admin/custom/PHPExcel/Shared/OLE/PPS/File.php create mode 100644 admin/custom/PHPExcel/Shared/OLE/PPS/Root.php create mode 100644 admin/custom/PHPExcel/Shared/OLE/PPS/index.html create mode 100644 admin/custom/PHPExcel/Shared/OLE/index.html create mode 100644 admin/custom/PHPExcel/Shared/OLERead.php create mode 100644 admin/custom/PHPExcel/Shared/PCLZip/gnu-lgpl.txt create mode 100644 admin/custom/PHPExcel/Shared/PCLZip/index.html create mode 100644 admin/custom/PHPExcel/Shared/PCLZip/pclzip.lib.php create mode 100644 admin/custom/PHPExcel/Shared/PCLZip/readme.txt create mode 100644 admin/custom/PHPExcel/Shared/PasswordHasher.php create mode 100644 admin/custom/PHPExcel/Shared/String.php create mode 100644 admin/custom/PHPExcel/Shared/TimeZone.php create mode 100644 admin/custom/PHPExcel/Shared/XMLWriter.php create mode 100644 admin/custom/PHPExcel/Shared/ZipArchive.php create mode 100644 admin/custom/PHPExcel/Shared/ZipStreamWrapper.php create mode 100644 admin/custom/PHPExcel/Shared/index.html create mode 100644 admin/custom/PHPExcel/Shared/trend/bestFitClass.php create mode 100644 admin/custom/PHPExcel/Shared/trend/exponentialBestFitClass.php create mode 100644 admin/custom/PHPExcel/Shared/trend/index.html create mode 100644 admin/custom/PHPExcel/Shared/trend/linearBestFitClass.php create mode 100644 admin/custom/PHPExcel/Shared/trend/logarithmicBestFitClass.php create mode 100644 admin/custom/PHPExcel/Shared/trend/polynomialBestFitClass.php create mode 100644 admin/custom/PHPExcel/Shared/trend/powerBestFitClass.php create mode 100644 admin/custom/PHPExcel/Shared/trend/trendClass.php create mode 100644 admin/custom/PHPExcel/Style.php create mode 100644 admin/custom/PHPExcel/Style/Alignment.php create mode 100644 admin/custom/PHPExcel/Style/Border.php create mode 100644 admin/custom/PHPExcel/Style/Borders.php create mode 100644 admin/custom/PHPExcel/Style/Color.php create mode 100644 admin/custom/PHPExcel/Style/Conditional.php create mode 100644 admin/custom/PHPExcel/Style/Fill.php create mode 100644 admin/custom/PHPExcel/Style/Font.php create mode 100644 admin/custom/PHPExcel/Style/NumberFormat.php create mode 100644 admin/custom/PHPExcel/Style/Protection.php create mode 100644 admin/custom/PHPExcel/Style/Supervisor.php create mode 100644 admin/custom/PHPExcel/Style/index.html create mode 100644 admin/custom/PHPExcel/Worksheet.php create mode 100644 admin/custom/PHPExcel/Worksheet/AutoFilter.php create mode 100644 admin/custom/PHPExcel/Worksheet/AutoFilter/Column.php create mode 100644 admin/custom/PHPExcel/Worksheet/AutoFilter/Column/Rule.php create mode 100644 admin/custom/PHPExcel/Worksheet/AutoFilter/Column/index.html create mode 100644 admin/custom/PHPExcel/Worksheet/AutoFilter/index.html create mode 100644 admin/custom/PHPExcel/Worksheet/BaseDrawing.php create mode 100644 admin/custom/PHPExcel/Worksheet/CellIterator.php create mode 100644 admin/custom/PHPExcel/Worksheet/ColumnDimension.php create mode 100644 admin/custom/PHPExcel/Worksheet/Drawing.php create mode 100644 admin/custom/PHPExcel/Worksheet/Drawing/Shadow.php create mode 100644 admin/custom/PHPExcel/Worksheet/Drawing/index.html create mode 100644 admin/custom/PHPExcel/Worksheet/HeaderFooter.php create mode 100644 admin/custom/PHPExcel/Worksheet/HeaderFooterDrawing.php create mode 100644 admin/custom/PHPExcel/Worksheet/MemoryDrawing.php create mode 100644 admin/custom/PHPExcel/Worksheet/PageMargins.php create mode 100644 admin/custom/PHPExcel/Worksheet/PageSetup.php create mode 100644 admin/custom/PHPExcel/Worksheet/Protection.php create mode 100644 admin/custom/PHPExcel/Worksheet/Row.php create mode 100644 admin/custom/PHPExcel/Worksheet/RowDimension.php create mode 100644 admin/custom/PHPExcel/Worksheet/RowIterator.php create mode 100644 admin/custom/PHPExcel/Worksheet/SheetView.php create mode 100644 admin/custom/PHPExcel/Worksheet/index.html create mode 100644 admin/custom/PHPExcel/WorksheetIterator.php create mode 100644 admin/custom/PHPExcel/Writer/Abstract.php create mode 100644 admin/custom/PHPExcel/Writer/CSV.php create mode 100644 admin/custom/PHPExcel/Writer/Excel2007.php create mode 100644 admin/custom/PHPExcel/Writer/Excel2007/Chart.php create mode 100644 admin/custom/PHPExcel/Writer/Excel2007/Comments.php create mode 100644 admin/custom/PHPExcel/Writer/Excel2007/ContentTypes.php create mode 100644 admin/custom/PHPExcel/Writer/Excel2007/DocProps.php create mode 100644 admin/custom/PHPExcel/Writer/Excel2007/Drawing.php create mode 100644 admin/custom/PHPExcel/Writer/Excel2007/Rels.php create mode 100644 admin/custom/PHPExcel/Writer/Excel2007/RelsRibbon.php create mode 100644 admin/custom/PHPExcel/Writer/Excel2007/RelsVBA.php create mode 100644 admin/custom/PHPExcel/Writer/Excel2007/StringTable.php create mode 100644 admin/custom/PHPExcel/Writer/Excel2007/Style.php create mode 100644 admin/custom/PHPExcel/Writer/Excel2007/Theme.php create mode 100644 admin/custom/PHPExcel/Writer/Excel2007/Workbook.php create mode 100644 admin/custom/PHPExcel/Writer/Excel2007/Worksheet.php create mode 100644 admin/custom/PHPExcel/Writer/Excel2007/WriterPart.php create mode 100644 admin/custom/PHPExcel/Writer/Excel2007/index.html create mode 100644 admin/custom/PHPExcel/Writer/Excel5.php create mode 100644 admin/custom/PHPExcel/Writer/Excel5/BIFFwriter.php create mode 100644 admin/custom/PHPExcel/Writer/Excel5/Escher.php create mode 100644 admin/custom/PHPExcel/Writer/Excel5/Font.php create mode 100644 admin/custom/PHPExcel/Writer/Excel5/Parser.php create mode 100644 admin/custom/PHPExcel/Writer/Excel5/Workbook.php create mode 100644 admin/custom/PHPExcel/Writer/Excel5/Worksheet.php create mode 100644 admin/custom/PHPExcel/Writer/Excel5/Xf.php create mode 100644 admin/custom/PHPExcel/Writer/Excel5/index.html create mode 100644 admin/custom/PHPExcel/Writer/Exception.php create mode 100644 admin/custom/PHPExcel/Writer/HTML.php create mode 100644 admin/custom/PHPExcel/Writer/IWriter.php create mode 100644 admin/custom/PHPExcel/Writer/OpenDocument.php create mode 100644 admin/custom/PHPExcel/Writer/OpenDocument/Cell/Comment.php create mode 100644 admin/custom/PHPExcel/Writer/OpenDocument/Content.php create mode 100644 admin/custom/PHPExcel/Writer/OpenDocument/Meta.php create mode 100644 admin/custom/PHPExcel/Writer/OpenDocument/MetaInf.php create mode 100644 admin/custom/PHPExcel/Writer/OpenDocument/Mimetype.php create mode 100644 admin/custom/PHPExcel/Writer/OpenDocument/Settings.php create mode 100644 admin/custom/PHPExcel/Writer/OpenDocument/Styles.php create mode 100644 admin/custom/PHPExcel/Writer/OpenDocument/Thumbnails.php create mode 100644 admin/custom/PHPExcel/Writer/OpenDocument/WriterPart.php create mode 100644 admin/custom/PHPExcel/Writer/PDF.php create mode 100644 admin/custom/PHPExcel/Writer/PDF/Core.php create mode 100644 admin/custom/PHPExcel/Writer/PDF/DomPDF.php create mode 100644 admin/custom/PHPExcel/Writer/PDF/index.html create mode 100644 admin/custom/PHPExcel/Writer/PDF/mPDF.php create mode 100644 admin/custom/PHPExcel/Writer/PDF/tcPDF.php create mode 100644 admin/custom/PHPExcel/Writer/index.html create mode 100644 admin/custom/PHPExcel/index.html create mode 100644 admin/custom/PHPExcel/locale/bg/config create mode 100644 admin/custom/PHPExcel/locale/cs/config create mode 100644 admin/custom/PHPExcel/locale/cs/functions create mode 100644 admin/custom/PHPExcel/locale/cs/index.html create mode 100644 admin/custom/PHPExcel/locale/da/config create mode 100644 admin/custom/PHPExcel/locale/da/functions create mode 100644 admin/custom/PHPExcel/locale/da/index.html create mode 100644 admin/custom/PHPExcel/locale/de/config create mode 100644 admin/custom/PHPExcel/locale/de/functions create mode 100644 admin/custom/PHPExcel/locale/de/index.html create mode 100644 admin/custom/PHPExcel/locale/en/index.html create mode 100644 admin/custom/PHPExcel/locale/en/uk/config create mode 100644 admin/custom/PHPExcel/locale/en/uk/index.html create mode 100644 admin/custom/PHPExcel/locale/es/config create mode 100644 admin/custom/PHPExcel/locale/es/functions create mode 100644 admin/custom/PHPExcel/locale/es/index.html create mode 100644 admin/custom/PHPExcel/locale/fi/config create mode 100644 admin/custom/PHPExcel/locale/fi/functions create mode 100644 admin/custom/PHPExcel/locale/fi/index.html create mode 100644 admin/custom/PHPExcel/locale/fr/config create mode 100644 admin/custom/PHPExcel/locale/fr/functions create mode 100644 admin/custom/PHPExcel/locale/fr/index.html create mode 100644 admin/custom/PHPExcel/locale/hu/config create mode 100644 admin/custom/PHPExcel/locale/hu/functions create mode 100644 admin/custom/PHPExcel/locale/hu/index.html create mode 100644 admin/custom/PHPExcel/locale/index.html create mode 100644 admin/custom/PHPExcel/locale/it/config create mode 100644 admin/custom/PHPExcel/locale/it/functions create mode 100644 admin/custom/PHPExcel/locale/it/index.html create mode 100644 admin/custom/PHPExcel/locale/nl/config create mode 100644 admin/custom/PHPExcel/locale/nl/functions create mode 100644 admin/custom/PHPExcel/locale/nl/index.html create mode 100644 admin/custom/PHPExcel/locale/no/config create mode 100644 admin/custom/PHPExcel/locale/no/functions create mode 100644 admin/custom/PHPExcel/locale/no/index.html create mode 100644 admin/custom/PHPExcel/locale/pl/config create mode 100644 admin/custom/PHPExcel/locale/pl/functions create mode 100644 admin/custom/PHPExcel/locale/pl/index.html create mode 100644 admin/custom/PHPExcel/locale/pt/br/config create mode 100644 admin/custom/PHPExcel/locale/pt/br/functions create mode 100644 admin/custom/PHPExcel/locale/pt/br/index.html create mode 100644 admin/custom/PHPExcel/locale/pt/config create mode 100644 admin/custom/PHPExcel/locale/pt/functions create mode 100644 admin/custom/PHPExcel/locale/pt/index.html create mode 100644 admin/custom/PHPExcel/locale/ru/config create mode 100644 admin/custom/PHPExcel/locale/ru/functions create mode 100644 admin/custom/PHPExcel/locale/ru/index.html create mode 100644 admin/custom/PHPExcel/locale/sv/config create mode 100644 admin/custom/PHPExcel/locale/sv/functions create mode 100644 admin/custom/PHPExcel/locale/sv/index.html create mode 100644 admin/custom/PHPExcel/locale/tr/config create mode 100644 admin/custom/PHPExcel/locale/tr/functions create mode 100644 admin/custom/PHPExcel/locale/tr/index.html create mode 100644 admin/custom/chartMenu.js create mode 100644 admin/custom/chartbuilder.php create mode 100644 admin/custom/fb_loader.gif create mode 100644 admin/custom/footable/css/fonts/footable.eot create mode 100644 admin/custom/footable/css/fonts/footable.svg create mode 100644 admin/custom/footable/css/fonts/footable.ttf create mode 100644 admin/custom/footable/css/fonts/footable.woff create mode 100644 admin/custom/footable/css/fonts/index.html create mode 100644 admin/custom/footable/css/footable.core.css create mode 100644 admin/custom/footable/css/footable.core.min.css create mode 100644 admin/custom/footable/css/footable.metro.css create mode 100644 admin/custom/footable/css/footable.metro.min.css create mode 100644 admin/custom/footable/css/footable.standalone.css create mode 100644 admin/custom/footable/css/footable.standalone.min.css create mode 100644 admin/custom/footable/css/index.html create mode 100644 admin/custom/footable/dist/footable.all.min.js create mode 100644 admin/custom/footable/dist/footable.bookmarkable.min.js create mode 100644 admin/custom/footable/dist/footable.filter.min.js create mode 100644 admin/custom/footable/dist/footable.grid.min.js create mode 100644 admin/custom/footable/dist/footable.min.js create mode 100644 admin/custom/footable/dist/footable.paginate.min.js create mode 100644 admin/custom/footable/dist/footable.sort.min.js create mode 100644 admin/custom/footable/dist/footable.striping.min.js create mode 100644 admin/custom/footable/dist/index.html create mode 100644 admin/custom/footable/icomoon/footable.json create mode 100644 admin/custom/footable/icomoon/index.html create mode 100644 admin/custom/footable/index.html create mode 100644 admin/custom/footable/js/.jshintrc create mode 100644 admin/custom/footable/js/footable.bookmarkable.js create mode 100644 admin/custom/footable/js/footable.filter.js create mode 100644 admin/custom/footable/js/footable.grid.js create mode 100644 admin/custom/footable/js/footable.js create mode 100644 admin/custom/footable/js/footable.memory.js create mode 100644 admin/custom/footable/js/footable.paginate.js create mode 100644 admin/custom/footable/js/footable.plugin.template.js create mode 100644 admin/custom/footable/js/footable.sort.js create mode 100644 admin/custom/footable/js/footable.striping.js create mode 100644 admin/custom/footable/js/index.html create mode 100644 admin/custom/google.jsapi.js create mode 100644 admin/custom/index.html create mode 100644 admin/custom/soundmanager/README.rdoc create mode 100644 admin/custom/soundmanager/demo/360-player/360 button (retina - not playing).psd create mode 100644 admin/custom/soundmanager/demo/360-player/360 button (retina - playing).psd create mode 100644 admin/custom/soundmanager/demo/360-player/360 button - large.psd create mode 100644 admin/custom/soundmanager/demo/360-player/360 button.psd create mode 100644 admin/custom/soundmanager/demo/360-player/360-button-pause-2x.png create mode 100644 admin/custom/soundmanager/demo/360-player/360-button-pause-light-2x.png create mode 100644 admin/custom/soundmanager/demo/360-player/360-button-pause-light.gif create mode 100644 admin/custom/soundmanager/demo/360-player/360-button-pause-light.png create mode 100644 admin/custom/soundmanager/demo/360-player/360-button-pause.gif create mode 100644 admin/custom/soundmanager/demo/360-player/360-button-pause.png create mode 100644 admin/custom/soundmanager/demo/360-player/360-button-play-2x.png create mode 100644 admin/custom/soundmanager/demo/360-player/360-button-play-light-2x.png create mode 100644 admin/custom/soundmanager/demo/360-player/360-button-play-light.gif create mode 100644 admin/custom/soundmanager/demo/360-player/360-button-play-light.png create mode 100644 admin/custom/soundmanager/demo/360-player/360-button-play.gif create mode 100644 admin/custom/soundmanager/demo/360-player/360-button-play.png create mode 100644 admin/custom/soundmanager/demo/360-player/360-button-vis-pause-light.gif create mode 100644 admin/custom/soundmanager/demo/360-player/360-button-vis-pause-light.png create mode 100644 admin/custom/soundmanager/demo/360-player/360-button-vis-pause.gif create mode 100644 admin/custom/soundmanager/demo/360-player/360-button-vis-pause.png create mode 100644 admin/custom/soundmanager/demo/360-player/360-button-vis-play-light.gif create mode 100644 admin/custom/soundmanager/demo/360-player/360-button-vis-play-light.png create mode 100644 admin/custom/soundmanager/demo/360-player/360-button-vis-play.gif create mode 100644 admin/custom/soundmanager/demo/360-player/360-button-vis-play.png create mode 100644 admin/custom/soundmanager/demo/360-player/360player-visualization.css create mode 100644 admin/custom/soundmanager/demo/360-player/360player.css create mode 100644 admin/custom/soundmanager/demo/360-player/canvas-visualization-basic.html create mode 100644 admin/custom/soundmanager/demo/360-player/canvas-visualization.html create mode 100644 admin/custom/soundmanager/demo/360-player/demo-slider-controls.css create mode 100644 admin/custom/soundmanager/demo/360-player/demo-slider-controls.js create mode 100644 admin/custom/soundmanager/demo/360-player/demo.css create mode 100644 admin/custom/soundmanager/demo/360-player/icon_loading_dots.gif create mode 100644 admin/custom/soundmanager/demo/360-player/icon_loading_spinner.gif create mode 100644 admin/custom/soundmanager/demo/360-player/icon_loading_spinner_bigger.gif create mode 100644 admin/custom/soundmanager/demo/360-player/index.html create mode 100644 admin/custom/soundmanager/demo/360-player/script/360player.js create mode 100644 admin/custom/soundmanager/demo/360-player/script/berniecode-animator.js create mode 100644 admin/custom/soundmanager/demo/360-player/script/excanvas.js create mode 100644 admin/custom/soundmanager/demo/index.html create mode 100644 admin/custom/soundmanager/index.html create mode 100644 admin/custom/soundmanager/license.txt create mode 100644 admin/custom/soundmanager/script/soundmanager2-jsmin.js create mode 100644 admin/custom/soundmanager/script/soundmanager2-nodebug-jsmin.js create mode 100644 admin/custom/soundmanager/script/soundmanager2-nodebug.js create mode 100644 admin/custom/soundmanager/script/soundmanager2.js create mode 100644 admin/custom/soundmanager/swf/soundmanager2.swf create mode 100644 admin/custom/soundmanager/swf/soundmanager2_debug.swf create mode 100644 admin/custom/soundmanager/swf/soundmanager2_flash9.swf create mode 100644 admin/custom/soundmanager/swf/soundmanager2_flash9_debug.swf create mode 100644 admin/custom/soundmanager/swf/soundmanager2_flash_xdomain.zip create mode 100644 admin/custom/soundmanager2.js create mode 100644 admin/custom/uikit/css/components/accordion.almost-flat.css create mode 100644 admin/custom/uikit/css/components/accordion.almost-flat.min.css create mode 100644 admin/custom/uikit/css/components/accordion.css create mode 100644 admin/custom/uikit/css/components/accordion.gradient.css create mode 100644 admin/custom/uikit/css/components/accordion.gradient.min.css create mode 100644 admin/custom/uikit/css/components/accordion.min.css create mode 100644 admin/custom/uikit/css/components/autocomplete.almost-flat.css create mode 100644 admin/custom/uikit/css/components/autocomplete.almost-flat.min.css create mode 100644 admin/custom/uikit/css/components/autocomplete.css create mode 100644 admin/custom/uikit/css/components/autocomplete.gradient.css create mode 100644 admin/custom/uikit/css/components/autocomplete.gradient.min.css create mode 100644 admin/custom/uikit/css/components/autocomplete.min.css create mode 100644 admin/custom/uikit/css/components/datepicker.almost-flat.css create mode 100644 admin/custom/uikit/css/components/datepicker.almost-flat.min.css create mode 100644 admin/custom/uikit/css/components/datepicker.css create mode 100644 admin/custom/uikit/css/components/datepicker.gradient.css create mode 100644 admin/custom/uikit/css/components/datepicker.gradient.min.css create mode 100644 admin/custom/uikit/css/components/datepicker.min.css create mode 100644 admin/custom/uikit/css/components/dotnav.almost-flat.css create mode 100644 admin/custom/uikit/css/components/dotnav.almost-flat.min.css create mode 100644 admin/custom/uikit/css/components/dotnav.css create mode 100644 admin/custom/uikit/css/components/dotnav.gradient.css create mode 100644 admin/custom/uikit/css/components/dotnav.gradient.min.css create mode 100644 admin/custom/uikit/css/components/dotnav.min.css create mode 100644 admin/custom/uikit/css/components/form-advanced.almost-flat.css create mode 100644 admin/custom/uikit/css/components/form-advanced.almost-flat.min.css create mode 100644 admin/custom/uikit/css/components/form-advanced.css create mode 100644 admin/custom/uikit/css/components/form-advanced.gradient.css create mode 100644 admin/custom/uikit/css/components/form-advanced.gradient.min.css create mode 100644 admin/custom/uikit/css/components/form-advanced.min.css create mode 100644 admin/custom/uikit/css/components/form-file.almost-flat.css create mode 100644 admin/custom/uikit/css/components/form-file.almost-flat.min.css create mode 100644 admin/custom/uikit/css/components/form-file.css create mode 100644 admin/custom/uikit/css/components/form-file.gradient.css create mode 100644 admin/custom/uikit/css/components/form-file.gradient.min.css create mode 100644 admin/custom/uikit/css/components/form-file.min.css create mode 100644 admin/custom/uikit/css/components/form-password.almost-flat.css create mode 100644 admin/custom/uikit/css/components/form-password.almost-flat.min.css create mode 100644 admin/custom/uikit/css/components/form-password.css create mode 100644 admin/custom/uikit/css/components/form-password.gradient.css create mode 100644 admin/custom/uikit/css/components/form-password.gradient.min.css create mode 100644 admin/custom/uikit/css/components/form-password.min.css create mode 100644 admin/custom/uikit/css/components/form-select.almost-flat.css create mode 100644 admin/custom/uikit/css/components/form-select.almost-flat.min.css create mode 100644 admin/custom/uikit/css/components/form-select.css create mode 100644 admin/custom/uikit/css/components/form-select.gradient.css create mode 100644 admin/custom/uikit/css/components/form-select.gradient.min.css create mode 100644 admin/custom/uikit/css/components/form-select.min.css create mode 100644 admin/custom/uikit/css/components/htmleditor.almost-flat.css create mode 100644 admin/custom/uikit/css/components/htmleditor.almost-flat.min.css create mode 100644 admin/custom/uikit/css/components/htmleditor.css create mode 100644 admin/custom/uikit/css/components/htmleditor.gradient.css create mode 100644 admin/custom/uikit/css/components/htmleditor.gradient.min.css create mode 100644 admin/custom/uikit/css/components/htmleditor.min.css create mode 100644 admin/custom/uikit/css/components/index.html create mode 100644 admin/custom/uikit/css/components/nestable.almost-flat.css create mode 100644 admin/custom/uikit/css/components/nestable.almost-flat.min.css create mode 100644 admin/custom/uikit/css/components/nestable.css create mode 100644 admin/custom/uikit/css/components/nestable.gradient.css create mode 100644 admin/custom/uikit/css/components/nestable.gradient.min.css create mode 100644 admin/custom/uikit/css/components/nestable.min.css create mode 100644 admin/custom/uikit/css/components/notify.almost-flat.css create mode 100644 admin/custom/uikit/css/components/notify.almost-flat.min.css create mode 100644 admin/custom/uikit/css/components/notify.css create mode 100644 admin/custom/uikit/css/components/notify.gradient.css create mode 100644 admin/custom/uikit/css/components/notify.gradient.min.css create mode 100644 admin/custom/uikit/css/components/notify.min.css create mode 100644 admin/custom/uikit/css/components/placeholder.almost-flat.css create mode 100644 admin/custom/uikit/css/components/placeholder.almost-flat.min.css create mode 100644 admin/custom/uikit/css/components/placeholder.css create mode 100644 admin/custom/uikit/css/components/placeholder.gradient.css create mode 100644 admin/custom/uikit/css/components/placeholder.gradient.min.css create mode 100644 admin/custom/uikit/css/components/placeholder.min.css create mode 100644 admin/custom/uikit/css/components/progress.almost-flat.css create mode 100644 admin/custom/uikit/css/components/progress.almost-flat.min.css create mode 100644 admin/custom/uikit/css/components/progress.css create mode 100644 admin/custom/uikit/css/components/progress.gradient.css create mode 100644 admin/custom/uikit/css/components/progress.gradient.min.css create mode 100644 admin/custom/uikit/css/components/progress.min.css create mode 100644 admin/custom/uikit/css/components/search.almost-flat.css create mode 100644 admin/custom/uikit/css/components/search.almost-flat.min.css create mode 100644 admin/custom/uikit/css/components/search.css create mode 100644 admin/custom/uikit/css/components/search.gradient.css create mode 100644 admin/custom/uikit/css/components/search.gradient.min.css create mode 100644 admin/custom/uikit/css/components/search.min.css create mode 100644 admin/custom/uikit/css/components/slidenav.almost-flat.css create mode 100644 admin/custom/uikit/css/components/slidenav.almost-flat.min.css create mode 100644 admin/custom/uikit/css/components/slidenav.css create mode 100644 admin/custom/uikit/css/components/slidenav.gradient.css create mode 100644 admin/custom/uikit/css/components/slidenav.gradient.min.css create mode 100644 admin/custom/uikit/css/components/slidenav.min.css create mode 100644 admin/custom/uikit/css/components/slider.almost-flat.css create mode 100644 admin/custom/uikit/css/components/slider.almost-flat.min.css create mode 100644 admin/custom/uikit/css/components/slider.css create mode 100644 admin/custom/uikit/css/components/slider.gradient.css create mode 100644 admin/custom/uikit/css/components/slider.gradient.min.css create mode 100644 admin/custom/uikit/css/components/slider.min.css create mode 100644 admin/custom/uikit/css/components/slideshow.almost-flat.css create mode 100644 admin/custom/uikit/css/components/slideshow.almost-flat.min.css create mode 100644 admin/custom/uikit/css/components/slideshow.css create mode 100644 admin/custom/uikit/css/components/slideshow.gradient.css create mode 100644 admin/custom/uikit/css/components/slideshow.gradient.min.css create mode 100644 admin/custom/uikit/css/components/slideshow.min.css create mode 100644 admin/custom/uikit/css/components/sortable.almost-flat.css create mode 100644 admin/custom/uikit/css/components/sortable.almost-flat.min.css create mode 100644 admin/custom/uikit/css/components/sortable.css create mode 100644 admin/custom/uikit/css/components/sortable.gradient.css create mode 100644 admin/custom/uikit/css/components/sortable.gradient.min.css create mode 100644 admin/custom/uikit/css/components/sortable.min.css create mode 100644 admin/custom/uikit/css/components/sticky.almost-flat.css create mode 100644 admin/custom/uikit/css/components/sticky.almost-flat.min.css create mode 100644 admin/custom/uikit/css/components/sticky.css create mode 100644 admin/custom/uikit/css/components/sticky.gradient.css create mode 100644 admin/custom/uikit/css/components/sticky.gradient.min.css create mode 100644 admin/custom/uikit/css/components/sticky.min.css create mode 100644 admin/custom/uikit/css/components/tooltip.almost-flat.css create mode 100644 admin/custom/uikit/css/components/tooltip.almost-flat.min.css create mode 100644 admin/custom/uikit/css/components/tooltip.css create mode 100644 admin/custom/uikit/css/components/tooltip.gradient.css create mode 100644 admin/custom/uikit/css/components/tooltip.gradient.min.css create mode 100644 admin/custom/uikit/css/components/tooltip.min.css create mode 100644 admin/custom/uikit/css/components/upload.almost-flat.css create mode 100644 admin/custom/uikit/css/components/upload.almost-flat.min.css create mode 100644 admin/custom/uikit/css/components/upload.css create mode 100644 admin/custom/uikit/css/components/upload.gradient.css create mode 100644 admin/custom/uikit/css/components/upload.gradient.min.css create mode 100644 admin/custom/uikit/css/components/upload.min.css create mode 100644 admin/custom/uikit/css/index.html create mode 100644 admin/custom/uikit/css/uikit.almost-flat.css create mode 100644 admin/custom/uikit/css/uikit.almost-flat.min.css create mode 100644 admin/custom/uikit/css/uikit.css create mode 100644 admin/custom/uikit/css/uikit.gradient.css create mode 100644 admin/custom/uikit/css/uikit.gradient.min.css create mode 100644 admin/custom/uikit/css/uikit.min.css create mode 100644 admin/custom/uikit/fonts/FontAwesome.otf create mode 100644 admin/custom/uikit/fonts/fontawesome-webfont.eot create mode 100644 admin/custom/uikit/fonts/fontawesome-webfont.ttf create mode 100644 admin/custom/uikit/fonts/fontawesome-webfont.woff create mode 100644 admin/custom/uikit/fonts/fontawesome-webfont.woff2 create mode 100644 admin/custom/uikit/fonts/index.html create mode 100644 admin/custom/uikit/index.html create mode 100644 admin/custom/uikit/js/components/accordion.js create mode 100644 admin/custom/uikit/js/components/accordion.min.js create mode 100644 admin/custom/uikit/js/components/autocomplete.js create mode 100644 admin/custom/uikit/js/components/autocomplete.min.js create mode 100644 admin/custom/uikit/js/components/datepicker.js create mode 100644 admin/custom/uikit/js/components/datepicker.min.js create mode 100644 admin/custom/uikit/js/components/form-password.js create mode 100644 admin/custom/uikit/js/components/form-password.min.js create mode 100644 admin/custom/uikit/js/components/form-select.js create mode 100644 admin/custom/uikit/js/components/form-select.min.js create mode 100644 admin/custom/uikit/js/components/grid.js create mode 100644 admin/custom/uikit/js/components/grid.min.js create mode 100644 admin/custom/uikit/js/components/htmleditor.js create mode 100644 admin/custom/uikit/js/components/htmleditor.min.js create mode 100644 admin/custom/uikit/js/components/index.html create mode 100644 admin/custom/uikit/js/components/lightbox.js create mode 100644 admin/custom/uikit/js/components/lightbox.min.js create mode 100644 admin/custom/uikit/js/components/nestable.js create mode 100644 admin/custom/uikit/js/components/nestable.min.js create mode 100644 admin/custom/uikit/js/components/notify.js create mode 100644 admin/custom/uikit/js/components/notify.min.js create mode 100644 admin/custom/uikit/js/components/pagination.js create mode 100644 admin/custom/uikit/js/components/pagination.min.js create mode 100644 admin/custom/uikit/js/components/parallax.js create mode 100644 admin/custom/uikit/js/components/parallax.min.js create mode 100644 admin/custom/uikit/js/components/search.js create mode 100644 admin/custom/uikit/js/components/search.min.js create mode 100644 admin/custom/uikit/js/components/slider.js create mode 100644 admin/custom/uikit/js/components/slider.min.js create mode 100644 admin/custom/uikit/js/components/slideset.js create mode 100644 admin/custom/uikit/js/components/slideset.min.js create mode 100644 admin/custom/uikit/js/components/slideshow-fx.js create mode 100644 admin/custom/uikit/js/components/slideshow-fx.min.js create mode 100644 admin/custom/uikit/js/components/slideshow.js create mode 100644 admin/custom/uikit/js/components/slideshow.min.js create mode 100644 admin/custom/uikit/js/components/sortable.js create mode 100644 admin/custom/uikit/js/components/sortable.min.js create mode 100644 admin/custom/uikit/js/components/sticky.js create mode 100644 admin/custom/uikit/js/components/sticky.min.js create mode 100644 admin/custom/uikit/js/components/timepicker.js create mode 100644 admin/custom/uikit/js/components/timepicker.min.js create mode 100644 admin/custom/uikit/js/components/tooltip.js create mode 100644 admin/custom/uikit/js/components/tooltip.min.js create mode 100644 admin/custom/uikit/js/components/upload.js create mode 100644 admin/custom/uikit/js/components/upload.min.js create mode 100644 admin/custom/uikit/js/core/alert.js create mode 100644 admin/custom/uikit/js/core/alert.min.js create mode 100644 admin/custom/uikit/js/core/button.js create mode 100644 admin/custom/uikit/js/core/button.min.js create mode 100644 admin/custom/uikit/js/core/core.js create mode 100644 admin/custom/uikit/js/core/core.min.js create mode 100644 admin/custom/uikit/js/core/cover.js create mode 100644 admin/custom/uikit/js/core/cover.min.js create mode 100644 admin/custom/uikit/js/core/dropdown.js create mode 100644 admin/custom/uikit/js/core/dropdown.min.js create mode 100644 admin/custom/uikit/js/core/grid.js create mode 100644 admin/custom/uikit/js/core/grid.min.js create mode 100644 admin/custom/uikit/js/core/index.html create mode 100644 admin/custom/uikit/js/core/modal.js create mode 100644 admin/custom/uikit/js/core/modal.min.js create mode 100644 admin/custom/uikit/js/core/nav.js create mode 100644 admin/custom/uikit/js/core/nav.min.js create mode 100644 admin/custom/uikit/js/core/offcanvas.js create mode 100644 admin/custom/uikit/js/core/offcanvas.min.js create mode 100644 admin/custom/uikit/js/core/scrollspy.js create mode 100644 admin/custom/uikit/js/core/scrollspy.min.js create mode 100644 admin/custom/uikit/js/core/smooth-scroll.js create mode 100644 admin/custom/uikit/js/core/smooth-scroll.min.js create mode 100644 admin/custom/uikit/js/core/switcher.js create mode 100644 admin/custom/uikit/js/core/switcher.min.js create mode 100644 admin/custom/uikit/js/core/tab.js create mode 100644 admin/custom/uikit/js/core/tab.min.js create mode 100644 admin/custom/uikit/js/core/toggle.js create mode 100644 admin/custom/uikit/js/core/toggle.min.js create mode 100644 admin/custom/uikit/js/core/touch.js create mode 100644 admin/custom/uikit/js/core/touch.min.js create mode 100644 admin/custom/uikit/js/core/utility.js create mode 100644 admin/custom/uikit/js/core/utility.min.js create mode 100644 admin/custom/uikit/js/index.html create mode 100644 admin/custom/uikit/js/uikit.js create mode 100644 admin/custom/uikit/js/uikit.min.js create mode 100644 admin/helpers/PHPExcel.php create mode 100644 admin/helpers/PHPExcel/Autoloader.php create mode 100644 admin/helpers/PHPExcel/CachedObjectStorage/APC.php create mode 100644 admin/helpers/PHPExcel/CachedObjectStorage/CacheBase.php create mode 100644 admin/helpers/PHPExcel/CachedObjectStorage/DiscISAM.php create mode 100644 admin/helpers/PHPExcel/CachedObjectStorage/ICache.php create mode 100644 admin/helpers/PHPExcel/CachedObjectStorage/Igbinary.php create mode 100644 admin/helpers/PHPExcel/CachedObjectStorage/Memcache.php create mode 100644 admin/helpers/PHPExcel/CachedObjectStorage/Memory.php create mode 100644 admin/helpers/PHPExcel/CachedObjectStorage/MemoryGZip.php create mode 100644 admin/helpers/PHPExcel/CachedObjectStorage/MemorySerialized.php create mode 100644 admin/helpers/PHPExcel/CachedObjectStorage/PHPTemp.php create mode 100644 admin/helpers/PHPExcel/CachedObjectStorage/SQLite.php create mode 100644 admin/helpers/PHPExcel/CachedObjectStorage/SQLite3.php create mode 100644 admin/helpers/PHPExcel/CachedObjectStorage/Wincache.php create mode 100644 admin/helpers/PHPExcel/CachedObjectStorage/index.html create mode 100644 admin/helpers/PHPExcel/CachedObjectStorageFactory.php create mode 100644 admin/helpers/PHPExcel/CalcEngine/CyclicReferenceStack.php create mode 100644 admin/helpers/PHPExcel/CalcEngine/Logger.php create mode 100644 admin/helpers/PHPExcel/CalcEngine/index.html create mode 100644 admin/helpers/PHPExcel/Calculation.php create mode 100644 admin/helpers/PHPExcel/Calculation/Database.php create mode 100644 admin/helpers/PHPExcel/Calculation/DateTime.php create mode 100644 admin/helpers/PHPExcel/Calculation/Engineering.php create mode 100644 admin/helpers/PHPExcel/Calculation/Exception.php create mode 100644 admin/helpers/PHPExcel/Calculation/ExceptionHandler.php create mode 100644 admin/helpers/PHPExcel/Calculation/Financial.php create mode 100644 admin/helpers/PHPExcel/Calculation/FormulaParser.php create mode 100644 admin/helpers/PHPExcel/Calculation/FormulaToken.php create mode 100644 admin/helpers/PHPExcel/Calculation/Function.php create mode 100644 admin/helpers/PHPExcel/Calculation/Functions.php create mode 100644 admin/helpers/PHPExcel/Calculation/Logical.php create mode 100644 admin/helpers/PHPExcel/Calculation/LookupRef.php create mode 100644 admin/helpers/PHPExcel/Calculation/MathTrig.php create mode 100644 admin/helpers/PHPExcel/Calculation/Statistical.php create mode 100644 admin/helpers/PHPExcel/Calculation/TextData.php create mode 100644 admin/helpers/PHPExcel/Calculation/Token/Stack.php create mode 100644 admin/helpers/PHPExcel/Calculation/Token/index.html create mode 100644 admin/helpers/PHPExcel/Calculation/functionlist.txt create mode 100644 admin/helpers/PHPExcel/Calculation/index.html create mode 100644 admin/helpers/PHPExcel/Cell.php create mode 100644 admin/helpers/PHPExcel/Cell/AdvancedValueBinder.php create mode 100644 admin/helpers/PHPExcel/Cell/DataType.php create mode 100644 admin/helpers/PHPExcel/Cell/DataValidation.php create mode 100644 admin/helpers/PHPExcel/Cell/DefaultValueBinder.php create mode 100644 admin/helpers/PHPExcel/Cell/Hyperlink.php create mode 100644 admin/helpers/PHPExcel/Cell/IValueBinder.php create mode 100644 admin/helpers/PHPExcel/Cell/index.html create mode 100644 admin/helpers/PHPExcel/Chart.php create mode 100644 admin/helpers/PHPExcel/Chart/Axis.php create mode 100644 admin/helpers/PHPExcel/Chart/DataSeries.php create mode 100644 admin/helpers/PHPExcel/Chart/DataSeriesValues.php create mode 100644 admin/helpers/PHPExcel/Chart/Exception.php create mode 100644 admin/helpers/PHPExcel/Chart/GridLines.php create mode 100644 admin/helpers/PHPExcel/Chart/Layout.php create mode 100644 admin/helpers/PHPExcel/Chart/Legend.php create mode 100644 admin/helpers/PHPExcel/Chart/PlotArea.php create mode 100644 admin/helpers/PHPExcel/Chart/Properties.php create mode 100644 admin/helpers/PHPExcel/Chart/Renderer/PHP Charting Libraries.txt create mode 100644 admin/helpers/PHPExcel/Chart/Renderer/index.html create mode 100644 admin/helpers/PHPExcel/Chart/Renderer/jpgraph.php create mode 100644 admin/helpers/PHPExcel/Chart/Title.php create mode 100644 admin/helpers/PHPExcel/Chart/index.html create mode 100644 admin/helpers/PHPExcel/Comment.php create mode 100644 admin/helpers/PHPExcel/DocumentProperties.php create mode 100644 admin/helpers/PHPExcel/DocumentSecurity.php create mode 100644 admin/helpers/PHPExcel/Exception.php create mode 100644 admin/helpers/PHPExcel/HashTable.php create mode 100644 admin/helpers/PHPExcel/IComparable.php create mode 100644 admin/helpers/PHPExcel/IOFactory.php create mode 100644 admin/helpers/PHPExcel/NamedRange.php create mode 100644 admin/helpers/PHPExcel/Reader/Abstract.php create mode 100644 admin/helpers/PHPExcel/Reader/CSV.php create mode 100644 admin/helpers/PHPExcel/Reader/DefaultReadFilter.php create mode 100644 admin/helpers/PHPExcel/Reader/Excel2003XML.php create mode 100644 admin/helpers/PHPExcel/Reader/Excel2007.php create mode 100644 admin/helpers/PHPExcel/Reader/Excel2007/Chart.php create mode 100644 admin/helpers/PHPExcel/Reader/Excel2007/Theme.php create mode 100644 admin/helpers/PHPExcel/Reader/Excel2007/index.html create mode 100644 admin/helpers/PHPExcel/Reader/Excel5.php create mode 100644 admin/helpers/PHPExcel/Reader/Excel5/Escher.php create mode 100644 admin/helpers/PHPExcel/Reader/Excel5/MD5.php create mode 100644 admin/helpers/PHPExcel/Reader/Excel5/RC4.php create mode 100644 admin/helpers/PHPExcel/Reader/Excel5/index.html create mode 100644 admin/helpers/PHPExcel/Reader/Exception.php create mode 100644 admin/helpers/PHPExcel/Reader/Gnumeric.php create mode 100644 admin/helpers/PHPExcel/Reader/HTML.php create mode 100644 admin/helpers/PHPExcel/Reader/IReadFilter.php create mode 100644 admin/helpers/PHPExcel/Reader/IReader.php create mode 100644 admin/helpers/PHPExcel/Reader/OOCalc.php create mode 100644 admin/helpers/PHPExcel/Reader/SYLK.php create mode 100644 admin/helpers/PHPExcel/Reader/index.html create mode 100644 admin/helpers/PHPExcel/ReferenceHelper.php create mode 100644 admin/helpers/PHPExcel/RichText.php create mode 100644 admin/helpers/PHPExcel/RichText/ITextElement.php create mode 100644 admin/helpers/PHPExcel/RichText/Run.php create mode 100644 admin/helpers/PHPExcel/RichText/TextElement.php create mode 100644 admin/helpers/PHPExcel/RichText/index.html create mode 100644 admin/helpers/PHPExcel/Settings.php create mode 100644 admin/helpers/PHPExcel/Shared/CodePage.php create mode 100644 admin/helpers/PHPExcel/Shared/Date.php create mode 100644 admin/helpers/PHPExcel/Shared/Drawing.php create mode 100644 admin/helpers/PHPExcel/Shared/Escher.php create mode 100644 admin/helpers/PHPExcel/Shared/Escher/DgContainer.php create mode 100644 admin/helpers/PHPExcel/Shared/Escher/DgContainer/SpgrContainer.php create mode 100644 admin/helpers/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php create mode 100644 admin/helpers/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/index.html create mode 100644 admin/helpers/PHPExcel/Shared/Escher/DgContainer/index.html create mode 100644 admin/helpers/PHPExcel/Shared/Escher/DggContainer.php create mode 100644 admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer.php create mode 100644 admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE.php create mode 100644 admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/Blip.php create mode 100644 admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/index.html create mode 100644 admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/index.html create mode 100644 admin/helpers/PHPExcel/Shared/Escher/DggContainer/index.html create mode 100644 admin/helpers/PHPExcel/Shared/Escher/index.html create mode 100644 admin/helpers/PHPExcel/Shared/Excel5.php create mode 100644 admin/helpers/PHPExcel/Shared/File.php create mode 100644 admin/helpers/PHPExcel/Shared/Font.php create mode 100644 admin/helpers/PHPExcel/Shared/JAMA/CHANGELOG.TXT create mode 100644 admin/helpers/PHPExcel/Shared/JAMA/CholeskyDecomposition.php create mode 100644 admin/helpers/PHPExcel/Shared/JAMA/EigenvalueDecomposition.php create mode 100644 admin/helpers/PHPExcel/Shared/JAMA/LUDecomposition.php create mode 100644 admin/helpers/PHPExcel/Shared/JAMA/Matrix.php create mode 100644 admin/helpers/PHPExcel/Shared/JAMA/QRDecomposition.php create mode 100644 admin/helpers/PHPExcel/Shared/JAMA/SingularValueDecomposition.php create mode 100644 admin/helpers/PHPExcel/Shared/JAMA/index.html create mode 100644 admin/helpers/PHPExcel/Shared/JAMA/utils/Error.php create mode 100644 admin/helpers/PHPExcel/Shared/JAMA/utils/Maths.php create mode 100644 admin/helpers/PHPExcel/Shared/JAMA/utils/index.html create mode 100644 admin/helpers/PHPExcel/Shared/OLE.php create mode 100644 admin/helpers/PHPExcel/Shared/OLE/ChainedBlockStream.php create mode 100644 admin/helpers/PHPExcel/Shared/OLE/PPS.php create mode 100644 admin/helpers/PHPExcel/Shared/OLE/PPS/File.php create mode 100644 admin/helpers/PHPExcel/Shared/OLE/PPS/Root.php create mode 100644 admin/helpers/PHPExcel/Shared/OLE/PPS/index.html create mode 100644 admin/helpers/PHPExcel/Shared/OLE/index.html create mode 100644 admin/helpers/PHPExcel/Shared/OLERead.php create mode 100644 admin/helpers/PHPExcel/Shared/PCLZip/gnu-lgpl.txt create mode 100644 admin/helpers/PHPExcel/Shared/PCLZip/index.html create mode 100644 admin/helpers/PHPExcel/Shared/PCLZip/pclzip.lib.php create mode 100644 admin/helpers/PHPExcel/Shared/PCLZip/readme.txt create mode 100644 admin/helpers/PHPExcel/Shared/PasswordHasher.php create mode 100644 admin/helpers/PHPExcel/Shared/String.php create mode 100644 admin/helpers/PHPExcel/Shared/TimeZone.php create mode 100644 admin/helpers/PHPExcel/Shared/XMLWriter.php create mode 100644 admin/helpers/PHPExcel/Shared/ZipArchive.php create mode 100644 admin/helpers/PHPExcel/Shared/ZipStreamWrapper.php create mode 100644 admin/helpers/PHPExcel/Shared/index.html create mode 100644 admin/helpers/PHPExcel/Shared/trend/bestFitClass.php create mode 100644 admin/helpers/PHPExcel/Shared/trend/exponentialBestFitClass.php create mode 100644 admin/helpers/PHPExcel/Shared/trend/index.html create mode 100644 admin/helpers/PHPExcel/Shared/trend/linearBestFitClass.php create mode 100644 admin/helpers/PHPExcel/Shared/trend/logarithmicBestFitClass.php create mode 100644 admin/helpers/PHPExcel/Shared/trend/polynomialBestFitClass.php create mode 100644 admin/helpers/PHPExcel/Shared/trend/powerBestFitClass.php create mode 100644 admin/helpers/PHPExcel/Shared/trend/trendClass.php create mode 100644 admin/helpers/PHPExcel/Style.php create mode 100644 admin/helpers/PHPExcel/Style/Alignment.php create mode 100644 admin/helpers/PHPExcel/Style/Border.php create mode 100644 admin/helpers/PHPExcel/Style/Borders.php create mode 100644 admin/helpers/PHPExcel/Style/Color.php create mode 100644 admin/helpers/PHPExcel/Style/Conditional.php create mode 100644 admin/helpers/PHPExcel/Style/Fill.php create mode 100644 admin/helpers/PHPExcel/Style/Font.php create mode 100644 admin/helpers/PHPExcel/Style/NumberFormat.php create mode 100644 admin/helpers/PHPExcel/Style/Protection.php create mode 100644 admin/helpers/PHPExcel/Style/Supervisor.php create mode 100644 admin/helpers/PHPExcel/Style/index.html create mode 100644 admin/helpers/PHPExcel/Worksheet.php create mode 100644 admin/helpers/PHPExcel/Worksheet/AutoFilter.php create mode 100644 admin/helpers/PHPExcel/Worksheet/AutoFilter/Column.php create mode 100644 admin/helpers/PHPExcel/Worksheet/AutoFilter/Column/Rule.php create mode 100644 admin/helpers/PHPExcel/Worksheet/AutoFilter/Column/index.html create mode 100644 admin/helpers/PHPExcel/Worksheet/AutoFilter/index.html create mode 100644 admin/helpers/PHPExcel/Worksheet/BaseDrawing.php create mode 100644 admin/helpers/PHPExcel/Worksheet/CellIterator.php create mode 100644 admin/helpers/PHPExcel/Worksheet/ColumnDimension.php create mode 100644 admin/helpers/PHPExcel/Worksheet/Drawing.php create mode 100644 admin/helpers/PHPExcel/Worksheet/Drawing/Shadow.php create mode 100644 admin/helpers/PHPExcel/Worksheet/Drawing/index.html create mode 100644 admin/helpers/PHPExcel/Worksheet/HeaderFooter.php create mode 100644 admin/helpers/PHPExcel/Worksheet/HeaderFooterDrawing.php create mode 100644 admin/helpers/PHPExcel/Worksheet/MemoryDrawing.php create mode 100644 admin/helpers/PHPExcel/Worksheet/PageMargins.php create mode 100644 admin/helpers/PHPExcel/Worksheet/PageSetup.php create mode 100644 admin/helpers/PHPExcel/Worksheet/Protection.php create mode 100644 admin/helpers/PHPExcel/Worksheet/Row.php create mode 100644 admin/helpers/PHPExcel/Worksheet/RowDimension.php create mode 100644 admin/helpers/PHPExcel/Worksheet/RowIterator.php create mode 100644 admin/helpers/PHPExcel/Worksheet/SheetView.php create mode 100644 admin/helpers/PHPExcel/Worksheet/index.html create mode 100644 admin/helpers/PHPExcel/WorksheetIterator.php create mode 100644 admin/helpers/PHPExcel/Writer/Abstract.php create mode 100644 admin/helpers/PHPExcel/Writer/CSV.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel2007.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel2007/Chart.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel2007/Comments.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel2007/ContentTypes.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel2007/DocProps.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel2007/Drawing.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel2007/Rels.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel2007/RelsRibbon.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel2007/RelsVBA.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel2007/StringTable.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel2007/Style.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel2007/Theme.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel2007/Workbook.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel2007/Worksheet.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel2007/WriterPart.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel2007/index.html create mode 100644 admin/helpers/PHPExcel/Writer/Excel5.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel5/BIFFwriter.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel5/Escher.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel5/Font.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel5/Parser.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel5/Workbook.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel5/Worksheet.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel5/Xf.php create mode 100644 admin/helpers/PHPExcel/Writer/Excel5/index.html create mode 100644 admin/helpers/PHPExcel/Writer/Exception.php create mode 100644 admin/helpers/PHPExcel/Writer/HTML.php create mode 100644 admin/helpers/PHPExcel/Writer/IWriter.php create mode 100644 admin/helpers/PHPExcel/Writer/OpenDocument.php create mode 100644 admin/helpers/PHPExcel/Writer/OpenDocument/Cell/Comment.php create mode 100644 admin/helpers/PHPExcel/Writer/OpenDocument/Content.php create mode 100644 admin/helpers/PHPExcel/Writer/OpenDocument/Meta.php create mode 100644 admin/helpers/PHPExcel/Writer/OpenDocument/MetaInf.php create mode 100644 admin/helpers/PHPExcel/Writer/OpenDocument/Mimetype.php create mode 100644 admin/helpers/PHPExcel/Writer/OpenDocument/Settings.php create mode 100644 admin/helpers/PHPExcel/Writer/OpenDocument/Styles.php create mode 100644 admin/helpers/PHPExcel/Writer/OpenDocument/Thumbnails.php create mode 100644 admin/helpers/PHPExcel/Writer/OpenDocument/WriterPart.php create mode 100644 admin/helpers/PHPExcel/Writer/PDF.php create mode 100644 admin/helpers/PHPExcel/Writer/PDF/Core.php create mode 100644 admin/helpers/PHPExcel/Writer/PDF/DomPDF.php create mode 100644 admin/helpers/PHPExcel/Writer/PDF/index.html create mode 100644 admin/helpers/PHPExcel/Writer/PDF/mPDF.php create mode 100644 admin/helpers/PHPExcel/Writer/PDF/tcPDF.php create mode 100644 admin/helpers/PHPExcel/Writer/index.html create mode 100644 admin/helpers/PHPExcel/index.html create mode 100644 admin/helpers/PHPExcel/locale/bg/config create mode 100644 admin/helpers/PHPExcel/locale/cs/config create mode 100644 admin/helpers/PHPExcel/locale/cs/functions create mode 100644 admin/helpers/PHPExcel/locale/cs/index.html create mode 100644 admin/helpers/PHPExcel/locale/da/config create mode 100644 admin/helpers/PHPExcel/locale/da/functions create mode 100644 admin/helpers/PHPExcel/locale/da/index.html create mode 100644 admin/helpers/PHPExcel/locale/de/config create mode 100644 admin/helpers/PHPExcel/locale/de/functions create mode 100644 admin/helpers/PHPExcel/locale/de/index.html create mode 100644 admin/helpers/PHPExcel/locale/en/index.html create mode 100644 admin/helpers/PHPExcel/locale/en/uk/config create mode 100644 admin/helpers/PHPExcel/locale/en/uk/index.html create mode 100644 admin/helpers/PHPExcel/locale/es/config create mode 100644 admin/helpers/PHPExcel/locale/es/functions create mode 100644 admin/helpers/PHPExcel/locale/es/index.html create mode 100644 admin/helpers/PHPExcel/locale/fi/config create mode 100644 admin/helpers/PHPExcel/locale/fi/functions create mode 100644 admin/helpers/PHPExcel/locale/fi/index.html create mode 100644 admin/helpers/PHPExcel/locale/fr/config create mode 100644 admin/helpers/PHPExcel/locale/fr/functions create mode 100644 admin/helpers/PHPExcel/locale/fr/index.html create mode 100644 admin/helpers/PHPExcel/locale/hu/config create mode 100644 admin/helpers/PHPExcel/locale/hu/functions create mode 100644 admin/helpers/PHPExcel/locale/hu/index.html create mode 100644 admin/helpers/PHPExcel/locale/index.html create mode 100644 admin/helpers/PHPExcel/locale/it/config create mode 100644 admin/helpers/PHPExcel/locale/it/functions create mode 100644 admin/helpers/PHPExcel/locale/it/index.html create mode 100644 admin/helpers/PHPExcel/locale/nl/config create mode 100644 admin/helpers/PHPExcel/locale/nl/functions create mode 100644 admin/helpers/PHPExcel/locale/nl/index.html create mode 100644 admin/helpers/PHPExcel/locale/no/config create mode 100644 admin/helpers/PHPExcel/locale/no/functions create mode 100644 admin/helpers/PHPExcel/locale/no/index.html create mode 100644 admin/helpers/PHPExcel/locale/pl/config create mode 100644 admin/helpers/PHPExcel/locale/pl/functions create mode 100644 admin/helpers/PHPExcel/locale/pl/index.html create mode 100644 admin/helpers/PHPExcel/locale/pt/br/config create mode 100644 admin/helpers/PHPExcel/locale/pt/br/functions create mode 100644 admin/helpers/PHPExcel/locale/pt/br/index.html create mode 100644 admin/helpers/PHPExcel/locale/pt/config create mode 100644 admin/helpers/PHPExcel/locale/pt/functions create mode 100644 admin/helpers/PHPExcel/locale/pt/index.html create mode 100644 admin/helpers/PHPExcel/locale/ru/config create mode 100644 admin/helpers/PHPExcel/locale/ru/functions create mode 100644 admin/helpers/PHPExcel/locale/ru/index.html create mode 100644 admin/helpers/PHPExcel/locale/sv/config create mode 100644 admin/helpers/PHPExcel/locale/sv/functions create mode 100644 admin/helpers/PHPExcel/locale/sv/index.html create mode 100644 admin/helpers/PHPExcel/locale/tr/config create mode 100644 admin/helpers/PHPExcel/locale/tr/functions create mode 100644 admin/helpers/PHPExcel/locale/tr/index.html create mode 100644 admin/helpers/compiler.php create mode 100644 admin/helpers/componentbuilder.php create mode 100644 admin/helpers/html/batch_.php create mode 100644 admin/helpers/html/index.html create mode 100644 admin/helpers/indenter.php create mode 100644 admin/helpers/index.html create mode 100644 admin/helpers/js.php create mode 100644 admin/helpers/keywords_after.txt create mode 100644 admin/helpers/keywords_before.txt create mode 100644 admin/helpers/keywords_reserved.txt create mode 100644 admin/helpers/minify.php create mode 100644 admin/helpers/operators_after.txt create mode 100644 admin/helpers/operators_before.txt create mode 100644 admin/index.html create mode 100644 admin/language/en-GB/en-GB.com_componentbuilder.ini create mode 100644 admin/language/en-GB/en-GB.com_componentbuilder.sys.ini create mode 100644 admin/language/en-GB/index.html create mode 100644 admin/language/index.html create mode 100644 admin/layouts/admin_view/css_fullwidth.php create mode 100644 admin/layouts/admin_view/fields_fullwidth.php create mode 100644 admin/layouts/admin_view/index.html create mode 100644 admin/layouts/admin_view/javascript_fullwidth.php create mode 100644 admin/layouts/admin_view/mysql_fullwidth.php create mode 100644 admin/layouts/admin_view/mysql_left.php create mode 100644 admin/layouts/admin_view/php_fullwidth.php create mode 100644 admin/layouts/admin_view/publishing.php create mode 100644 admin/layouts/admin_view/publlshing.php create mode 100644 admin/layouts/admin_view/settings_above.php create mode 100644 admin/layouts/admin_view/settings_left.php create mode 100644 admin/layouts/admin_view/settings_right.php create mode 100644 admin/layouts/admin_view/settings_under.php create mode 100644 admin/layouts/batchselection.php create mode 100644 admin/layouts/component/admin_views_fullwidth.php create mode 100644 admin/layouts/component/details_above.php create mode 100644 admin/layouts/component/details_left.php create mode 100644 admin/layouts/component/details_right.php create mode 100644 admin/layouts/component/details_under.php create mode 100644 admin/layouts/component/index.html create mode 100644 admin/layouts/component/publishing.php create mode 100644 admin/layouts/component/publlshing.php create mode 100644 admin/layouts/component/readme_left.php create mode 100644 admin/layouts/component/readme_right.php create mode 100644 admin/layouts/component/scripts_fullwidth.php create mode 100644 admin/layouts/component/settings_left.php create mode 100644 admin/layouts/component/settings_right.php create mode 100644 admin/layouts/component/site_views_fullwidth.php create mode 100644 admin/layouts/custom_admin_view/custom_buttons_fullwidth.php create mode 100644 admin/layouts/custom_admin_view/custom_buttons_left.php create mode 100644 admin/layouts/custom_admin_view/custom_script_fullwidth.php create mode 100644 admin/layouts/custom_admin_view/details_above.php create mode 100644 admin/layouts/custom_admin_view/details_fullwidth.php create mode 100644 admin/layouts/custom_admin_view/details_left.php create mode 100644 admin/layouts/custom_admin_view/details_right.php create mode 100644 admin/layouts/custom_admin_view/details_rightside.php create mode 100644 admin/layouts/custom_admin_view/details_under.php create mode 100644 admin/layouts/custom_admin_view/index.html create mode 100644 admin/layouts/custom_admin_view/publishing.php create mode 100644 admin/layouts/custom_admin_view/publlshing.php create mode 100644 admin/layouts/dynamic_get/abacus_fullwidth.php create mode 100644 admin/layouts/dynamic_get/abacus_left.php create mode 100644 admin/layouts/dynamic_get/custom_script_fullwidth.php create mode 100644 admin/layouts/dynamic_get/gettable_above.php create mode 100644 admin/layouts/dynamic_get/gettable_fullwidth.php create mode 100644 admin/layouts/dynamic_get/gettable_left.php create mode 100644 admin/layouts/dynamic_get/gettable_right.php create mode 100644 admin/layouts/dynamic_get/gettable_under.php create mode 100644 admin/layouts/dynamic_get/index.html create mode 100644 admin/layouts/dynamic_get/publishing.php create mode 100644 admin/layouts/dynamic_get/publlshing.php create mode 100644 admin/layouts/field/details_fullwidth.php create mode 100644 admin/layouts/field/details_left.php create mode 100644 admin/layouts/field/details_right.php create mode 100644 admin/layouts/field/details_under.php create mode 100644 admin/layouts/field/index.html create mode 100644 admin/layouts/field/publishing.php create mode 100644 admin/layouts/field/publlshing.php create mode 100644 admin/layouts/field/scripts_left.php create mode 100644 admin/layouts/field/scripts_right.php create mode 100644 admin/layouts/fieldtype/details_left.php create mode 100644 admin/layouts/fieldtype/details_right.php create mode 100644 admin/layouts/fieldtype/fields_fullwidth.php create mode 100644 admin/layouts/fieldtype/index.html create mode 100644 admin/layouts/fieldtype/publishing.php create mode 100644 admin/layouts/fieldtype/publlshing.php create mode 100644 admin/layouts/help_document/details_above.php create mode 100644 admin/layouts/help_document/details_fullwidth.php create mode 100644 admin/layouts/help_document/details_left.php create mode 100644 admin/layouts/help_document/details_right.php create mode 100644 admin/layouts/help_document/details_under.php create mode 100644 admin/layouts/help_document/index.html create mode 100644 admin/layouts/help_document/publishing.php create mode 100644 admin/layouts/help_document/publlshing.php create mode 100644 admin/layouts/index.html create mode 100644 admin/layouts/layout/custom_script_fullwidth.php create mode 100644 admin/layouts/layout/details_fullwidth.php create mode 100644 admin/layouts/layout/details_left.php create mode 100644 admin/layouts/layout/details_right.php create mode 100644 admin/layouts/layout/details_rightside.php create mode 100644 admin/layouts/layout/details_under.php create mode 100644 admin/layouts/layout/index.html create mode 100644 admin/layouts/layout/publishing.php create mode 100644 admin/layouts/layout/publlshing.php create mode 100644 admin/layouts/site_view/custom_buttons_fullwidth.php create mode 100644 admin/layouts/site_view/details_above.php create mode 100644 admin/layouts/site_view/details_fullwidth.php create mode 100644 admin/layouts/site_view/details_left.php create mode 100644 admin/layouts/site_view/details_right.php create mode 100644 admin/layouts/site_view/details_rightside.php create mode 100644 admin/layouts/site_view/details_under.php create mode 100644 admin/layouts/site_view/index.html create mode 100644 admin/layouts/site_view/javascript_css_fullwidth.php create mode 100644 admin/layouts/site_view/php_fullwidth.php create mode 100644 admin/layouts/site_view/publishing.php create mode 100644 admin/layouts/site_view/publlshing.php create mode 100644 admin/layouts/snippet/details_above.php create mode 100644 admin/layouts/snippet/details_left.php create mode 100644 admin/layouts/snippet/details_right.php create mode 100644 admin/layouts/snippet/index.html create mode 100644 admin/layouts/snippet/publishing.php create mode 100644 admin/layouts/snippet/publlshing.php create mode 100644 admin/layouts/template/custom_script_fullwidth.php create mode 100644 admin/layouts/template/details_fullwidth.php create mode 100644 admin/layouts/template/details_left.php create mode 100644 admin/layouts/template/details_right.php create mode 100644 admin/layouts/template/details_rightside.php create mode 100644 admin/layouts/template/details_under.php create mode 100644 admin/layouts/template/index.html create mode 100644 admin/layouts/template/publishing.php create mode 100644 admin/layouts/template/publlshing.php create mode 100644 admin/models/admin_view.php create mode 100644 admin/models/admin_views.php create mode 100644 admin/models/ajax.php create mode 100644 admin/models/compiler.php create mode 100644 admin/models/component.php create mode 100644 admin/models/componentbuilder.php create mode 100644 admin/models/components.php create mode 100644 admin/models/custom_admin_view.php create mode 100644 admin/models/custom_admin_views.php create mode 100644 admin/models/dynamic_get.php create mode 100644 admin/models/dynamic_gets.php create mode 100644 admin/models/field.php create mode 100644 admin/models/fields.php create mode 100644 admin/models/fields/adminviews.php create mode 100644 admin/models/fields/articles.php create mode 100644 admin/models/fields/customadminviews.php create mode 100644 admin/models/fields/customfilelist.php create mode 100644 admin/models/fields/customfolderlist.php create mode 100644 admin/models/fields/customgets.php create mode 100644 admin/models/fields/dbtables.php create mode 100644 admin/models/fields/dynamicgets.php create mode 100644 admin/models/fields/fields.php create mode 100644 admin/models/fields/fieldsmulti.php create mode 100644 admin/models/fields/fieldtypes.php create mode 100644 admin/models/fields/index.html create mode 100644 admin/models/fields/maingets.php create mode 100644 admin/models/fields/siteviews.php create mode 100644 admin/models/fields/snippets.php create mode 100644 admin/models/fieldtype.php create mode 100644 admin/models/fieldtypes.php create mode 100644 admin/models/forms/admin_view.js create mode 100644 admin/models/forms/admin_view.xml create mode 100644 admin/models/forms/component.js create mode 100644 admin/models/forms/component.xml create mode 100644 admin/models/forms/custom_admin_view.js create mode 100644 admin/models/forms/custom_admin_view.xml create mode 100644 admin/models/forms/dynamic_get.js create mode 100644 admin/models/forms/dynamic_get.xml create mode 100644 admin/models/forms/field.js create mode 100644 admin/models/forms/field.xml create mode 100644 admin/models/forms/fieldtype.js create mode 100644 admin/models/forms/fieldtype.xml create mode 100644 admin/models/forms/help_document.js create mode 100644 admin/models/forms/help_document.xml create mode 100644 admin/models/forms/index.html create mode 100644 admin/models/forms/layout.js create mode 100644 admin/models/forms/layout.xml create mode 100644 admin/models/forms/site_view.js create mode 100644 admin/models/forms/site_view.xml create mode 100644 admin/models/forms/snippet.js create mode 100644 admin/models/forms/snippet.xml create mode 100644 admin/models/forms/template.js create mode 100644 admin/models/forms/template.xml create mode 100644 admin/models/help_document.php create mode 100644 admin/models/help_documents.php create mode 100644 admin/models/import.php create mode 100644 admin/models/index.html create mode 100644 admin/models/layout.php create mode 100644 admin/models/layouts.php create mode 100644 admin/models/rules/index.html create mode 100644 admin/models/site_view.php create mode 100644 admin/models/site_views.php create mode 100644 admin/models/snippet.php create mode 100644 admin/models/snippets.php create mode 100644 admin/models/template.php create mode 100644 admin/models/templates.php create mode 100644 admin/sql/index.html create mode 100644 admin/sql/install.mysql.utf8.sql create mode 100644 admin/sql/uninstall.mysql.utf8.sql create mode 100644 admin/sql/updates/index.html create mode 100644 admin/sql/updates/mysql/1.0.0.sql create mode 100644 admin/sql/updates/mysql/1.0.5.sql create mode 100644 admin/sql/updates/mysql/1.1.0.sql create mode 100644 admin/sql/updates/mysql/2.0.0.sql create mode 100644 admin/sql/updates/mysql/2.0.7.sql create mode 100644 admin/sql/updates/mysql/index.html create mode 100644 admin/tables/admin_view.php create mode 100644 admin/tables/component.php create mode 100644 admin/tables/custom_admin_view.php create mode 100644 admin/tables/dynamic_get.php create mode 100644 admin/tables/field.php create mode 100644 admin/tables/fieldtype.php create mode 100644 admin/tables/help_document.php create mode 100644 admin/tables/index.html create mode 100644 admin/tables/layout.php create mode 100644 admin/tables/site_view.php create mode 100644 admin/tables/snippet.php create mode 100644 admin/tables/template.php create mode 100644 admin/views/admin_view/submitbutton.js create mode 100644 admin/views/admin_view/tmpl/edit.php create mode 100644 admin/views/admin_view/tmpl/index.html create mode 100644 admin/views/admin_view/view.html.php create mode 100644 admin/views/admin_views/index.html create mode 100644 admin/views/admin_views/tmpl/default.php create mode 100644 admin/views/admin_views/tmpl/default_batch_body.php create mode 100644 admin/views/admin_views/tmpl/default_batch_footer.php create mode 100644 admin/views/admin_views/tmpl/default_body.php create mode 100644 admin/views/admin_views/tmpl/default_foot.php create mode 100644 admin/views/admin_views/tmpl/default_head.php create mode 100644 admin/views/admin_views/tmpl/default_toolbar.php create mode 100644 admin/views/admin_views/tmpl/index.html create mode 100644 admin/views/admin_views/view.html.php create mode 100644 admin/views/compiler/index.html create mode 100644 admin/views/compiler/tmpl/default.php create mode 100644 admin/views/compiler/tmpl/index.html create mode 100644 admin/views/compiler/view.html.php create mode 100644 admin/views/component/submitbutton.js create mode 100644 admin/views/component/tmpl/edit.php create mode 100644 admin/views/component/tmpl/index.html create mode 100644 admin/views/component/view.html.php create mode 100644 admin/views/componentbuilder/index.html create mode 100644 admin/views/componentbuilder/tmpl/default.php create mode 100644 admin/views/componentbuilder/tmpl/default_main.php create mode 100644 admin/views/componentbuilder/tmpl/default_vdm.php create mode 100644 admin/views/componentbuilder/tmpl/index.html create mode 100644 admin/views/componentbuilder/view.html.php create mode 100644 admin/views/components/index.html create mode 100644 admin/views/components/tmpl/default.php create mode 100644 admin/views/components/tmpl/default_batch_body.php create mode 100644 admin/views/components/tmpl/default_batch_footer.php create mode 100644 admin/views/components/tmpl/default_body.php create mode 100644 admin/views/components/tmpl/default_foot.php create mode 100644 admin/views/components/tmpl/default_head.php create mode 100644 admin/views/components/tmpl/default_toolbar.php create mode 100644 admin/views/components/tmpl/index.html create mode 100644 admin/views/components/view.html.php create mode 100644 admin/views/custom_admin_view/submitbutton.js create mode 100644 admin/views/custom_admin_view/tmpl/edit.php create mode 100644 admin/views/custom_admin_view/tmpl/index.html create mode 100644 admin/views/custom_admin_view/view.html.php create mode 100644 admin/views/custom_admin_views/index.html create mode 100644 admin/views/custom_admin_views/tmpl/default.php create mode 100644 admin/views/custom_admin_views/tmpl/default_batch_body.php create mode 100644 admin/views/custom_admin_views/tmpl/default_batch_footer.php create mode 100644 admin/views/custom_admin_views/tmpl/default_body.php create mode 100644 admin/views/custom_admin_views/tmpl/default_foot.php create mode 100644 admin/views/custom_admin_views/tmpl/default_head.php create mode 100644 admin/views/custom_admin_views/tmpl/default_toolbar.php create mode 100644 admin/views/custom_admin_views/tmpl/index.html create mode 100644 admin/views/custom_admin_views/view.html.php create mode 100644 admin/views/dynamic_get/submitbutton.js create mode 100644 admin/views/dynamic_get/tmpl/edit.php create mode 100644 admin/views/dynamic_get/tmpl/index.html create mode 100644 admin/views/dynamic_get/view.html.php create mode 100644 admin/views/dynamic_gets/index.html create mode 100644 admin/views/dynamic_gets/tmpl/default.php create mode 100644 admin/views/dynamic_gets/tmpl/default_batch_body.php create mode 100644 admin/views/dynamic_gets/tmpl/default_batch_footer.php create mode 100644 admin/views/dynamic_gets/tmpl/default_body.php create mode 100644 admin/views/dynamic_gets/tmpl/default_foot.php create mode 100644 admin/views/dynamic_gets/tmpl/default_head.php create mode 100644 admin/views/dynamic_gets/tmpl/default_toolbar.php create mode 100644 admin/views/dynamic_gets/tmpl/index.html create mode 100644 admin/views/dynamic_gets/view.html.php create mode 100644 admin/views/field/submitbutton.js create mode 100644 admin/views/field/tmpl/edit.php create mode 100644 admin/views/field/tmpl/index.html create mode 100644 admin/views/field/view.html.php create mode 100644 admin/views/fields/index.html create mode 100644 admin/views/fields/tmpl/default.php create mode 100644 admin/views/fields/tmpl/default_batch_body.php create mode 100644 admin/views/fields/tmpl/default_batch_footer.php create mode 100644 admin/views/fields/tmpl/default_body.php create mode 100644 admin/views/fields/tmpl/default_foot.php create mode 100644 admin/views/fields/tmpl/default_head.php create mode 100644 admin/views/fields/tmpl/default_toolbar.php create mode 100644 admin/views/fields/tmpl/index.html create mode 100644 admin/views/fields/view.html.php create mode 100644 admin/views/fieldtype/submitbutton.js create mode 100644 admin/views/fieldtype/tmpl/edit.php create mode 100644 admin/views/fieldtype/tmpl/index.html create mode 100644 admin/views/fieldtype/view.html.php create mode 100644 admin/views/fieldtypes/index.html create mode 100644 admin/views/fieldtypes/tmpl/default.php create mode 100644 admin/views/fieldtypes/tmpl/default_batch_body.php create mode 100644 admin/views/fieldtypes/tmpl/default_batch_footer.php create mode 100644 admin/views/fieldtypes/tmpl/default_body.php create mode 100644 admin/views/fieldtypes/tmpl/default_foot.php create mode 100644 admin/views/fieldtypes/tmpl/default_head.php create mode 100644 admin/views/fieldtypes/tmpl/default_toolbar.php create mode 100644 admin/views/fieldtypes/tmpl/index.html create mode 100644 admin/views/fieldtypes/view.html.php create mode 100644 admin/views/help_document/submitbutton.js create mode 100644 admin/views/help_document/tmpl/edit.php create mode 100644 admin/views/help_document/tmpl/index.html create mode 100644 admin/views/help_document/view.html.php create mode 100644 admin/views/help_documents/index.html create mode 100644 admin/views/help_documents/tmpl/default.php create mode 100644 admin/views/help_documents/tmpl/default_batch_body.php create mode 100644 admin/views/help_documents/tmpl/default_batch_footer.php create mode 100644 admin/views/help_documents/tmpl/default_body.php create mode 100644 admin/views/help_documents/tmpl/default_foot.php create mode 100644 admin/views/help_documents/tmpl/default_head.php create mode 100644 admin/views/help_documents/tmpl/default_toolbar.php create mode 100644 admin/views/help_documents/tmpl/index.html create mode 100644 admin/views/help_documents/view.html.php create mode 100644 admin/views/import/index.html create mode 100644 admin/views/import/tmpl/default.php create mode 100644 admin/views/import/tmpl/index.html create mode 100644 admin/views/import/view.html.php create mode 100644 admin/views/index.html create mode 100644 admin/views/layout/submitbutton.js create mode 100644 admin/views/layout/tmpl/edit.php create mode 100644 admin/views/layout/tmpl/index.html create mode 100644 admin/views/layout/view.html.php create mode 100644 admin/views/layouts/index.html create mode 100644 admin/views/layouts/tmpl/default.php create mode 100644 admin/views/layouts/tmpl/default_batch_body.php create mode 100644 admin/views/layouts/tmpl/default_batch_footer.php create mode 100644 admin/views/layouts/tmpl/default_body.php create mode 100644 admin/views/layouts/tmpl/default_foot.php create mode 100644 admin/views/layouts/tmpl/default_head.php create mode 100644 admin/views/layouts/tmpl/default_toolbar.php create mode 100644 admin/views/layouts/tmpl/index.html create mode 100644 admin/views/layouts/view.html.php create mode 100644 admin/views/site_view/submitbutton.js create mode 100644 admin/views/site_view/tmpl/edit.php create mode 100644 admin/views/site_view/tmpl/index.html create mode 100644 admin/views/site_view/view.html.php create mode 100644 admin/views/site_views/index.html create mode 100644 admin/views/site_views/tmpl/default.php create mode 100644 admin/views/site_views/tmpl/default_batch_body.php create mode 100644 admin/views/site_views/tmpl/default_batch_footer.php create mode 100644 admin/views/site_views/tmpl/default_body.php create mode 100644 admin/views/site_views/tmpl/default_foot.php create mode 100644 admin/views/site_views/tmpl/default_head.php create mode 100644 admin/views/site_views/tmpl/default_toolbar.php create mode 100644 admin/views/site_views/tmpl/index.html create mode 100644 admin/views/site_views/view.html.php create mode 100644 admin/views/snippet/submitbutton.js create mode 100644 admin/views/snippet/tmpl/edit.php create mode 100644 admin/views/snippet/tmpl/index.html create mode 100644 admin/views/snippet/view.html.php create mode 100644 admin/views/snippets/index.html create mode 100644 admin/views/snippets/tmpl/default.php create mode 100644 admin/views/snippets/tmpl/default_batch_body.php create mode 100644 admin/views/snippets/tmpl/default_batch_footer.php create mode 100644 admin/views/snippets/tmpl/default_body.php create mode 100644 admin/views/snippets/tmpl/default_foot.php create mode 100644 admin/views/snippets/tmpl/default_head.php create mode 100644 admin/views/snippets/tmpl/default_toolbar.php create mode 100644 admin/views/snippets/tmpl/index.html create mode 100644 admin/views/snippets/view.html.php create mode 100644 admin/views/template/submitbutton.js create mode 100644 admin/views/template/tmpl/edit.php create mode 100644 admin/views/template/tmpl/index.html create mode 100644 admin/views/template/view.html.php create mode 100644 admin/views/templates/index.html create mode 100644 admin/views/templates/tmpl/default.php create mode 100644 admin/views/templates/tmpl/default_batch_body.php create mode 100644 admin/views/templates/tmpl/default_batch_footer.php create mode 100644 admin/views/templates/tmpl/default_body.php create mode 100644 admin/views/templates/tmpl/default_foot.php create mode 100644 admin/views/templates/tmpl/default_head.php create mode 100644 admin/views/templates/tmpl/default_toolbar.php create mode 100644 admin/views/templates/tmpl/index.html create mode 100644 admin/views/templates/view.html.php create mode 100644 componentbuilder.xml create mode 100644 index.html create mode 100644 media/css/index.html create mode 100644 media/footable/css/fonts/footable.eot create mode 100644 media/footable/css/fonts/footable.svg create mode 100644 media/footable/css/fonts/footable.ttf create mode 100644 media/footable/css/fonts/footable.woff create mode 100644 media/footable/css/fonts/index.html create mode 100644 media/footable/css/footable.core.css create mode 100644 media/footable/css/footable.core.min.css create mode 100644 media/footable/css/footable.metro.css create mode 100644 media/footable/css/footable.metro.min.css create mode 100644 media/footable/css/footable.standalone.css create mode 100644 media/footable/css/footable.standalone.min.css create mode 100644 media/footable/css/index.html create mode 100644 media/footable/dist/footable.all.min.js create mode 100644 media/footable/dist/footable.bookmarkable.min.js create mode 100644 media/footable/dist/footable.filter.min.js create mode 100644 media/footable/dist/footable.grid.min.js create mode 100644 media/footable/dist/footable.min.js create mode 100644 media/footable/dist/footable.paginate.min.js create mode 100644 media/footable/dist/footable.sort.min.js create mode 100644 media/footable/dist/footable.striping.min.js create mode 100644 media/footable/dist/index.html create mode 100644 media/footable/icomoon/footable.json create mode 100644 media/footable/icomoon/index.html create mode 100644 media/footable/index.html create mode 100644 media/footable/js/.jshintrc create mode 100644 media/footable/js/footable.bookmarkable.js create mode 100644 media/footable/js/footable.filter.js create mode 100644 media/footable/js/footable.grid.js create mode 100644 media/footable/js/footable.js create mode 100644 media/footable/js/footable.memory.js create mode 100644 media/footable/js/footable.paginate.js create mode 100644 media/footable/js/footable.plugin.template.js create mode 100644 media/footable/js/footable.sort.js create mode 100644 media/footable/js/footable.striping.js create mode 100644 media/footable/js/index.html create mode 100644 media/images/index.html create mode 100644 media/index.html create mode 100644 media/js/index.html create mode 100644 media/uikit/css/components/accordion.almost-flat.css create mode 100644 media/uikit/css/components/accordion.almost-flat.min.css create mode 100644 media/uikit/css/components/accordion.css create mode 100644 media/uikit/css/components/accordion.gradient.css create mode 100644 media/uikit/css/components/accordion.gradient.min.css create mode 100644 media/uikit/css/components/accordion.min.css create mode 100644 media/uikit/css/components/autocomplete.almost-flat.css create mode 100644 media/uikit/css/components/autocomplete.almost-flat.min.css create mode 100644 media/uikit/css/components/autocomplete.css create mode 100644 media/uikit/css/components/autocomplete.gradient.css create mode 100644 media/uikit/css/components/autocomplete.gradient.min.css create mode 100644 media/uikit/css/components/autocomplete.min.css create mode 100644 media/uikit/css/components/datepicker.almost-flat.css create mode 100644 media/uikit/css/components/datepicker.almost-flat.min.css create mode 100644 media/uikit/css/components/datepicker.css create mode 100644 media/uikit/css/components/datepicker.gradient.css create mode 100644 media/uikit/css/components/datepicker.gradient.min.css create mode 100644 media/uikit/css/components/datepicker.min.css create mode 100644 media/uikit/css/components/dotnav.almost-flat.css create mode 100644 media/uikit/css/components/dotnav.almost-flat.min.css create mode 100644 media/uikit/css/components/dotnav.css create mode 100644 media/uikit/css/components/dotnav.gradient.css create mode 100644 media/uikit/css/components/dotnav.gradient.min.css create mode 100644 media/uikit/css/components/dotnav.min.css create mode 100644 media/uikit/css/components/form-advanced.almost-flat.css create mode 100644 media/uikit/css/components/form-advanced.almost-flat.min.css create mode 100644 media/uikit/css/components/form-advanced.css create mode 100644 media/uikit/css/components/form-advanced.gradient.css create mode 100644 media/uikit/css/components/form-advanced.gradient.min.css create mode 100644 media/uikit/css/components/form-advanced.min.css create mode 100644 media/uikit/css/components/form-file.almost-flat.css create mode 100644 media/uikit/css/components/form-file.almost-flat.min.css create mode 100644 media/uikit/css/components/form-file.css create mode 100644 media/uikit/css/components/form-file.gradient.css create mode 100644 media/uikit/css/components/form-file.gradient.min.css create mode 100644 media/uikit/css/components/form-file.min.css create mode 100644 media/uikit/css/components/form-password.almost-flat.css create mode 100644 media/uikit/css/components/form-password.almost-flat.min.css create mode 100644 media/uikit/css/components/form-password.css create mode 100644 media/uikit/css/components/form-password.gradient.css create mode 100644 media/uikit/css/components/form-password.gradient.min.css create mode 100644 media/uikit/css/components/form-password.min.css create mode 100644 media/uikit/css/components/form-select.almost-flat.css create mode 100644 media/uikit/css/components/form-select.almost-flat.min.css create mode 100644 media/uikit/css/components/form-select.css create mode 100644 media/uikit/css/components/form-select.gradient.css create mode 100644 media/uikit/css/components/form-select.gradient.min.css create mode 100644 media/uikit/css/components/form-select.min.css create mode 100644 media/uikit/css/components/htmleditor.almost-flat.css create mode 100644 media/uikit/css/components/htmleditor.almost-flat.min.css create mode 100644 media/uikit/css/components/htmleditor.css create mode 100644 media/uikit/css/components/htmleditor.gradient.css create mode 100644 media/uikit/css/components/htmleditor.gradient.min.css create mode 100644 media/uikit/css/components/htmleditor.min.css create mode 100644 media/uikit/css/components/index.html create mode 100644 media/uikit/css/components/nestable.almost-flat.css create mode 100644 media/uikit/css/components/nestable.almost-flat.min.css create mode 100644 media/uikit/css/components/nestable.css create mode 100644 media/uikit/css/components/nestable.gradient.css create mode 100644 media/uikit/css/components/nestable.gradient.min.css create mode 100644 media/uikit/css/components/nestable.min.css create mode 100644 media/uikit/css/components/notify.almost-flat.css create mode 100644 media/uikit/css/components/notify.almost-flat.min.css create mode 100644 media/uikit/css/components/notify.css create mode 100644 media/uikit/css/components/notify.gradient.css create mode 100644 media/uikit/css/components/notify.gradient.min.css create mode 100644 media/uikit/css/components/notify.min.css create mode 100644 media/uikit/css/components/placeholder.almost-flat.css create mode 100644 media/uikit/css/components/placeholder.almost-flat.min.css create mode 100644 media/uikit/css/components/placeholder.css create mode 100644 media/uikit/css/components/placeholder.gradient.css create mode 100644 media/uikit/css/components/placeholder.gradient.min.css create mode 100644 media/uikit/css/components/placeholder.min.css create mode 100644 media/uikit/css/components/progress.almost-flat.css create mode 100644 media/uikit/css/components/progress.almost-flat.min.css create mode 100644 media/uikit/css/components/progress.css create mode 100644 media/uikit/css/components/progress.gradient.css create mode 100644 media/uikit/css/components/progress.gradient.min.css create mode 100644 media/uikit/css/components/progress.min.css create mode 100644 media/uikit/css/components/search.almost-flat.css create mode 100644 media/uikit/css/components/search.almost-flat.min.css create mode 100644 media/uikit/css/components/search.css create mode 100644 media/uikit/css/components/search.gradient.css create mode 100644 media/uikit/css/components/search.gradient.min.css create mode 100644 media/uikit/css/components/search.min.css create mode 100644 media/uikit/css/components/slidenav.almost-flat.css create mode 100644 media/uikit/css/components/slidenav.almost-flat.min.css create mode 100644 media/uikit/css/components/slidenav.css create mode 100644 media/uikit/css/components/slidenav.gradient.css create mode 100644 media/uikit/css/components/slidenav.gradient.min.css create mode 100644 media/uikit/css/components/slidenav.min.css create mode 100644 media/uikit/css/components/slider.almost-flat.css create mode 100644 media/uikit/css/components/slider.almost-flat.min.css create mode 100644 media/uikit/css/components/slider.css create mode 100644 media/uikit/css/components/slider.gradient.css create mode 100644 media/uikit/css/components/slider.gradient.min.css create mode 100644 media/uikit/css/components/slider.min.css create mode 100644 media/uikit/css/components/slideshow.almost-flat.css create mode 100644 media/uikit/css/components/slideshow.almost-flat.min.css create mode 100644 media/uikit/css/components/slideshow.css create mode 100644 media/uikit/css/components/slideshow.gradient.css create mode 100644 media/uikit/css/components/slideshow.gradient.min.css create mode 100644 media/uikit/css/components/slideshow.min.css create mode 100644 media/uikit/css/components/sortable.almost-flat.css create mode 100644 media/uikit/css/components/sortable.almost-flat.min.css create mode 100644 media/uikit/css/components/sortable.css create mode 100644 media/uikit/css/components/sortable.gradient.css create mode 100644 media/uikit/css/components/sortable.gradient.min.css create mode 100644 media/uikit/css/components/sortable.min.css create mode 100644 media/uikit/css/components/sticky.almost-flat.css create mode 100644 media/uikit/css/components/sticky.almost-flat.min.css create mode 100644 media/uikit/css/components/sticky.css create mode 100644 media/uikit/css/components/sticky.gradient.css create mode 100644 media/uikit/css/components/sticky.gradient.min.css create mode 100644 media/uikit/css/components/sticky.min.css create mode 100644 media/uikit/css/components/tooltip.almost-flat.css create mode 100644 media/uikit/css/components/tooltip.almost-flat.min.css create mode 100644 media/uikit/css/components/tooltip.css create mode 100644 media/uikit/css/components/tooltip.gradient.css create mode 100644 media/uikit/css/components/tooltip.gradient.min.css create mode 100644 media/uikit/css/components/tooltip.min.css create mode 100644 media/uikit/css/components/upload.almost-flat.css create mode 100644 media/uikit/css/components/upload.almost-flat.min.css create mode 100644 media/uikit/css/components/upload.css create mode 100644 media/uikit/css/components/upload.gradient.css create mode 100644 media/uikit/css/components/upload.gradient.min.css create mode 100644 media/uikit/css/components/upload.min.css create mode 100644 media/uikit/css/index.html create mode 100644 media/uikit/css/uikit.almost-flat.css create mode 100644 media/uikit/css/uikit.almost-flat.min.css create mode 100644 media/uikit/css/uikit.css create mode 100644 media/uikit/css/uikit.gradient.css create mode 100644 media/uikit/css/uikit.gradient.min.css create mode 100644 media/uikit/css/uikit.min.css create mode 100644 media/uikit/fonts/FontAwesome.otf create mode 100644 media/uikit/fonts/fontawesome-webfont.eot create mode 100644 media/uikit/fonts/fontawesome-webfont.ttf create mode 100644 media/uikit/fonts/fontawesome-webfont.woff create mode 100644 media/uikit/fonts/fontawesome-webfont.woff2 create mode 100644 media/uikit/fonts/index.html create mode 100644 media/uikit/index.html create mode 100644 media/uikit/js/components/accordion.js create mode 100644 media/uikit/js/components/accordion.min.js create mode 100644 media/uikit/js/components/autocomplete.js create mode 100644 media/uikit/js/components/autocomplete.min.js create mode 100644 media/uikit/js/components/datepicker.js create mode 100644 media/uikit/js/components/datepicker.min.js create mode 100644 media/uikit/js/components/form-password.js create mode 100644 media/uikit/js/components/form-password.min.js create mode 100644 media/uikit/js/components/form-select.js create mode 100644 media/uikit/js/components/form-select.min.js create mode 100644 media/uikit/js/components/grid.js create mode 100644 media/uikit/js/components/grid.min.js create mode 100644 media/uikit/js/components/htmleditor.js create mode 100644 media/uikit/js/components/htmleditor.min.js create mode 100644 media/uikit/js/components/index.html create mode 100644 media/uikit/js/components/lightbox.js create mode 100644 media/uikit/js/components/lightbox.min.js create mode 100644 media/uikit/js/components/nestable.js create mode 100644 media/uikit/js/components/nestable.min.js create mode 100644 media/uikit/js/components/notify.js create mode 100644 media/uikit/js/components/notify.min.js create mode 100644 media/uikit/js/components/pagination.js create mode 100644 media/uikit/js/components/pagination.min.js create mode 100644 media/uikit/js/components/parallax.js create mode 100644 media/uikit/js/components/parallax.min.js create mode 100644 media/uikit/js/components/search.js create mode 100644 media/uikit/js/components/search.min.js create mode 100644 media/uikit/js/components/slider.js create mode 100644 media/uikit/js/components/slider.min.js create mode 100644 media/uikit/js/components/slideset.js create mode 100644 media/uikit/js/components/slideset.min.js create mode 100644 media/uikit/js/components/slideshow-fx.js create mode 100644 media/uikit/js/components/slideshow-fx.min.js create mode 100644 media/uikit/js/components/slideshow.js create mode 100644 media/uikit/js/components/slideshow.min.js create mode 100644 media/uikit/js/components/sortable.js create mode 100644 media/uikit/js/components/sortable.min.js create mode 100644 media/uikit/js/components/sticky.js create mode 100644 media/uikit/js/components/sticky.min.js create mode 100644 media/uikit/js/components/timepicker.js create mode 100644 media/uikit/js/components/timepicker.min.js create mode 100644 media/uikit/js/components/tooltip.js create mode 100644 media/uikit/js/components/tooltip.min.js create mode 100644 media/uikit/js/components/upload.js create mode 100644 media/uikit/js/components/upload.min.js create mode 100644 media/uikit/js/core/alert.js create mode 100644 media/uikit/js/core/alert.min.js create mode 100644 media/uikit/js/core/button.js create mode 100644 media/uikit/js/core/button.min.js create mode 100644 media/uikit/js/core/core.js create mode 100644 media/uikit/js/core/core.min.js create mode 100644 media/uikit/js/core/cover.js create mode 100644 media/uikit/js/core/cover.min.js create mode 100644 media/uikit/js/core/dropdown.js create mode 100644 media/uikit/js/core/dropdown.min.js create mode 100644 media/uikit/js/core/grid.js create mode 100644 media/uikit/js/core/grid.min.js create mode 100644 media/uikit/js/core/index.html create mode 100644 media/uikit/js/core/modal.js create mode 100644 media/uikit/js/core/modal.min.js create mode 100644 media/uikit/js/core/nav.js create mode 100644 media/uikit/js/core/nav.min.js create mode 100644 media/uikit/js/core/offcanvas.js create mode 100644 media/uikit/js/core/offcanvas.min.js create mode 100644 media/uikit/js/core/scrollspy.js create mode 100644 media/uikit/js/core/scrollspy.min.js create mode 100644 media/uikit/js/core/smooth-scroll.js create mode 100644 media/uikit/js/core/smooth-scroll.min.js create mode 100644 media/uikit/js/core/switcher.js create mode 100644 media/uikit/js/core/switcher.min.js create mode 100644 media/uikit/js/core/tab.js create mode 100644 media/uikit/js/core/tab.min.js create mode 100644 media/uikit/js/core/toggle.js create mode 100644 media/uikit/js/core/toggle.min.js create mode 100644 media/uikit/js/core/touch.js create mode 100644 media/uikit/js/core/touch.min.js create mode 100644 media/uikit/js/core/utility.js create mode 100644 media/uikit/js/core/utility.min.js create mode 100644 media/uikit/js/index.html create mode 100644 media/uikit/js/uikit.js create mode 100644 media/uikit/js/uikit.min.js create mode 100644 script.php create mode 100644 site/assets/css/index.html create mode 100644 site/assets/css/site.css create mode 100644 site/assets/images/index.html create mode 100644 site/assets/index.html create mode 100644 site/assets/js/index.html create mode 100644 site/assets/js/site.js create mode 100644 site/componentbuilder.php create mode 100644 site/controller.php create mode 100644 site/controllers/help.php create mode 100644 site/controllers/index.html create mode 100644 site/helpers/componentbuilder.php create mode 100644 site/helpers/headercheck.php create mode 100644 site/helpers/index.html create mode 100644 site/helpers/route.php create mode 100644 site/index.html create mode 100644 site/language/en-GB/en-GB.com_componentbuilder.ini create mode 100644 site/language/en-GB/en-GB.com_componentbuilder.sys.ini create mode 100644 site/language/en-GB/index.html create mode 100644 site/language/index.html create mode 100644 site/layouts/index.html create mode 100644 site/models/index.html create mode 100644 site/router.php create mode 100644 site/views/index.html diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 000000000..df50810b8 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,340 @@ +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/README.md b/README.md new file mode 100644 index 000000000..2793d8e70 --- /dev/null +++ b/README.md @@ -0,0 +1,75 @@ +# Component Builder (2.0.8) + +This is a [Joomla 3.x] (http://www.joomla.org/) component. + + ![Component Builder image] (https://raw.githubusercontent.com/vdm-io/Joomla-Component-Builder/master/admin/assets/images/component-300.png "The Component Builder") + +The Component Builder for Joomla that is highly advanced, truly able to build extremely complex components in a fraction of the time. + +> **You can purchase Component Builder with the following components as demo setup inside Component Builder:** + ++ **Basic Version** ([get this demo set](https://www.vdm.io/joomla-component-builder)) + + *Help View Integration* + ++ **Medium Version** ([get this demo set](https://www.vdm.io/joomla-component-builder)) + + *Demo Component* see the build on [github] (https://github.com/namibia/demo-joomla-3-component) + + *Sermon Distributor* see the build on [github] (https://github.com/SermonDistributor/Joomla-3-Component) + ++ **Advanced Version** ([get this demo set](https://www.vdm.io/joomla-component-builder)) + + *All the above* + + *Component Builder* see the build on [github] (https://github.com/vdm-io/Joomla-Component-Builder) + +## Training & Help Videos + +The Medium and Advanced Versions come with video tutorials in the component included. + +# Extra Support + +Would you require more help VDM.io has a number of support plans available [visit us today!](https://www.vdm.io/joomla-component-builder). + +# 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*: 30th January, 2016 ++ *Version*: 2.0.8 ++ *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 + +**221 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*: **79362** ++ *File count*: **489** ++ *Folder count*: **95** + +**146 Hours** or **18 Eight Hour Days** (the actual time the author spent) + +> (with the following break down: +> **debugging @55hours** = codingtime / 4; +> **planning @32hours** = codingtime / 7; +> **mapping @22hours** = codingtime / 10; +> **office @37hours** = codingtime / 6;) + +**367 Hours** or **46 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.2 weeks** or **1.9 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/access.xml b/admin/access.xml new file mode 100644 index 000000000..e72d86644 --- /dev/null +++ b/admin/access.xml @@ -0,0 +1,223 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + +
+
+ + + + + + + +
+
+ + + + + + + +
+
+ + + + + + + +
+
+ + + + + + + +
+
+ + + + + + + +
+
+ + + + + + + +
+
+ + + + + + + +
+
+ + + + + + + +
+
+ + + + + + + +
+
+ + + + + +
+
+ + + + + +
+
\ No newline at end of file diff --git a/admin/assets/css/admin.css b/admin/assets/css/admin.css new file mode 100644 index 000000000..7f0444a15 --- /dev/null +++ b/admin/assets/css/admin.css @@ -0,0 +1,32 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/admin_view.css b/admin/assets/css/admin_view.css new file mode 100644 index 000000000..19a73908f --- /dev/null +++ b/admin/assets/css/admin_view.css @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/admin_views.css b/admin/assets/css/admin_views.css new file mode 100644 index 000000000..73425f613 --- /dev/null +++ b/admin/assets/css/admin_views.css @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/component.css b/admin/assets/css/component.css new file mode 100644 index 000000000..e40df3fb4 --- /dev/null +++ b/admin/assets/css/component.css @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/components.css b/admin/assets/css/components.css new file mode 100644 index 000000000..cd8d347d5 --- /dev/null +++ b/admin/assets/css/components.css @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/custom_admin_view.css b/admin/assets/css/custom_admin_view.css new file mode 100644 index 000000000..f6cc697d6 --- /dev/null +++ b/admin/assets/css/custom_admin_view.css @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/custom_admin_views.css b/admin/assets/css/custom_admin_views.css new file mode 100644 index 000000000..9f9e3f3cb --- /dev/null +++ b/admin/assets/css/custom_admin_views.css @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/dashboard.css b/admin/assets/css/dashboard.css new file mode 100644 index 000000000..7c3d9618f --- /dev/null +++ b/admin/assets/css/dashboard.css @@ -0,0 +1,178 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/dynamic_get.css b/admin/assets/css/dynamic_get.css new file mode 100644 index 000000000..f6ddf18c7 --- /dev/null +++ b/admin/assets/css/dynamic_get.css @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/dynamic_gets.css b/admin/assets/css/dynamic_gets.css new file mode 100644 index 000000000..cba8a01fb --- /dev/null +++ b/admin/assets/css/dynamic_gets.css @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/field.css b/admin/assets/css/field.css new file mode 100644 index 000000000..6fa53f1e5 --- /dev/null +++ b/admin/assets/css/field.css @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/fields.css b/admin/assets/css/fields.css new file mode 100644 index 000000000..896b4a6ec --- /dev/null +++ b/admin/assets/css/fields.css @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/fieldtype.css b/admin/assets/css/fieldtype.css new file mode 100644 index 000000000..e20094301 --- /dev/null +++ b/admin/assets/css/fieldtype.css @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/fieldtypes.css b/admin/assets/css/fieldtypes.css new file mode 100644 index 000000000..9fffaf425 --- /dev/null +++ b/admin/assets/css/fieldtypes.css @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/help_document.css b/admin/assets/css/help_document.css new file mode 100644 index 000000000..446d0d5af --- /dev/null +++ b/admin/assets/css/help_document.css @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/help_documents.css b/admin/assets/css/help_documents.css new file mode 100644 index 000000000..40cec5fb0 --- /dev/null +++ b/admin/assets/css/help_documents.css @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/index.html b/admin/assets/css/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/assets/css/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/admin/assets/css/layout.css b/admin/assets/css/layout.css new file mode 100644 index 000000000..3f22874a4 --- /dev/null +++ b/admin/assets/css/layout.css @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/layouts.css b/admin/assets/css/layouts.css new file mode 100644 index 000000000..ad9c58dac --- /dev/null +++ b/admin/assets/css/layouts.css @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/site_view.css b/admin/assets/css/site_view.css new file mode 100644 index 000000000..8ddcc5f82 --- /dev/null +++ b/admin/assets/css/site_view.css @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/site_views.css b/admin/assets/css/site_views.css new file mode 100644 index 000000000..5e3dab6bc --- /dev/null +++ b/admin/assets/css/site_views.css @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/snippet.css b/admin/assets/css/snippet.css new file mode 100644 index 000000000..17beef6cb --- /dev/null +++ b/admin/assets/css/snippet.css @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/snippets.css b/admin/assets/css/snippets.css new file mode 100644 index 000000000..e883f38ef --- /dev/null +++ b/admin/assets/css/snippets.css @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/template.css b/admin/assets/css/template.css new file mode 100644 index 000000000..522a29a8e --- /dev/null +++ b/admin/assets/css/template.css @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/css/templates.css b/admin/assets/css/templates.css new file mode 100644 index 000000000..7b592da31 --- /dev/null +++ b/admin/assets/css/templates.css @@ -0,0 +1,28 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/assets/images/ajax-loader.gif b/admin/assets/images/ajax-loader.gif new file mode 100644 index 0000000000000000000000000000000000000000..0bcd5978b624ac99e1649d9cc6aab5dd73aa4430 GIT binary patch literal 402119 zcmWiecRbbKAICp;xcA!ENY}nru8ffExLnz*C_=Kb$F<4ma_uc6Bt&GdBrC2FlDHw+ zZe?cOs8H(uzQ2FY`R{$s<2>H)^LW2sucw}YuCj{bAUF$j3;+_!mI(<7pFS;EIR$zI zB?hE7WfeEVUv7tlhBA8B4i672TSU0Ixdjmm8#>0UpNXuCi0~+T$jZt}==vWW{pcQ? z`19uv2U<3#s!LSM`}yYjm$iR>*fwJKTw}Md1B#_VIJ^Y&(c*v-$hkb&BE3V zn!C(J+B1H&`6ol_)6&{eNy)X_VZKdMZEbCyQANha#@CE)IR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1_S^*@4?uT literal 0 HcmV?d00001 diff --git a/admin/assets/images/ajax.gif b/admin/assets/images/ajax.gif new file mode 100644 index 0000000000000000000000000000000000000000..4371cc618bdc1702aad69fc871a50182a01537ec GIT binary patch literal 65516 zcmdqJcT|&k*EM{lLkff*iV%9JhK_YYuOcWSC}JogO^67JfSAy$gx)1o0RibnQA1Nu zlp+W!Doq4M#X7cezDqO1c#rqYGvE6@&-1Qz^QTMKa&h)Pd!Mt#xAKAL(B)HYWBv zjSOr}G}Xy42>6H6AK={Fz&b$n>tFc#-vAI_sEVgNyia@8)cZZXL{l9OI`lB4{zdqU zU)e00xvE&|KzZPx-^SvRsvyg{J?Exsk6wQkdU>WH#9F;zc&R1yhW~|!s~zDs=kC3D z-xV?Z;?u8mMr2fUOl(|yLSj;K%BfUlT6#uiR(4KqUVcGg(dlAVNoiSmMdg{Q>YB5) zb@k^O8k?G1THD$?I?rF|x_Id_ySt~ium8%`fx({yAwoDnoClkOg#(jQfT&<51VBel5~}{90l-wHdm-V1Kl5<@p=%_Y3~I z!P-pEt-Sg887xWk=`N4Ra*1!n7=N(v=G_~xY<)MU!7_kllQ0bjiwc$&ENW1CZ5Q|t z7gtnwM1uwMORTLuKLplntxjKS@!$P}{K97bzb@ak>q9qg4v&nE-5Q^`JsFOd!XOaq zxY`9FXdwW21i-{wxRH-vybwY|o3V>8R{`|X2C?^xOUjvAcwc}LzVu-92%^N99mO*o z9CBcGe@`6N#ey#Ka<&s9xXG~Z@vIORLUsc*2v9LH%z8;?=Tms3FCm(EjED4?J)~L~ z&OZABlXV-;tAnx}k!LBjov|&mEV68^nK~sHG>)A;YgWqc}`$O%)!vDt0=WoEu zwe*aGAOH&w77{ET$U?A?*8Z7b;X%%UI4G>|^N1)1@d45lEHj9J%$mNhTZD+2xlK4FYplUd|xS-F)|C^?p74eY2u^t_ttZ~u;#0Li{{E31^P#x zOb<4nAq^K(qR{IsTdGFO%rlhtU2Cbn^+WA<|51DGA8OCxJy^)vOG6y?g9QU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XQ-S1VtEx7kd|UoZYxF4J|IqYHAP2 zw{|)pat<`@mg?%U6Dn!X-df)~VxxJkI!gEa<<%ODK?v*0EepQHGl?qYw{Oem9ERY> zA3Rv5R-_;-miqLKhN7M#{PmkJV@O!td#I(VFBPk3TV~T*J&=Ld54|(gT669I!7^QX zZCmYdKGFG*_i$U?`6814NZHzB^%qJ_c09Q=eC%M&rAo6zw2bYy4>hPc36qg_Xo&rdk!DmZ$^j(qUCq!?*a+0%k8)bkRe&t6>^bXtAuWP(knX3vdr zMT~Zu;i~4&hnT4A_wL3#Y`dtx8KT{t90C_>;&0>>3NUFL_Bc2ML%z=5L(#2;95 z0zn2s1e|l=3fDnsLw1;BjAaUvVq^vbiTKYbke0HHC zEUhHJOq{PM3tpO+2N7W=B1`IMX>rJgD1m+D9ccos+jB~f)1Y0E_@=%-@w2Q5zV_xC zNaavCVQ)unK4C0^zk47}bRq)9+g}FZMg1JX!&{q+mYSsq%8UvC;(*T$&KD2{oQ4UUV&G%}^Dl@cP^>^-1wsqN%nu$V-~Zy@{MY{|3_3vt z1Da>|zDvLS{s%QaAu%aAC6$(zo{^cAeIO?{FP~meSi~qUDJ?56UnUEc!Qv4WUP35{ zcoPICQ-9D!OcHXu`LH-Iq0L#oi`B&2dV0NFXJ?PNz`zEP!#!i--51tjPK>cSq1V<4 z4~;iB^WC*Qck}-2^g|outqB(PnawiX+~knlYa4<0vk;WkvlR-2@^~7d~nW5z>cGP(;$36T!2slCj|KHphAJ~|6goV zzWL=B{t`q%&JQ03|3MT~R5GioYijH24>mL&YHB`w3`IxD@8@!#iTK?IJT`j~+?4Au-RN zKYVjXq?PZ*ug`c}gk~ZiJUVha!JQu|*nQ(-j|Lob>TONbPGU6J+h=Q6nyl+l literal 0 HcmV?d00001 diff --git a/admin/assets/images/component-300.png b/admin/assets/images/component-300.png new file mode 100644 index 0000000000000000000000000000000000000000..3e026c896a15088ced8184f6d774476e5fff3a4c GIT binary patch literal 129074 zcmaHSb9g1qws&mX+3`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>ha{2Am#;MP0_1RH*RXe@`){0I? zV)*^Z5?D~L9%MS;$NKJYU>y<%-*AmrhM{%(T)iI;o|KMsn+p%iRB$gxt~e`t^JD*aWF$ZwnMCWDQ4Bn z!dXsT@`}SawtBs4%?viaIU8%AJY>o<@7t3?FL?#`@&rPydpx`YQh7cDf6*}Bd}Z(0s+4$nXG6FYgvJHT YrC|DB5i8;U^G8!@aRsqz5u=d*3%LI@cmMzZ literal 0 HcmV?d00001 diff --git a/admin/assets/images/icons/dynamic_gets.png b/admin/assets/images/icons/dynamic_gets.png new file mode 100644 index 0000000000000000000000000000000000000000..0e1dc8def0075bffc3d33019caae8ba91428bb80 GIT binary patch literal 14299 zcmXwgWmH^E*X#g;Yj6+n46ec5ZLr|(?hria;K7~X5|{wN9fG^NySsbv%YE1SejNFA zR(JK@wX19QiBMLOK}R7*0RRB#U|C7kk0<2+Uq}ca_a0%B5deVa7g$nE-D~-*4bhEs zA?3i2(PNy*T9PV>f_fidsiIR;V-CjHX)+8ait{|>I|1K&zm(rB3XHdqkC@o=4JI<_ zX&TdX0U#6!YCQZ0SqyHW7hDRXfqcoQO9@CpQ6o1>8lJVKhX2}p-W&g3q6BL^2P{|Z zRdi-LB=yh=KMhB9JnoLIGz5eV9jvbhyl5X}V+y)BpRBixvv{smAhwvmASt#^tH_2n zzMc;bdj6IfNM2*cFOI~`;t%*FeA^y=qZp%@)Tds|u(b=+W6`hUdO-6$`~I@(vhb|C zf{rNab{@hm?7G!r&vNILvU7Rx^@$=qy1Pf!=Ia>j7>>)QS_J#Uj?Mj*w#_ z*2}h}zmRBixaKaiqKJr)+CsK4?8pnKQJE+=V-2{VRXqwY>vvlsa)H?zIrMj%3V znAapGlnOOF(?=|y9qjG-^|Q z#8b~_%z_1ssO2#^G0ERZUaN?m1hl)btrKEgfN*_wz`hEVOHjJ zX!)}R{R3Y*fN2B;Il98Tm;L5wfo<83BWnyG7@5F|NETk&c%cGrGy8L}Hb3%8gA-!X z5K5W?OgwNJ277lH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8Dnm|LQ&FaGg14Ys_97jxAOt@U3;uZPYboL4d(_<;@rE6|C^S2@|uT~32 z>?wobYjLAr_DcP-S^efZzd&HBgc@4sPUPUJj{|Dzb%suP zHj$}Zx_A|N8ucB-i6aUnq!{5hJ2+;0`jqASUgKFqP_iqxZkFIYdFaS)u%{s5`*X+R z=X#6n-jU#XZG58Hu;k~|At^nUq3Oyuz-$w;nZ<&j3$a=m@2Lt5Vg$}H=;e~V1wKH=f|Ujupllf z4qiocD~xm#DGR*fbkm%9pMxgJCLv9ftYk8yMMMcZy9cl824KyqTHqyt0PvXUCRL;95R>I`@_>P*-r<_IGMBlXU( zj=^@@C-1kc?;*!s1}raj$x?I`Oi{rT9Tv7^k#VwY+1Oj4ZIl3kgphfZm#bP=)8iQjB67BvR76=8zJNJ!tzykNS8%j#LX4lp< zoT}4KEu*9czTq(k`nL9&swClx{ig`Qk%ciHTq-yXRA%HV?6IVsB}NZh@1lzYCacan zBBjh6p@pj|aO20|Npv~;dk^D~krBo0-GpxMiCMD3bsDOqdWZBm++E+xu~HbmjZcdi zp>(^K!Wf?TyeBvVE|<5RN@TQkQ^oTkr9RgH3$GPV?q`q1Qn=i z;GAi`tqRr830ER@$()~3D*DkA@}XIP0J`Hpmlsm&DLP%-#)iyX`Y)uL8%2SP+x(rm z-mMGQ7*Q(=aB!O&KB%W$4O)g0+H^p0LcI|pa_et|%TP19>5FHrRP$a0j5&rlgo68Y zHw(dbm(2>&-sO|NEI*YwxK@w9h|YIJm|CZm#f*XPJO}^OdUsP+O3&V_FJ8Ld^O1>@ zre3s4aOt3o2H&gq?hv+zCk!v-a$aajFNR+k&oW>x-{E5KcJSW{Gw(ir+5>>4lq4&} Hjf4Ilskmir literal 0 HcmV?d00001 diff --git a/admin/assets/images/icons/field_add.png b/admin/assets/images/icons/field_add.png new file mode 100644 index 0000000000000000000000000000000000000000..a207756a7deb11072d82e48758492aab0b05c115 GIT binary patch literal 7715 zcmbVxWmr`2*7pqE4N?O`hY~|K0}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?A8<>(**9w$VA(EQwI(M)}fnBr?@ zIVpF=V2p%agoGvWYN`AK3CX)Xi*FGL#3y#+!yC0g`;MGvD^rWC{9sB0J%-CHpu@-b zmt2oO`Zt@InK=ZWF4$KmgRS<~Kby=GI;O7=kLpJ{ibOfU8PUd16|l3}Xq3lC_z*zU zkGNudQXr2#b?qy7gSMBsgGa7|W3|HS>`(k|tnOZloQAp4Y|#o*`=DT~hss2py{a|< zc7@t^?|lv;DS*oLt3g-$Mzy^iK{uC-Mw7V;_4U0zmCY+bmGVz=>PP0u#5XJP_e3r% zYL$?BD9(C4C=HfiH#P{!(}crplREJW<-No#7)3j$$p2KU9Y@}v?(sLTc}x2z?VeTY zQ7qG=JeJ{2Pa+i#JK&AfRRHXZ^mOQ}@&_q?j|e&AADD`eDh-2XOQb7%KQm}+T`Jt3 z#wmfi?n@Rt__ef|t?Sq+RP#bLi77~1*Go6d zvDrhTq{OX2nLq0vcfD=AUBG6U)+Kc~5?;z!#z;_}ytBErE{z-H_xbtvlNBCOoL;V; cJ7Qsg01HtrU&rCx-_N!hsyeVbW$V!Y1MzJJC;$Ke literal 0 HcmV?d00001 diff --git a/admin/assets/images/icons/fields.png b/admin/assets/images/icons/fields.png new file mode 100644 index 0000000000000000000000000000000000000000..827609f5e24004313879d7f1d261971457de6a74 GIT binary patch literal 5093 zcmbVQc|26@+dqTs1`*0O2GPRI*fL{jFk`8#QI^QW*uspl3k{N;Op)wMg=EW;>`ay{ zEyxy9vAyDb^rjl4D>N( z^p0@bl0p&pOkjEX+$Om{3>D&OIel~!JbGVN8fn38oyLxIsR~lNN5LZVH=w)R?xFJyo z@8YT-M8aPTGBS4vy6%85Qt%-*&5Fk*cZ~RX9couA+;d6D)tG=n;6( z{WtXKgMX6;?@7-X5* z0;tv}EWBO64GM|s$(uG4z~G8gB5g5GWsh7r)Dz3l0VOfT9!kYuULGP9Fn|~kbHH2= z8#BdVW#6}c7QWWEcEO*L-M??KdqHt<*XiffNcqQYKJJ_rI~ zI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AsECDlY!@JfqQw|>m}8fp`vF9r!R(=zpY-l)`A1a#ybOfw7g_GEa?$HT#{VU9OjKTEi22Z_k%A2BdmLrBf7ah&r$256k51y(ey8kI;kW@cEwURqg|$ zE4`mN?0aWB_x6Nul-}}DHzy%0I)B=PZ@b6+RK&(!pT}WhrCf91VV!a!N`kL9$9w$z z`)6`8R2mq%>$Pau2ON!U1u}SN9+jleHiR$BBx{l9g`YVLg*I|8xL?s}1`6@n$WR*o zj^9IHmD5M|zcfATJT_~+-dX*INA=6JYOgVv5K#?&26a6Dfh2#V@f(Hm0_gnEh{ocgQ2(1=m> zNt{CSOEtb6{55)rfbT+QeG)ni$PEt4Jnz4IdBRdS?SA_v0?lnjnmFLP&-0b&cX|7! zLoQE$_0y!X8G5$tY7L3*AJ|?=7S7*LpCsX*`i%2|+ph*X-sh~R748El>STun_ctYp zE-yGxa(gmY!)?z4RJ9TfRQOHih6`VToqAG(UGsWK6HjUj(FPOzWcmSRW(pljY? zq;*|h>fId-f5%(N-Yiyo=cJB|z_=ywYm=^4cg5fIn$_^zJp+s&QsbYa%d|Qz`%ib$ zZIxGMAYDLBB@||T1sIlFad~6pm1XiRFr;Z*2oT{2m=Fw}yY;{Od|lNce1&#(miySe z#_^PQKgUAVeTA|jCYwv{U_R8Zij~rLUkvYc8@w^^t#>9iAiPRS9+M{XI^Nl~(Ux`E z%fkp*3Odtj^T#;g{0qHklo4umc~*KDPPM%xZ(9z0eZ@Bhz$h3{ns3X+|MNwztfZ1e Jm6&nJ{{_s2MEd{$ literal 0 HcmV?d00001 diff --git a/admin/assets/images/icons/help_document_add.png b/admin/assets/images/icons/help_document_add.png new file mode 100644 index 0000000000000000000000000000000000000000..52889e109bc68a4e088155d58ba75169f99fef4f GIT binary patch literal 26419 zcmbrl1ymi+vM;>%X5;P<+}+*X-642zcXtR*aCe8`?izx-2NEQ>yX(jQoOAEGZ+)`X z_uj18GSgkZuCA`C?yjkcR92Kig!=>s000nWq{US~egpscz(9R`4+t8M0{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D)Qnq62_M%6oWt25bo{!Cp@?I%Bm&@cKh$_0_W6muyDX(aP z!Xjl_md7w{Ue%3|s+)^6t>*;Z<%yoUax0NXunWbz&T; z=?n?`rfd57eHG)Sw`KFi07Fg2J(R3LoHGYb9ya#|y8gyzQGoi0!0bd0ep0(P$S2q? zA({nY=6hJBbmSqPqo|E8ZTYX+nH01ZSiaZyD&qEk%bEFm(?hWU3 z;PXbp!^D5Fre!zj1qk>FL_Q-p8b?T^7OO$(C&`Ky*~PP6dB83V_^tz&3YATo2sWVE*a4)92P!n69uj z#Vskg-p7?HKz;BeLF9ynf;;Qm0JY=*I?uv%i%Ibw zzu=ntYq}j$)WxTH%L5+;Cp;7`ZDv#p1J&A|vWZyS=L_Dd2ZUI6YHb0Gfk;yrEyw^t z>l}r2FNF*qj7brsz6e5>;2Wx65}`L$fM#dtpK&qr?&RF`GTop6x@!RxbcGhtw!hpA f;@9)|p8x{@#-tws^8x&V00000NkvXXu0mjfXDm$@ literal 0 HcmV?d00001 diff --git a/admin/assets/images/icons/help_documents.png b/admin/assets/images/icons/help_documents.png new file mode 100644 index 0000000000000000000000000000000000000000..bdf2b46b534fb03fb0a8d20420c03511f47a7929 GIT binary patch literal 26097 zcmV)(K#RYLP)Wy#{#He?}}KlUkesQMX_8I6}=X$G!XJDvot;y4tt#x00i zy8!z3plHg_a+xt4mzk>Jk_{YK)f^Z|{C*MKUJ;xqY)5BMY;6lcjSrwbQLAIG3 zzMxRtTE!QTLXAP8Px06acFxII4b`UBwd__6ue^FDk%7z{Bp^LIP`(f}}WBy1cHtM z073!?AwP&He8K01kkbxAFbJnESUTBiF_(H!kSdZqiIU^Qc$-Cxi!le$Vua9I1Y#`4 zpv`Oy(UF-NFStEk(e3eo-Qk8FhYPyxZfq`m>;b3Si$DqDPYQo_Hy-i$O9FswI|&_a zHi#UjF7t+L$!ZvPo>_g}31-dddb7cxPfGz~ULKeR<%2dM1$eyyc(sO97v(47KWw2O zHq=ZMGK2z*0XSZTV9+8%A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x2& zhw5JVsW;;cjdPj+%7HMdu^jM@lyeI<#=_pbDzGoGQ#Yo2;cZEvR=}#JSmYWG z0W5wY7?OG*MPj&3op0yj#}7slyT6RYw}Wc0D*`jd$dFhlAtr|6A{jl0ftSa5LxAzV zIPTlSC1?yeYt$-+6XGn!5x~x(X+3~9{D5quDgcQNf}f7liyD3fgVR{0Ay=2E*$YZF zY?(#H90B#=wSlCA zRnNsmG492-HUN4=Jb(Hdowo$|-V0Og{ZAhTAdWMGVL&aYVhJ$=Ou!6(oM3173~=x= z07Q9lUo?O+FtQ9Na!~-Fc@0B&EkgtyD3f78eFQ)c0@|_j2=s5=r?dS9&eou1Vu)1! z1wbV_Eck@eOtKb`d~*;~>|f1+JrKqG>jXZRx}2YnfTxfD2QV93Buwi=J^%m!07*qo IM6N<$g2`0eh5!Hn literal 0 HcmV?d00001 diff --git a/admin/assets/images/icons/index.html b/admin/assets/images/icons/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/assets/images/icons/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/admin/assets/images/icons/layout_add.png b/admin/assets/images/icons/layout_add.png new file mode 100644 index 0000000000000000000000000000000000000000..8bb16bb376da4fb297c8028f0bbfa74119f665e8 GIT binary patch literal 26600 zcmbrl1yo$kwl3O8H`YMo4oxE=xVvj(L4zbfaCdiicMt9%xVr`q4#9#;La^WjdHMI= z=Ztg5lQG`CYb>i(bAB~z);DJ@87oTljT|OADLMcEz?6qetN%R){ARC*9hX<<%7psG_1sjKe zfWSW>oSZCwC0Ja%>|KpKS?pbC{(<;6hP0WBiL;fXtCfR2^dC$kV+S`^5g6=mJ@mhN zV&|x={NM2QF8}e@U(d058ac9Yu(Gq+*|Ggk4Hs7#_rD{y!z`un5N+~M~sydswm^r(fnaWz(n!PcyGZTSH+PaxJI$PPh zvS?V@Iog`BSeZE3vpU*a{0}vGdly$DdlNHxX%X08AXY0YQ$cAiZgyD#9$6V~nZFwc z2S2BPloW?FhYS}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qoM6N<$f+-Uvf&c&j literal 0 HcmV?d00001 diff --git a/admin/assets/images/icons/snippet_add.png b/admin/assets/images/icons/snippet_add.png new file mode 100644 index 0000000000000000000000000000000000000000..4bf742f3da3b2b0e76ecdfffbc16d1716c9e50ff GIT binary patch literal 11569 zcmbt)1yEee*6!f$?l8DZaCdhPZi57826qjvAvgqgcQRP;;E)6jt^tBW@W(ml-oNgv zCsptLQ+uX&cdzyJ>Tj*pHNAJoXsRnGUDs+fVky2003{~ zplb**R8tkUc6H{kv~jfparij9z4ikDq7puCme!6S2(=Z+&cQ_tc>1{)NbO)F1~lMP z<5F{z0ogk!`gwqK{M2=={T!`@Y=9EtsG>f?uK>;7-g?R+1|MdZiqf(1{*w_kd%gX<2u-BRx&>jMD6XxXf_V(uRe#7DFVaLfWBqa0~ z2oDeYs{}jP*9Btf!|np6{R`qB3|SD^+QY#O;^68+{THUCm8&O2330$%+AA5jY$iY=q@_WM#PJ`MKnH<>cjfxw!>-gk)s6Wx3_v@bU3U zN%Q@Ox~!|Ur}L}5|5ms8e^b}+aCi+XOQ-)1jIi2kMA=wEEM+Yrud{s(7Cv^a*Na=1 zn@gBSP?$@Am5W=Li|cPcQ;YsXlcEC{;_Bi1m+SxKd>xScKec~i!O7w8E^6w({U>Z` z{Z~|o0l}89)c)g}e|I_j|1$VG@;~6-_Mlhj|Fhx$lO3l{6AZ1ZExvf2YO9h&c71yFS>x7|C&ALU$Or0>5FpyF9eDH zE$|=7@v8Sv+iTLjW;^G9rTc5;zZMLT%j;ksugk&xZg=PFQbGceGlb~;%Xq*)S+C@5 zX$R5Nqikl_ZO!HiU;8<{wT% znvPmLvoxc;0Uu+DjM?QZCZ_!n!WNo7zaST1d7FRY1H%b3G>8^46w8jThzO4hTT7e3 zn;m$XzxKJS&3mf$7bpTCG@TNmYk+S$KW}Pkx-YT+_|m!mLoso?kIL>e`AKC1u8&F_ z@VNQkFP?n@u^1mF2)3tPjkXj*nrHva`x8m&_qtZi)!+R7iGK;>)|O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yrce?(tH=HUcGJ>4pu z9kv7LKVDtH{8+O>7jms>;8mX!x{$j>$0@ijN2{51rin~{5<*^u?C53)byeHRzJIYI zax|~=2EDn=zUeH~Uw_0Z+f0CUwx%Jsy9`CjU%rlLRIQbF3b4l{Cy1I2b~M?jgK(Ju ze)-6g@9*-g9b)ZH>;wUpzk?GyviY2o98V;+!?T0?KF-P|o?1QJiZ4LdnyiLweJ_zN zP1r>~WdOiLKGH5@T32ZAU!hL12lJ7y9ES&d&ADWw==SWx%YAMCL?X7JW^o{DH>zCC zSX9JNlqjOPFe}q}c{1PD>U}m`z@jkqh)qg(U7T$SFEd~wdgP>LC9Uw-+IOTzw4x@i zRtF~|vJABhg{AI zPZ8ySz@`pSl*c=^AZqLXxML(TOUY{?k~Hv|yiBbnZ;{nK?6s;)kh&sb^PD`wU~EQbC3VX3U7wA$4;+u9 zFt1;GXcaQK#hUJBb-oqZCKFd|yANn%v}`{8^eBCNAnSDdcilO_od z1dKUWnk)pu7%v+MCxNcr=MsSikn-F1N0y&T_|yJomA`ChJLD?tP!Uo^YY{k)ctURd zu--=QuU9p4sh<;@Lmv!I{uR^`N+|V_8Q82ez zci1LpEghEn;kbZm2m6n|J)N=d6Gv|wbYRzSZvwb!_d_4;NSFhL5^B%m*s&5Hk6k$# z!wqzKd9sD3N;A0E9=#*|osa#VTuek`lmWNm<@3k3kS zNwhnbdwBE4e+nLPNHz3?w50`3Zu*glt{3x-stLNDYn>rGFzEq#zS@)w*N{$#4hr%Q zMK?_uHS*Y|>yu18#4ol--~Rlaw>$OJ#=i6QaW6#TpbHUjsZbL7N|{|ziil2Nz0M~W z&}gS(anh0X_fH&}zT;qXY%Z?PAaO;|0e#a#sO5tcV$9b$9!}-O3d@hhl8&KOQwx<| kSAbTPs_g%TLGVE-u?oUhmcy&~&zJxx%WKFr$yi1F4=xg5a{vGU literal 0 HcmV?d00001 diff --git a/admin/assets/images/icons/template_add.png b/admin/assets/images/icons/template_add.png new file mode 100644 index 0000000000000000000000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z;a=a%+UZkIpE%i{9q5IXNXj#c_t>EA;&Op8K;B~GWtHhE!;0ELROq(|U;3_+)SX z;&SfIz)DLktvtE9iS}*@R0W%T^TIX3`H?0mMmAfJNsQz?Sq8e9HF7LTSLw?Qpw}2n zog5oewd^Pnp6m6rJ@a{W>Yc6FclOxikr&=&WTrs_ooxG)*O z3HXEd${9d$NCDjz?^#>ypH)KSMF#i-Fu=v-k86=G4#7nRxVZcgFaN&)0|0W}hhvRi RtMLE;002ovPDHLkV1hr?mXQDe literal 0 HcmV?d00001 diff --git a/admin/assets/images/icons/templates.png b/admin/assets/images/icons/templates.png new file mode 100644 index 0000000000000000000000000000000000000000..cc8e9f86fe7be159e3e11d57eebe44cdb5952585 GIT binary patch literal 18579 zcmW(+V_;p)7Ckq%8{3W3*f%!XIE`(aH&&yjvC-H@W2>>PCQV~IFW>ud&iOfe_N=ql znl*bORg|PrkqD6h06>+Mk@)idh5Yv*z`eiwgpI}kKt@MaLR8Ij<-`vjf+KnRx|nF; zZhqCv!c?=DNn=43ft0=dyP~)_8}tD?3UrnBdsaZ`=30T?SnLNq7Bzxg7)^Z*Uk#rE z+DrA+`mB(Vwqro^#v4;sR*|@yM@RL>(?+=_7nDEa+pMJJKluB~2D=AT;B9xG2Y8N4 z*#yo-^!=f`-#o3@fm5I3##q`Ojw$Mvx?zzUyO*u5q*R(iB&|_F(W{Nc?Dpb98oW## zz(eS^iCI$9+leg%Bt5DiBxjAnr{DE^Zo%R4Yb1-g$?zgOSNtZ&n1@=mxP58+dVX_G z*Tno9*96p7mGoxA&%-f?D%+_$?WR8eNW;3~JF+QMwD1@byvBgSu5DDa>OY&8e8%7W zt^+1WA2|16*pDc!s!K|x8YuT-X|~`J5vaYzmbH4GTy$ zgg+De77v|BI*IaKQ+Uij^rd%>%b<`lxtaZXxkYXsf)%X?Qh6LUxZIT1BUqcLH`rYJ z!B3$awB3emmM|1joT>C>WNK=pTFlg+nSC#Cj-q&#^{R`iwC>_uChyPkJDbw3=7PT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.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/assets/images/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/admin/assets/index.html b/admin/assets/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/assets/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/admin/assets/js/admin.js b/admin/assets/js/admin.js new file mode 100644 index 000000000..e69de29bb diff --git a/admin/assets/js/index.html b/admin/assets/js/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/assets/js/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/admin/compiler/default.txt b/admin/compiler/default.txt new file mode 100644 index 000000000..c7adb7652 --- /dev/null +++ b/admin/compiler/default.txt @@ -0,0 +1,18 @@ +/*----------------------------------------------------------------------------------| 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/description.txt b/admin/compiler/description.txt new file mode 100644 index 000000000..5da125e09 --- /dev/null +++ b/admin/compiler/description.txt @@ -0,0 +1,16 @@ +/*----------------------------------------------------------------------------------| 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/giz.txt b/admin/compiler/giz.txt new file mode 100644 index 000000000..e822c0562 --- /dev/null +++ b/admin/compiler/giz.txt @@ -0,0 +1,17 @@ +/*----------------------------------------------------------------------------------| 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/index.html b/admin/compiler/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/compiler/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/admin/compiler/joomla_3/1.0.0.sql b/admin/compiler/joomla_3/1.0.0.sql new file mode 100644 index 000000000..1c5c8d398 --- /dev/null +++ b/admin/compiler/joomla_3/1.0.0.sql @@ -0,0 +1 @@ +###UPDATE_VERSION_MYSQL### diff --git a/admin/compiler/joomla_3/DASHJControllerAdmin.php b/admin/compiler/joomla_3/DASHJControllerAdmin.php new file mode 100644 index 000000000..c168d2d51 --- /dev/null +++ b/admin/compiler/joomla_3/DASHJControllerAdmin.php @@ -0,0 +1,41 @@ + + @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/joomla_3/DASHJModelList.php b/admin/compiler/joomla_3/DASHJModelList.php new file mode 100644 index 000000000..ac0e72e99 --- /dev/null +++ b/admin/compiler/joomla_3/DASHJModelList.php @@ -0,0 +1,210 @@ + + @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; + } +} diff --git a/admin/compiler/joomla_3/DASHJViewLagacy.php b/admin/compiler/joomla_3/DASHJViewLagacy.php new file mode 100644 index 000000000..5ea2bfe28 --- /dev/null +++ b/admin/compiler/joomla_3/DASHJViewLagacy.php @@ -0,0 +1,101 @@ + + @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(); + + // 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/joomla_3/DASHdefault.php b/admin/compiler/joomla_3/DASHdefault.php new file mode 100644 index 000000000..6b5ac6b3c --- /dev/null +++ b/admin/compiler/joomla_3/DASHdefault.php @@ -0,0 +1,50 @@ + + @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')); ?> + + +loadTemplate('vdm');?> + + + +
\ No newline at end of file diff --git a/admin/compiler/joomla_3/Helper.php b/admin/compiler/joomla_3/Helper.php new file mode 100644 index 000000000..22ea48bb0 --- /dev/null +++ b/admin/compiler/joomla_3/Helper.php @@ -0,0 +1,860 @@ + + @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 + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = false; + } + } + } + } + } + } + // if allowed then fall back on component global settings + if ($allow) + { + $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/joomla_3/Helper_site.php b/admin/compiler/joomla_3/Helper_site.php new file mode 100644 index 000000000..2ec486bda --- /dev/null +++ b/admin/compiler/joomla_3/Helper_site.php @@ -0,0 +1,812 @@ + + @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 + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = false; + } + } + } + } + } + } + // if allowed then fall back on component global settings + if ($allow) + { + $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/joomla_3/JControllerAdmin.php b/admin/compiler/joomla_3/JControllerAdmin.php new file mode 100644 index 000000000..befed19e0 --- /dev/null +++ b/admin/compiler/joomla_3/JControllerAdmin.php @@ -0,0 +1,51 @@ + + @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/joomla_3/JControllerAdmin_custom_admin.php b/admin/compiler/joomla_3/JControllerAdmin_custom_admin.php new file mode 100644 index 000000000..cf469f93e --- /dev/null +++ b/admin/compiler/joomla_3/JControllerAdmin_custom_admin.php @@ -0,0 +1,57 @@ + + @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/joomla_3/JControllerForm.php b/admin/compiler/joomla_3/JControllerForm.php new file mode 100644 index 000000000..ea1c6c87e --- /dev/null +++ b/admin/compiler/joomla_3/JControllerForm.php @@ -0,0 +1,271 @@ + + @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/joomla_3/JControllerForm_custom_site.php b/admin/compiler/joomla_3/JControllerForm_custom_site.php new file mode 100644 index 000000000..911146a4e --- /dev/null +++ b/admin/compiler/joomla_3/JControllerForm_custom_site.php @@ -0,0 +1,120 @@ + + @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/joomla_3/JControllerForm_site.php b/admin/compiler/joomla_3/JControllerForm_site.php new file mode 100644 index 000000000..c23152039 --- /dev/null +++ b/admin/compiler/joomla_3/JControllerForm_site.php @@ -0,0 +1,271 @@ + + @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/joomla_3/JControllerLegacy.php b/admin/compiler/joomla_3/JControllerLegacy.php new file mode 100644 index 000000000..38a10e588 --- /dev/null +++ b/admin/compiler/joomla_3/JControllerLegacy.php @@ -0,0 +1,108 @@ + + @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/joomla_3/JControllerLegacyAjax.php b/admin/compiler/joomla_3/JControllerLegacyAjax.php new file mode 100644 index 000000000..b894571b4 --- /dev/null +++ b/admin/compiler/joomla_3/JControllerLegacyAjax.php @@ -0,0 +1,76 @@ + + @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/joomla_3/JControllerLegacyAjaxSite.php b/admin/compiler/joomla_3/JControllerLegacyAjaxSite.php new file mode 100644 index 000000000..eabdf1854 --- /dev/null +++ b/admin/compiler/joomla_3/JControllerLegacyAjaxSite.php @@ -0,0 +1,76 @@ + + @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/joomla_3/JControllerLegacyHelp.php b/admin/compiler/joomla_3/JControllerLegacyHelp.php new file mode 100644 index 000000000..f1c1932f9 --- /dev/null +++ b/admin/compiler/joomla_3/JControllerLegacyHelp.php @@ -0,0 +1,132 @@ + + @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/joomla_3/JControllerLegacyHelp_site.php b/admin/compiler/joomla_3/JControllerLegacyHelp_site.php new file mode 100644 index 000000000..6c709416a --- /dev/null +++ b/admin/compiler/joomla_3/JControllerLegacyHelp_site.php @@ -0,0 +1,133 @@ + + @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/joomla_3/JControllerLegacySITE.php b/admin/compiler/joomla_3/JControllerLegacySITE.php new file mode 100644 index 000000000..400aaf6c0 --- /dev/null +++ b/admin/compiler/joomla_3/JControllerLegacySITE.php @@ -0,0 +1,103 @@ + + @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/joomla_3/JControllerLegacy_custom_admin.php b/admin/compiler/joomla_3/JControllerLegacy_custom_admin.php new file mode 100644 index 000000000..4f892783e --- /dev/null +++ b/admin/compiler/joomla_3/JControllerLegacy_custom_admin.php @@ -0,0 +1,50 @@ + + @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/joomla_3/JControllerLegacy_import.php b/admin/compiler/joomla_3/JControllerLegacy_import.php new file mode 100644 index 000000000..c76b962c7 --- /dev/null +++ b/admin/compiler/joomla_3/JControllerLegacy_import.php @@ -0,0 +1,70 @@ + + @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/joomla_3/JFormFieldCheckboxes.php b/admin/compiler/joomla_3/JFormFieldCheckboxes.php new file mode 100644 index 000000000..3c4cf25bb --- /dev/null +++ b/admin/compiler/joomla_3/JFormFieldCheckboxes.php @@ -0,0 +1,57 @@ + + @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/joomla_3/JFormFieldList.php b/admin/compiler/joomla_3/JFormFieldList.php new file mode 100644 index 000000000..968e01250 --- /dev/null +++ b/admin/compiler/joomla_3/JFormFieldList.php @@ -0,0 +1,57 @@ + + @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/joomla_3/JFormFieldRadio.php b/admin/compiler/joomla_3/JFormFieldRadio.php new file mode 100644 index 000000000..14937a693 --- /dev/null +++ b/admin/compiler/joomla_3/JFormFieldRadio.php @@ -0,0 +1,57 @@ + + @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/joomla_3/JFormFieldUser.php b/admin/compiler/joomla_3/JFormFieldUser.php new file mode 100644 index 000000000..0e930fd76 --- /dev/null +++ b/admin/compiler/joomla_3/JFormFieldUser.php @@ -0,0 +1,71 @@ + + @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/joomla_3/JFormRule.php b/admin/compiler/joomla_3/JFormRule.php new file mode 100644 index 000000000..9009436ca --- /dev/null +++ b/admin/compiler/joomla_3/JFormRule.php @@ -0,0 +1,47 @@ + + @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/joomla_3/JModelAdmin.php b/admin/compiler/joomla_3/JModelAdmin.php new file mode 100644 index 000000000..38c5917e8 --- /dev/null +++ b/admin/compiler/joomla_3/JModelAdmin.php @@ -0,0 +1,429 @@ + + @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) + { + $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/joomla_3/JModelAdmin_site.php b/admin/compiler/joomla_3/JModelAdmin_site.php new file mode 100644 index 000000000..526cd3788 --- /dev/null +++ b/admin/compiler/joomla_3/JModelAdmin_site.php @@ -0,0 +1,410 @@ + + @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) + { + $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/joomla_3/JModelItem_custom_admin.php b/admin/compiler/joomla_3/JModelItem_custom_admin.php new file mode 100644 index 000000000..5a38162de --- /dev/null +++ b/admin/compiler/joomla_3/JModelItem_custom_admin.php @@ -0,0 +1,141 @@ + + @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/joomla_3/JModelItem_site.php b/admin/compiler/joomla_3/JModelItem_site.php new file mode 100644 index 000000000..1a35c99cd --- /dev/null +++ b/admin/compiler/joomla_3/JModelItem_site.php @@ -0,0 +1,143 @@ + + @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/joomla_3/JModelLegacy_import.php b/admin/compiler/joomla_3/JModelLegacy_import.php new file mode 100644 index 000000000..a39f22fa7 --- /dev/null +++ b/admin/compiler/joomla_3/JModelLegacy_import.php @@ -0,0 +1,735 @@ + + @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/joomla_3/JModelList.php b/admin/compiler/joomla_3/JModelList.php new file mode 100644 index 000000000..15c87b6af --- /dev/null +++ b/admin/compiler/joomla_3/JModelList.php @@ -0,0 +1,126 @@ + + @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/joomla_3/JModelListAjax.php b/admin/compiler/joomla_3/JModelListAjax.php new file mode 100644 index 000000000..794cade2e --- /dev/null +++ b/admin/compiler/joomla_3/JModelListAjax.php @@ -0,0 +1,48 @@ + + @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/joomla_3/JModelListAjaxSite.php b/admin/compiler/joomla_3/JModelListAjaxSite.php new file mode 100644 index 000000000..bed21f089 --- /dev/null +++ b/admin/compiler/joomla_3/JModelListAjaxSite.php @@ -0,0 +1,48 @@ + + @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/joomla_3/JModelList_custom_admin.php b/admin/compiler/joomla_3/JModelList_custom_admin.php new file mode 100644 index 000000000..16ad0f229 --- /dev/null +++ b/admin/compiler/joomla_3/JModelList_custom_admin.php @@ -0,0 +1,98 @@ + + @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/joomla_3/JModelList_site.php b/admin/compiler/joomla_3/JModelList_site.php new file mode 100644 index 000000000..9d26f70e6 --- /dev/null +++ b/admin/compiler/joomla_3/JModelList_site.php @@ -0,0 +1,98 @@ + + @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/joomla_3/JTable.php b/admin/compiler/joomla_3/JTable.php new file mode 100644 index 000000000..e111122de --- /dev/null +++ b/admin/compiler/joomla_3/JTable.php @@ -0,0 +1,351 @@ + + @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/joomla_3/JViewLegacy_custom_admin.php b/admin/compiler/joomla_3/JViewLegacy_custom_admin.php new file mode 100644 index 000000000..f5ee5d62e --- /dev/null +++ b/admin/compiler/joomla_3/JViewLegacy_custom_admin.php @@ -0,0 +1,113 @@ + + @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/joomla_3/JViewLegacy_edit.php b/admin/compiler/joomla_3/JViewLegacy_edit.php new file mode 100644 index 000000000..f70f39336 --- /dev/null +++ b/admin/compiler/joomla_3/JViewLegacy_edit.php @@ -0,0 +1,128 @@ + + @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/joomla_3/JViewLegacy_edit_site.php b/admin/compiler/joomla_3/JViewLegacy_edit_site.php new file mode 100644 index 000000000..a0bacf906 --- /dev/null +++ b/admin/compiler/joomla_3/JViewLegacy_edit_site.php @@ -0,0 +1,137 @@ + + @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/joomla_3/JViewLegacy_import.php b/admin/compiler/joomla_3/JViewLegacy_import.php new file mode 100644 index 000000000..bcde6c9d7 --- /dev/null +++ b/admin/compiler/joomla_3/JViewLegacy_import.php @@ -0,0 +1,113 @@ + + @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/joomla_3/JViewLegacy_list.php b/admin/compiler/joomla_3/JViewLegacy_list.php new file mode 100644 index 000000000..b1d3e52ce --- /dev/null +++ b/admin/compiler/joomla_3/JViewLegacy_list.php @@ -0,0 +1,233 @@ + + @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/joomla_3/JViewLegacy_list_custom_admin.php b/admin/compiler/joomla_3/JViewLegacy_list_custom_admin.php new file mode 100644 index 000000000..17f7e54b0 --- /dev/null +++ b/admin/compiler/joomla_3/JViewLegacy_list_custom_admin.php @@ -0,0 +1,102 @@ + + @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/joomla_3/JViewLegacy_list_site.php b/admin/compiler/joomla_3/JViewLegacy_list_site.php new file mode 100644 index 000000000..8a40e709a --- /dev/null +++ b/admin/compiler/joomla_3/JViewLegacy_list_site.php @@ -0,0 +1,90 @@ + + @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/joomla_3/JViewLegacy_site.php b/admin/compiler/joomla_3/JViewLegacy_site.php new file mode 100644 index 000000000..fd3d54590 --- /dev/null +++ b/admin/compiler/joomla_3/JViewLegacy_site.php @@ -0,0 +1,90 @@ + + @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/joomla_3/LICENSE.txt b/admin/compiler/joomla_3/LICENSE.txt new file mode 100644 index 000000000..df50810b8 --- /dev/null +++ b/admin/compiler/joomla_3/LICENSE.txt @@ -0,0 +1,340 @@ +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/joomla_3/README.md b/admin/compiler/joomla_3/README.md new file mode 100644 index 000000000..dbb7b6a53 --- /dev/null +++ b/admin/compiler/joomla_3/README.md @@ -0,0 +1 @@ +###README### \ No newline at end of file diff --git a/admin/compiler/joomla_3/access.xml b/admin/compiler/joomla_3/access.xml new file mode 100644 index 000000000..86efa0364 --- /dev/null +++ b/admin/compiler/joomla_3/access.xml @@ -0,0 +1,4 @@ + + + ###ACCESS_SECTIONS### + \ No newline at end of file diff --git a/admin/compiler/joomla_3/admin.css b/admin/compiler/joomla_3/admin.css new file mode 100644 index 000000000..0d5304ea3 --- /dev/null +++ b/admin/compiler/joomla_3/admin.css @@ -0,0 +1,7 @@ +###BOM### + +/* CSS Document */ +.no-click { + pointer-events: none; +} +###ADMINCSS### diff --git a/admin/compiler/joomla_3/admin.js b/admin/compiler/joomla_3/admin.js new file mode 100644 index 000000000..e69de29bb diff --git a/admin/compiler/joomla_3/ajax.json.php b/admin/compiler/joomla_3/ajax.json.php new file mode 100644 index 000000000..c4662ea93 --- /dev/null +++ b/admin/compiler/joomla_3/ajax.json.php @@ -0,0 +1,100 @@ + + @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/joomla_3/ajax.php b/admin/compiler/joomla_3/ajax.php new file mode 100644 index 000000000..a98c3cf0e --- /dev/null +++ b/admin/compiler/joomla_3/ajax.php @@ -0,0 +1,88 @@ + + @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/joomla_3/batch_.php b/admin/compiler/joomla_3/batch_.php new file mode 100644 index 000000000..75bc62fcb --- /dev/null +++ b/admin/compiler/joomla_3/batch_.php @@ -0,0 +1,95 @@ + + @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/joomla_3/batchselection.php b/admin/compiler/joomla_3/batchselection.php new file mode 100644 index 000000000..2777f588a --- /dev/null +++ b/admin/compiler/joomla_3/batchselection.php @@ -0,0 +1,65 @@ + + @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/joomla_3/component.xml b/admin/compiler/joomla_3/component.xml new file mode 100644 index 000000000..18b7d9bb7 --- /dev/null +++ b/admin/compiler/joomla_3/component.xml @@ -0,0 +1,94 @@ + + + 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/joomla_3/component_admin.php b/admin/compiler/joomla_3/component_admin.php new file mode 100644 index 000000000..b5cb560c6 --- /dev/null +++ b/admin/compiler/joomla_3/component_admin.php @@ -0,0 +1,62 @@ + + @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/joomla_3/component_site.php b/admin/compiler/joomla_3/component_site.php new file mode 100644 index 000000000..0b86a8725 --- /dev/null +++ b/admin/compiler/joomla_3/component_site.php @@ -0,0 +1,52 @@ + + @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/joomla_3/config.xml b/admin/compiler/joomla_3/config.xml new file mode 100644 index 000000000..8b8968a12 --- /dev/null +++ b/admin/compiler/joomla_3/config.xml @@ -0,0 +1,19 @@ + + + ###CONFIG_FIELDSETS### +
+ +
+
\ No newline at end of file diff --git a/admin/compiler/joomla_3/dashboard.css b/admin/compiler/joomla_3/dashboard.css new file mode 100644 index 000000000..c3c9099b3 --- /dev/null +++ b/admin/compiler/joomla_3/dashboard.css @@ -0,0 +1,155 @@ +###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/joomla_3/default.php b/admin/compiler/joomla_3/default.php new file mode 100644 index 000000000..5cd0cd318 --- /dev/null +++ b/admin/compiler/joomla_3/default.php @@ -0,0 +1,102 @@ + + @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/joomla_3/default.xml b/admin/compiler/joomla_3/default.xml new file mode 100644 index 000000000..10a8e4742 --- /dev/null +++ b/admin/compiler/joomla_3/default.xml @@ -0,0 +1 @@ +###SITE_MENU_XML### \ No newline at end of file diff --git a/admin/compiler/joomla_3/default_batch_body.php b/admin/compiler/joomla_3/default_batch_body.php new file mode 100644 index 000000000..71e639310 --- /dev/null +++ b/admin/compiler/joomla_3/default_batch_body.php @@ -0,0 +1,35 @@ + + @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/joomla_3/default_batch_footer.php b/admin/compiler/joomla_3/default_batch_footer.php new file mode 100644 index 000000000..ee4301c37 --- /dev/null +++ b/admin/compiler/joomla_3/default_batch_footer.php @@ -0,0 +1,40 @@ + + @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/joomla_3/default_body.php b/admin/compiler/joomla_3/default_body.php new file mode 100644 index 000000000..61287bf19 --- /dev/null +++ b/admin/compiler/joomla_3/default_body.php @@ -0,0 +1,35 @@ + + @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/joomla_3/default_custom_admin.php b/admin/compiler/joomla_3/default_custom_admin.php new file mode 100644 index 000000000..7874b3f6c --- /dev/null +++ b/admin/compiler/joomla_3/default_custom_admin.php @@ -0,0 +1,58 @@ + + @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/joomla_3/default_custom_admin_template.php b/admin/compiler/joomla_3/default_custom_admin_template.php new file mode 100644 index 000000000..caf32ad56 --- /dev/null +++ b/admin/compiler/joomla_3/default_custom_admin_template.php @@ -0,0 +1,32 @@ + + @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/joomla_3/default_foot.php b/admin/compiler/joomla_3/default_foot.php new file mode 100644 index 000000000..d7d6834ec --- /dev/null +++ b/admin/compiler/joomla_3/default_foot.php @@ -0,0 +1,35 @@ + + @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/joomla_3/default_head.php b/admin/compiler/joomla_3/default_head.php new file mode 100644 index 000000000..dceef326e --- /dev/null +++ b/admin/compiler/joomla_3/default_head.php @@ -0,0 +1,33 @@ + + @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/joomla_3/default_import.php b/admin/compiler/joomla_3/default_import.php new file mode 100644 index 000000000..84830af73 --- /dev/null +++ b/admin/compiler/joomla_3/default_import.php @@ -0,0 +1,236 @@ + + @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/joomla_3/default_list.xml b/admin/compiler/joomla_3/default_list.xml new file mode 100644 index 000000000..fc3d8cbef --- /dev/null +++ b/admin/compiler/joomla_3/default_list.xml @@ -0,0 +1,6 @@ + + + + COM_###COMPONENT###_MENU_###VIEWS###_DESC + + \ No newline at end of file diff --git a/admin/compiler/joomla_3/default_list_custom_admin.php b/admin/compiler/joomla_3/default_list_custom_admin.php new file mode 100644 index 000000000..fda393570 --- /dev/null +++ b/admin/compiler/joomla_3/default_list_custom_admin.php @@ -0,0 +1,57 @@ + + @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/joomla_3/default_list_site.php b/admin/compiler/joomla_3/default_list_site.php new file mode 100644 index 000000000..8117307e2 --- /dev/null +++ b/admin/compiler/joomla_3/default_list_site.php @@ -0,0 +1,33 @@ + + @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/joomla_3/default_main.php b/admin/compiler/joomla_3/default_main.php new file mode 100644 index 000000000..c54d85819 --- /dev/null +++ b/admin/compiler/joomla_3/default_main.php @@ -0,0 +1,45 @@ + + @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/joomla_3/default_site.php b/admin/compiler/joomla_3/default_site.php new file mode 100644 index 000000000..abd535cf9 --- /dev/null +++ b/admin/compiler/joomla_3/default_site.php @@ -0,0 +1,33 @@ + + @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/joomla_3/default_site_template.php b/admin/compiler/joomla_3/default_site_template.php new file mode 100644 index 000000000..c4c833b38 --- /dev/null +++ b/admin/compiler/joomla_3/default_site_template.php @@ -0,0 +1,32 @@ + + @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/joomla_3/default_toolbar.php b/admin/compiler/joomla_3/default_toolbar.php new file mode 100644 index 000000000..b7da90e24 --- /dev/null +++ b/admin/compiler/joomla_3/default_toolbar.php @@ -0,0 +1,62 @@ + + @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/joomla_3/default_vdm.php b/admin/compiler/joomla_3/default_vdm.php new file mode 100644 index 000000000..db65590a6 --- /dev/null +++ b/admin/compiler/joomla_3/default_vdm.php @@ -0,0 +1,58 @@ + + @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/joomla_3/edit.php b/admin/compiler/joomla_3/edit.php new file mode 100644 index 000000000..0e1b76fdf --- /dev/null +++ b/admin/compiler/joomla_3/edit.php @@ -0,0 +1,42 @@ + + @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/joomla_3/edit_site.php b/admin/compiler/joomla_3/edit_site.php new file mode 100644 index 000000000..644b49e51 --- /dev/null +++ b/admin/compiler/joomla_3/edit_site.php @@ -0,0 +1,44 @@ + + @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/joomla_3/en-GB.com_admin.ini b/admin/compiler/joomla_3/en-GB.com_admin.ini new file mode 100644 index 000000000..e5b382a4a --- /dev/null +++ b/admin/compiler/joomla_3/en-GB.com_admin.ini @@ -0,0 +1 @@ +###LANG_ADMIN### \ No newline at end of file diff --git a/admin/compiler/joomla_3/en-GB.com_admin.sys.ini b/admin/compiler/joomla_3/en-GB.com_admin.sys.ini new file mode 100644 index 000000000..fc07f9846 --- /dev/null +++ b/admin/compiler/joomla_3/en-GB.com_admin.sys.ini @@ -0,0 +1 @@ +###LANG_ADMIN_SYS### \ No newline at end of file diff --git a/admin/compiler/joomla_3/en-GB.com_site.ini b/admin/compiler/joomla_3/en-GB.com_site.ini new file mode 100644 index 000000000..7a78b98b2 --- /dev/null +++ b/admin/compiler/joomla_3/en-GB.com_site.ini @@ -0,0 +1 @@ +###LANG_SITE### \ No newline at end of file diff --git a/admin/compiler/joomla_3/en-GB.com_site.sys.ini b/admin/compiler/joomla_3/en-GB.com_site.sys.ini new file mode 100644 index 000000000..7e16bfbe8 --- /dev/null +++ b/admin/compiler/joomla_3/en-GB.com_site.sys.ini @@ -0,0 +1 @@ +###LANG_SITE_SYS### \ No newline at end of file diff --git a/admin/compiler/joomla_3/headercheck.php b/admin/compiler/joomla_3/headercheck.php new file mode 100644 index 000000000..6b314cf7c --- /dev/null +++ b/admin/compiler/joomla_3/headercheck.php @@ -0,0 +1,88 @@ + + @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/joomla_3/import.gif b/admin/compiler/joomla_3/import.gif new file mode 100644 index 0000000000000000000000000000000000000000..4371cc618bdc1702aad69fc871a50182a01537ec GIT binary patch literal 65516 zcmdqJcT|&k*EM{lLkff*iV%9JhK_YYuOcWSC}JogO^67JfSAy$gx)1o0RibnQA1Nu zlp+W!Doq4M#X7cezDqO1c#rqYGvE6@&-1Qz^QTMKa&h)Pd!Mt#xAKAL(B)HYWBv zjSOr}G}Xy42>6H6AK={Fz&b$n>tFc#-vAI_sEVgNyia@8)cZZXL{l9OI`lB4{zdqU zU)e00xvE&|KzZPx-^SvRsvyg{J?Exsk6wQkdU>WH#9F;zc&R1yhW~|!s~zDs=kC3D z-xV?Z;?u8mMr2fUOl(|yLSj;K%BfUlT6#uiR(4KqUVcGg(dlAVNoiSmMdg{Q>YB5) zb@k^O8k?G1THD$?I?rF|x_Id_ySt~ium8%`fx({yAwoDnoClkOg#(jQfT&<51VBel5~}{90l-wHdm-V1Kl5<@p=%_Y3~I z!P-pEt-Sg887xWk=`N4Ra*1!n7=N(v=G_~xY<)MU!7_kllQ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{FP~meSi~qUDJ?56UnUEc!Qv4WUP35{ zcoPICQ-9D!OcHXu`LH-Iq0L#oi`B&2dV0NFXJ?PNz`zEP!#!i--51tjPK>cSq1V<4 z4~;iB^WC*Qck}-2^g|outqB(PnawiX+~knlYa4<0vk;WkvlR-2@^~7d~nW5z>cGP(;$36T!2slCj|KHphAJ~|6goV zzWL=B{t`q%&JQ03|3MT~R5GioYijH24>mL&YHB`w3`IxD@8@!#iTK?IJT`j~+?4Au-RN zKYVjXq?PZ*ug`c}gk~ZiJUVha!JQu|*nQ(-j|Lob>TONbPGU6J+h=Q6nyl+l literal 0 HcmV?d00001 diff --git a/admin/compiler/joomla_3/index.html b/admin/compiler/joomla_3/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/compiler/joomla_3/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/admin/compiler/joomla_3/install.mysql.utf8.sql b/admin/compiler/joomla_3/install.mysql.utf8.sql new file mode 100644 index 000000000..273e93820 --- /dev/null +++ b/admin/compiler/joomla_3/install.mysql.utf8.sql @@ -0,0 +1 @@ +###INSTALL### \ No newline at end of file diff --git a/admin/compiler/joomla_3/layout.php b/admin/compiler/joomla_3/layout.php new file mode 100644 index 000000000..578e42d73 --- /dev/null +++ b/admin/compiler/joomla_3/layout.php @@ -0,0 +1,58 @@ + + @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/joomla_3/layout_custom_admin.php b/admin/compiler/joomla_3/layout_custom_admin.php new file mode 100644 index 000000000..ae672604d --- /dev/null +++ b/admin/compiler/joomla_3/layout_custom_admin.php @@ -0,0 +1,33 @@ + + @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/joomla_3/layout_site.php b/admin/compiler/joomla_3/layout_site.php new file mode 100644 index 000000000..b4ab3d540 --- /dev/null +++ b/admin/compiler/joomla_3/layout_site.php @@ -0,0 +1,33 @@ + + @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/joomla_3/layoutfull.php b/admin/compiler/joomla_3/layoutfull.php new file mode 100644 index 000000000..51efe768c --- /dev/null +++ b/admin/compiler/joomla_3/layoutfull.php @@ -0,0 +1,51 @@ + + @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/joomla_3/layoutitems.php b/admin/compiler/joomla_3/layoutitems.php new file mode 100644 index 000000000..178fa30d9 --- /dev/null +++ b/admin/compiler/joomla_3/layoutitems.php @@ -0,0 +1,57 @@ + + @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/joomla_3/layoutlinkedview.php b/admin/compiler/joomla_3/layoutlinkedview.php new file mode 100644 index 000000000..c28a33b81 --- /dev/null +++ b/admin/compiler/joomla_3/layoutlinkedview.php @@ -0,0 +1,42 @@ + + @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/joomla_3/layoutmetadata.php b/admin/compiler/joomla_3/layoutmetadata.php new file mode 100644 index 000000000..76c1c4d62 --- /dev/null +++ b/admin/compiler/joomla_3/layoutmetadata.php @@ -0,0 +1,59 @@ + + @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/joomla_3/layoutpublished.php b/admin/compiler/joomla_3/layoutpublished.php new file mode 100644 index 000000000..578e42d73 --- /dev/null +++ b/admin/compiler/joomla_3/layoutpublished.php @@ -0,0 +1,58 @@ + + @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/joomla_3/layouttitle.php b/admin/compiler/joomla_3/layouttitle.php new file mode 100644 index 000000000..7a8b15d76 --- /dev/null +++ b/admin/compiler/joomla_3/layouttitle.php @@ -0,0 +1,44 @@ + + @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/joomla_3/module_forms.js b/admin/compiler/joomla_3/module_forms.js new file mode 100644 index 000000000..e0e2c7797 --- /dev/null +++ b/admin/compiler/joomla_3/module_forms.js @@ -0,0 +1,3 @@ +###BOM### + +###VIEW_SCRIPT### diff --git a/admin/compiler/joomla_3/module_forms.xml b/admin/compiler/joomla_3/module_forms.xml new file mode 100644 index 000000000..05d6b9841 --- /dev/null +++ b/admin/compiler/joomla_3/module_forms.xml @@ -0,0 +1,9 @@ + +
+ ###FIELDSETS### + + ###ACCESSCONTROL### +
\ No newline at end of file diff --git a/admin/compiler/joomla_3/routeHelper.php b/admin/compiler/joomla_3/routeHelper.php new file mode 100644 index 000000000..2f1cfb282 --- /dev/null +++ b/admin/compiler/joomla_3/routeHelper.php @@ -0,0 +1,222 @@ + + @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/joomla_3/router.php b/admin/compiler/joomla_3/router.php new file mode 100644 index 000000000..d2fee4233 --- /dev/null +++ b/admin/compiler/joomla_3/router.php @@ -0,0 +1,202 @@ + + @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/joomla_3/script.php b/admin/compiler/joomla_3/script.php new file mode 100644 index 000000000..2193ffad1 --- /dev/null +++ b/admin/compiler/joomla_3/script.php @@ -0,0 +1,114 @@ + + @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/joomla_3/settings.json b/admin/compiler/joomla_3/settings.json new file mode 100644 index 000000000..08674cc03 --- /dev/null +++ b/admin/compiler/joomla_3/settings.json @@ -0,0 +1,710 @@ +{ + "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/VIEW", + "rename": "layout_custom_admin", + "type": "layout" + } + } + } + } +} \ No newline at end of file diff --git a/admin/compiler/joomla_3/site.css b/admin/compiler/joomla_3/site.css new file mode 100644 index 000000000..b3a8d68ee --- /dev/null +++ b/admin/compiler/joomla_3/site.css @@ -0,0 +1,7 @@ +###BOM### + +/* CSS Document */ +.no-click { + pointer-events: none; +} +###SITECSS### diff --git a/admin/compiler/joomla_3/site.js b/admin/compiler/joomla_3/site.js new file mode 100644 index 000000000..e69de29bb diff --git a/admin/compiler/joomla_3/submitbutton.js b/admin/compiler/joomla_3/submitbutton.js new file mode 100644 index 000000000..84fe0dc54 --- /dev/null +++ b/admin/compiler/joomla_3/submitbutton.js @@ -0,0 +1,27 @@ +###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/joomla_3/view.css b/admin/compiler/joomla_3/view.css new file mode 100644 index 000000000..9e342d690 --- /dev/null +++ b/admin/compiler/joomla_3/view.css @@ -0,0 +1,5 @@ +###BOM### + +/* CSS Document */ + +###VIEWCSS### diff --git a/admin/compiler/joomla_3/view_custom_admin.css b/admin/compiler/joomla_3/view_custom_admin.css new file mode 100644 index 000000000..ea5c57e3f --- /dev/null +++ b/admin/compiler/joomla_3/view_custom_admin.css @@ -0,0 +1,5 @@ +###BOM### + +/* CSS Document */ + +###CUSTOM_ADMIN_VIEWCSS### diff --git a/admin/compiler/joomla_3/view_site.css b/admin/compiler/joomla_3/view_site.css new file mode 100644 index 000000000..cb87e4452 --- /dev/null +++ b/admin/compiler/joomla_3/view_site.css @@ -0,0 +1,5 @@ +###BOM### + +/* CSS Document */ + +###SITE_VIEWCSS### diff --git a/admin/compiler/joomla_3/view_site_edit.css b/admin/compiler/joomla_3/view_site_edit.css new file mode 100644 index 000000000..cb87e4452 --- /dev/null +++ b/admin/compiler/joomla_3/view_site_edit.css @@ -0,0 +1,5 @@ +###BOM### + +/* CSS Document */ + +###SITE_VIEWCSS### diff --git a/admin/compiler/joomla_3/views.css b/admin/compiler/joomla_3/views.css new file mode 100644 index 000000000..748781f8b --- /dev/null +++ b/admin/compiler/joomla_3/views.css @@ -0,0 +1,5 @@ +###BOM### + +/* CSS Document */ + +###VIEWSCSS### diff --git a/admin/compiler/joomla_3/views_custom_admin.css b/admin/compiler/joomla_3/views_custom_admin.css new file mode 100644 index 000000000..ea5c57e3f --- /dev/null +++ b/admin/compiler/joomla_3/views_custom_admin.css @@ -0,0 +1,5 @@ +###BOM### + +/* CSS Document */ + +###CUSTOM_ADMIN_VIEWCSS### diff --git a/admin/compiler/joomla_3/views_site.css b/admin/compiler/joomla_3/views_site.css new file mode 100644 index 000000000..cb87e4452 --- /dev/null +++ b/admin/compiler/joomla_3/views_site.css @@ -0,0 +1,5 @@ +###BOM### + +/* CSS Document */ + +###SITE_VIEWCSS### diff --git a/admin/compiler/joomla_3/wideimage/Canvas.php b/admin/compiler/joomla_3/wideimage/Canvas.php new file mode 100644 index 000000000..359ef51bc --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Canvas.php @@ -0,0 +1,167 @@ +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/joomla_3/wideimage/Coordinate.php b/admin/compiler/joomla_3/wideimage/Coordinate.php new file mode 100644 index 000000000..a3f6f6373 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Coordinate.php @@ -0,0 +1,208 @@ + '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/joomla_3/wideimage/Exception.php b/admin/compiler/joomla_3/wideimage/Exception.php new file mode 100644 index 000000000..0aae4f0f9 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Exception.php @@ -0,0 +1,31 @@ += 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/joomla_3/wideimage/Font/PS.php b/admin/compiler/joomla_3/wideimage/Font/PS.php new file mode 100644 index 000000000..9359e2e5c --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Font/PS.php @@ -0,0 +1,60 @@ +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/joomla_3/wideimage/Font/TTF.php b/admin/compiler/joomla_3/wideimage/Font/TTF.php new file mode 100644 index 000000000..10877117f --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Font/TTF.php @@ -0,0 +1,75 @@ +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/joomla_3/wideimage/Font/index.html b/admin/compiler/joomla_3/wideimage/Font/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Font/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/admin/compiler/joomla_3/wideimage/Image.php b/admin/compiler/joomla_3/wideimage/Image.php new file mode 100644 index 000000000..3a9928000 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Image.php @@ -0,0 +1,964 @@ +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/joomla_3/wideimage/Mapper/BMP.php b/admin/compiler/joomla_3/wideimage/Mapper/BMP.php new file mode 100644 index 000000000..0620f0590 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Mapper/BMP.php @@ -0,0 +1,51 @@ + \ No newline at end of file diff --git a/admin/compiler/joomla_3/wideimage/MapperFactory.php b/admin/compiler/joomla_3/wideimage/MapperFactory.php new file mode 100644 index 000000000..4f453df22 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/MapperFactory.php @@ -0,0 +1,126 @@ + '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/joomla_3/wideimage/Operation/AddNoise.php b/admin/compiler/joomla_3/wideimage/Operation/AddNoise.php new file mode 100644 index 000000000..5206c3ef3 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Operation/AddNoise.php @@ -0,0 +1,153 @@ +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/joomla_3/wideimage/Operation/ApplyConvolution.php b/admin/compiler/joomla_3/wideimage/Operation/ApplyConvolution.php new file mode 100644 index 000000000..9a1c5f74c --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Operation/ApplyConvolution.php @@ -0,0 +1,48 @@ +asTrueColor(); + if (!imageconvolution($new->getHandle(), $matrix, $div, $offset)) + throw new WideImage_GDFunctionResultException("imageconvolution() returned false"); + return $new; + } + } diff --git a/admin/compiler/joomla_3/wideimage/Operation/ApplyFilter.php b/admin/compiler/joomla_3/wideimage/Operation/ApplyFilter.php new file mode 100644 index 000000000..ec6d210b2 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Operation/ApplyFilter.php @@ -0,0 +1,67 @@ +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/joomla_3/wideimage/Operation/ApplyMask.php b/admin/compiler/joomla_3/wideimage/Operation/ApplyMask.php new file mode 100644 index 000000000..949213f0c --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Operation/ApplyMask.php @@ -0,0 +1,105 @@ +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/joomla_3/wideimage/Operation/AsGrayscale.php b/admin/compiler/joomla_3/wideimage/Operation/AsGrayscale.php new file mode 100644 index 000000000..dc72f8554 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Operation/AsGrayscale.php @@ -0,0 +1,49 @@ +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/joomla_3/wideimage/Operation/AsNegative.php b/admin/compiler/joomla_3/wideimage/Operation/AsNegative.php new file mode 100644 index 000000000..9a13c4297 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Operation/AsNegative.php @@ -0,0 +1,63 @@ +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/joomla_3/wideimage/Operation/AutoCrop.php b/admin/compiler/joomla_3/wideimage/Operation/AutoCrop.php new file mode 100644 index 000000000..2fd0909e6 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Operation/AutoCrop.php @@ -0,0 +1,162 @@ +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/joomla_3/wideimage/Operation/CopyChannelsPalette.php b/admin/compiler/joomla_3/wideimage/Operation/CopyChannelsPalette.php new file mode 100644 index 000000000..048975005 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Operation/CopyChannelsPalette.php @@ -0,0 +1,90 @@ + 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/joomla_3/wideimage/Operation/CopyChannelsTrueColor.php b/admin/compiler/joomla_3/wideimage/Operation/CopyChannelsTrueColor.php new file mode 100644 index 000000000..bf39520cd --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Operation/CopyChannelsTrueColor.php @@ -0,0 +1,67 @@ + 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/joomla_3/wideimage/Operation/CorrectGamma.php b/admin/compiler/joomla_3/wideimage/Operation/CorrectGamma.php new file mode 100644 index 000000000..49562f1d3 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Operation/CorrectGamma.php @@ -0,0 +1,48 @@ +copy(); + if (!imagegammacorrect($new->getHandle(), $input_gamma, $output_gamma)) + throw new WideImage_GDFunctionResultException("imagegammacorrect() returned false"); + + return $new; + } + } diff --git a/admin/compiler/joomla_3/wideimage/Operation/Crop.php b/admin/compiler/joomla_3/wideimage/Operation/Crop.php new file mode 100644 index 000000000..6a9d4f5b3 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Operation/Crop.php @@ -0,0 +1,86 @@ +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/joomla_3/wideimage/Operation/Flip.php b/admin/compiler/joomla_3/wideimage/Operation/Flip.php new file mode 100644 index 000000000..d2f189c7b --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Operation/Flip.php @@ -0,0 +1,54 @@ +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/joomla_3/wideimage/Operation/GetMask.php b/admin/compiler/joomla_3/wideimage/Operation/GetMask.php new file mode 100644 index 000000000..f203a91d6 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Operation/GetMask.php @@ -0,0 +1,67 @@ +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/joomla_3/wideimage/Operation/Merge.php b/admin/compiler/joomla_3/wideimage/Operation/Merge.php new file mode 100644 index 000000000..ee897119b --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Operation/Merge.php @@ -0,0 +1,78 @@ +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/joomla_3/wideimage/Operation/Mirror.php b/admin/compiler/joomla_3/wideimage/Operation/Mirror.php new file mode 100644 index 000000000..ebefbfc4f --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Operation/Mirror.php @@ -0,0 +1,55 @@ +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/joomla_3/wideimage/Operation/Resize.php b/admin/compiler/joomla_3/wideimage/Operation/Resize.php new file mode 100644 index 000000000..c495b7cd3 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Operation/Resize.php @@ -0,0 +1,157 @@ +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/joomla_3/wideimage/Operation/ResizeCanvas.php b/admin/compiler/joomla_3/wideimage/Operation/ResizeCanvas.php new file mode 100644 index 000000000..8262b15ae --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Operation/ResizeCanvas.php @@ -0,0 +1,107 @@ +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/joomla_3/wideimage/Operation/Rotate.php b/admin/compiler/joomla_3/wideimage/Operation/Rotate.php new file mode 100644 index 000000000..690b04f52 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Operation/Rotate.php @@ -0,0 +1,64 @@ +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/joomla_3/wideimage/Operation/RoundCorners.php b/admin/compiler/joomla_3/wideimage/Operation/RoundCorners.php new file mode 100644 index 000000000..22eb84991 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Operation/RoundCorners.php @@ -0,0 +1,114 @@ + 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/joomla_3/wideimage/Operation/Unsharp.php b/admin/compiler/joomla_3/wideimage/Operation/Unsharp.php new file mode 100644 index 000000000..4c5087e39 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Operation/Unsharp.php @@ -0,0 +1,135 @@ + 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/joomla_3/wideimage/Operation/index.html b/admin/compiler/joomla_3/wideimage/Operation/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/Operation/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/admin/compiler/joomla_3/wideimage/OperationFactory.php b/admin/compiler/joomla_3/wideimage/OperationFactory.php new file mode 100644 index 000000000..3a5f36c49 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/OperationFactory.php @@ -0,0 +1,57 @@ +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/joomla_3/wideimage/TrueColorImage.php b/admin/compiler/joomla_3/wideimage/TrueColorImage.php new file mode 100644 index 000000000..a4addcdfa --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/TrueColorImage.php @@ -0,0 +1,218 @@ +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/joomla_3/wideimage/WideImage.php b/admin/compiler/joomla_3/wideimage/WideImage.php new file mode 100644 index 000000000..fd5419f5d --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/WideImage.php @@ -0,0 +1,377 @@ + + * 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/joomla_3/wideimage/index.html b/admin/compiler/joomla_3/wideimage/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/admin/compiler/joomla_3/wideimage/vendor/de77/index.html b/admin/compiler/joomla_3/wideimage/vendor/de77/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/vendor/de77/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/admin/compiler/joomla_3/wideimage/vendor/index.html b/admin/compiler/joomla_3/wideimage/vendor/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/compiler/joomla_3/wideimage/vendor/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/admin/compiler/vdm.txt b/admin/compiler/vdm.txt new file mode 100644 index 000000000..77d1f00f8 --- /dev/null +++ b/admin/compiler/vdm.txt @@ -0,0 +1,23 @@ +/*--------------------------------------------------------------------------------------------------------| 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/componentbuilder.php b/admin/componentbuilder.php new file mode 100644 index 000000000..31544e297 --- /dev/null +++ b/admin/componentbuilder.php @@ -0,0 +1,60 @@ + + @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/config.xml b/admin/config.xml new file mode 100644 index 000000000..9dc360744 --- /dev/null +++ b/admin/config.xml @@ -0,0 +1,504 @@ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + " + " + " + " + + + + " + " + + + + " + " + " + +
+
+ + +
+
+ + + + + + + + + + + + + + + + + +
+
+ +
+
\ No newline at end of file diff --git a/admin/controller.php b/admin/controller.php new file mode 100644 index 000000000..4b6f7ec2c --- /dev/null +++ b/admin/controller.php @@ -0,0 +1,117 @@ + + @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/controllers/admin_view.php b/admin/controllers/admin_view.php new file mode 100644 index 000000000..aa62a731d --- /dev/null +++ b/admin/controllers/admin_view.php @@ -0,0 +1,327 @@ + + @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/controllers/admin_views.php b/admin/controllers/admin_views.php new file mode 100644 index 000000000..ae7a636b6 --- /dev/null +++ b/admin/controllers/admin_views.php @@ -0,0 +1,112 @@ + + @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/controllers/ajax.json.php b/admin/controllers/ajax.json.php new file mode 100644 index 000000000..853cfd125 --- /dev/null +++ b/admin/controllers/ajax.json.php @@ -0,0 +1,419 @@ + + @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/controllers/compiler.php b/admin/controllers/compiler.php new file mode 100644 index 000000000..4afe493bd --- /dev/null +++ b/admin/controllers/compiler.php @@ -0,0 +1,204 @@ + + @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/controllers/component.php b/admin/controllers/component.php new file mode 100644 index 000000000..2a53fd8cc --- /dev/null +++ b/admin/controllers/component.php @@ -0,0 +1,313 @@ + + @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/controllers/componentbuilder.php b/admin/controllers/componentbuilder.php new file mode 100644 index 000000000..c16d393d0 --- /dev/null +++ b/admin/controllers/componentbuilder.php @@ -0,0 +1,39 @@ + + @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/controllers/components.php b/admin/controllers/components.php new file mode 100644 index 000000000..592825862 --- /dev/null +++ b/admin/controllers/components.php @@ -0,0 +1,112 @@ + + @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/controllers/custom_admin_view.php b/admin/controllers/custom_admin_view.php new file mode 100644 index 000000000..1e61716a1 --- /dev/null +++ b/admin/controllers/custom_admin_view.php @@ -0,0 +1,327 @@ + + @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/controllers/custom_admin_views.php b/admin/controllers/custom_admin_views.php new file mode 100644 index 000000000..cb929a0f5 --- /dev/null +++ b/admin/controllers/custom_admin_views.php @@ -0,0 +1,112 @@ + + @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/controllers/dynamic_get.php b/admin/controllers/dynamic_get.php new file mode 100644 index 000000000..7d7d86651 --- /dev/null +++ b/admin/controllers/dynamic_get.php @@ -0,0 +1,327 @@ + + @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/controllers/dynamic_gets.php b/admin/controllers/dynamic_gets.php new file mode 100644 index 000000000..2cacabb6c --- /dev/null +++ b/admin/controllers/dynamic_gets.php @@ -0,0 +1,112 @@ + + @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/controllers/field.php b/admin/controllers/field.php new file mode 100644 index 000000000..32869c7ee --- /dev/null +++ b/admin/controllers/field.php @@ -0,0 +1,357 @@ + + @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/controllers/fields.php b/admin/controllers/fields.php new file mode 100644 index 000000000..1e5b91d25 --- /dev/null +++ b/admin/controllers/fields.php @@ -0,0 +1,112 @@ + + @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/controllers/fieldtype.php b/admin/controllers/fieldtype.php new file mode 100644 index 000000000..a36c8e042 --- /dev/null +++ b/admin/controllers/fieldtype.php @@ -0,0 +1,357 @@ + + @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/controllers/fieldtypes.php b/admin/controllers/fieldtypes.php new file mode 100644 index 000000000..9ef4770ed --- /dev/null +++ b/admin/controllers/fieldtypes.php @@ -0,0 +1,112 @@ + + @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/controllers/help.php b/admin/controllers/help.php new file mode 100644 index 000000000..fcf19337b --- /dev/null +++ b/admin/controllers/help.php @@ -0,0 +1,130 @@ + + @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/controllers/help_document.php b/admin/controllers/help_document.php new file mode 100644 index 000000000..9062eb8b1 --- /dev/null +++ b/admin/controllers/help_document.php @@ -0,0 +1,327 @@ + + @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/controllers/help_documents.php b/admin/controllers/help_documents.php new file mode 100644 index 000000000..fd9aad829 --- /dev/null +++ b/admin/controllers/help_documents.php @@ -0,0 +1,112 @@ + + @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/controllers/import.php b/admin/controllers/import.php new file mode 100644 index 000000000..c2802fca0 --- /dev/null +++ b/admin/controllers/import.php @@ -0,0 +1,68 @@ + + @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/controllers/index.html b/admin/controllers/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/controllers/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/admin/controllers/layout.php b/admin/controllers/layout.php new file mode 100644 index 000000000..90c697384 --- /dev/null +++ b/admin/controllers/layout.php @@ -0,0 +1,327 @@ + + @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/controllers/layouts.php b/admin/controllers/layouts.php new file mode 100644 index 000000000..d43f9ce12 --- /dev/null +++ b/admin/controllers/layouts.php @@ -0,0 +1,112 @@ + + @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/controllers/site_view.php b/admin/controllers/site_view.php new file mode 100644 index 000000000..88b9938c3 --- /dev/null +++ b/admin/controllers/site_view.php @@ -0,0 +1,327 @@ + + @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/controllers/site_views.php b/admin/controllers/site_views.php new file mode 100644 index 000000000..ff4e08035 --- /dev/null +++ b/admin/controllers/site_views.php @@ -0,0 +1,112 @@ + + @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/controllers/snippet.php b/admin/controllers/snippet.php new file mode 100644 index 000000000..792dc2b94 --- /dev/null +++ b/admin/controllers/snippet.php @@ -0,0 +1,327 @@ + + @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/controllers/snippets.php b/admin/controllers/snippets.php new file mode 100644 index 000000000..03d01bc79 --- /dev/null +++ b/admin/controllers/snippets.php @@ -0,0 +1,112 @@ + + @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/controllers/template.php b/admin/controllers/template.php new file mode 100644 index 000000000..261fa684e --- /dev/null +++ b/admin/controllers/template.php @@ -0,0 +1,327 @@ + + @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/controllers/templates.php b/admin/controllers/templates.php new file mode 100644 index 000000000..cab479730 --- /dev/null +++ b/admin/controllers/templates.php @@ -0,0 +1,112 @@ + + @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/custom/PHPExcel.php b/admin/custom/PHPExcel.php new file mode 100644 index 000000000..27aa77ae7 --- /dev/null +++ b/admin/custom/PHPExcel.php @@ -0,0 +1,1139 @@ +_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/custom/PHPExcel/Autoloader.php b/admin/custom/PHPExcel/Autoloader.php new file mode 100644 index 000000000..f0b225163 --- /dev/null +++ b/admin/custom/PHPExcel/Autoloader.php @@ -0,0 +1,89 @@ += 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/custom/PHPExcel/CachedObjectStorage/APC.php b/admin/custom/PHPExcel/CachedObjectStorage/APC.php new file mode 100644 index 000000000..8bde7fe3e --- /dev/null +++ b/admin/custom/PHPExcel/CachedObjectStorage/APC.php @@ -0,0 +1,295 @@ +_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/custom/PHPExcel/CachedObjectStorage/CacheBase.php b/admin/custom/PHPExcel/CachedObjectStorage/CacheBase.php new file mode 100644 index 000000000..9f780b2a6 --- /dev/null +++ b/admin/custom/PHPExcel/CachedObjectStorage/CacheBase.php @@ -0,0 +1,347 @@ +_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/custom/PHPExcel/CachedObjectStorage/DiscISAM.php b/admin/custom/PHPExcel/CachedObjectStorage/DiscISAM.php new file mode 100644 index 000000000..cb38d0de4 --- /dev/null +++ b/admin/custom/PHPExcel/CachedObjectStorage/DiscISAM.php @@ -0,0 +1,219 @@ +_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/custom/PHPExcel/CachedObjectStorage/ICache.php b/admin/custom/PHPExcel/CachedObjectStorage/ICache.php new file mode 100644 index 000000000..220905cd4 --- /dev/null +++ b/admin/custom/PHPExcel/CachedObjectStorage/ICache.php @@ -0,0 +1,112 @@ +_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/custom/PHPExcel/CachedObjectStorage/Memcache.php b/admin/custom/PHPExcel/CachedObjectStorage/Memcache.php new file mode 100644 index 000000000..6a096769e --- /dev/null +++ b/admin/custom/PHPExcel/CachedObjectStorage/Memcache.php @@ -0,0 +1,312 @@ +_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/custom/PHPExcel/CachedObjectStorage/Memory.php b/admin/custom/PHPExcel/CachedObjectStorage/Memory.php new file mode 100644 index 000000000..1319a18de --- /dev/null +++ b/admin/custom/PHPExcel/CachedObjectStorage/Memory.php @@ -0,0 +1,125 @@ +_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/custom/PHPExcel/CachedObjectStorage/MemoryGZip.php b/admin/custom/PHPExcel/CachedObjectStorage/MemoryGZip.php new file mode 100644 index 000000000..e35563c4e --- /dev/null +++ b/admin/custom/PHPExcel/CachedObjectStorage/MemoryGZip.php @@ -0,0 +1,137 @@ +_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/custom/PHPExcel/CachedObjectStorage/MemorySerialized.php b/admin/custom/PHPExcel/CachedObjectStorage/MemorySerialized.php new file mode 100644 index 000000000..1082deae5 --- /dev/null +++ b/admin/custom/PHPExcel/CachedObjectStorage/MemorySerialized.php @@ -0,0 +1,137 @@ +_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/custom/PHPExcel/CachedObjectStorage/PHPTemp.php b/admin/custom/PHPExcel/CachedObjectStorage/PHPTemp.php new file mode 100644 index 000000000..e28429dec --- /dev/null +++ b/admin/custom/PHPExcel/CachedObjectStorage/PHPTemp.php @@ -0,0 +1,206 @@ +_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/custom/PHPExcel/CachedObjectStorage/SQLite.php b/admin/custom/PHPExcel/CachedObjectStorage/SQLite.php new file mode 100644 index 000000000..dd4f0e99d --- /dev/null +++ b/admin/custom/PHPExcel/CachedObjectStorage/SQLite.php @@ -0,0 +1,306 @@ +_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/custom/PHPExcel/CachedObjectStorage/SQLite3.php b/admin/custom/PHPExcel/CachedObjectStorage/SQLite3.php new file mode 100644 index 000000000..bdc1d9793 --- /dev/null +++ b/admin/custom/PHPExcel/CachedObjectStorage/SQLite3.php @@ -0,0 +1,345 @@ +_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/custom/PHPExcel/CachedObjectStorage/Wincache.php b/admin/custom/PHPExcel/CachedObjectStorage/Wincache.php new file mode 100644 index 000000000..cdbef641b --- /dev/null +++ b/admin/custom/PHPExcel/CachedObjectStorage/Wincache.php @@ -0,0 +1,294 @@ +_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/custom/PHPExcel/CachedObjectStorage/index.html b/admin/custom/PHPExcel/CachedObjectStorage/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/CachedObjectStorage/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/admin/custom/PHPExcel/CachedObjectStorageFactory.php b/admin/custom/PHPExcel/CachedObjectStorageFactory.php new file mode 100644 index 000000000..2da92346e --- /dev/null +++ b/admin/custom/PHPExcel/CachedObjectStorageFactory.php @@ -0,0 +1,251 @@ + 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/custom/PHPExcel/CalcEngine/CyclicReferenceStack.php b/admin/custom/PHPExcel/CalcEngine/CyclicReferenceStack.php new file mode 100644 index 000000000..a633c2c3a --- /dev/null +++ b/admin/custom/PHPExcel/CalcEngine/CyclicReferenceStack.php @@ -0,0 +1,98 @@ +_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/custom/PHPExcel/CalcEngine/Logger.php b/admin/custom/PHPExcel/CalcEngine/Logger.php new file mode 100644 index 000000000..fe43ae4f6 --- /dev/null +++ b/admin/custom/PHPExcel/CalcEngine/Logger.php @@ -0,0 +1,153 @@ +_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/custom/PHPExcel/CalcEngine/index.html b/admin/custom/PHPExcel/CalcEngine/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/CalcEngine/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/admin/custom/PHPExcel/Calculation.php b/admin/custom/PHPExcel/Calculation.php new file mode 100644 index 000000000..fa89671fe --- /dev/null +++ b/admin/custom/PHPExcel/Calculation.php @@ -0,0 +1,3946 @@ +=-]*)|(\'[^\']*\')|(\"[^\"]*\"))!)?\$?([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/custom/PHPExcel/Calculation/Database.php b/admin/custom/PHPExcel/Calculation/Database.php new file mode 100644 index 000000000..908decfc4 --- /dev/null +++ b/admin/custom/PHPExcel/Calculation/Database.php @@ -0,0 +1,725 @@ + $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/custom/PHPExcel/Calculation/DateTime.php b/admin/custom/PHPExcel/Calculation/DateTime.php new file mode 100644 index 000000000..6eb96fd2c --- /dev/null +++ b/admin/custom/PHPExcel/Calculation/DateTime.php @@ -0,0 +1,1475 @@ +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/custom/PHPExcel/Calculation/Engineering.php b/admin/custom/PHPExcel/Calculation/Engineering.php new file mode 100644 index 000000000..b60163e56 --- /dev/null +++ b/admin/custom/PHPExcel/Calculation/Engineering.php @@ -0,0 +1,2505 @@ + 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/custom/PHPExcel/Calculation/Exception.php b/admin/custom/PHPExcel/Calculation/Exception.php new file mode 100644 index 000000000..2ddf666df --- /dev/null +++ b/admin/custom/PHPExcel/Calculation/Exception.php @@ -0,0 +1,52 @@ +line = $line; + $e->file = $file; + throw $e; + } +} diff --git a/admin/custom/PHPExcel/Calculation/ExceptionHandler.php b/admin/custom/PHPExcel/Calculation/ExceptionHandler.php new file mode 100644 index 000000000..41c42d7ac --- /dev/null +++ b/admin/custom/PHPExcel/Calculation/ExceptionHandler.php @@ -0,0 +1,49 @@ +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/custom/PHPExcel/Calculation/FormulaParser.php b/admin/custom/PHPExcel/Calculation/FormulaParser.php new file mode 100644 index 000000000..3884fd20a --- /dev/null +++ b/admin/custom/PHPExcel/Calculation/FormulaParser.php @@ -0,0 +1,614 @@ +<"; + 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/custom/PHPExcel/Calculation/FormulaToken.php b/admin/custom/PHPExcel/Calculation/FormulaToken.php new file mode 100644 index 000000000..ad10c00a2 --- /dev/null +++ b/admin/custom/PHPExcel/Calculation/FormulaToken.php @@ -0,0 +1,176 @@ +_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/custom/PHPExcel/Calculation/Function.php b/admin/custom/PHPExcel/Calculation/Function.php new file mode 100644 index 000000000..1301cd096 --- /dev/null +++ b/admin/custom/PHPExcel/Calculation/Function.php @@ -0,0 +1,149 @@ +_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/custom/PHPExcel/Calculation/Functions.php b/admin/custom/PHPExcel/Calculation/Functions.php new file mode 100644 index 000000000..9a139ec79 --- /dev/null +++ b/admin/custom/PHPExcel/Calculation/Functions.php @@ -0,0 +1,725 @@ + '#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/custom/PHPExcel/Calculation/Logical.php b/admin/custom/PHPExcel/Calculation/Logical.php new file mode 100644 index 000000000..48fdb17f4 --- /dev/null +++ b/admin/custom/PHPExcel/Calculation/Logical.php @@ -0,0 +1,288 @@ + $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/custom/PHPExcel/Calculation/LookupRef.php b/admin/custom/PHPExcel/Calculation/LookupRef.php new file mode 100644 index 000000000..94f42e5f2 --- /dev/null +++ b/admin/custom/PHPExcel/Calculation/LookupRef.php @@ -0,0 +1,881 @@ + '') { + 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/custom/PHPExcel/Calculation/MathTrig.php b/admin/custom/PHPExcel/Calculation/MathTrig.php new file mode 100644 index 000000000..b2bb19d48 --- /dev/null +++ b/admin/custom/PHPExcel/Calculation/MathTrig.php @@ -0,0 +1,1373 @@ + 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/custom/PHPExcel/Calculation/Statistical.php b/admin/custom/PHPExcel/Calculation/Statistical.php new file mode 100644 index 000000000..67e1951c2 --- /dev/null +++ b/admin/custom/PHPExcel/Calculation/Statistical.php @@ -0,0 +1,3651 @@ + $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/custom/PHPExcel/Calculation/TextData.php b/admin/custom/PHPExcel/Calculation/TextData.php new file mode 100644 index 000000000..7a52d2e7f --- /dev/null +++ b/admin/custom/PHPExcel/Calculation/TextData.php @@ -0,0 +1,631 @@ +=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/custom/PHPExcel/Calculation/Token/Stack.php b/admin/custom/PHPExcel/Calculation/Token/Stack.php new file mode 100644 index 000000000..57963e738 --- /dev/null +++ b/admin/custom/PHPExcel/Calculation/Token/Stack.php @@ -0,0 +1,115 @@ +_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/custom/PHPExcel/Calculation/Token/index.html b/admin/custom/PHPExcel/Calculation/Token/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Calculation/Token/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/admin/custom/PHPExcel/Calculation/functionlist.txt b/admin/custom/PHPExcel/Calculation/functionlist.txt new file mode 100644 index 000000000..67dbd49cf --- /dev/null +++ b/admin/custom/PHPExcel/Calculation/functionlist.txt @@ -0,0 +1,351 @@ +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/custom/PHPExcel/Calculation/index.html b/admin/custom/PHPExcel/Calculation/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Calculation/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/admin/custom/PHPExcel/Cell.php b/admin/custom/PHPExcel/Cell.php new file mode 100644 index 000000000..2d5f9102d --- /dev/null +++ b/admin/custom/PHPExcel/Cell.php @@ -0,0 +1,1022 @@ +_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/custom/PHPExcel/Cell/AdvancedValueBinder.php b/admin/custom/PHPExcel/Cell/AdvancedValueBinder.php new file mode 100644 index 000000000..f4280ac49 --- /dev/null +++ b/admin/custom/PHPExcel/Cell/AdvancedValueBinder.php @@ -0,0 +1,192 @@ +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/custom/PHPExcel/Cell/DataType.php b/admin/custom/PHPExcel/Cell/DataType.php new file mode 100644 index 000000000..07e148a50 --- /dev/null +++ b/admin/custom/PHPExcel/Cell/DataType.php @@ -0,0 +1,122 @@ + 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/custom/PHPExcel/Cell/DataValidation.php b/admin/custom/PHPExcel/Cell/DataValidation.php new file mode 100644 index 000000000..538ecd1fb --- /dev/null +++ b/admin/custom/PHPExcel/Cell/DataValidation.php @@ -0,0 +1,472 @@ +_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/custom/PHPExcel/Cell/DefaultValueBinder.php b/admin/custom/PHPExcel/Cell/DefaultValueBinder.php new file mode 100644 index 000000000..59a9c7137 --- /dev/null +++ b/admin/custom/PHPExcel/Cell/DefaultValueBinder.php @@ -0,0 +1,100 @@ +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/custom/PHPExcel/Cell/Hyperlink.php b/admin/custom/PHPExcel/Cell/Hyperlink.php new file mode 100644 index 000000000..178ba7ee2 --- /dev/null +++ b/admin/custom/PHPExcel/Cell/Hyperlink.php @@ -0,0 +1,126 @@ +_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/custom/PHPExcel/Cell/IValueBinder.php b/admin/custom/PHPExcel/Cell/IValueBinder.php new file mode 100644 index 000000000..551815523 --- /dev/null +++ b/admin/custom/PHPExcel/Cell/IValueBinder.php @@ -0,0 +1,46 @@ + \ No newline at end of file diff --git a/admin/custom/PHPExcel/Chart.php b/admin/custom/PHPExcel/Chart.php new file mode 100644 index 000000000..b9146b34b --- /dev/null +++ b/admin/custom/PHPExcel/Chart.php @@ -0,0 +1,635 @@ +_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/custom/PHPExcel/Chart/Axis.php b/admin/custom/PHPExcel/Chart/Axis.php new file mode 100644 index 000000000..efb39e9f4 --- /dev/null +++ b/admin/custom/PHPExcel/Chart/Axis.php @@ -0,0 +1,584 @@ + 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/custom/PHPExcel/Chart/DataSeries.php b/admin/custom/PHPExcel/Chart/DataSeries.php new file mode 100644 index 000000000..86e61eb17 --- /dev/null +++ b/admin/custom/PHPExcel/Chart/DataSeries.php @@ -0,0 +1,365 @@ +_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/custom/PHPExcel/Chart/DataSeriesValues.php b/admin/custom/PHPExcel/Chart/DataSeriesValues.php new file mode 100644 index 000000000..731d2c922 --- /dev/null +++ b/admin/custom/PHPExcel/Chart/DataSeriesValues.php @@ -0,0 +1,327 @@ +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/custom/PHPExcel/Chart/Exception.php b/admin/custom/PHPExcel/Chart/Exception.php new file mode 100644 index 000000000..58b5b5822 --- /dev/null +++ b/admin/custom/PHPExcel/Chart/Exception.php @@ -0,0 +1,52 @@ +line = $line; + $e->file = $file; + throw $e; + } +} diff --git a/admin/custom/PHPExcel/Chart/GridLines.php b/admin/custom/PHPExcel/Chart/GridLines.php new file mode 100644 index 000000000..7467ea7ea --- /dev/null +++ b/admin/custom/PHPExcel/Chart/GridLines.php @@ -0,0 +1,458 @@ + 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/custom/PHPExcel/Chart/Layout.php b/admin/custom/PHPExcel/Chart/Layout.php new file mode 100644 index 000000000..eefa157a9 --- /dev/null +++ b/admin/custom/PHPExcel/Chart/Layout.php @@ -0,0 +1,445 @@ +_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/custom/PHPExcel/Chart/Legend.php b/admin/custom/PHPExcel/Chart/Legend.php new file mode 100644 index 000000000..783b3d429 --- /dev/null +++ b/admin/custom/PHPExcel/Chart/Legend.php @@ -0,0 +1,171 @@ + 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/custom/PHPExcel/Chart/PlotArea.php b/admin/custom/PHPExcel/Chart/PlotArea.php new file mode 100644 index 000000000..c917ce305 --- /dev/null +++ b/admin/custom/PHPExcel/Chart/PlotArea.php @@ -0,0 +1,128 @@ +_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/custom/PHPExcel/Chart/Properties.php b/admin/custom/PHPExcel/Chart/Properties.php new file mode 100644 index 000000000..7593983c0 --- /dev/null +++ b/admin/custom/PHPExcel/Chart/Properties.php @@ -0,0 +1,359 @@ + (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/custom/PHPExcel/Chart/Renderer/PHP Charting Libraries.txt b/admin/custom/PHPExcel/Chart/Renderer/PHP Charting Libraries.txt new file mode 100644 index 000000000..20a825885 --- /dev/null +++ b/admin/custom/PHPExcel/Chart/Renderer/PHP Charting Libraries.txt @@ -0,0 +1,17 @@ +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/custom/PHPExcel/Chart/Renderer/index.html b/admin/custom/PHPExcel/Chart/Renderer/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Chart/Renderer/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/admin/custom/PHPExcel/Chart/Renderer/jpgraph.php b/admin/custom/PHPExcel/Chart/Renderer/jpgraph.php new file mode 100644 index 000000000..99a0b97ad --- /dev/null +++ b/admin/custom/PHPExcel/Chart/Renderer/jpgraph.php @@ -0,0 +1,855 @@ + 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/custom/PHPExcel/Chart/Title.php b/admin/custom/PHPExcel/Chart/Title.php new file mode 100644 index 000000000..5d226c4b2 --- /dev/null +++ b/admin/custom/PHPExcel/Chart/Title.php @@ -0,0 +1,92 @@ +_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/custom/PHPExcel/Chart/index.html b/admin/custom/PHPExcel/Chart/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Chart/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/admin/custom/PHPExcel/Comment.php b/admin/custom/PHPExcel/Comment.php new file mode 100644 index 000000000..8b8cfdcc4 --- /dev/null +++ b/admin/custom/PHPExcel/Comment.php @@ -0,0 +1,327 @@ +_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/custom/PHPExcel/DocumentProperties.php b/admin/custom/PHPExcel/DocumentProperties.php new file mode 100644 index 000000000..7b4a0e435 --- /dev/null +++ b/admin/custom/PHPExcel/DocumentProperties.php @@ -0,0 +1,587 @@ +_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/custom/PHPExcel/DocumentSecurity.php b/admin/custom/PHPExcel/DocumentSecurity.php new file mode 100644 index 000000000..cf7ffb57c --- /dev/null +++ b/admin/custom/PHPExcel/DocumentSecurity.php @@ -0,0 +1,218 @@ +_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/custom/PHPExcel/Exception.php b/admin/custom/PHPExcel/Exception.php new file mode 100644 index 000000000..578b9eeee --- /dev/null +++ b/admin/custom/PHPExcel/Exception.php @@ -0,0 +1,52 @@ +line = $line; + $e->file = $file; + throw $e; + } +} diff --git a/admin/custom/PHPExcel/HashTable.php b/admin/custom/PHPExcel/HashTable.php new file mode 100644 index 000000000..77106e1e0 --- /dev/null +++ b/admin/custom/PHPExcel/HashTable.php @@ -0,0 +1,202 @@ +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/custom/PHPExcel/IComparable.php b/admin/custom/PHPExcel/IComparable.php new file mode 100644 index 000000000..adb9a016d --- /dev/null +++ b/admin/custom/PHPExcel/IComparable.php @@ -0,0 +1,43 @@ + '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/custom/PHPExcel/NamedRange.php b/admin/custom/PHPExcel/NamedRange.php new file mode 100644 index 000000000..fe245e3ee --- /dev/null +++ b/admin/custom/PHPExcel/NamedRange.php @@ -0,0 +1,246 @@ +_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/custom/PHPExcel/Reader/Abstract.php b/admin/custom/PHPExcel/Reader/Abstract.php new file mode 100644 index 000000000..1a6b422ff --- /dev/null +++ b/admin/custom/PHPExcel/Reader/Abstract.php @@ -0,0 +1,230 @@ +_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/custom/PHPExcel/Reader/CSV.php b/admin/custom/PHPExcel/Reader/CSV.php new file mode 100644 index 000000000..22176fdc9 --- /dev/null +++ b/admin/custom/PHPExcel/Reader/CSV.php @@ -0,0 +1,387 @@ +_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/custom/PHPExcel/Reader/DefaultReadFilter.php b/admin/custom/PHPExcel/Reader/DefaultReadFilter.php new file mode 100644 index 000000000..dc55fc6bd --- /dev/null +++ b/admin/custom/PHPExcel/Reader/DefaultReadFilter.php @@ -0,0 +1,58 @@ +_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/custom/PHPExcel/Reader/Excel2007.php b/admin/custom/PHPExcel/Reader/Excel2007.php new file mode 100644 index 000000000..afe3b5c8e --- /dev/null +++ b/admin/custom/PHPExcel/Reader/Excel2007.php @@ -0,0 +1,2085 @@ +_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/custom/PHPExcel/Reader/Excel2007/Chart.php b/admin/custom/PHPExcel/Reader/Excel2007/Chart.php new file mode 100644 index 000000000..1424276c6 --- /dev/null +++ b/admin/custom/PHPExcel/Reader/Excel2007/Chart.php @@ -0,0 +1,517 @@ +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/custom/PHPExcel/Reader/Excel2007/Theme.php b/admin/custom/PHPExcel/Reader/Excel2007/Theme.php new file mode 100644 index 000000000..a371c6208 --- /dev/null +++ b/admin/custom/PHPExcel/Reader/Excel2007/Theme.php @@ -0,0 +1,124 @@ +_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/custom/PHPExcel/Reader/Excel2007/index.html b/admin/custom/PHPExcel/Reader/Excel2007/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Reader/Excel2007/index.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/admin/custom/PHPExcel/Reader/Excel5.php b/admin/custom/PHPExcel/Reader/Excel5.php new file mode 100644 index 000000000..f2893ece7 --- /dev/null +++ b/admin/custom/PHPExcel/Reader/Excel5.php @@ -0,0 +1,7088 @@ +_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/custom/PHPExcel/Reader/Excel5/Escher.php b/admin/custom/PHPExcel/Reader/Excel5/Escher.php new file mode 100644 index 000000000..8dc5e902e --- /dev/null +++ b/admin/custom/PHPExcel/Reader/Excel5/Escher.php @@ -0,0 +1,640 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Reader/Excel5/MD5.php b/admin/custom/PHPExcel/Reader/Excel5/MD5.php new file mode 100644 index 000000000..097e9753f --- /dev/null +++ b/admin/custom/PHPExcel/Reader/Excel5/MD5.php @@ -0,0 +1,221 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Reader/Excel5/RC4.php b/admin/custom/PHPExcel/Reader/Excel5/RC4.php new file mode 100644 index 000000000..199ee1921 --- /dev/null +++ b/admin/custom/PHPExcel/Reader/Excel5/RC4.php @@ -0,0 +1,88 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Reader/Excel5/index.html b/admin/custom/PHPExcel/Reader/Excel5/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Reader/Excel5/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/Reader/Exception.php b/admin/custom/PHPExcel/Reader/Exception.php new file mode 100644 index 000000000..d0e2f5707 --- /dev/null +++ b/admin/custom/PHPExcel/Reader/Exception.php @@ -0,0 +1,52 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Reader/Gnumeric.php b/admin/custom/PHPExcel/Reader/Gnumeric.php new file mode 100644 index 000000000..d8121495d --- /dev/null +++ b/admin/custom/PHPExcel/Reader/Gnumeric.php @@ -0,0 +1,873 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Reader/HTML.php b/admin/custom/PHPExcel/Reader/HTML.php new file mode 100644 index 000000000..6adcc857a --- /dev/null +++ b/admin/custom/PHPExcel/Reader/HTML.php @@ -0,0 +1,469 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Reader/IReadFilter.php b/admin/custom/PHPExcel/Reader/IReadFilter.php new file mode 100644 index 000000000..f27cff8b9 --- /dev/null +++ b/admin/custom/PHPExcel/Reader/IReadFilter.php @@ -0,0 +1,47 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Reader/IReader.php b/admin/custom/PHPExcel/Reader/IReader.php new file mode 100644 index 000000000..b543df4a7 --- /dev/null +++ b/admin/custom/PHPExcel/Reader/IReader.php @@ -0,0 +1,54 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Reader/OOCalc.php b/admin/custom/PHPExcel/Reader/OOCalc.php new file mode 100644 index 000000000..4ffed2b3b --- /dev/null +++ b/admin/custom/PHPExcel/Reader/OOCalc.php @@ -0,0 +1,711 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Reader/SYLK.php b/admin/custom/PHPExcel/Reader/SYLK.php new file mode 100644 index 000000000..b61118a3b --- /dev/null +++ b/admin/custom/PHPExcel/Reader/SYLK.php @@ -0,0 +1,450 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Reader/index.html b/admin/custom/PHPExcel/Reader/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Reader/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/ReferenceHelper.php b/admin/custom/PHPExcel/ReferenceHelper.php new file mode 100644 index 000000000..9eadab4d5 --- /dev/null +++ b/admin/custom/PHPExcel/ReferenceHelper.php @@ -0,0 +1,922 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/RichText.php b/admin/custom/PHPExcel/RichText.php new file mode 100644 index 000000000..19326315b --- /dev/null +++ b/admin/custom/PHPExcel/RichText.php @@ -0,0 +1,199 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/RichText/ITextElement.php b/admin/custom/PHPExcel/RichText/ITextElement.php new file mode 100644 index 000000000..9f1c6240a --- /dev/null +++ b/admin/custom/PHPExcel/RichText/ITextElement.php @@ -0,0 +1,64 @@ +<?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/custom/PHPExcel/RichText/Run.php b/admin/custom/PHPExcel/RichText/Run.php new file mode 100644 index 000000000..4a8c592e3 --- /dev/null +++ b/admin/custom/PHPExcel/RichText/Run.php @@ -0,0 +1,102 @@ +<?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/custom/PHPExcel/RichText/TextElement.php b/admin/custom/PHPExcel/RichText/TextElement.php new file mode 100644 index 000000000..ec7c2644e --- /dev/null +++ b/admin/custom/PHPExcel/RichText/TextElement.php @@ -0,0 +1,108 @@ +<?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/custom/PHPExcel/RichText/index.html b/admin/custom/PHPExcel/RichText/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/RichText/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/Settings.php b/admin/custom/PHPExcel/Settings.php new file mode 100644 index 000000000..c78d9350d --- /dev/null +++ b/admin/custom/PHPExcel/Settings.php @@ -0,0 +1,391 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/CodePage.php b/admin/custom/PHPExcel/Shared/CodePage.php new file mode 100644 index 000000000..01e0ea4f3 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/CodePage.php @@ -0,0 +1,105 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/Date.php b/admin/custom/PHPExcel/Shared/Date.php new file mode 100644 index 000000000..75f367eac --- /dev/null +++ b/admin/custom/PHPExcel/Shared/Date.php @@ -0,0 +1,393 @@ +<?php + +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/Drawing.php b/admin/custom/PHPExcel/Shared/Drawing.php new file mode 100644 index 000000000..dbff74abc --- /dev/null +++ b/admin/custom/PHPExcel/Shared/Drawing.php @@ -0,0 +1,272 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/Escher.php b/admin/custom/PHPExcel/Shared/Escher.php new file mode 100644 index 000000000..ddf68c65b --- /dev/null +++ b/admin/custom/PHPExcel/Shared/Escher.php @@ -0,0 +1,91 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/Escher/DgContainer.php b/admin/custom/PHPExcel/Shared/Escher/DgContainer.php new file mode 100644 index 000000000..cb826db10 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/Escher/DgContainer.php @@ -0,0 +1,83 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/Escher/DgContainer/SpgrContainer.php b/admin/custom/PHPExcel/Shared/Escher/DgContainer/SpgrContainer.php new file mode 100644 index 000000000..b8ad8eafd --- /dev/null +++ b/admin/custom/PHPExcel/Shared/Escher/DgContainer/SpgrContainer.php @@ -0,0 +1,109 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php b/admin/custom/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php new file mode 100644 index 000000000..682314801 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php @@ -0,0 +1,395 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/index.html b/admin/custom/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/Shared/Escher/DgContainer/index.html b/admin/custom/PHPExcel/Shared/Escher/DgContainer/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/Escher/DgContainer/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/Shared/Escher/DggContainer.php b/admin/custom/PHPExcel/Shared/Escher/DggContainer.php new file mode 100644 index 000000000..26696ec9d --- /dev/null +++ b/admin/custom/PHPExcel/Shared/Escher/DggContainer.php @@ -0,0 +1,203 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer.php b/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer.php new file mode 100644 index 000000000..fba2e73fa --- /dev/null +++ b/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer.php @@ -0,0 +1,65 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE.php b/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE.php new file mode 100644 index 000000000..418896a34 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE.php @@ -0,0 +1,120 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/Blip.php b/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/Blip.php new file mode 100644 index 000000000..d9cc2f5c0 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/Blip.php @@ -0,0 +1,91 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/index.html b/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/index.html b/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/Shared/Escher/DggContainer/index.html b/admin/custom/PHPExcel/Shared/Escher/DggContainer/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/Escher/DggContainer/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/Shared/Escher/index.html b/admin/custom/PHPExcel/Shared/Escher/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/Escher/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/Shared/Excel5.php b/admin/custom/PHPExcel/Shared/Excel5.php new file mode 100644 index 000000000..3caf675dd --- /dev/null +++ b/admin/custom/PHPExcel/Shared/Excel5.php @@ -0,0 +1,317 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/File.php b/admin/custom/PHPExcel/Shared/File.php new file mode 100644 index 000000000..52c9b9796 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/File.php @@ -0,0 +1,178 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/Font.php b/admin/custom/PHPExcel/Shared/Font.php new file mode 100644 index 000000000..ee0702e44 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/Font.php @@ -0,0 +1,773 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/JAMA/CHANGELOG.TXT b/admin/custom/PHPExcel/Shared/JAMA/CHANGELOG.TXT new file mode 100644 index 000000000..1c18a5da3 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/JAMA/CHANGELOG.TXT @@ -0,0 +1,16 @@ +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/custom/PHPExcel/Shared/JAMA/CholeskyDecomposition.php b/admin/custom/PHPExcel/Shared/JAMA/CholeskyDecomposition.php new file mode 100644 index 000000000..cfbaa53bc --- /dev/null +++ b/admin/custom/PHPExcel/Shared/JAMA/CholeskyDecomposition.php @@ -0,0 +1,149 @@ +<?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/custom/PHPExcel/Shared/JAMA/EigenvalueDecomposition.php b/admin/custom/PHPExcel/Shared/JAMA/EigenvalueDecomposition.php new file mode 100644 index 000000000..2a696d00f --- /dev/null +++ b/admin/custom/PHPExcel/Shared/JAMA/EigenvalueDecomposition.php @@ -0,0 +1,862 @@ +<?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/custom/PHPExcel/Shared/JAMA/LUDecomposition.php b/admin/custom/PHPExcel/Shared/JAMA/LUDecomposition.php new file mode 100644 index 000000000..08e500cf7 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/JAMA/LUDecomposition.php @@ -0,0 +1,258 @@ +<?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/custom/PHPExcel/Shared/JAMA/Matrix.php b/admin/custom/PHPExcel/Shared/JAMA/Matrix.php new file mode 100644 index 000000000..b893a447a --- /dev/null +++ b/admin/custom/PHPExcel/Shared/JAMA/Matrix.php @@ -0,0 +1,1059 @@ +<?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/custom/PHPExcel/Shared/JAMA/QRDecomposition.php b/admin/custom/PHPExcel/Shared/JAMA/QRDecomposition.php new file mode 100644 index 000000000..753846298 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/JAMA/QRDecomposition.php @@ -0,0 +1,234 @@ +<?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/custom/PHPExcel/Shared/JAMA/SingularValueDecomposition.php b/admin/custom/PHPExcel/Shared/JAMA/SingularValueDecomposition.php new file mode 100644 index 000000000..a4b096c59 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/JAMA/SingularValueDecomposition.php @@ -0,0 +1,526 @@ +<?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/custom/PHPExcel/Shared/JAMA/index.html b/admin/custom/PHPExcel/Shared/JAMA/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/JAMA/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/Shared/JAMA/utils/Error.php b/admin/custom/PHPExcel/Shared/JAMA/utils/Error.php new file mode 100644 index 000000000..e73252b3d --- /dev/null +++ b/admin/custom/PHPExcel/Shared/JAMA/utils/Error.php @@ -0,0 +1,82 @@ +<?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/custom/PHPExcel/Shared/JAMA/utils/Maths.php b/admin/custom/PHPExcel/Shared/JAMA/utils/Maths.php new file mode 100644 index 000000000..aa09a8bbb --- /dev/null +++ b/admin/custom/PHPExcel/Shared/JAMA/utils/Maths.php @@ -0,0 +1,43 @@ +<?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/custom/PHPExcel/Shared/JAMA/utils/index.html b/admin/custom/PHPExcel/Shared/JAMA/utils/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/JAMA/utils/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/Shared/OLE.php b/admin/custom/PHPExcel/Shared/OLE.php new file mode 100644 index 000000000..9796282a8 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/OLE.php @@ -0,0 +1,531 @@ +<?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/custom/PHPExcel/Shared/OLE/ChainedBlockStream.php b/admin/custom/PHPExcel/Shared/OLE/ChainedBlockStream.php new file mode 100644 index 000000000..0736fc232 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/OLE/ChainedBlockStream.php @@ -0,0 +1,222 @@ +<?php +/** + * PHPExcel + * + * Copyright (C) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/OLE/PPS.php b/admin/custom/PHPExcel/Shared/OLE/PPS.php new file mode 100644 index 000000000..4db0ae4e2 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/OLE/PPS.php @@ -0,0 +1,230 @@ +<?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/custom/PHPExcel/Shared/OLE/PPS/File.php b/admin/custom/PHPExcel/Shared/OLE/PPS/File.php new file mode 100644 index 000000000..f061f568c --- /dev/null +++ b/admin/custom/PHPExcel/Shared/OLE/PPS/File.php @@ -0,0 +1,84 @@ +<?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/custom/PHPExcel/Shared/OLE/PPS/Root.php b/admin/custom/PHPExcel/Shared/OLE/PPS/Root.php new file mode 100644 index 000000000..eb929d205 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/OLE/PPS/Root.php @@ -0,0 +1,467 @@ +<?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/custom/PHPExcel/Shared/OLE/PPS/index.html b/admin/custom/PHPExcel/Shared/OLE/PPS/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/OLE/PPS/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/Shared/OLE/index.html b/admin/custom/PHPExcel/Shared/OLE/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/OLE/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/Shared/OLERead.php b/admin/custom/PHPExcel/Shared/OLERead.php new file mode 100644 index 000000000..261bdde58 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/OLERead.php @@ -0,0 +1,317 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/PCLZip/gnu-lgpl.txt b/admin/custom/PHPExcel/Shared/PCLZip/gnu-lgpl.txt new file mode 100644 index 000000000..cbee875ba --- /dev/null +++ b/admin/custom/PHPExcel/Shared/PCLZip/gnu-lgpl.txt @@ -0,0 +1,504 @@ + 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/custom/PHPExcel/Shared/PCLZip/index.html b/admin/custom/PHPExcel/Shared/PCLZip/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/PCLZip/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/Shared/PCLZip/pclzip.lib.php b/admin/custom/PHPExcel/Shared/PCLZip/pclzip.lib.php new file mode 100644 index 000000000..4bf05a523 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/PCLZip/pclzip.lib.php @@ -0,0 +1,5694 @@ +<?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/custom/PHPExcel/Shared/PCLZip/readme.txt b/admin/custom/PHPExcel/Shared/PCLZip/readme.txt new file mode 100644 index 000000000..6ed883947 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/PCLZip/readme.txt @@ -0,0 +1,421 @@ +// -------------------------------------------------------------------------------- +// 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/custom/PHPExcel/Shared/PasswordHasher.php b/admin/custom/PHPExcel/Shared/PasswordHasher.php new file mode 100644 index 000000000..891b6bc15 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/PasswordHasher.php @@ -0,0 +1,66 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/String.php b/admin/custom/PHPExcel/Shared/String.php new file mode 100644 index 000000000..fc86d537d --- /dev/null +++ b/admin/custom/PHPExcel/Shared/String.php @@ -0,0 +1,776 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/TimeZone.php b/admin/custom/PHPExcel/Shared/TimeZone.php new file mode 100644 index 000000000..1792a2953 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/TimeZone.php @@ -0,0 +1,140 @@ +<?php + +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/XMLWriter.php b/admin/custom/PHPExcel/Shared/XMLWriter.php new file mode 100644 index 000000000..beca51fc5 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/XMLWriter.php @@ -0,0 +1,127 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/ZipArchive.php b/admin/custom/PHPExcel/Shared/ZipArchive.php new file mode 100644 index 000000000..9a801a841 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/ZipArchive.php @@ -0,0 +1,175 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/ZipStreamWrapper.php b/admin/custom/PHPExcel/Shared/ZipStreamWrapper.php new file mode 100644 index 000000000..6e63d3ce3 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/ZipStreamWrapper.php @@ -0,0 +1,201 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/index.html b/admin/custom/PHPExcel/Shared/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/Shared/trend/bestFitClass.php b/admin/custom/PHPExcel/Shared/trend/bestFitClass.php new file mode 100644 index 000000000..9ae8b006d --- /dev/null +++ b/admin/custom/PHPExcel/Shared/trend/bestFitClass.php @@ -0,0 +1,432 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/trend/exponentialBestFitClass.php b/admin/custom/PHPExcel/Shared/trend/exponentialBestFitClass.php new file mode 100644 index 000000000..b524b5fe4 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/trend/exponentialBestFitClass.php @@ -0,0 +1,148 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/trend/index.html b/admin/custom/PHPExcel/Shared/trend/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/trend/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/Shared/trend/linearBestFitClass.php b/admin/custom/PHPExcel/Shared/trend/linearBestFitClass.php new file mode 100644 index 000000000..7d811aa5b --- /dev/null +++ b/admin/custom/PHPExcel/Shared/trend/linearBestFitClass.php @@ -0,0 +1,111 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/trend/logarithmicBestFitClass.php b/admin/custom/PHPExcel/Shared/trend/logarithmicBestFitClass.php new file mode 100644 index 000000000..b43cd5edf --- /dev/null +++ b/admin/custom/PHPExcel/Shared/trend/logarithmicBestFitClass.php @@ -0,0 +1,120 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/trend/polynomialBestFitClass.php b/admin/custom/PHPExcel/Shared/trend/polynomialBestFitClass.php new file mode 100644 index 000000000..3d329eb7d --- /dev/null +++ b/admin/custom/PHPExcel/Shared/trend/polynomialBestFitClass.php @@ -0,0 +1,224 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/trend/powerBestFitClass.php b/admin/custom/PHPExcel/Shared/trend/powerBestFitClass.php new file mode 100644 index 000000000..832669c9f --- /dev/null +++ b/admin/custom/PHPExcel/Shared/trend/powerBestFitClass.php @@ -0,0 +1,142 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Shared/trend/trendClass.php b/admin/custom/PHPExcel/Shared/trend/trendClass.php new file mode 100644 index 000000000..25d7eb1d8 --- /dev/null +++ b/admin/custom/PHPExcel/Shared/trend/trendClass.php @@ -0,0 +1,156 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Style.php b/admin/custom/PHPExcel/Style.php new file mode 100644 index 000000000..9c29320ea --- /dev/null +++ b/admin/custom/PHPExcel/Style.php @@ -0,0 +1,668 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Style/Alignment.php b/admin/custom/PHPExcel/Style/Alignment.php new file mode 100644 index 000000000..00825debf --- /dev/null +++ b/admin/custom/PHPExcel/Style/Alignment.php @@ -0,0 +1,459 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Style/Border.php b/admin/custom/PHPExcel/Style/Border.php new file mode 100644 index 000000000..ec737bf0f --- /dev/null +++ b/admin/custom/PHPExcel/Style/Border.php @@ -0,0 +1,294 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Style/Borders.php b/admin/custom/PHPExcel/Style/Borders.php new file mode 100644 index 000000000..21dcfeeef --- /dev/null +++ b/admin/custom/PHPExcel/Style/Borders.php @@ -0,0 +1,424 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Style/Color.php b/admin/custom/PHPExcel/Style/Color.php new file mode 100644 index 000000000..a56c9a633 --- /dev/null +++ b/admin/custom/PHPExcel/Style/Color.php @@ -0,0 +1,429 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Style/Conditional.php b/admin/custom/PHPExcel/Style/Conditional.php new file mode 100644 index 000000000..aebf1e313 --- /dev/null +++ b/admin/custom/PHPExcel/Style/Conditional.php @@ -0,0 +1,277 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Style/Fill.php b/admin/custom/PHPExcel/Style/Fill.php new file mode 100644 index 000000000..6412ba634 --- /dev/null +++ b/admin/custom/PHPExcel/Style/Fill.php @@ -0,0 +1,321 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Style/Font.php b/admin/custom/PHPExcel/Style/Font.php new file mode 100644 index 000000000..296e34855 --- /dev/null +++ b/admin/custom/PHPExcel/Style/Font.php @@ -0,0 +1,532 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Style/NumberFormat.php b/admin/custom/PHPExcel/Style/NumberFormat.php new file mode 100644 index 000000000..0d7d93de2 --- /dev/null +++ b/admin/custom/PHPExcel/Style/NumberFormat.php @@ -0,0 +1,711 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Style/Protection.php b/admin/custom/PHPExcel/Style/Protection.php new file mode 100644 index 000000000..8dc1f31ad --- /dev/null +++ b/admin/custom/PHPExcel/Style/Protection.php @@ -0,0 +1,207 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Style/Supervisor.php b/admin/custom/PHPExcel/Style/Supervisor.php new file mode 100644 index 000000000..2d21f5293 --- /dev/null +++ b/admin/custom/PHPExcel/Style/Supervisor.php @@ -0,0 +1,132 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Style/index.html b/admin/custom/PHPExcel/Style/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Style/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/Worksheet.php b/admin/custom/PHPExcel/Worksheet.php new file mode 100644 index 000000000..6215be8b1 --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet.php @@ -0,0 +1,2917 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Worksheet/AutoFilter.php b/admin/custom/PHPExcel/Worksheet/AutoFilter.php new file mode 100644 index 000000000..d0fa8b6df --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet/AutoFilter.php @@ -0,0 +1,858 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Worksheet/AutoFilter/Column.php b/admin/custom/PHPExcel/Worksheet/AutoFilter/Column.php new file mode 100644 index 000000000..1a6fb4eb8 --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet/AutoFilter/Column.php @@ -0,0 +1,394 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Worksheet/AutoFilter/Column/Rule.php b/admin/custom/PHPExcel/Worksheet/AutoFilter/Column/Rule.php new file mode 100644 index 000000000..4a14d7d7d --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet/AutoFilter/Column/Rule.php @@ -0,0 +1,464 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Worksheet/AutoFilter/Column/index.html b/admin/custom/PHPExcel/Worksheet/AutoFilter/Column/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet/AutoFilter/Column/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/Worksheet/AutoFilter/index.html b/admin/custom/PHPExcel/Worksheet/AutoFilter/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet/AutoFilter/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/Worksheet/BaseDrawing.php b/admin/custom/PHPExcel/Worksheet/BaseDrawing.php new file mode 100644 index 000000000..5a760fcad --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet/BaseDrawing.php @@ -0,0 +1,489 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Worksheet/CellIterator.php b/admin/custom/PHPExcel/Worksheet/CellIterator.php new file mode 100644 index 000000000..27cdc94c3 --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet/CellIterator.php @@ -0,0 +1,161 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Worksheet/ColumnDimension.php b/admin/custom/PHPExcel/Worksheet/ColumnDimension.php new file mode 100644 index 000000000..bc6a042eb --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet/ColumnDimension.php @@ -0,0 +1,266 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Worksheet/Drawing.php b/admin/custom/PHPExcel/Worksheet/Drawing.php new file mode 100644 index 000000000..e8d87f1d0 --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet/Drawing.php @@ -0,0 +1,148 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Worksheet/Drawing/Shadow.php b/admin/custom/PHPExcel/Worksheet/Drawing/Shadow.php new file mode 100644 index 000000000..98b95b1a7 --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet/Drawing/Shadow.php @@ -0,0 +1,288 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Worksheet/Drawing/index.html b/admin/custom/PHPExcel/Worksheet/Drawing/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet/Drawing/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/Worksheet/HeaderFooter.php b/admin/custom/PHPExcel/Worksheet/HeaderFooter.php new file mode 100644 index 000000000..803741638 --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet/HeaderFooter.php @@ -0,0 +1,465 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Worksheet/HeaderFooterDrawing.php b/admin/custom/PHPExcel/Worksheet/HeaderFooterDrawing.php new file mode 100644 index 000000000..966664f93 --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet/HeaderFooterDrawing.php @@ -0,0 +1,350 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Worksheet/MemoryDrawing.php b/admin/custom/PHPExcel/Worksheet/MemoryDrawing.php new file mode 100644 index 000000000..80fc6d1f0 --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet/MemoryDrawing.php @@ -0,0 +1,200 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Worksheet/PageMargins.php b/admin/custom/PHPExcel/Worksheet/PageMargins.php new file mode 100644 index 000000000..b05a291ff --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet/PageMargins.php @@ -0,0 +1,220 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Worksheet/PageSetup.php b/admin/custom/PHPExcel/Worksheet/PageSetup.php new file mode 100644 index 000000000..ba2792fac --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet/PageSetup.php @@ -0,0 +1,798 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Worksheet/Protection.php b/admin/custom/PHPExcel/Worksheet/Protection.php new file mode 100644 index 000000000..da66bf763 --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet/Protection.php @@ -0,0 +1,545 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Worksheet/Row.php b/admin/custom/PHPExcel/Worksheet/Row.php new file mode 100644 index 000000000..df16d33c2 --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet/Row.php @@ -0,0 +1,90 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Worksheet/RowDimension.php b/admin/custom/PHPExcel/Worksheet/RowDimension.php new file mode 100644 index 000000000..bff89a080 --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet/RowDimension.php @@ -0,0 +1,265 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Worksheet/RowIterator.php b/admin/custom/PHPExcel/Worksheet/RowIterator.php new file mode 100644 index 000000000..642ec763d --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet/RowIterator.php @@ -0,0 +1,148 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Worksheet/SheetView.php b/admin/custom/PHPExcel/Worksheet/SheetView.php new file mode 100644 index 000000000..8ced835dd --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet/SheetView.php @@ -0,0 +1,188 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Worksheet/index.html b/admin/custom/PHPExcel/Worksheet/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Worksheet/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/WorksheetIterator.php b/admin/custom/PHPExcel/WorksheetIterator.php new file mode 100644 index 000000000..ad17fd903 --- /dev/null +++ b/admin/custom/PHPExcel/WorksheetIterator.php @@ -0,0 +1,118 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Abstract.php b/admin/custom/PHPExcel/Writer/Abstract.php new file mode 100644 index 000000000..fca6a60cc --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Abstract.php @@ -0,0 +1,158 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/CSV.php b/admin/custom/PHPExcel/Writer/CSV.php new file mode 100644 index 000000000..97961ccca --- /dev/null +++ b/admin/custom/PHPExcel/Writer/CSV.php @@ -0,0 +1,310 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel2007.php b/admin/custom/PHPExcel/Writer/Excel2007.php new file mode 100644 index 000000000..4cf14ac1c --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel2007.php @@ -0,0 +1,532 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel2007/Chart.php b/admin/custom/PHPExcel/Writer/Excel2007/Chart.php new file mode 100644 index 000000000..ceb750ade --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel2007/Chart.php @@ -0,0 +1,1606 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel2007/Comments.php b/admin/custom/PHPExcel/Writer/Excel2007/Comments.php new file mode 100644 index 000000000..dc809fa8e --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel2007/Comments.php @@ -0,0 +1,268 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel2007/ContentTypes.php b/admin/custom/PHPExcel/Writer/Excel2007/ContentTypes.php new file mode 100644 index 000000000..557853654 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel2007/ContentTypes.php @@ -0,0 +1,287 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel2007/DocProps.php b/admin/custom/PHPExcel/Writer/Excel2007/DocProps.php new file mode 100644 index 000000000..f8821379c --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel2007/DocProps.php @@ -0,0 +1,272 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel2007/Drawing.php b/admin/custom/PHPExcel/Writer/Excel2007/Drawing.php new file mode 100644 index 000000000..1cf971ed4 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel2007/Drawing.php @@ -0,0 +1,598 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel2007/Rels.php b/admin/custom/PHPExcel/Writer/Excel2007/Rels.php new file mode 100644 index 000000000..a7d36c0a9 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel2007/Rels.php @@ -0,0 +1,437 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel2007/RelsRibbon.php b/admin/custom/PHPExcel/Writer/Excel2007/RelsRibbon.php new file mode 100644 index 000000000..615f2cbd9 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel2007/RelsRibbon.php @@ -0,0 +1,77 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel2007/RelsVBA.php b/admin/custom/PHPExcel/Writer/Excel2007/RelsVBA.php new file mode 100644 index 000000000..3f87d81f2 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel2007/RelsVBA.php @@ -0,0 +1,72 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel2007/StringTable.php b/admin/custom/PHPExcel/Writer/Excel2007/StringTable.php new file mode 100644 index 000000000..e8ca1c5a5 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel2007/StringTable.php @@ -0,0 +1,319 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel2007/Style.php b/admin/custom/PHPExcel/Writer/Excel2007/Style.php new file mode 100644 index 000000000..d38c6eacc --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel2007/Style.php @@ -0,0 +1,707 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel2007/Theme.php b/admin/custom/PHPExcel/Writer/Excel2007/Theme.php new file mode 100644 index 000000000..c67b94816 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel2007/Theme.php @@ -0,0 +1,871 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel2007/Workbook.php b/admin/custom/PHPExcel/Writer/Excel2007/Workbook.php new file mode 100644 index 000000000..f30929476 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel2007/Workbook.php @@ -0,0 +1,456 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel2007/Worksheet.php b/admin/custom/PHPExcel/Writer/Excel2007/Worksheet.php new file mode 100644 index 000000000..5cb803e52 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel2007/Worksheet.php @@ -0,0 +1,1220 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel2007/WriterPart.php b/admin/custom/PHPExcel/Writer/Excel2007/WriterPart.php new file mode 100644 index 000000000..68b1124fd --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel2007/WriterPart.php @@ -0,0 +1,81 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel2007/index.html b/admin/custom/PHPExcel/Writer/Excel2007/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel2007/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/Writer/Excel5.php b/admin/custom/PHPExcel/Writer/Excel5.php new file mode 100644 index 000000000..1a990d045 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel5.php @@ -0,0 +1,935 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel5/BIFFwriter.php b/admin/custom/PHPExcel/Writer/Excel5/BIFFwriter.php new file mode 100644 index 000000000..86201134d --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel5/BIFFwriter.php @@ -0,0 +1,255 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel5/Escher.php b/admin/custom/PHPExcel/Writer/Excel5/Escher.php new file mode 100644 index 000000000..92e6a8d88 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel5/Escher.php @@ -0,0 +1,537 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel5/Font.php b/admin/custom/PHPExcel/Writer/Excel5/Font.php new file mode 100644 index 000000000..0df194382 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel5/Font.php @@ -0,0 +1,165 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel5/Parser.php b/admin/custom/PHPExcel/Writer/Excel5/Parser.php new file mode 100644 index 000000000..bc6ddb132 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel5/Parser.php @@ -0,0 +1,1583 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel5/Workbook.php b/admin/custom/PHPExcel/Writer/Excel5/Workbook.php new file mode 100644 index 000000000..ecfac5dc0 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel5/Workbook.php @@ -0,0 +1,1450 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel5/Worksheet.php b/admin/custom/PHPExcel/Writer/Excel5/Worksheet.php new file mode 100644 index 000000000..fb75499b1 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel5/Worksheet.php @@ -0,0 +1,3681 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel5/Xf.php b/admin/custom/PHPExcel/Writer/Excel5/Xf.php new file mode 100644 index 000000000..99f1b2a0c --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel5/Xf.php @@ -0,0 +1,547 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/Excel5/index.html b/admin/custom/PHPExcel/Writer/Excel5/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Excel5/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/Writer/Exception.php b/admin/custom/PHPExcel/Writer/Exception.php new file mode 100644 index 000000000..1715587a2 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/Exception.php @@ -0,0 +1,52 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/HTML.php b/admin/custom/PHPExcel/Writer/HTML.php new file mode 100644 index 000000000..63c5d4787 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/HTML.php @@ -0,0 +1,1548 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/IWriter.php b/admin/custom/PHPExcel/Writer/IWriter.php new file mode 100644 index 000000000..f0b94b9e9 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/IWriter.php @@ -0,0 +1,46 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/OpenDocument.php b/admin/custom/PHPExcel/Writer/OpenDocument.php new file mode 100644 index 000000000..2cbe6f904 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/OpenDocument.php @@ -0,0 +1,200 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/OpenDocument/Cell/Comment.php b/admin/custom/PHPExcel/Writer/OpenDocument/Cell/Comment.php new file mode 100644 index 000000000..88406ed1a --- /dev/null +++ b/admin/custom/PHPExcel/Writer/OpenDocument/Cell/Comment.php @@ -0,0 +1,63 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/OpenDocument/Content.php b/admin/custom/PHPExcel/Writer/OpenDocument/Content.php new file mode 100644 index 000000000..625b35417 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/OpenDocument/Content.php @@ -0,0 +1,272 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/OpenDocument/Meta.php b/admin/custom/PHPExcel/Writer/OpenDocument/Meta.php new file mode 100644 index 000000000..7f39e5589 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/OpenDocument/Meta.php @@ -0,0 +1,98 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/OpenDocument/MetaInf.php b/admin/custom/PHPExcel/Writer/OpenDocument/MetaInf.php new file mode 100644 index 000000000..301d39db9 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/OpenDocument/MetaInf.php @@ -0,0 +1,96 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/OpenDocument/Mimetype.php b/admin/custom/PHPExcel/Writer/OpenDocument/Mimetype.php new file mode 100644 index 000000000..99ff638a9 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/OpenDocument/Mimetype.php @@ -0,0 +1,50 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/OpenDocument/Settings.php b/admin/custom/PHPExcel/Writer/OpenDocument/Settings.php new file mode 100644 index 000000000..557e748d4 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/OpenDocument/Settings.php @@ -0,0 +1,85 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/OpenDocument/Styles.php b/admin/custom/PHPExcel/Writer/OpenDocument/Styles.php new file mode 100644 index 000000000..d88673632 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/OpenDocument/Styles.php @@ -0,0 +1,101 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/OpenDocument/Thumbnails.php b/admin/custom/PHPExcel/Writer/OpenDocument/Thumbnails.php new file mode 100644 index 000000000..a7e85c456 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/OpenDocument/Thumbnails.php @@ -0,0 +1,50 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/OpenDocument/WriterPart.php b/admin/custom/PHPExcel/Writer/OpenDocument/WriterPart.php new file mode 100644 index 000000000..e6e713a1b --- /dev/null +++ b/admin/custom/PHPExcel/Writer/OpenDocument/WriterPart.php @@ -0,0 +1,38 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/PDF.php b/admin/custom/PHPExcel/Writer/PDF.php new file mode 100644 index 000000000..4111f8bd9 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/PDF.php @@ -0,0 +1,90 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/PDF/Core.php b/admin/custom/PHPExcel/Writer/PDF/Core.php new file mode 100644 index 000000000..3842334d9 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/PDF/Core.php @@ -0,0 +1,364 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/PDF/DomPDF.php b/admin/custom/PHPExcel/Writer/PDF/DomPDF.php new file mode 100644 index 000000000..01e4e0122 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/PDF/DomPDF.php @@ -0,0 +1,122 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/PDF/index.html b/admin/custom/PHPExcel/Writer/PDF/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/PDF/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/Writer/PDF/mPDF.php b/admin/custom/PHPExcel/Writer/PDF/mPDF.php new file mode 100644 index 000000000..dddc097d3 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/PDF/mPDF.php @@ -0,0 +1,130 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/PDF/tcPDF.php b/admin/custom/PHPExcel/Writer/PDF/tcPDF.php new file mode 100644 index 000000000..4e1937afc --- /dev/null +++ b/admin/custom/PHPExcel/Writer/PDF/tcPDF.php @@ -0,0 +1,136 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/custom/PHPExcel/Writer/index.html b/admin/custom/PHPExcel/Writer/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/Writer/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/index.html b/admin/custom/PHPExcel/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/locale/bg/config b/admin/custom/PHPExcel/locale/bg/config new file mode 100644 index 000000000..4cecddb3c --- /dev/null +++ b/admin/custom/PHPExcel/locale/bg/config @@ -0,0 +1,49 @@ +## +## 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/custom/PHPExcel/locale/cs/config b/admin/custom/PHPExcel/locale/cs/config new file mode 100644 index 000000000..42cdf3267 --- /dev/null +++ b/admin/custom/PHPExcel/locale/cs/config @@ -0,0 +1,47 @@ +## +## 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/custom/PHPExcel/locale/cs/functions b/admin/custom/PHPExcel/locale/cs/functions new file mode 100644 index 000000000..c0a3cbbf9 --- /dev/null +++ b/admin/custom/PHPExcel/locale/cs/functions @@ -0,0 +1,438 @@ +## +## 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/custom/PHPExcel/locale/cs/index.html b/admin/custom/PHPExcel/locale/cs/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/locale/cs/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/locale/da/config b/admin/custom/PHPExcel/locale/da/config new file mode 100644 index 000000000..ae5900311 --- /dev/null +++ b/admin/custom/PHPExcel/locale/da/config @@ -0,0 +1,48 @@ +## +## 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/custom/PHPExcel/locale/da/functions b/admin/custom/PHPExcel/locale/da/functions new file mode 100644 index 000000000..26e0310c1 --- /dev/null +++ b/admin/custom/PHPExcel/locale/da/functions @@ -0,0 +1,438 @@ +## +## 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/custom/PHPExcel/locale/da/index.html b/admin/custom/PHPExcel/locale/da/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/locale/da/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/locale/de/config b/admin/custom/PHPExcel/locale/de/config new file mode 100644 index 000000000..aa0228e7f --- /dev/null +++ b/admin/custom/PHPExcel/locale/de/config @@ -0,0 +1,47 @@ +## +## 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/custom/PHPExcel/locale/de/functions b/admin/custom/PHPExcel/locale/de/functions new file mode 100644 index 000000000..3147f9c8b --- /dev/null +++ b/admin/custom/PHPExcel/locale/de/functions @@ -0,0 +1,438 @@ +## +## 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/custom/PHPExcel/locale/de/index.html b/admin/custom/PHPExcel/locale/de/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/locale/de/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/locale/en/index.html b/admin/custom/PHPExcel/locale/en/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/locale/en/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/locale/en/uk/config b/admin/custom/PHPExcel/locale/en/uk/config new file mode 100644 index 000000000..532080b57 --- /dev/null +++ b/admin/custom/PHPExcel/locale/en/uk/config @@ -0,0 +1,32 @@ +## +## 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/custom/PHPExcel/locale/en/uk/index.html b/admin/custom/PHPExcel/locale/en/uk/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/locale/en/uk/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/locale/es/config b/admin/custom/PHPExcel/locale/es/config new file mode 100644 index 000000000..96cfa69db --- /dev/null +++ b/admin/custom/PHPExcel/locale/es/config @@ -0,0 +1,47 @@ +## +## 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/custom/PHPExcel/locale/es/functions b/admin/custom/PHPExcel/locale/es/functions new file mode 100644 index 000000000..48762695b --- /dev/null +++ b/admin/custom/PHPExcel/locale/es/functions @@ -0,0 +1,438 @@ +## +## 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/custom/PHPExcel/locale/es/index.html b/admin/custom/PHPExcel/locale/es/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/locale/es/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/locale/fi/config b/admin/custom/PHPExcel/locale/fi/config new file mode 100644 index 000000000..498cf4ceb --- /dev/null +++ b/admin/custom/PHPExcel/locale/fi/config @@ -0,0 +1,47 @@ +## +## 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/custom/PHPExcel/locale/fi/functions b/admin/custom/PHPExcel/locale/fi/functions new file mode 100644 index 000000000..6a7c2b36f --- /dev/null +++ b/admin/custom/PHPExcel/locale/fi/functions @@ -0,0 +1,438 @@ +## +## 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/custom/PHPExcel/locale/fi/index.html b/admin/custom/PHPExcel/locale/fi/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/locale/fi/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/locale/fr/config b/admin/custom/PHPExcel/locale/fr/config new file mode 100644 index 000000000..1f5db88c4 --- /dev/null +++ b/admin/custom/PHPExcel/locale/fr/config @@ -0,0 +1,47 @@ +## +## 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/custom/PHPExcel/locale/fr/functions b/admin/custom/PHPExcel/locale/fr/functions new file mode 100644 index 000000000..03b80e5a4 --- /dev/null +++ b/admin/custom/PHPExcel/locale/fr/functions @@ -0,0 +1,438 @@ +## +## 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/custom/PHPExcel/locale/fr/index.html b/admin/custom/PHPExcel/locale/fr/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/locale/fr/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/locale/hu/config b/admin/custom/PHPExcel/locale/hu/config new file mode 100644 index 000000000..080b2018f --- /dev/null +++ b/admin/custom/PHPExcel/locale/hu/config @@ -0,0 +1,47 @@ +## +## 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/custom/PHPExcel/locale/hu/functions b/admin/custom/PHPExcel/locale/hu/functions new file mode 100644 index 000000000..200d3f71f --- /dev/null +++ b/admin/custom/PHPExcel/locale/hu/functions @@ -0,0 +1,438 @@ +## +## 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/custom/PHPExcel/locale/hu/index.html b/admin/custom/PHPExcel/locale/hu/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/locale/hu/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/locale/index.html b/admin/custom/PHPExcel/locale/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/locale/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/locale/it/config b/admin/custom/PHPExcel/locale/it/config new file mode 100644 index 000000000..c3afa754b --- /dev/null +++ b/admin/custom/PHPExcel/locale/it/config @@ -0,0 +1,47 @@ +## +## 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/custom/PHPExcel/locale/it/functions b/admin/custom/PHPExcel/locale/it/functions new file mode 100644 index 000000000..fa290febf --- /dev/null +++ b/admin/custom/PHPExcel/locale/it/functions @@ -0,0 +1,439 @@ +## +## 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/custom/PHPExcel/locale/it/index.html b/admin/custom/PHPExcel/locale/it/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/locale/it/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/locale/nl/config b/admin/custom/PHPExcel/locale/nl/config new file mode 100644 index 000000000..48dcc15b5 --- /dev/null +++ b/admin/custom/PHPExcel/locale/nl/config @@ -0,0 +1,47 @@ +## +## 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/custom/PHPExcel/locale/nl/functions b/admin/custom/PHPExcel/locale/nl/functions new file mode 100644 index 000000000..573600aca --- /dev/null +++ b/admin/custom/PHPExcel/locale/nl/functions @@ -0,0 +1,438 @@ +## +## 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/custom/PHPExcel/locale/nl/index.html b/admin/custom/PHPExcel/locale/nl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/locale/nl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/locale/no/config b/admin/custom/PHPExcel/locale/no/config new file mode 100644 index 000000000..bf2d34a7f --- /dev/null +++ b/admin/custom/PHPExcel/locale/no/config @@ -0,0 +1,47 @@ +## +## 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/custom/PHPExcel/locale/no/functions b/admin/custom/PHPExcel/locale/no/functions new file mode 100644 index 000000000..10d0a2076 --- /dev/null +++ b/admin/custom/PHPExcel/locale/no/functions @@ -0,0 +1,438 @@ +## +## 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/custom/PHPExcel/locale/no/index.html b/admin/custom/PHPExcel/locale/no/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/locale/no/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/locale/pl/config b/admin/custom/PHPExcel/locale/pl/config new file mode 100644 index 000000000..4dd75bee6 --- /dev/null +++ b/admin/custom/PHPExcel/locale/pl/config @@ -0,0 +1,47 @@ +## +## 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/custom/PHPExcel/locale/pl/functions b/admin/custom/PHPExcel/locale/pl/functions new file mode 100644 index 000000000..1881a71e5 --- /dev/null +++ b/admin/custom/PHPExcel/locale/pl/functions @@ -0,0 +1,438 @@ +## +## 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/custom/PHPExcel/locale/pl/index.html b/admin/custom/PHPExcel/locale/pl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/locale/pl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/locale/pt/br/config b/admin/custom/PHPExcel/locale/pt/br/config new file mode 100644 index 000000000..45b6fbd92 --- /dev/null +++ b/admin/custom/PHPExcel/locale/pt/br/config @@ -0,0 +1,47 @@ +## +## 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/custom/PHPExcel/locale/pt/br/functions b/admin/custom/PHPExcel/locale/pt/br/functions new file mode 100644 index 000000000..f3ba3a352 --- /dev/null +++ b/admin/custom/PHPExcel/locale/pt/br/functions @@ -0,0 +1,408 @@ +## +## 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/custom/PHPExcel/locale/pt/br/index.html b/admin/custom/PHPExcel/locale/pt/br/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/locale/pt/br/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/locale/pt/config b/admin/custom/PHPExcel/locale/pt/config new file mode 100644 index 000000000..8bb8d8b8e --- /dev/null +++ b/admin/custom/PHPExcel/locale/pt/config @@ -0,0 +1,47 @@ +## +## 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/custom/PHPExcel/locale/pt/functions b/admin/custom/PHPExcel/locale/pt/functions new file mode 100644 index 000000000..7fe9e3b58 --- /dev/null +++ b/admin/custom/PHPExcel/locale/pt/functions @@ -0,0 +1,408 @@ +## +## 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/custom/PHPExcel/locale/pt/index.html b/admin/custom/PHPExcel/locale/pt/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/locale/pt/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/locale/ru/config b/admin/custom/PHPExcel/locale/ru/config new file mode 100644 index 000000000..56e45bfda --- /dev/null +++ b/admin/custom/PHPExcel/locale/ru/config @@ -0,0 +1,47 @@ +## +## 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/custom/PHPExcel/locale/ru/functions b/admin/custom/PHPExcel/locale/ru/functions new file mode 100644 index 000000000..5ff6d4fbf --- /dev/null +++ b/admin/custom/PHPExcel/locale/ru/functions @@ -0,0 +1,438 @@ +## +## 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/custom/PHPExcel/locale/ru/index.html b/admin/custom/PHPExcel/locale/ru/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/locale/ru/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/locale/sv/config b/admin/custom/PHPExcel/locale/sv/config new file mode 100644 index 000000000..726f77164 --- /dev/null +++ b/admin/custom/PHPExcel/locale/sv/config @@ -0,0 +1,47 @@ +## +## 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/custom/PHPExcel/locale/sv/functions b/admin/custom/PHPExcel/locale/sv/functions new file mode 100644 index 000000000..9af37d8e4 --- /dev/null +++ b/admin/custom/PHPExcel/locale/sv/functions @@ -0,0 +1,408 @@ +## +## 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/custom/PHPExcel/locale/sv/index.html b/admin/custom/PHPExcel/locale/sv/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/locale/sv/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/PHPExcel/locale/tr/config b/admin/custom/PHPExcel/locale/tr/config new file mode 100644 index 000000000..b69d4257a --- /dev/null +++ b/admin/custom/PHPExcel/locale/tr/config @@ -0,0 +1,47 @@ +## +## 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/custom/PHPExcel/locale/tr/functions b/admin/custom/PHPExcel/locale/tr/functions new file mode 100644 index 000000000..45d7df1fe --- /dev/null +++ b/admin/custom/PHPExcel/locale/tr/functions @@ -0,0 +1,438 @@ +## +## 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/custom/PHPExcel/locale/tr/index.html b/admin/custom/PHPExcel/locale/tr/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/PHPExcel/locale/tr/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/chartMenu.js b/admin/custom/chartMenu.js new file mode 100644 index 000000000..376d8ea5b --- /dev/null +++ b/admin/custom/chartMenu.js @@ -0,0 +1,126 @@ +/* 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/custom/chartbuilder.php b/admin/custom/chartbuilder.php new file mode 100644 index 000000000..72f436384 --- /dev/null +++ b/admin/custom/chartbuilder.php @@ -0,0 +1,192 @@ +<?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/custom/fb_loader.gif b/admin/custom/fb_loader.gif new file mode 100644 index 0000000000000000000000000000000000000000..9198640780d5eeb94b9393ce99bc376835cea5b0 GIT binary patch literal 17008 zcmd74XE+?}y8b=A8H_Qyh;Ec5Qj`c!jOax4PDbxFT0~@wHbn2;5WPk3MDIj|5D`I0 zq!3AjRC&kq?7jBd?_O*D_qVluaU2fw#eMzm^E$8Vys2rZ%3ic-2CxGL0D$h^?v>S* zp^>4@SDRB4Q@?-z2K@QO_nS^f#n9jiL09G6X-P1U_CvmJ5CnquUE=r`jz10nADMQp z97#@SRQJffo9_Be#3$Ih6gXGaxxef6mU!sr@gj(UQSrm?h?q4s2wJea_za#y?AECI zr|~%1LcK9Vvq;PIr=uiEeC}k}?iGw|;kbGuS8YK3Yln8jKd#X|3ko(5@eI96x<R&$ zaEfArP&{K9?1I1vn52wU`t+bI#+)#lv^Ym9Lvc(=ewibPxhkawT@X|so!d;;8tG3T zc+V%JqA%I23)K_<0Nr0bSU64hu<23QozBIWrvtY#!0pDPj(IJ04jb8<H^-rq<&RMd zW6!3Z&%T)Z`sDlVPtfi38}JV-4}y<gRagwxrSzPqGmyG4N@vv`4n8^8zhtKKQiue) zB;1`j`Ha_=R|MP4{wS+88FNuC4Wvk#&Xop|-k*&i&E!GcHo7YfD6>V<NPeNt8!q~S zI=49E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OKGZFeeNq-M4)&t1277oOdqS zsf_v`ui0Gx;X}6YkkAksD}N~pEwN7ng+>nzkz@NdGxa|~fgE}N<JZG~{p$eQ6VF0c z5)BH&uL<hRvwiMzxsaDorV8`>;nV9A^t>15>!hlm##X=3{;EBb_0VO?e5FnT9@8CK zNSS~`5#%s3$e#@kLPXppgMADVBjTdWV^hNuiKOuSbcf9RyE(3T@$rSMT1Z$;U2T16 zGP$|Ak{uk|(p++<t2LUn<3U0aD<W~Ijnes`r)i=eTMY|ZSOnKLj*f?|A|_d5nqQ2K zu)K<YvCi`HZT!QP{C9J>moFkdZa@F<o-XkIr)F%s$H}waUxZhl87ZEO^n37A6x}kp z9^n^<5=vW3D59;r*#o~>fF^SkjlrltHchnnM;*Hu@+@vvZH+)rxUnR4yrF94NxI#( z1nAi-@IKYf@GJequSLvYU^wM^UaX-q#gBXmldjjBt#eIJ4z<RqnFgl60L|8Z_b{)# zK32*9{A-yG^EOX*)dV)v)(4<?ND}={fvNuH!o0JQ_-cojzr%&a8@@oGC1ILgkj<cI zs%pacG5Fnk^J1gb?#f)bKCTNy%ce)Z!*SUUDn`9+tbU+&FV<EkNm&G6NPVo4BHm`u qTK{q2X409$0th1cof6jI#Y|7v;fJ-syC<*pc7OZ)SO5UH^#1|ap*O1l literal 0 HcmV?d00001 diff --git a/admin/custom/footable/css/fonts/footable.eot b/admin/custom/footable/css/fonts/footable.eot new file mode 100644 index 0000000000000000000000000000000000000000..37229798b1b7a7929fc288fc36129700a42a3636 GIT binary patch literal 4824 zcmds5YiL~85uUmC?%rLktX=I&yNP5+tJOY89ou_X`*4!F-Zr)z8=DF@n1bC_vLio& zEUjhPIHpavAujas!!1ESN`HtXhT??c;1EM;!Q@AY3N;jzHjw_<{^;XJYYcg`6uR4Q z&N-{MQcC~zO6SZub7tn7^O!mJ?)y=qJPMOV@>t}vRRf&sEUm+%x=#^9F+z1|#}lvL zZ}XOEgig~m{$^>MPSPYzV5p0Zf}WvE=#SHk=+ZH8X6PcF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pnf#4%s>=>o+Dn<D+;wr} zjGKskyiK)N3%OLTx;1%cWey3gOhRu;YLR@@aVp%=p*!MbC*F<Qxif$)quUm_wB59A zO4Bz?+rgK}Tc+)!5WQ#Ge(*oUiDD-Rj(nKuwuO)Fe$%$;X}oJ`z5|(8OxuV3`-N%y z!T-bhPxjN()3f6zCnsp_m;2F)GnXdE@d-bozT0ONox!*L1SP4UzTuPf1lntV1<+iN zcGC`33i#0S;2w=kPtA@@&zzY^7Ix;7PbAyWXnMPM?A}qxdyradj@n}Qzz6mQza$)+ zn7MdvdMfGd#OuqasH?kFHfGaDvLk*VVT)~c*vEc$Ilw{g;1GB67VhFON4T4#9OEAD z<v1t!A%2+qxSzN3HhzQ$ILU*Y;vr6R#=SIkZX}=23*Em=J<~53I&5gs(2}8LLo0^v zHuP~rKX2$441LPbeTMEgbVO6n_~99R&)|Co-!u50!S@WlXYf6P?-_j0;Clw&Gx(mt x_YA&g@CydNVDJkCS#3lhE-thrupdHE7a7iM7F<X5gr{O>;XBiwbXNXe@^A6%PIdqQ literal 0 HcmV?d00001 diff --git a/admin/custom/footable/css/fonts/footable.svg b/admin/custom/footable/css/fonts/footable.svg new file mode 100644 index 000000000..5a6e1fda3 --- /dev/null +++ b/admin/custom/footable/css/fonts/footable.svg @@ -0,0 +1,78 @@ +<?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/custom/footable/css/fonts/footable.ttf b/admin/custom/footable/css/fonts/footable.ttf new file mode 100644 index 0000000000000000000000000000000000000000..2d5c84ab167ac1569175744e0e0a2b25caa51132 GIT binary patch literal 4656 zcmds5YiwLs5uUmC?%rLm<6V30-PTF!^?DyFX_CF`eYh<l3r(CRN<>tu2q^~aq|T%A zV`Do}8bMjA28qXyf-3(&{ICj<P^eI<RE>l{iuwc9NJK(%0jd00e(?AKQKUXVNbK^> zIcL}JBE&!L`kXmu&dhvs9y8}&6BE%6s*z16M@OGMG5OICUnT141$WnxLx)G{S@IKg ze}I1Cv!C0a-~ZG1enrHeNB`8>>4|E+^!^HwbsW5B&QHu&n@w1v?!RI@aDM8Aa|4fl z^a7FnfT-hl7bYj3``5Rw3}Ec{D5VQvI1vg!SMX97rWdXrc#-#_e+&KZPtBg4@D>VZ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OJKw}gNGf)va2Z>2aP@eYT^C>}3plmd$xgL$sURCmt^xz(i&dw~1 z&d!~mOyu|F5>F&r&}e!idq?)>a~`BNnp@-HDPYghJY7^CC16#&pi`4`^A~4l65c*^ zK1N;LrLr;GK9U`oEVkHYhkfj4mjfK+4i0fA@8B*DbA-FOhojufeH`OBKg17nKkwvS zyqh240Z#BBCwYidoOUnITpZ2iazYQUQqT1Bh7KEAFtliB$<VT)BZfY1=%)?+jG<2% zddSejhK_3L89zLO?-_j0;Clw&Gx(mt_YA&g@I8a?8GO&+dj{V#_@2S{41V6==M8>7 mFRP6R#Knb{1olHH>LSCL&4BBup72D1mcKFU30?dDl79oCPds%1 literal 0 HcmV?d00001 diff --git a/admin/custom/footable/css/fonts/footable.woff b/admin/custom/footable/css/fonts/footable.woff new file mode 100644 index 0000000000000000000000000000000000000000..4864dbb5cc52f22eae9dfa910364d56aa04020d5 GIT binary patch literal 4016 zcma)<WmMG9+s41^E(=IVNJuVANq0&M3(_SW3rkB%H%rP&O9}``3zC8g$O4OiNF%s} z(kT8`k&=*j_8;eY^SpWHoNMM>pP9Mud*;<ls1X8TWNvN*05@6y3V_%I)d0}H#{b*y zA`mbD0FeOzr8NNXZ0&~De?}n84FG`3g}9o9C^pwWRk_-lS_mSGBYJkCV1OwAF)|aA zB(id%*CPrkw!HKU<>TZ}WCWsDCdM^gmEIrsaCIWaq827HQKDoo(n2^rh>*zah@OKe z9tbS}_3#M_BeE!>mm?}y=@UrA$0>{$kNOqSL;o#aW5CzR$Cb!>h<=-xBPV7q!r0$0 zFo<~GDk7sK3I>1yAgpB0I?_LPjsYu2c-&$QTd1}{!2<$@nvjg#nj>{eJVW|-X0!3C zUZjsq9%D?cN{0k)FnAv6-JCr_BlSfVS%PX%MfchI4XI?A6)|<OG^9RPb-|tG((JuS zRLjo-C*K|a4LRW5_g9>C*^c_AGNF8YKJoVWS!97!S!Te*@Jh&}a=q)z&@ZE5<Qs$^ z%QC!g9}I6z99XXfSl})1k4|7)?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kTn!KLR~>0AT`(#GnIe z9ZG6rlrt1S`5~zSu@Ykd;QiPB=nM%%oEnW*89jfT8ktE|#X>yw!v52tQIN0~<}l+` zE8N<_b0gO-0qhU8$>;~kgPB&BgsHSbI-bfoUhPu)zZW9kxF`Qjc0Wyu13vlo8}CEG z$;eHTf+&Q8?p40jJ+Z1~{rYToyFjM!3Hr=zv+%EQF{?e=aDj`*><*#jPI@T`rN?*M ze`-#8*=FRh#@l@6=tdX|O$kZP!%}d@Ic9ZDN0+gu4K{*pJ9!UnUTXjRTk)qNxMqx^ zT{gBdsdMy2qi~}gzwB}y6&v1&HC<{*1pme#|Mx4tN1ovdqy$kq_|HAM^$|bk(E#Ls E0QxaItpET3 literal 0 HcmV?d00001 diff --git a/admin/custom/footable/css/fonts/index.html b/admin/custom/footable/css/fonts/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/footable/css/fonts/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/footable/css/footable.core.css b/admin/custom/footable/css/footable.core.css new file mode 100644 index 000000000..d8accfb6b --- /dev/null +++ b/admin/custom/footable/css/footable.core.css @@ -0,0 +1,178 @@ +@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/custom/footable/css/footable.core.min.css b/admin/custom/footable/css/footable.core.min.css new file mode 100644 index 000000000..22ad8439f --- /dev/null +++ b/admin/custom/footable/css/footable.core.min.css @@ -0,0 +1 @@ +@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/custom/footable/css/footable.metro.css b/admin/custom/footable/css/footable.metro.css new file mode 100644 index 000000000..8bdb937ad --- /dev/null +++ b/admin/custom/footable/css/footable.metro.css @@ -0,0 +1,152 @@ +.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/custom/footable/css/footable.metro.min.css b/admin/custom/footable/css/footable.metro.min.css new file mode 100644 index 000000000..e603acdb4 --- /dev/null +++ b/admin/custom/footable/css/footable.metro.min.css @@ -0,0 +1 @@ +.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/custom/footable/css/footable.standalone.css b/admin/custom/footable/css/footable.standalone.css new file mode 100644 index 000000000..a6f44814e --- /dev/null +++ b/admin/custom/footable/css/footable.standalone.css @@ -0,0 +1,181 @@ +.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/custom/footable/css/footable.standalone.min.css b/admin/custom/footable/css/footable.standalone.min.css new file mode 100644 index 000000000..5d375a29e --- /dev/null +++ b/admin/custom/footable/css/footable.standalone.min.css @@ -0,0 +1 @@ +.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/custom/footable/css/index.html b/admin/custom/footable/css/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/footable/css/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/footable/dist/footable.all.min.js b/admin/custom/footable/dist/footable.all.min.js new file mode 100644 index 000000000..8c2e30c05 --- /dev/null +++ b/admin/custom/footable/dist/footable.all.min.js @@ -0,0 +1,14 @@ +/*! + * 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/custom/footable/dist/footable.bookmarkable.min.js b/admin/custom/footable/dist/footable.bookmarkable.min.js new file mode 100644 index 000000000..ad2b1276d --- /dev/null +++ b/admin/custom/footable/dist/footable.bookmarkable.min.js @@ -0,0 +1 @@ +(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/custom/footable/dist/footable.filter.min.js b/admin/custom/footable/dist/footable.filter.min.js new file mode 100644 index 000000000..ed3e36228 --- /dev/null +++ b/admin/custom/footable/dist/footable.filter.min.js @@ -0,0 +1 @@ +(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/custom/footable/dist/footable.grid.min.js b/admin/custom/footable/dist/footable.grid.min.js new file mode 100644 index 000000000..7793ff78f --- /dev/null +++ b/admin/custom/footable/dist/footable.grid.min.js @@ -0,0 +1 @@ +(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/custom/footable/dist/footable.min.js b/admin/custom/footable/dist/footable.min.js new file mode 100644 index 000000000..0486c570d --- /dev/null +++ b/admin/custom/footable/dist/footable.min.js @@ -0,0 +1,14 @@ +/*! + * 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/custom/footable/dist/footable.paginate.min.js b/admin/custom/footable/dist/footable.paginate.min.js new file mode 100644 index 000000000..2b1a87ac5 --- /dev/null +++ b/admin/custom/footable/dist/footable.paginate.min.js @@ -0,0 +1 @@ +(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/custom/footable/dist/footable.sort.min.js b/admin/custom/footable/dist/footable.sort.min.js new file mode 100644 index 000000000..917793dee --- /dev/null +++ b/admin/custom/footable/dist/footable.sort.min.js @@ -0,0 +1 @@ +(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/custom/footable/dist/footable.striping.min.js b/admin/custom/footable/dist/footable.striping.min.js new file mode 100644 index 000000000..01161dd17 --- /dev/null +++ b/admin/custom/footable/dist/footable.striping.min.js @@ -0,0 +1 @@ +(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/custom/footable/dist/index.html b/admin/custom/footable/dist/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/footable/dist/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/footable/icomoon/footable.json b/admin/custom/footable/icomoon/footable.json new file mode 100644 index 000000000..dda61384c --- /dev/null +++ b/admin/custom/footable/icomoon/footable.json @@ -0,0 +1 @@ +{"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-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,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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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.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0-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/custom/footable/icomoon/index.html b/admin/custom/footable/icomoon/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/footable/icomoon/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/footable/index.html b/admin/custom/footable/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/footable/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/footable/js/.jshintrc b/admin/custom/footable/js/.jshintrc new file mode 100644 index 000000000..6d98f8636 --- /dev/null +++ b/admin/custom/footable/js/.jshintrc @@ -0,0 +1,29 @@ +{ + "curly": false, + "eqeqeq": false, + "forin": false, + "indent": false, + "newcap": false, + "plusplus": false, + "quotmark": false, + "undef": false, + "unused": false, + "strict": false, + "trailing": false, + "maxparams": false, + "maxdepth": false, + "maxstatements": false, + "maxcomplexity": false, + "maxlen": false, + + "eqnull": true, + "loopfunc": true, + "smarttabs": true, + "sub": true, + + "browser": true, + "jquery": true, + "node": true, + + "white": false +} \ No newline at end of file diff --git a/admin/custom/footable/js/footable.bookmarkable.js b/admin/custom/footable/js/footable.bookmarkable.js new file mode 100644 index 000000000..0765cbf8c --- /dev/null +++ b/admin/custom/footable/js/footable.bookmarkable.js @@ -0,0 +1,170 @@ +(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/custom/footable/js/footable.filter.js b/admin/custom/footable/js/footable.filter.js new file mode 100644 index 000000000..718dd7f85 --- /dev/null +++ b/admin/custom/footable/js/footable.filter.js @@ -0,0 +1,143 @@ +(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/custom/footable/js/footable.grid.js b/admin/custom/footable/js/footable.grid.js new file mode 100644 index 000000000..6f6d96022 --- /dev/null +++ b/admin/custom/footable/js/footable.grid.js @@ -0,0 +1,373 @@ +(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/custom/footable/js/footable.js b/admin/custom/footable/js/footable.js new file mode 100644 index 000000000..234e4f4ea --- /dev/null +++ b/admin/custom/footable/js/footable.js @@ -0,0 +1,824 @@ +/*! + * 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/custom/footable/js/footable.memory.js b/admin/custom/footable/js/footable.memory.js new file mode 100644 index 000000000..487ed709f --- /dev/null +++ b/admin/custom/footable/js/footable.memory.js @@ -0,0 +1,429 @@ +/** + * 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/custom/footable/js/footable.paginate.js b/admin/custom/footable/js/footable.paginate.js new file mode 100644 index 000000000..8f21c4534 --- /dev/null +++ b/admin/custom/footable/js/footable.paginate.js @@ -0,0 +1,242 @@ +(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/custom/footable/js/footable.plugin.template.js b/admin/custom/footable/js/footable.plugin.template.js new file mode 100644 index 000000000..381cc5494 --- /dev/null +++ b/admin/custom/footable/js/footable.plugin.template.js @@ -0,0 +1,44 @@ +(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/custom/footable/js/footable.sort.js b/admin/custom/footable/js/footable.sort.js new file mode 100644 index 000000000..ec3c04027 --- /dev/null +++ b/admin/custom/footable/js/footable.sort.js @@ -0,0 +1,190 @@ +(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/custom/footable/js/footable.striping.js b/admin/custom/footable/js/footable.striping.js new file mode 100644 index 000000000..17c505b00 --- /dev/null +++ b/admin/custom/footable/js/footable.striping.js @@ -0,0 +1,57 @@ +(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/custom/footable/js/index.html b/admin/custom/footable/js/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/footable/js/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/google.jsapi.js b/admin/custom/google.jsapi.js new file mode 100644 index 000000000..f1b880dfb --- /dev/null +++ b/admin/custom/google.jsapi.js @@ -0,0 +1,39 @@ +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/custom/index.html b/admin/custom/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/soundmanager/README.rdoc b/admin/custom/soundmanager/README.rdoc new file mode 100644 index 000000000..451d7a2b0 --- /dev/null +++ b/admin/custom/soundmanager/README.rdoc @@ -0,0 +1,72 @@ +== 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/custom/soundmanager/demo/360-player/360 button (retina - not playing).psd b/admin/custom/soundmanager/demo/360-player/360 button (retina - not playing).psd new file mode 100644 index 0000000000000000000000000000000000000000..38479c8d260f96d91681f55b02f3daabd6b2b749 GIT binary patch literal 39723 zcmeHw2VhfG_xOF89cfD!dxWye=ty@9bhorZp|)jyd`OzSwxJm{Nh#m}5m0fURS^)8 z<yKG-L_P!s1=pt_OJt8)5a>>urlt9vdtdUBv_<pz>Hn|4Utap|JNMjk*SY7Od)^(d zajCiah(gT8hsPLlyCE)vn)7p9YIY8fM|?j0sac5IZ`g$X9E9Kxk+5MTtjE8<H$C*` zk^S!cviaM#^AAlXVMB3P+~?zx7L-Y4rL<mLNEa*A<AZAdbs$KrkdF_V9-R}OQ<g@T zD6$r5>HI~L3uKE*W%2T$q(qN#3lbKn%2c#oDqf&cs&xqq#s^8|nnF4OV2ln65)%@A z>G+@&93Y;NlPgZsXlZeDXmp4yJVGLljSrPXN5xAdW5f~RlE^SgcvwVyh(wYQ6`LT5 z5nHaHL=S+*Y2`%;dFh#!?7%lZs6?+XO9%_AsHh07hz!+ei^C-G@$q5d5n&M#AwUtL zTd3Ac7lf#FLzqOY>7>&-nO0GzS7_8?oUXJ`Q?4H$6ofNkFH5~tWo$-jT_~wzs7#{@ zTOch9lZ1wcbr(r4W8;*SYn7yEa#<Lyq*b(9uY-7!ZsV1eX!IIgiRLa@vcY%F7}_K! zht0d&@~TwbX06j_%m)@&SlVq&UBSXKIxLUYY09-SI%7UmWk`3mheG5jic9pmUr$a; zXu{Z*0mhGms0nFWTB@hh;ZBSQ504KCj|`E-6iDI|!ox$tW5FF4)``s4Y$Smkja*T* z(2{^8Dg>t?DUd`ZNFoxV!D~yyj<RzaAi{E~Ug}gT_OzYSA(hc+3p5&KBGV0Wt!*q$ z%a0W2NM#B&ZgaazS;*~DlFJf`G+LEZpC~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4?SWZ>VX;^leF;)F*y!fq<5p1{}bz zt7(E-m`trnoXnSQn;@wcLronHGS~1h2aIj4Es4~`&F!sxV@nh8lnFD}a-jZg%@B6) zjyug}1JnST5C^)QJ$3r@PZzFStGaWoHJ+3B<k_}s{L2^4{CMgt4n~&@r%f@`yaP?A z(ItZT+3;g~3^ncjh9A+-1W{u+(-Ff-TlZuA8AOt#TFy0}<;Er~Ia+s?I@f|<5>R#X zd1~etHRn+^W*};4zKBlUzK9yIk7~bh6+Thbj^86F!?mib)HOpJG%KpDszSB6fvL8d z>T0T{4O$51FKcgHr)o{m$N<;h{DrDFfk+TxyG4Wz3t>b3ZK?r;&`~_QNUv3_t<Nq5 zj`3aM?GkUZOT1m$8!JAS_WsLgZ_83^z2kCQJ!*1TZfk<qX6tgB0l`}ryWG|St6tXS zHnJ#ZS#E1ZCU&{a1TeGQX2LUUc)5)-%_a+Vf%~qSseOU%FbjuQ!w^j%SaU-=$l{%4 z+3gNY2{B7=1R{%S1R{%U1R}GA1R_guouF!%iLEBMuL1g+KwAOYN}zIp$}vQZB{R2U z@vI=)4W-yk%A){Cfg!5rCs5u`dXkyK`$#?RYs0mxgvG>4Tu*A~`!Lz_{!kO1KaBer zmL5NjYsEZ@+YU>T+vAL#xM$DT&OGnZD4myWyAX6v!9MjrvejUfl-m2}x0<a@ZS8Dp zd$OoXT8)(wXf=!M*vk`zS9M8w?WNBqllGDdt;R~Qy<|Ib&z`THdETW_tgZGxr27!m literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360 button (retina - playing).psd b/admin/custom/soundmanager/demo/360-player/360 button (retina - playing).psd new file mode 100644 index 0000000000000000000000000000000000000000..b44caee0ac82c116b9a6da83264b62e61352bc66 GIT binary patch literal 39361 zcmeHw2|yD^+y875!hIj!8t^{2Z&c(~swf5ORbMqE3q(RflOSlTwVtg#Y}KNz)~nXD zVypF{wbrBB!&~vJ*5jo}tw7`sNdC{vCYwajrtjN+|MvT`VRoN+=9%laGtWG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;r>_3Y<B=|uKN*Sufe$qN=B5V7ezHD<w@Ll5p{Y{CYif9?-o$X* z5HF;%w!WzXxb?M_A@IBoc>p)3s=l#VqXA6~PNU&9H`G_<=tH^7svrklV6%qX)KIld zAI3XS)nJH;0~@Oj=mV`TRn<YoT8z?dtgpJH59U`?VQ`vSn;~CtEzMR<jditE6-ENp z7@O7x5CGTOpsnXY9d#1UU<vL&dFu4JOV?X(f&{qMoBSKs%FdoXxgXMSMj(OKHJpMl za1E!>I+i=9;S6xWHJm|nSni~T^S}kya2`$4b1A<wjTeCpuJIyu#*g6xpv8@sfeo(l zGAahYGjf6R*xOgpSh#}rfEOR`>+k+Vt#@bq@bV+|YWYp-YAW1Z2!|#xyZknq4Oil$ z1gk3kO|23zehs1mH&<3rn**WA!P_f%K@zm){yl0<5YtF;!=Cp`^?lAS^K=axH~k&z z2h<K-({HbPwA+tJ7h}2`)Ag8cXz7fW&S>e3q;pz2qh(~YjEt6%5iw)p-)F+M1}2JY z(6i6gAXAN=eKu#p`H2Zz{YxaZ>BO2E)tOAJ)xo2seqya2H5yH<HNq5}eqxPGzv(8{ znh_{m-Nc#(Xl7zf121OD#2TfUM5g5M%o<hd33eaC^HPW=6wI!nU1XY0H^KG@Ug01) zyw{WyY7J0p2z4B&<Af>)s+>?wKs7x^8A1&)45_dw>nHRc;qvH8VO%nbEw6Ds47D?^ ZGgx~p7RDHvqGycj<Cs5jQ}lQ1{{c)6j==x` literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360 button - large.psd b/admin/custom/soundmanager/demo/360-player/360 button - large.psd new file mode 100644 index 0000000000000000000000000000000000000000..930b41e016d6612c10e1f929221fd940e52a1c7f GIT binary patch literal 31168 zcmeG_2Ut``w{!2_yN#tU2r9A)h>F-zY_T8+VnskDMulYslqOXZ3mVjj#)8J07<>OU z_L5j*iGTd<y+jGY1u5H?zW1HEyR;O4^S`|By%%@xH*?RNIWu$S%$YN@chBAR9Xxt0 zB9JjqaO=WGKH?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zLyGqh;D;u-7~o<f%!ijkIh7zMplJ;A-T?lMiT*CYcTMnNfDdCB`pN+~2loX$d<gJ| zzys#a{W);=+#R^XoC`KVZj%5w$K#?y;pJ7jIuuBa<F+^e`2!Ys+^l4{VG59pA`IFk zOwtps0?aBQCc$rmKqH;bfP~L<f<~~+@jUQG-i3L%JCeuF13O<7fATY!uV<678sOL7 zfR5r%x(oAqcM`_oxyBkm@rIuU4LCiVN3j}U)EA29wSv``6<#o2tS?3l1LX_Z%WBx( z5LWd-!;D%<ae1THv0AxqG>?llx}r{@DVpaR)}YW~t~{g0<9Fx&cs2ZX?WpS4)qer{ Cn)0Cl literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360 button.psd b/admin/custom/soundmanager/demo/360-player/360 button.psd new file mode 100644 index 0000000000000000000000000000000000000000..afd049802bfbec740516eb1df5cca5cfa3c7cac2 GIT binary patch literal 38695 zcmeG_33yY*)^n3|N%xJ)PAEHcOVTZ+EnPzkEtIyD<)M%!w{0LBNeV6c*hExtMFbT$ z5EsM;J{M42P(;xuBA{$4T0{g~pp_PAq0N8J+^nTQ<5Pe2<>tF{XU?2+=FFKhGw06S zdy|q~TuK<i9Rj#S($kmlInbQPQ?d(+1cPWQgo8Oknl}*BvQcTHY7GkIEY>WlV5`)+ z^r*9MY>yJDRq0Wa5{u%C3^{DII)9##EuA;6OgV3sQl^R;mEo6Gn_8<iXj!vDRIAnK zOsTc$Q3{p5f=z`ug5#n@6vaF%Jt_+`M3ak(MLBvSD@uqJ$0*~aNuq?LSV?kHvLrrQ zRHWC5<ZOjVEE7rM<C8@aNvc?ynjjTfkEjekh@}}-m8m7Ua%-88N{^~Gn+>UPadYR+ zjh!ov)f=ng#4?#IE?yERk;DK-jHym%R@BDmOanM3Ha@wmNoiCY%xWka`6?>(HRklF zC@jc+SSzP6*bCB`VrfNVm3nPlt-=r|j*XAAa|XgR0H)>`S%sO+g);-{Ba4Zb#)y;3 z#In@*_?Y-)2-A?(8O>2F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kST+QYpvs!eOzxR7hs9VLYnFH2{fe9V*CBB*w!5eES8(Q zI}34&<L32ihrcD(ds$qmyI?g9W!gO%L+-#h!Z{oc&sj2rxE_xB+3IPN)fEp@zY-Vj z$2l2*g=8TF=z$c&t~f+#TwY|F1<?R!Jgd#(7!VHYO<}N>5CK1UOq*T<AkCe@b|2vP z#KpN2XI9rA2ZdP`WkA2>l113w(%g9VY-4jv`z6a|u=J*uGfY$KWmxkKY-v2(@XNWT zrgOhEoNa7rv$R{hS{obAoxj-D;&t)-xrWBpc4$UHdsE~2i!H6*7tc2~A;7|GX*l29 zDmdTJf+?oCsjbx_x4_xf%5Q>>0kFmkPOuA&2;-eSccI;i*xo8=X*$b6&os0*S#m9K zwl@iWIYXgL<2P+bEg2R#+m7<Tq4Z4i{<b|9nFY?aJ^cM#IW0%d?dKn%a`4(u9cex+ zIC2VPY_~AyziU3qe0RPbD#~j<{awp(-gl>)+fW594K1gbhL+1zI~SW8e*U?k=^|*y z=ID8p=26-oU}^B?=_P09_Y%2mcYZIEHqQBF4ou;kV(@;M1DsQg4lo}aV3>u_3Fej4 z7`VE;)iegKFYgl?1BaN`*dgY~bx_#3Fn*hX_h#S?4sre=DDzN$JIXTc-~|hFa9SJ6 aD1QMQ^cUopsrZvP-+hwbC8*Dj<o^I9x!O4Z literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360-button-pause-2x.png b/admin/custom/soundmanager/demo/360-player/360-button-pause-2x.png new file mode 100644 index 0000000000000000000000000000000000000000..f348d7ad25dba73a552af372e0dc955c1a62fa1b GIT binary patch literal 627 zcmV-(0*w8MP)<h;3K|Lk000e1NJLTq001li001lq1ONa4w2hLA0006yNkl<ZcmeH~ zMRFTa5QgUx@&)8Ggqbc8+5}fx`5cA=Xyt8~X&Ky`8H8p1vRHbX&TDn~*;V}_4TO{a zM6DWq>iUO+Utj+VN031lACN=WlEVkvWpE^kGKHIX3<L6D@EA9dile=P*PtQ1#+7K& zG{)7WehkKu4y!$k`=F|2mughEH2O3x@`=Bz(Jn8;^7}X(PWuuBrxjsqANd2P2J=#@ zbqM$Oq>a9?O&v@30Nl5!#rl2u{UL#1oV7e@la+l@ua6O=qppSZO`crT<Ab*Z!`cS5 zSn7m6MBkwnHAHQ`xrHEAeal*&)i3qSd2Uu$-y-D~-;`uUYeFJwNgFr);>VmVYfVI0 z%~|8I|CnGn+mKqN=B#0GM2j=vRi;9?<j~#0KzIWLA*01vs2D<vB@Py6wfF;z!%wWm z9TtDk;vA?c+i$EWIub=ri@T6L&TYlQMThDfJZ+O2Ebe;6RodI{+Kvkj-3cv=Y{y>l zTw#{xEQ_>Co3u?i`(#c#ROi^BRa&5VvW9{Z&wpX9=7d9cn)xqUJUvf7oJw_Grj>YM zY=L|@mFm2VDe>y@C9_1DlMdBs%<Az#*UIx1(wuUrPV+qQ)!N-PO2}QWcynaq-3BG# z-R4N(udVA_W{YBCwyulCub#?LJhrBSL6slPKP*sm@(=T)!Qd($DZMIEH0&>qD3MQH zeo&?eJP4)bLb@`(V|FM6rZSFn#LL*q>k19wHLm>n3-9o^3jga@*H=UghH-(E8iN1; N002ovPDHLkV1izGEZ+bC literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360-button-pause-light-2x.png b/admin/custom/soundmanager/demo/360-player/360-button-pause-light-2x.png new file mode 100644 index 0000000000000000000000000000000000000000..4b1e436e8f63160fe444d485e42640651f71f6e4 GIT binary patch literal 752 zcmV<M0uTL(P)<h;3K|Lk000e1NJLTq001li001lq1^@s69)wx}0008FNkl<ZcmeI1 z1#X)`5QYCsq!(z<P&`VRTTw*0M(F?%MXWNDxG07&$84GL_X?)-tiHl(C6Bq_k-pHv ze431R4blG|vzSGxR64HAD~rlUC8fjwKjUv0!yL?=mgJmrRe7Q~MU1%bYp`~1QnF{1 zH<TEHH`r^OqKB2+=8D=Yej9s_TK1Uo07=T_a+gY_BGqbDYPDLIdc97h(P#ktOgIl~ zu$KE!`~h-|QuY<A;>%JHG@H#39H%&?DNJ4sE6p}|;EPfcGOboi+U<6iIF3Vb9CNXT z@*(jD$T^JgZOXEuNJdEtbvhj(&N%{p8{>S+V=q>m(#Sc?Y2YY}il90a^#rYO9mTOH zt4(Q#+<l+3y7(PsSyj7ef8wk*rI8yB{Rm(ErC%v)7q#=7^sjvlhkk^guxBZ25*PwX zv!~(E&vOIEp0&%4Mw&eh2e?>-=M_G{dbUAydCSKz76!R^^uYlx7U4xD+zP`BTU&#| zix%OJ6rON}DU7@n{%8?SDZI&e?oO&Dcs5fwWf6`Q|7P=VG!m4ujCruKytXMEn}m5C z`?nm#eL_-(F~SEK@XleQ@apPnW@TkX^m~_$jSbn^*^z^T14$;6l1ioUodl&UV?O)) z``tY2>+7<%wkB|ZOHW~){FSm60#b%C8*s4*FDYUrAY~Xcv(!^q|0N5GSP4iO#>_1A z6xKdEwYj<J6tNJHGK`sUaEUCjy}kWH5eoq+!<dN|ku`RAcW){(Wp0{<^$0tp$IN?0 zro?+Vm}D7=MB=>S6qzs%xy_=U^gUb@lLR@VK_i_`A5k7<G8vf!$c3EIFp<q>kLPl^ z*ZN(?334EpLCGea&*vX1GA15UcBF3x7K_E(g+jq8G9n!I#NK0lyH%6CQDjK?cI)g7 i?a_W@@Sn#lX7LTf{o*bZZJ7lC0000<MNUMnLSTY7w^$qi literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360-button-pause-light.gif b/admin/custom/soundmanager/demo/360-player/360-button-pause-light.gif new file mode 100644 index 0000000000000000000000000000000000000000..a7efb1dae84e52e4ea47e755f5300058a30a1bb3 GIT binary patch literal 329 zcmV-P0k-}}Nk%w1VHN-u0Q4OI-QC^x_V)h%{_pSa<KyG_`1tel^V!+iPhHGNSH(nA z!Q|xR^78Wc_xJ7X?dj?1-{0Tv?(WXc&gkgq@bK{Q@$uN$*ic{1`T6<M($e(w^!4@i z`uh6+|Nj6000000A^8La0012TEC2ui02Tli06+!CU?+}bX^xx5t=x63F3V|K87x4q z@A(p(n96{{FlaOe24zsem@1H6B9WW!AeEDLYZ72KLgoe|&<Zq_KtU!e1S*>HXkcit zVy)K-qZyDe2N{BcgoFo9CKwbGjE#&Gh+L9eGZB`TmMU5t6%+<)7@-($1{4(>C5i!T ztQ-N5Bo%gddUz`hS#uE-M;ZtSN58!c5q>Bc63G$@3dzjM5*alk0uu)o*xB0H2NQB6 b8xIQv<mKcG57TA^8Wau=yanHr^dSH{5+Rww literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360-button-pause-light.png b/admin/custom/soundmanager/demo/360-player/360-button-pause-light.png new file mode 100644 index 0000000000000000000000000000000000000000..4412d43858c5030965a031b223e0097bbe534f96 GIT binary patch literal 408 zcmV;J0cZY+P)<h;3K|Lk000e1NJLTq000&M000&U1^@s6#I$TX0004BNkl<Zc-q~R z&1!={6op;qx!RIl1BHY_OCQUJNTJWrMRzp|A+0VnLL!);NsMCD&Gdd7A=DAgG6NsZ z&pBs?J2J-YwEccR5~hMFSV9W)nPUyj(9nBfE~qZhpzRy_EG!R)gE}6M>U27(EX!1$ z=L+aE#~K>6c>0`liHU%sC{$UNs;a6Bm}3nMT0D5WYC2ETv<a;1x{GE5Ja}7c&SkJW zLQF%zgO`l9U{h-N&op_nKsRo{OGaC;bv~c34#rDHTX4!{AQ&3Vg>qstT7v~@g{a~2 z^&7Nf;P=C;3$|9PmGV6Ag7NGNbmIoRx>A_7ZL7s%alzfwC+Nlvcy*UIbzK+1Rp8bA zZX@6KKM**MGYC9*wU1H|1Y@byFEtwi9=t|ZTd&tIVHo~wHX9}VPSBvmWAtfJ6g_OW z+jse@F3_MI{Lt@qyIGPXW*o<skOF<?SVLpnO#1_Yb?GVnZr^eM0000<MNUMnLSTZT C;k6q8 literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360-button-pause.gif b/admin/custom/soundmanager/demo/360-player/360-button-pause.gif new file mode 100644 index 0000000000000000000000000000000000000000..5317ded4d391b067b842361991de53d3dcb633db GIT binary patch literal 329 zcmV-P0k-}}Nk%w1VHN-u0Q4OI-QC^e<Kyq|@Amfg{{H^>`1tel^FBU4L_|b6IXUFy z<k{KT^78Wc_xI`P>EGYq?d|RE?(WXc&gkgq@bK{Q@$uN$*hWT1`T6<M($e(w^!4@i z`uh6+|Nj6000000A^8La0012TEC2ui02Tli06+!CU?+}bX^xx5t=x63F3V|KIVeD` z@3}IZn2LbHFlaOe21QW8m@1Fm;gFl|9+i`JYa(DaLgofT&=NG2K|v-f3@V!PNMLBN zVy)K-qY;oW3mJlggoF!DCKwbGjE#&Gh+L9eGZB`TmMU5t6%+<)7@-($1{4(>C5i)V ztQ-T7Bo%gddUz`hS#uE-M;ZtSN58!c5q>Bc63G$?3CYaL5*alk1QQDu*xB0H3lnlA b8x9Hq<mKcF4%21@8Wa!^yanHr^dSH{vDugw literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360-button-pause.png b/admin/custom/soundmanager/demo/360-player/360-button-pause.png new file mode 100644 index 0000000000000000000000000000000000000000..5a74e94ba7b37d7ddc299d787281e1ba0628f09e GIT binary patch literal 329 zcmV-P0k-~$P)<h;3K|Lk000e1NJLTq000&M000&U1ONa4ZoQ<i0003HNkl<ZD9^o; zL2kk@5Jg$%M%}P#B2Hk0#JzloRN^G=0x8feAV>j;A{b&45n%H>Mp0v@aaUFS7GqDI zM-yuXgMV2RkRVBlG^2PYDDbHv#e@zqg?;LTk~0ciP@-Z=-W5255}N$1niMQtal^gg z#;1}mupYX-#`-BfI+zREG}HD@qTuAi!_`z5tt_kWPZ48BLj{tptm<Fo8l+lTm#Dq+ z-Bi|=Ox#!X<dv~w#ZO3%tTL<`hKwBznbU@x<Gta9v7=$`{GdoV;U{&TE?Cb}e0WH) zo;d@x8D+~A`pK4?QD-{x>29$_-eHT~BA@om-9Gw!+rx!3k$3nH<C8q9qh{1e9>(6` b|Ks%qPK@xiNV&6-00000NkvXXu0mjfD^QeT literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360-button-play-2x.png b/admin/custom/soundmanager/demo/360-player/360-button-play-2x.png new file mode 100644 index 0000000000000000000000000000000000000000..4321e3ed1a6d21ea02904ccdcc95883a56ff34f3 GIT binary patch literal 693 zcmV;m0!safP)<h;3K|Lk000e1NJLTq001li001lq1ONa4w2hLA0007fNkl<ZcmeH~ z1B{(r5QcAT=Wfj1*r;s<wcWo~P=<|bTYnYQwt_mS+qI2Z>jZCS_9WlQ=1ec^cAl%F z=T7Ex=wJN&pzgGij?*(Lp*E(3e;wzZ?#U>_G@q`KAt)HS#-rgxwA1MxAqw|sdVJDU z+M#5sVR&Y0tlDmLiBQYbp&kuPV+T!){Uv?%JSuYtJiA+L+B*aav{u;cuzwJ!Nw^bL zO{q3pk&3bzEof!h9Mb0AX3;zOr6>iV9io*?n|QGmws&AGw$;%u`X<TTs&_=*6O3pZ z(JWFYRIvJ1p4n*C=Bs-Mg=-&(R&v#)x?J)Wb?pNR>*D#gvQ}#X>Z8a-ZL3Z5b@4T+ zt!Par&PB~#)KY7@rk@iG*VbtR`r$u3jjEPflcDaucqQ>*E7}#YupI9r7DRSH0<HAL z$H|sK6<gLLFH$)~eB2j56S1DLV<0x66uP)o#Ls+j38BgEzpB_V6bDe_m7>*_qQn=s zksNVuFAnIdFbb#K49Qjwa1pnu;#$TYcP$Q8JO<Z-@n**E$Ex^q*(ZEvGLefy6r+US zmL8p9?G|LoNI(Iv$v`^TQ09r#Ux`+uYbTcAu{z6={>m4hNr#S;PQ(>`j^m6c&RCrR z9V;D#!${{=6jpoU++JBG3mV<f6C3bG8SyZ=y+VHE+{%H*6g+jU$lMBPk+(Px8lSXY zoyDrSFs0yO0g~WhVM<7kqFF_z2nk|}W?74_-d%#kDB2y06s2jUSIQ7SrB_PRLXo4q zd&S*y#0Rg4e)lQr%FC6AgUhN`zaOgEQEjRb1Exl~DU5O(TXU}lQE<1hKmW!%`lG_X b`04QlcD<Wx>%Qv{00000NkvXXu0mjf#xqRX literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360-button-play-light-2x.png b/admin/custom/soundmanager/demo/360-player/360-button-play-light-2x.png new file mode 100644 index 0000000000000000000000000000000000000000..25fc0572225dc00aa156d253e401f2396ed91f07 GIT binary patch literal 898 zcmV-|1AY97P)<h;3K|Lk000e1NJLTq001li001lq1^@s69)wx}0009?Nkl<ZcmeI1 z1FU3O5Qclb8?G5HVq+PtV`qcqV8=G%<OO4fW81cEwDHt@cE20c)St|s+;nbUpW7OB zC12~HzSPv5Gr8lbMm1jaXl-r%RvE9XQZ6ZRB@2`|e#02%VD6KW{6P6%*{4{F7-C@! z)?$xJ$^NArQ=~|aVXtzEexWQhuc&dwvF8`1mi<QArAS*_n}GKAcIoKokj~Cd0bN~P zLb|)Vf&Dkm!y2sRJ`~@D9Ho>!!m8xT+68-hdYs@m#VJi;a->*kw!yAkQA$Flx3^dN z`uYT9vsp(tj=5Mvc?a=bMYRX|i?XaJl2MXE{r&wyEX%TEALD$=V=q?RF1@gr)4-xE zDuU`zG)K@BuA?~iWVI=6A-C&uRu`Y3EUW5X)J&Y!rZjTH!Hw|$wtltAI*TSU?L~=G z+TPc2a3j2rJxkevk`9`CM*6bFRh`o8X*js~w}Hi;%_j>yL&Ea@kP9+@>-D0g+0$@< zi;3`fg@3_}`W3?Dv;WV^<`WMKZVw)PaDa=6@G2#z70iXnSEEkKshhDvTZ6)@OoT5{ zxR46ld1-J^zL|7fZu#SGgprrRmrR7?3U4x=y9Ei8mk0ag_t_^T+|Zn_C3rSdIBp`G zRd};Gp24|5%7oVj-IG6RPCD(u%JSN#aMnne*KzJG2XP0Ch2I)<Qzk4wo4X!+1N%8_ zF6{I9l3uS@^c_er7?fx<D)sgC(%9H2@pv5Xb_`m=FF#E?B)1=gFyE27x;o^MKp-G~ zzhB@0m%PF{`5I+S8A$ev{}0RhedjsX6>u>T-k^vJ97W$5bWUnk9>;hwY{)CDe<V{C zaf4m-wg2wOKQ#x$>+^HG7^dbG);{_n6bf0281nec4aj#B_RG1eclmp<Sa9)}L?jY9 zq=+f+4mvAa4qf5*QgO&*8nIYxq#~wVzvIPwsTpZ3tVh^~dd!?u<Oy*S4jwnr(9rO& zVkuH#Eaaw#Tj?dZC@KkZdJ2t1BJriNCz(u2B|t9Z^b`}RRO;JwI(<~%rJNuKaxrhw z(wR(Vw<2X?H)TuuFtDYiWnpu3v!zIhu&^igF6-k~O>#_;BH`oK>I3c4|Cd2Es__EH YBT#<}PN?JQ`2YX_07*qoM6N<$f&ikq1poj5 literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360-button-play-light.gif b/admin/custom/soundmanager/demo/360-player/360-button-play-light.gif new file mode 100644 index 0000000000000000000000000000000000000000..22be94f866c4d384a0a1bad0f20b8efef42edac4 GIT binary patch literal 441 zcmZ?wbhEHb6k`x$_^Qcp_wL<)|NcFG{P^3qZ(qND{qf_6SL7Lw@Kc{Ze}3}h$<3QL zor8{i`t<4h_wO%XzI^-kt-asD`}glB<sDtS;ap<wspDtf=2l)^y7JWC!>`U>d{<a= zEiUUwasBlbYp=e0_wN1s_b*<&`0(Mw$B!Rx+_-V+(xsn2e}4J$<=nY*zkdDt|NlP& z#X#{V3o8SICW8*hB#@sR*sdLzQsAK@)y^WEwev~Ji~!+<79I@iZoDxyw3y~HUw}E$ zNKs;8|B4h5*Dc*Ynl2r5b2+}}o`i<rfh-nP#!5ytC1%!u09IxtwH9Z24&DH^>1<*W z-l}TyE~;EAix&$CFImBr<EE;puztgO#nshYt2ET)cJ1EfRjHw*$kC~KRJE5wQAxvf zEpzt;4d%@*N>it?Nr`szR!ovpOig8f@-&r4ZoY?#`rEex0@C8|-l_yUGb(T?|M~mx m50`_BlG6c4CPofnC7%Zm;ubQgIoVVQtUKTkEz!)tU=09hue758 literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360-button-play-light.png b/admin/custom/soundmanager/demo/360-player/360-button-play-light.png new file mode 100644 index 0000000000000000000000000000000000000000..fc30c5f42fc3c9f1b0739227ac7cdfc5f65371fd GIT binary patch literal 477 zcmeAS@N?(olHy`uVBq!ia0vp^Vj#@H3?x5i&EW)6>jHd2T!HjEFnICe#e)YAfXr8~ zUIEF+j~@fcw{PD9$(Ju*-n(}X$awSS4Ul~L^y&Tk_aWR5A3l8k{Q1k5FW<g>yL9Q& zuV24Defs1Tc?KwZ^XAPTKYslD`Sbnz_fMWYvG+Up{rmU3ckcrAe*E|mXkAj?(cH?b z&Ot}wvW_I?o?5%%+}^{lj-PpZ_Tsy9=gxVApSp45Mq$mh;`-}LSDpg8XT{p9?F;`k z09`Cv666=mz~$=Z5f&a9GkyB%HS5owy?X8X$B&$UUi|_pIO*x)7*Y{8_e}WaLka?I zi2;EVJ32jl``><v`~P3wIwjF2=6B57J)1u-%uaCHDKJN9&Na@}%4R>;ckh|L^itH+ zP3Og@-;dF{To#u-<;-LIwDilnR+y%Xed{#QOH^s}F>P6Y{f24l8U6{YUwvl%)aWe6 zRrU0)t@ZUx!6MzQ-}$!ay`J#%rNyrAa`k@;xs<Q$>;3k-J>Np7)kn&DSM4T8XNAY5 zpC@KqlW4s8ZN`mr0b6w1=4WV3dyzEjuFFjk)ekjWZ@x8KZRr;NgPAo&KGHhW<~-0- N44$rjF6*2UngBu_6tMsR literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360-button-play.gif b/admin/custom/soundmanager/demo/360-player/360-button-play.gif new file mode 100644 index 0000000000000000000000000000000000000000..d150c0d61f0f1b855f35f9fb9b5ed80def9ba2b4 GIT binary patch literal 441 zcmZ?wbhEHb6k`x$_^Qcp_wL<)|NedZ_U--q_g}w${qf_6y}iAyt?lQ}pPxK=a`Wa* zb93`gpFVy6{{8LSxA*VgfBEvIiHXUnQ>T_JSrQQuk&==U6%}>l$dN^h7G-2)WM^lu zTD5BD&YfXlVej6(d;IwEix)3GeE9J3<Hs8}Zd|%_>F3X%U%q@fckbM;U%&qU|Ia`% zQ2fcl%D|w>paU`q<R=HVYX_zjc<4yAvj}JHyy7t<KzN~s2gAA>Z%h>}rnxi=Fee%* zN-S(#ks@NdrTa&d(Lp<x<9qH&Xb2w2Vo_zRWK>gPVhspjWl~aWac1V=4PcwjCMx5t zs>bZ1%B8Y+v6%Fd6<j%Ps)`EhH>_7&UA?tRLrrei?p<D$8cK>BovKGwdpQ)9G+fs* zbzjh6+U%k<bsC$bcsFmwBss;@RQ4xNQ+ed(d#I?teJdy^EAj5FO0YAd0+;fizyJPl kIk+e}F*r5xa|kQ>Fg%P~$fV|EQ6RAHfJ3xIGXsM)0P}9D?*IS* literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360-button-play.png b/admin/custom/soundmanager/demo/360-player/360-button-play.png new file mode 100644 index 0000000000000000000000000000000000000000..d69ce57eeb64882b27249e9acac19ee3edd296e8 GIT binary patch literal 357 zcmV-r0h<1aP)<h;3K|Lk000e1NJLTq000&M000&U1ONa4ZoQ<i0003jNkl<ZD9^o; zv2MaJ5QdraJe4|Coq~7*Q!2&|mHI&5t4>WN=I)&;xdRf=3=pJ%L=hYbi3qU#J)@M^ zX|h%IxA@MVPiN~Ijel9>kRVBlVn*>!kW;6+<Pl1E<W{L28f*|@iv%f?@GimzG@#D! zs)LAy9rifn>^VyK0_(2bs~4ZdV+nmB*3A^XlZZHZtYN3Ci$a#Earl7ulAeNOA*;+d zx@PY2W@IvuD&#mpX33g6yq@BNt{fXOabIc9m4S}8`o9fX1sI>X%(=l+o(ZfrWFH@A zE*ODFBh$AYD11)*aEoUn()iZbIg_4`&l-G8de%TqTfu0IYJ$<URho{lJ0H#vmY88a z47(L`w`hL7EMUW#X6^7V+iST}tC&%1xop=C{~xb!IRfw9v#0=B00000NkvXXu0mjf DVj-Uv literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360-button-vis-pause-light.gif b/admin/custom/soundmanager/demo/360-player/360-button-vis-pause-light.gif new file mode 100644 index 0000000000000000000000000000000000000000..68bf149fb776bdad74934ba43e8c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vk)!=@i<PFsAw|*1QDoFlSdgu00ApW?r=vq0r(S!R#I3H z05^ruLWUXJ1mMLaoBj|46`#(5<{<|8Fhv(wXu*XQUxe{0takVSL@V8(N(Zkm#Lxy$ PIEYGYohqb2YzP25C~KL2 literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360-button-vis-pause-light.png b/admin/custom/soundmanager/demo/360-player/360-button-vis-pause-light.png new file mode 100644 index 0000000000000000000000000000000000000000..96a89ff7699455a9dc8287740422f27f2b302de2 GIT binary patch literal 1303 zcmZuwdsLEV9R5-u#LJvr#LUu`xx{77(^;5pWT@!ylA>ifCDXE+n<gu(X{c$#(n{wo zJ9293rgaqQaLjC$m!#G)5|}!KL<9v?M7*GxxZmpE{myy6@B6*)^E|)jdC&P+VIcw5 zxD7Z2L97EQ<ZyWJ{BL2+;YpWT@DOBGNf?#px3aPVJO5i#Q&V1EUdhSHOeV9Yre=J6 zd~$M9sZ@@QjdgZ*l1L;1fe;)V{PsiX^?EoR7#LtM7}eF)LZMKtRzG_5XlQ7tudk0t zB(m9T(2>jK)6>&D9#5muh{a-^P6sTNN(Gw3!^1EUS{921Y5;I{c5ZBJ1WkoPF*-U5 z;QIRd!NEZo4PcPfYPAy+6B3C8@ZH_r&<X^C_V#u<onBa22pGr(^p1`W(1&l}0_>v{ zwEg}4V6wKh7EJQ_e6Rs@*y-)<1$<9W&&bFKM3Bj3FhwL1L3VHm(ZCPf28Y7|1xN(o z+1c5dnHk{D&(8y9Zf?$CFhB$d3tX@VLjeX3f%q|XNaZ|&s1QVnAft$-I=<G39MBn! zMzE0>yGR3n$&B!j2xOHR%6v5%i&;dk#(w%nQ(o_h!r+c4E{SNCHpB*pV+Sp4aq;i* z)w_qpr%P|?TCB$xvCdJsTB%(WRv6YMY0^7#^N(V;N-ZjBOO_8Jr}}WWT6a7S5ylP1 z3aKrG8@lkirLZ!|=E&Rzw~9q3f|zv$lK0cnV@paCi+>ARODcOqIZ<43z4b#iES(!6 zA5tyr{<QKCm6VZ2f0jobG>S{y)tN;$=BSN$Im^xX65C{h%~GmJ-tiY=m3u;L<t_%F zYouw4fZ*WZ<k<Mi6N|AljCb?>1A+|P?NRTjqL_qs=fjbS(UH4$t>2Os>{VJ+SE-m2 z)_35{E|9&D0%o8)?tW1JHQ5%LNu<5kmYMBR;hST>oZ<I(sK_dB|K0ZP2<zJmn^9+e zFUWC0VPu#8Xn9aX@^oPKmn8PMT(nWU#eB_bDn(y+d)4`79gkh7`GM;5OeTtWu^Uf| z*c<u;{bk(Iobt=)fp@>~4tzp?Oxfp1zhj;2Sjy3w$DYP^)=rqcB9P~DA9xJ9;>AKq z-ZEO+C&?~fGMjWF_pB23+PISBds}H03WD4p$GczLjOsEbai1bd`+T^lCi@&cUu7@% zx3^7c#QHK-7#d|}4e}H7xOr*H*0F6b0t$Cl|J8!!dM8-=hP_TsB7Q#5kwObR_#Pvr z+$CR4&Z?wrW8|}$j@#{CTAa*_{w_b_JtC#JXdV`F@HhCTOY*&>fUAdn+LA1+><*=^ zi}LGYK5Kkloj#HEBjV(w2>-sI`3my1sqR~o7v<e3W-|wM?#xl4YaHX$rEBPR?WvQ8 z1X(htO+>c(ZCe#};ilMVyc4>1o{^GtJ1~?wqbD&k%fb{3TaRT<cTw+b97H4KiU}$8 zLVOkbpEU!nw&znT^4+6ZwL3ibkXK@&hqXs`aqq>%S)4oYYiink{1JaE)qLLT=C7Wg zJug^WkU)y4lBIeCeUmM3O*biO_NQ#<N?%kE`6s-Uww_NeF8g=7qx;@I$#m5_gvRbX zeCyJZE`#<N-s3uJea4FJ3pegf_VT7@84C-VhZ&s9rrBxpu?&0tQ*R&BS%Z395NC2` Vl_fOm;^0R@0{ueB4Zig3e*y09ziR*h literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360-button-vis-pause.gif b/admin/custom/soundmanager/demo/360-player/360-button-vis-pause.gif new file mode 100644 index 0000000000000000000000000000000000000000..4bd23332c1f9889a8b48b29752365e3e0fb083e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&1FQ(S!yVxW;7=G@NkM@C+!R6!8D?xF zfESZc`a=*@U^+*bhZy9;6kTAU1s7I)5eBNM+TjBbt#lJA9ksp?LmNEduxYPus*pmj HApih7XD^l= literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360-button-vis-pause.png b/admin/custom/soundmanager/demo/360-player/360-button-vis-pause.png new file mode 100644 index 0000000000000000000000000000000000000000..d62fd3c8bc118856a6ca2bf511be868f75d03e14 GIT binary patch literal 1292 zcmZuwdsNa_9RDejJQk6fW@{y_<xZ|eQ+K2!!GopFluWFAg)_@Cqp6i;iJDZjW=b#8 z5-X)*25QGbvs5_wIOa%v9u-Ye!51iMuGHLjXaDY=^ZVWVyZ7_F=lu9g|D8*5t8fT{ zEcNkb1j0=I_rajx&F;aLA&A*kreBcP;^HFg{O>Rtjd5{t<KyG0sj1G+&I1DjqobpR zg@rU4t-ZaS&1UO#I;B!65{Y_ydw1>HrPu3WF)=aW;NZ~R-JO`2SWr*^^v=#sxm@n# z<OHnR+S-wk5fFU;{{7_SWLa6+@bGYJYpcOv0Oa7{AZP*rtl<+jK@9*hnG8g<S}j-% z4GqD*L?VG06bhxkzhA9ZkByCWb#?Xi^#NX`Qq|PdWM*c<5%dD0LZJXzSVJlZ01E#d zb#!#_`Fych48*#+I&cRrSTr{`1HP%L>BEN)kX)nDfPPC$3)}z%13O3pS5aJC3<^*L zz|+&yQ&UqWlWAsV=HthYAOf+WAmD)ujUX8K0uqRjpUdSE2n6T|Il*^!b{66}Um?4} z6qgw2zXvfhw?J8<F-tyK4r9>5cgro97|CX06z*m893~h~XbG}kvis{&+^_R13tanJ zkKTH1C~qJA<Pgl0j`Ubzuxd(IN#w+p(Dgmo+@Lvp5zCm3%U=3pg}?ehcZAxn-07Mj z@W~wWcGp@KPb#h|<|2r>!iPZ*N{YC5D>`}I7MmU0u3vo@=nL&(L~FilaBH9Oc#VB) z^&F4VOr^~YQdO@Sl<OOkFVmKXTlnTVPLeaK(F*y%O*>LnG)u7F>%NEN2bA}UYe|u@ znt|47zujr7y-XKps_Xua5TQ@xB=3!&`U)>wJX|3r9eZlwYilPI9M93JB}1hlehI>T zHtA3Jv5h%@`u={#I#0#<-ow7;GLK^Mt$Tc6Z<cYD`?3XHTw4ZVa@or4k>?2>^NmCX z*DKn(R#;#b)f2S8KOo%lp5s2}OT-4mGr^U<b%jd#>9bh|m4=#`Iw!N}l)GPjg?6v( z!GzO^^j}iP?^~|CPQw$?r!S?)j(RtmhaA9r(!E_`jMX8*Cw3-3;33;yR_s1ycJlN| zPf~CGBfD5iYI1T6eq;Ulg`7Nv9Zt6TX;r`>^Bb0Y1L;J4{#SSM38anlex`eZBA>^p z7lSrlrmbq*_g5%8=Ajkw4q2?*ppTN0rNiZzil6g{HX=iLOlE)&#yWCtJ5Od4K{=JQ zj^zEUB<qf1GfsAwd8|ELDLBH|!#0<#R))p%+G1Qx7nB(X2N@5VSsO4+O+BlV896U2 zvETAwIl)?R)7o`i?oZZ?GqK$+rLr3Gix&s8vFyVg<UfjpwFW}IdF~NT-`lhWs(pn> zUvu9cA5A*6W{q6*7-@SLRmVT0b*tMcNe)xnJ~~X&<vRN7$8NZ?i&<e|TW9m!ZrdfI z=O5pYN{z}>I~21Wd#(JaVQKLRv7z=Q9FEOthvPlel1&2J#+3NmIRRrfS$W%^Vf|4h zBI-@#ToRg3JNrdj$ZJLw&zRmMU<+Oj<QG+*UAXA53C-xOOew5C!ihMFu+GjI&I{R$ zO&Mft6?Zl`(5&fjilz73?J1w{$~!%{pZ}(7Icas&Z@w)4X430a921%+^1u)s;Wt8j Ly!;tbPj>o0C=jfX literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360-button-vis-play-light.gif b/admin/custom/soundmanager/demo/360-player/360-button-vis-play-light.gif new file mode 100644 index 0000000000000000000000000000000000000000..7ce69321533a09b4145c16fdd64c0c40797f0623 GIT binary patch literal 1009 zcmV<N0}lL0Nk%w1VK4wN0M$7F?d|RH@$u{H>+<sQ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>4Z^F}<+D4eaDY zg90nSu+5~Nz_5Y>rfC6~qLTgtkfkqVy2TXxMEcQ6*o+kBKz<^lj|(fXph#6TJ;K5Y z%(%J5B>@HCQ6P570Yd=%ltK+5hU^o7AF}|<(;O@iJ4vIbnB)btcHp50A9nl^2({H( f;sqGZ^wTUQ;XV-#MI&5cacsJpDv?CGK>z?dr1bfI literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360-button-vis-play-light.png b/admin/custom/soundmanager/demo/360-player/360-button-vis-play-light.png new file mode 100644 index 0000000000000000000000000000000000000000..599b0c67b3b67888b07833908b2f9faeaf4010ee GIT binary patch literal 1441 zcmZvbdo+}J7{^~@XqW~~HYy#L)K)6Fv^AAXMX?8sODNH#?XohPHtVu0(P3&NMF~mD z8Zou#qOjx^oidUk#>^Oo8FSOPjd@Kt_SyY=pL5>d?>*1&`~CdB&wI|xp!ggj7_Krz z5QO0A;pPYXwtpX-F0536K^21N$SGa{?u(0y(D~mQA0Kyea$+)>VzF4MR3;@Q(P*@< zU%w6y4^K=?kVqsD$Ye4GgCUhlg+if9rRweN<@5Ql78e)85sSqFJ(Nf!YHMp#C=>u0 z8XB6MoGdIX1WQj(54ftUs|N-KBoYai%Z0lD3qTM@M@P4`wDk4$0RcMi-@gYjpsK2> zAOK_rJ&(te%jI@<c2-ta6%`fG8U3$-Sy@>LGBTMwI5_C-?G47Uu`x&mdZ2Z5bc~FQ zz$ukV1ypx;Hze%r?1brH*rukY=H_OI3YLtF4Ct4Xlyr4<ffDinki+2s1Tw?C@IE~~ ztyZgNW@e_QrXW9Dq0wl-3n;h|W`U6*JXjzdq(V_Nyae^h*B}TmB*+1kSS%TzK&PhA z_6`Yu2<7rr3Z-Una8#{E>pM_Nw6uUF-xVR{_5(v!->#XQ1g{vr41$-5hUExR+$Vs} z=(JkX&y&8XlZZqTxdPQ_&|42B8Lv@$X(JEP)1v)+{1F`tR(FXWPG76HEcY{Ri9B`A zK=n6)by`3P^ff9ccK2kieq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@mncRM-*rUl7s<LsN xG2TR~?*i4bep_8ztw8U1xlzNfB&}T885^3<c!2Kyv;e;!;_2?=R=%Hl^&iME7aafq literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360-button-vis-play.gif b/admin/custom/soundmanager/demo/360-player/360-button-vis-play.gif new file mode 100644 index 0000000000000000000000000000000000000000..4837776a967c4ba429d63c6b751ac4b2a34456dc GIT binary patch literal 1001 zcmZ?wbhEHbG+;1bxT?kQ_U+q`A3wf+{rc0VPv5?MJ9g|C0|P^0Vd0f4SKhsQCnF>C z^5x4NJ9fNy@uIo8Sxii<qN3vA!-uO^uYUCC(edNQpFe+o`SRs!*RI{Wckl7z$9wkd zdHVF}hYue<fByXC%a>QLUcG<+{_EGTZ{EE5^XJdszkk1f|NiUOuiw9a|M>Ca=g*)2 z|NjSCM+s2;$->CMpv9mAG6du&2DbkWQwuzF#5_-^Tso0s)qCRN3zxM)OHVJ~<~eJY zkLHveAwr9T?qBZMlDm4Bx^UM8$r77+0UYt~1p?Hva`Jo%5=-S&Gs1%lHC5%x(wkab zVv9;yH2V@$QqsFMSthAvPt8}?RAg4nm^*L7hV+EhYt@@`gEi%38~QgMIFO-HK3h3g zWhJv*+QD-h(<aW|5pzmTbN~5U^KM+)?iaiJdfJnx&z`3}(p=`Ftfsg(@x|va?TSlV z)isz?zx?~6%C_J~Sc(gm{S6_lm=hZkovmK?y?Fe5!=j^YjO;<h*A-b-bSr2tYH0WO z*i_r)w5nvrL<LS^mUXo=JvXbh37HnZ`m?FKq4U3^OzpcfCmRm3n>e>$(#+fterc9# zH=o0=DQX)#)YnJeJhinUe7%@gfoyc@^kb91pXmF0%IvV(*06hXuTB?RC%Uadm}Qgp z_pnVuEK4}#d?L7-4tEGEI|S}9VBF~8H-*EYp<&+X8OHKA&g}f$$TrhBoR8t>k`4wL zhZS*WXKih|z9BLD$Aw*H?F>rK7X6sO(9m)JKr_3!!=4?C9D*&{|9KS-vft&d<No2W zch}cf$9QdaY<RG%{1sE3{)H8X5}04!-z&X5K=JSQ4@y!lI{A;98SXQEdVPQW{2eX4 ze^@0Ja4`6UU-FjGxp2Gal%)Y<vw+d`157f1QZ8|_0Mh`+Ud9LiAGRy}5_{C4V#dzI zz%Ae)P`m%?vq#+q*S<x2idQ*EXURNS@wm_C+l$40j13<e*|oV6C$uy32ppK?WA^gN z<N&>yOWHq27CCV!6(qQ`$CSN%Iz6E+lAT?tCE$s`y8?y-MipCLKAT-|tn)YnLr8^> zqVj?Xv)HG#K6^fY#!(g~_MSlHKu*pAfkS3JRYFYcoDR#5#y9Kz;&<q8Qg|sA{ATeB zckM*uNz<6`cJ|oG6<lak3cdKngI&g;_?g&r7Lf+`>VvB89E=}=yB6k2Z1QKQJF`jL zzqsVWYn3;1j96rfE+n$cReeZ2F5hVK`i)>*!$lwaV?mqV3J01T5*0hp=gqcG$g@Y9 Hg~1vCNyN$s literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360-button-vis-play.png b/admin/custom/soundmanager/demo/360-player/360-button-vis-play.png new file mode 100644 index 0000000000000000000000000000000000000000..a36478d84a3ecb49aea79559e0051b9a42e6d461 GIT binary patch literal 1380 zcmZvbdsLEl7{^~x6GZV+=VXl~o#V_#rVg93EU7fL07*sbxG9p<x@fC3C2e>&U20aM zbaR%nY0gV!L6%N5JzWe%lMofJc>%#2I(0kl+5dabc`wiN`~JS)&-0%5&0^4f%uP3& zA_!vc=j#;!cjy03v>{wseV94~F%UDTLEdX?YtZ@ML#NY~m6fU0>ZGKk(a}*7i8MVu z9TgQdK0eN3v3h!XXf#?(ObnS!o|&1cuC5*!7|6=XqEIMGrE+3of=DD*R8&k&O^HMz zl}ZKu*49=i!R^zhPav+VtDBsh?C$Q?YPFCuHZ}(S#l^+o-`w0hG&BSN(2+<akOdmB zg`m%$KNAQ9*a#-W!^02+ozl`$nM@{?N?{jhG#bsw$VhK*@8ICz?Cfk;R~PWZDrlOT znuJ1OO-)U1ZZ3!+3mjm4aBF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Lqtb z(oyT_yG`YDgX$^Loh2!@@ARN+58g;jOr{M+7fifq?!R^8X1BI^8~U<a2q8L*`Sh+s zh?{o;J8yQl{6Qzfb!-xQZXj%XQZzoq0hj!B+c^S~>SJlq@kl9krJ`8Vis=w^+Lsp? zmj1<DT9zicLw=I}%l?Ts@5~4#7xOX#HmpBkm2&FzL?_wKfG@pbLD?9-w~=kD3Ax|+ m^6CQ}YPlN6<B^xuYN?avpY*aL9jZe3;}Ab@x>wbHR?5Gc`rCB? literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/360player-visualization.css b/admin/custom/soundmanager/demo/360-player/360player-visualization.css new file mode 100644 index 000000000..c931ae5a0 --- /dev/null +++ b/admin/custom/soundmanager/demo/360-player/360player-visualization.css @@ -0,0 +1,150 @@ +/* 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/S0tL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gk/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/custom/soundmanager/demo/360-player/360player.css b/admin/custom/soundmanager/demo/360-player/360player.css new file mode 100644 index 000000000..7ad639b02 --- /dev/null +++ b/admin/custom/soundmanager/demo/360-player/360player.css @@ -0,0 +1,316 @@ +/* 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/custom/soundmanager/demo/360-player/canvas-visualization-basic.html b/admin/custom/soundmanager/demo/360-player/canvas-visualization-basic.html new file mode 100644 index 000000000..352856b4c --- /dev/null +++ b/admin/custom/soundmanager/demo/360-player/canvas-visualization-basic.html @@ -0,0 +1,132 @@ +<!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/custom/soundmanager/demo/360-player/canvas-visualization.html b/admin/custom/soundmanager/demo/360-player/canvas-visualization.html new file mode 100644 index 000000000..e58c44894 --- /dev/null +++ b/admin/custom/soundmanager/demo/360-player/canvas-visualization.html @@ -0,0 +1,360 @@ +<!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/custom/soundmanager/demo/360-player/demo-slider-controls.css b/admin/custom/soundmanager/demo/360-player/demo-slider-controls.css new file mode 100644 index 000000000..27281c0b2 --- /dev/null +++ b/admin/custom/soundmanager/demo/360-player/demo-slider-controls.css @@ -0,0 +1,179 @@ +#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/custom/soundmanager/demo/360-player/demo-slider-controls.js b/admin/custom/soundmanager/demo/360-player/demo-slider-controls.js new file mode 100644 index 000000000..379cd33da --- /dev/null +++ b/admin/custom/soundmanager/demo/360-player/demo-slider-controls.js @@ -0,0 +1,750 @@ +/* + 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/custom/soundmanager/demo/360-player/demo.css b/admin/custom/soundmanager/demo/360-player/demo.css new file mode 100644 index 000000000..68acf3632 --- /dev/null +++ b/admin/custom/soundmanager/demo/360-player/demo.css @@ -0,0 +1,64 @@ +/** + * 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/custom/soundmanager/demo/360-player/icon_loading_dots.gif b/admin/custom/soundmanager/demo/360-player/icon_loading_dots.gif new file mode 100644 index 0000000000000000000000000000000000000000..fdef4983650f16222501c6f323be4844c8ff96ae GIT binary patch literal 1379 zcmb`G?N3`(0Ef?MOKEA@<z8OoZL=^^p%lc5SO#{blu{UDr7&QOx8X#>C&CvKvux~M zp|?;#Xo0OM<<;gw5D^$J%R~%F5Xl0S5L6_D5Q58G7D5OTBHoLen)%i94?O32e&-~o zXymasJb(u{fPg+ao$mPfxT2y$B9ROX4D9XgaX6euj~*Q!9zK5j_~FBcQmORWvuEAi z-4sPFEG*2<&aSMiXtmlWPoCVqeLFute{*xw*VnhCq-1Sv4af1Cni`A6qSx#9_xF2y zdkYH-^YZd0CML48vqwiqZ8lqAV4%a{uv)Eib91}9yZ-+E)6>(>pFdYBm4kzW(b3W6 z<>g~zW2L2~Wo2b)X=w)s2S-Oo!^6WH8yoTQ@fwXLJw06}lPxVRH8(da6pDt12D{x( zlH}8;PlZC^{QSIHt&WL_DK0KvUtj0(ctb-&J3Bj0r?axMa(jC_H8oW(mj?$2cXoE> z=H~YI_lra#48v~Sx}{R7R##WIwzjgevfSL<78e)AVsS`F$jQkG6YKvzK_`Orq^!)u z1YMFWGK$R%67)NV&jS!h85T1Wa4oBXIKfMaLkT041h_#C0135tvI1x?v;j|?Yg9LB z!X)wUU4(q31NT4oMryc)Uz-%`ZmE?ghE7_PO`<7?kzF8c=3D5lI{W&}va@e$)W}6v zjr{|}FBrD5jFLYr-+ciW11WQpGXMdATc9-Ss4s6u&TL0<fRJ;>nOKYqy*d&`oZo;b z7c+13nl8r1?c&ehOEqVl=a&Tf3OqlH%JE_GQt=cNBN8#R+MqI;8b9S5npIrHlEO#0 ziMINh7DFwb@Q*G-L>Qv$`?M}jUz{L~N&rL<4Y){hakVL|I1|L><6MM)D&g&F5))m< z3)xbi0^>+hY~;uU(+I^TaE>WqY8om`o^v>zrTP1j0jIgsiCBmqA@;R>?yHHHrgUaV zw?=5!zqka75(b=0U>J;)=&lenj0}Af$PBGydX7GV?1AAf?!7(!K7OyE^?gAAu)pYo z>=EyA+$$iE8W+D6YU?>$0&-o9EhJ|I_?heKMY-UHptl;2lKl+-!)1I+nR)-_615F9 zlU}kBZ#G-3wsw+E0nvIJ)1tRsO@-M{_3aW}zTv*X<9gBcNyu%2jC-CdC2qhuR6;>v zT6Tt6L3zT0%i&h$X_#L@zZiGAs>0VOY=kqqU_VK9O)|?*8*jhbU(x^D$4yO+9KF{^ z-xb}I)O2rnj92~25ydwQwrbHK_=hJ`fDZExM5I6{2)e@#e>+;DijoN+`;K=J9m8Gw zuW`X?WJdM_Mi!#zCnOX3Rau<2FtndO@OBJUI6V7M=JGv+hwjRQ<V=nJlKDOibZElp zCihzLOEGCdNlJ$ZZ-W_^)1lfC_JDcb<f*F*53rbD^m5)0t61`@Avr7-iW=$+;%gum zVPRMuw=M=)^(Gb{X=5Q-t|@|cyU7Kfr%a6Dpee}89yOzEtM?>^GFFo&u0TF#K(jsG crTC^`aPD(cM;9w1IwI2CV)%(NQg=bzpXOJ!4FCWD literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/icon_loading_spinner.gif b/admin/custom/soundmanager/demo/360-player/icon_loading_spinner.gif new file mode 100644 index 0000000000000000000000000000000000000000..8449353f08e515913a7412ec02a79e5de984a35d GIT binary patch literal 493 zcmZ?wbhEHb<YM4r_{7GrckkYsnwo$A{`L0u&Y3gk!Gi~9&Yan>VT0m-Za>$MU}whw zS0g<GW<~}E2F0H&tn3VI3_3tIP%{?;1G7#>n24jR<bx~*?H&ad-ZKh0&W@(70Tzo) ztzO<@V6}AOyO8-H<*85`^CAzJ0W1tUj0}tn96-pxEaBm`xn!wisYjuTK!f4+bD@Hl z1A4raH8`QRaUd&}<1iFo=f;rK*1c9DyiJz%dt-P-#<>K6h7FqM5*cAyfaWs+&1Zv} zzriJ#i6@lHu(w0aj8ihrlUYGz@+KCTVg_Wz;u4GoSxz%p&q=y7xM~VaKguFtV46Gu z=5SVIwUQE5A*@Pr!EKC(Ga0r>H%ydle^A0&sNu+j2qz?OW@H&|UgpBUEBMIsaZ|qk zkwh0(kJ*<TVa{Mj_2$Mk$x9`Sm^6|_9B&FUC`ep25@1?p$)Xa<wV45?1?U<^1}2~< j*?_?)E)l4-AbEn5FJse+tkX(<7e!r`Bs7VuFjxZsmqm8I literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/icon_loading_spinner_bigger.gif b/admin/custom/soundmanager/demo/360-player/icon_loading_spinner_bigger.gif new file mode 100644 index 0000000000000000000000000000000000000000..87985e9385d956827734a71f7b952a56175a8b8c GIT binary patch literal 2506 zcmb8xeNYqm83*uv&u(@%Sp+<Wa&1U9lBA$OqUBH_iUcBh!oh*>hBt|*h!r8cR1*>) zAqj90KoFD{U%-LmO(pe}SH)8~&};Rky*ai1p<dtg{Nv7<j@@WG)9KKe-u}Nkzt4W3 z=lMNxT1~`9>3)D8@R|WCD=TMbXWzVe^XSo|!NI|2&z{xP)XdDxw6(Q8eE6`Zr)O+z z?A5DRg@uKBz25D1zkT}__$g1|Tk_-Bl;oH-iLv2JLt&76H}FS<-~kK}?D>x87y$aY zh^=8?ugc!aCkWtFM}5qQqedBSUS&7lP`kVdZ1SXjUJazzO&B{P>nZw$RwbL#z~;xg z6hmCO((>SEA5P)lZi)=?^})(N*;?1^m$JUxtN;-lM?f=GfKrv#YDbO9(hMDG7NaDR zb!bN`fgoh7yr2m^9U=ysm^~}wqek-1CgtqdrGQC0Lwx?pkdh=#;CP%inj&X!pYJJT zC$AnybCrP$5e7Yk^T8Ye-s6`g>d8zG$h_~UZJ6s$BfGq%0V_M6=@P9wH{Fbp%IX-b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%jttO@N>O(Nj4`CqQq5jCGkD{P#hCIc@2FGky5=c9*Y9~0V fM38M{I|cTgK(4vl85A5$9-S&Xc6m5D5Lo$7Ct(b~ literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/demo/360-player/index.html b/admin/custom/soundmanager/demo/360-player/index.html new file mode 100644 index 000000000..559c911d0 --- /dev/null +++ b/admin/custom/soundmanager/demo/360-player/index.html @@ -0,0 +1,171 @@ +<!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/custom/soundmanager/demo/360-player/script/360player.js b/admin/custom/soundmanager/demo/360-player/script/360player.js new file mode 100644 index 000000000..4546a4158 --- /dev/null +++ b/admin/custom/soundmanager/demo/360-player/script/360player.js @@ -0,0 +1,1416 @@ +/** + * + * 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/custom/soundmanager/demo/360-player/script/berniecode-animator.js b/admin/custom/soundmanager/demo/360-player/script/berniecode-animator.js new file mode 100644 index 000000000..1c3b46f56 --- /dev/null +++ b/admin/custom/soundmanager/demo/360-player/script/berniecode-animator.js @@ -0,0 +1,674 @@ +/** @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/custom/soundmanager/demo/360-player/script/excanvas.js b/admin/custom/soundmanager/demo/360-player/script/excanvas.js new file mode 100644 index 000000000..d74887394 --- /dev/null +++ b/admin/custom/soundmanager/demo/360-player/script/excanvas.js @@ -0,0 +1,17 @@ +// 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/custom/soundmanager/demo/index.html b/admin/custom/soundmanager/demo/index.html new file mode 100644 index 000000000..31133af05 --- /dev/null +++ b/admin/custom/soundmanager/demo/index.html @@ -0,0 +1,28 @@ +<!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/custom/soundmanager/index.html b/admin/custom/soundmanager/index.html new file mode 100644 index 000000000..c84bfff5b --- /dev/null +++ b/admin/custom/soundmanager/index.html @@ -0,0 +1,1046 @@ +<!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/custom/soundmanager/license.txt b/admin/custom/soundmanager/license.txt new file mode 100644 index 000000000..1a17182fc --- /dev/null +++ b/admin/custom/soundmanager/license.txt @@ -0,0 +1,29 @@ +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/custom/soundmanager/script/soundmanager2-jsmin.js b/admin/custom/soundmanager/script/soundmanager2-jsmin.js new file mode 100644 index 000000000..2077360f8 --- /dev/null +++ b/admin/custom/soundmanager/script/soundmanager2-jsmin.js @@ -0,0 +1,113 @@ +/** @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/custom/soundmanager/script/soundmanager2-nodebug-jsmin.js b/admin/custom/soundmanager/script/soundmanager2-nodebug-jsmin.js new file mode 100644 index 000000000..f7004790d --- /dev/null +++ b/admin/custom/soundmanager/script/soundmanager2-nodebug-jsmin.js @@ -0,0 +1,83 @@ +/** @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/custom/soundmanager/script/soundmanager2-nodebug.js b/admin/custom/soundmanager/script/soundmanager2-nodebug.js new file mode 100644 index 000000000..6a131c033 --- /dev/null +++ b/admin/custom/soundmanager/script/soundmanager2-nodebug.js @@ -0,0 +1,2765 @@ +/** @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/custom/soundmanager/script/soundmanager2.js b/admin/custom/soundmanager/script/soundmanager2.js new file mode 100644 index 000000000..b33d8c10e --- /dev/null +++ b/admin/custom/soundmanager/script/soundmanager2.js @@ -0,0 +1,6325 @@ +/** @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/custom/soundmanager/swf/soundmanager2.swf b/admin/custom/soundmanager/swf/soundmanager2.swf new file mode 100644 index 0000000000000000000000000000000000000000..0403e0efd1eec96674111dc4f6c641f28000fec5 GIT binary patch literal 2911 zcmV-l3!wBvS5pXL8UO%z+O%2CbKAxhe*^&%vMt+@ov?{%7h&VrN-fHf<Jgf!*|KEG ziX~DN<&VTp7?4<zh(Uk_K-)UEGtH&UO*1)krk7qj(@wALOlNxO^wfL*fc_PA-+K#y zpk$l9)CXaA-`n^3dvAB?7XTLl;I{zhGO(<?#D5bxT!5_%{<(SlEdIsOR->_Hww{`8 z5tQp*-?cVP7bpH4ygdGwcZvPGU*!8RN@}znuW35)O!$HAx$t1F{Mj|LJa_rytCv5$ z{4rcys?W`?I%d!@u1~{9P~Qte(S<;?`o10Rf$2Ej^A)da+AbI~M$7ktV8-IPAzZWR z2n(8KAU>}zdv54^jw5^sQYJ*yTJu}c3ZcxT0MZ{x3Lvz*$lgN{w%fiF$+kqZKb+WB z-E^&{_hM570ZNCK*>88kRWn2v8@}g-as$*uq6RI~5u2VR!1d}hMtAJC3p*P?)`}P5 zrf^3iW`L2Vty3^!KU@7E^t!YZK(8Nkpi8@VDR?WawSl{Y@0!j!3h;N$me>(N2!XVD zXRjxK7SKIIhJ5D3c6h`1yk0Js!53XG6ySJh=#G!7P~$?=UtDM|vVZeNJxYoZ2{eT7 zd;Yw!=7mNHN|y}rqKA<bmQj+zN`~hfrL@FSnM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mV?d00001 diff --git a/admin/custom/soundmanager/swf/soundmanager2_debug.swf b/admin/custom/soundmanager/swf/soundmanager2_debug.swf new file mode 100644 index 0000000000000000000000000000000000000000..9dbc7fe9a016e4bd825c1276dda66cd16d7547f4 GIT binary patch literal 3285 zcmV;`3@Y<OS5pYD9RL7$+O%2AcN=FFzmjIGab8X1G%BqeriLbQiRCm&Uykj>acakn zExD5G^g*MHG@qqOMl)h&WXEY~3lv%&bz$Rky5Jl(`~h&-uwcPCY&iS_EI5ZPOa21F zz4x1!Y^P#_7t;5*-+lh>{q83}05}H#zX3R%f%)ts{2Ly^1z64C$JJw__=%&{dVSSs z-ZxspFV)<hW3CtuPP~io=-6SRS^fNv+ApDhtKPERhGD~|@O;a4VEtn0wO5SN#S1UK zbm8R-FT%OG+QrEQ+wj}^tK;wj)VBRVbifzQo@WKyVA!_1b;Io#mIL~P-t=7GpD=l@ z3&&{K!i0w5i#KZXt`m5!Z3_?llnUW)rEyO*11Ry959u$t<wIa~ki3g5ET{E)$lDZ+ zUOd?#J#VB}Ov|hpj@fV@tO(yndC)X^t#+_r1ZZ@<BNzR6gtDOSxo#jCLoJ{)e$%kU zifamR+!~G1Y^&wK+A@$;;z6(?oL--2b<op$OXRf3AI+X0xE)&Zq1*G@(4o^?=ug4Q z!#Q^N_>>OsovkP9XWy3=0x}hzg9f}F4wg`mw_!BNJljtB0oIUq!Sy;u0KWB5zy|6B zbDo8Vw=6SgLt9wr4`_PA2n17G!ZzUnY(uAK2NpV8Ks)Flz3Z8`J);Y@*a*Pr1#XQv z(jJ|ILvYVU6!;=Y39XC0Dy|71b&)|?+wKaW1&pXJQ8sa=6<pEZsFg}3@I=QA1lTTG zwdSGM(0S7hZ+5yd%K@CyYatHxkfAO-&-JGCMK{pLVC=ju9&`~r!qmqkvoYQE^szL@ zu@bSIGfgYN1Tbtp!nWQOUdQq&EqvV($Rlv|hR|D{fwq`@tR{p$ZRl-JY|M<cgP=P# zIk~m9Rq7a+2_0ctMycs`CjDN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baNry+yJ^tNLLv^ z=ZAFu0J^P^ZtH945P7B4%Mmg1S^wLy55w|>IE;lyF3rsp_-#h#KR@W_qcq(1%l~Ov zzNJX)&k|ZKEH_#%)kOR}-ltxh%MNJ2pkkIO$jKKwN1~@mr%Bf@|3pY<cce*hty0;2 zLMoM2GSVww&J^Hk?iLO|e;&E4tj*Qt>nn3hWuX5_?D_X7{~F1BNr^)EyJKXh{AB=@ ThHE(eF8}}l|NjF3Ul%?!@tTAp literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/swf/soundmanager2_flash9.swf b/admin/custom/soundmanager/swf/soundmanager2_flash9.swf new file mode 100644 index 0000000000000000000000000000000000000000..f401b2ff5ae340aa2911ec265c1d4070e7ed1277 GIT binary patch literal 8665 zcmV;~Atv5KS5ppvJ^%oC+P!;ucw5z#_&rxo@9IgiB`b-O*n}ux><|>&Ng$9E0*SZ8 zBvBG)A%L-;r1vZ(T3jto+-Zkk8ro7QOWRPE7PHd=rIhZa14F0Fly>G>9+D32w4F|; z(`B~Kw6wFd{+)B*(_)A8`{tjYzuf)YbI&>V+_OBvai;v3vBoDETL!GRX*px;=0$G+ zV^`)A=H`99{o&)8bhfY=M^|+ui^cKHU0uhH9qT-{p);2s>sq&I)26QO^<C@NuSJNp zg~@DDKfX3wxUgf3M9^y#;`!8gF_p`PX{^U`rQ%f`9S+t+yoz+Zlut{PiFlWhHZn%G zSm;{UxegH};+xG}KBE`6=;Pz*R9q)?UB}lJlDYWNWBP=#)=cY#<dt1DK-yDG71PF+ zt>bz;X@vXJ#_{mh+I9(SLlA7DM&}lXpj0+qis{8%zEhVdBylF9kz4CG5Q6biES)MO zjeO<6p`2MfrswhGTq&EVomm5<ZSlN8M{Fr&k7jenY>3Jnt*7<uSV<o<w)E|mYt^wN zS}z(~220uSx=46^_qxk$!f5i!t_8w(X7E0@u-@R$TvxIlJ~uaaz1M{ou3}NNhhJI3 z=&$Ydo=@*W1t@!mi1J-}7SGGCAK5yzfxWzV^_7g_A~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<=TdHIFyknU++h0c6M%uY|!Ok}q?3_1#_gR?aaxMI{?ak#i rb-n_lefM&Fl228m{cZT~I-u}grKEik{pWmV|6jzYi|qda0Y5UqXI%_o literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/swf/soundmanager2_flash9_debug.swf b/admin/custom/soundmanager/swf/soundmanager2_flash9_debug.swf new file mode 100644 index 0000000000000000000000000000000000000000..cbc444257a11a636358a2d7aea031704c40b0ac6 GIT binary patch literal 17211 zcmV(<K-#}US5ppNc>n--0j<3Ud{kBT2mbDTZ|2QR+GOZW2M7tlAr;b8Bmx7nRtUzH z#g}9riA-T<CV{xc7)7yn>>8}td+%M>HUS0e>guk$u7&5i_QL;r?tL?vgy8@8`G5ZT zaOd1|?z!!pbIZH;uujoFQk47~6lFY978XuW6y=0b?=VH#C*E#0EL#}#uZx7Ei3WuB zE$K)m*EE!uuU)&gY;AQ}EWWC|vcA5)yrQbSs%kbcW+!^0Nn_pYXkvQFJV9V#DA5-0 zT$AjKMg2t3XpMCx_bn;0skXOeh_301hXu*@w(?Lo6bVI>iSo*_N)T#qYcON+h>@IU ztXUK8Y%_>l`MTMOj#%63wMKVnwiz}O9s86IB2u1YXEGd`*SN-L>j?RS;m|sN<6w4y zEHMbTeXySM>{fP0+qznfWGr502oj=lCdi1a*%^qyny%JxXQCq%PZzj6W+vAfag-eE zinfa?i;RPal&viuq9W#XMOQ~-Yoh`q9Y^V5Bf6@~SQVPL=wOkS35!Y_$<Vx|T~U8! zz+Y8SIagMUBKIk$&d%z5I|k!9Ps#UoO*r_F*@reRU*3GkvV}^j0E0f{Z=v_!>ORT> zzH{f!qdY2-oN$`^>L<qtwA-IsaQ8uAku9F()V70+C~6q5TG_a~T6tphS-(>hBr3b6 zd6hCnRjL%_Hnniq)cwj2kA=G;p+tFeEWX-bS&r(jPR7=hC#aB!T}XK%-nRGNyW}o2 z5{_hNBoueVLy1sw?8?x(WGEgr!UseFO`|Q;6iOtu?pSC0s9iD_RpbZ;D(gyih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-p8`e=MAsoKUjZ>nBFh6>$gjFsKPK8xKZ0eG7ukC zgOV;rNuDi6+`42qy?@H7EG{;oSyqdPjrxZaK>~zMo)~yXb^wG$1V5qXUy4HT7TKIa zJ0)z~kWy<VXqAAt84r%zbX&J?HgK*%)BcV5345MT<#Z~L`UC%=(3JkbXBYx(ZM>vT zuLZ#g8-4ZgUMENFdSu69KfRN>0SIzLZyesP^ia~h=bJO_7)=`OR^+m0-Mh35v))Z_ zlgH4Uun?kfA0B;L_Y-1E%*6k7n=-q^?DT+$vNzG)BI-dA6)_{`+LXCYL_I{b#uBaL zK<g2r_2^JqG{ZbLlomzd2{lTz$@d6actee-40*zO3Q<`*d5U_PN*qUD1?bB0^C*$T z_<7BGkrKw^x~*d`aou)G%Ldj`WESC`Eg4*@Xvr~i#E-aH+i@z*b(5&}qi}9J>`E<6 O_AB!d`~Lto5O<zbX2swD literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager/swf/soundmanager2_flash_xdomain.zip b/admin/custom/soundmanager/swf/soundmanager2_flash_xdomain.zip new file mode 100644 index 0000000000000000000000000000000000000000..7ebcecc2a17f08cc3328cbd40ee411b12bf67786 GIT binary patch literal 32927 zcmbTdV~{9K6eKz}@7T6&+qP}nwr$%s@7T6&+w<<X8@n6(b6-ZEs;;Ow=SM|#M`l!( zyc9496aWAO1i(STUr|r8CInMx004u3K?8sc;AH1wYiwg+YhY&L$f##(ZQx|C=Wc9g zV_;!R_kYdNI=Ptw0wDa4M1X(zugHG@G=R>15>iuwFvJ7^aNlUwn0DG6LGc3t{L@IY znUGT-VS#3FxF$(6k#M+{AhO<QJRV7+h;ke^B#R!eo)9kJ56ZvE*~T<oG9|;r;ar-g z%e5$5cP(w^dH%HI_3QtG;<D=n?VoR))w2X{;I_N@`tD`tc8&&s2DsM-aLQO;-96-o z#G&n91M}12@kRYJJg-{RVA7hKX@i)2sk__4DuYJ$gWb*jljauj-KBT*NiS*Hj8kX9 zc_;lAaNTjIU;DMr(!}ldepr>p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EA1i}zlx{9=U*#niF zKS5<>Ht4TU0U!Wyn`b^S1Lqh!jD_)`ePMPPJa!-Koc(}IuoqT#`@T~^8bL@1ONIl% zaz%~$<b}|eG88h|=SJuSA;i)R?Fm{}NrnT&ZnqEz6hFWav>uFL5ZMn<(@SI#)O?^u zs^Q&@+{U1w9gd~H5MA9Q7}n@k+tV81`V0rU2w=EKCP-*__;ooOuYDns0-(P_;0wQF z@z3(hW8l9U^dG+I0ABhJHQ!+_S<qJBBE3GmYLPW@s~~yo^kt!s%I#EECTM5cCt~!o z5v!k+`7$Ras5$4#&{|c$QpjaPmS!-%-Ap5gw8Q{u*52h+VfX3s)orRH5((7o79bnZ zQF)F>T=ShS9~Yn(xoozF*hEZ!-q#i=L8%1;MKJSLNS+ZTLK+jZ*M4`B@|u=66YpRC ziZM*S(z&YkR^tH^OFB;++sP!B>%|CkuOce{UcMJ+@Yvv=on;E>`@Q!EHxC0_91}Da zu5uY9?hu>%EaIkam7P;ajH>!b-K#GtL|aB~HExj4z7bm!9RtuQ^CYwp67L`;l8d*> znTlE|qZMqHj^%zK7DKqHN6REr)=?&-x2I87RaTEZKCcHelnElHO2ZXt)@4x}^)Z<6 zyrOD4QnK9|){C1b-yNYcSHNQ8vr2kK>v9rMs_bz>Uk}1ubc{CaisTEn6gK-JxgSa5 zQ;`RU!2AXe1_lcY_8;*MKbm&b|M=IN{=1p}U&W38JSsx}Q~o#Gd*lDd^2ON4!r9T( z)`{i6)&0i@=D$M!PixNq!2R!|B6Q*(*?(*P{|Ehl<U#%`!T&U``TyYm^X-s$|2G8x o$I9lvGW<_zlmE&fEAW5M@L&G~3i>~2kpIpoa4@iM!T)*tUq*k2y#N3J literal 0 HcmV?d00001 diff --git a/admin/custom/soundmanager2.js b/admin/custom/soundmanager2.js new file mode 100644 index 000000000..2077360f8 --- /dev/null +++ b/admin/custom/soundmanager2.js @@ -0,0 +1,113 @@ +/** @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/custom/uikit/css/components/accordion.almost-flat.css b/admin/custom/uikit/css/components/accordion.almost-flat.css new file mode 100644 index 000000000..f8edc0dd7 --- /dev/null +++ b/admin/custom/uikit/css/components/accordion.almost-flat.css @@ -0,0 +1,39 @@ +/*! 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/custom/uikit/css/components/accordion.almost-flat.min.css b/admin/custom/uikit/css/components/accordion.almost-flat.min.css new file mode 100644 index 000000000..1f1f94130 --- /dev/null +++ b/admin/custom/uikit/css/components/accordion.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/accordion.css b/admin/custom/uikit/css/components/accordion.css new file mode 100644 index 000000000..fe84c73f9 --- /dev/null +++ b/admin/custom/uikit/css/components/accordion.css @@ -0,0 +1,37 @@ +/*! 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/custom/uikit/css/components/accordion.gradient.css b/admin/custom/uikit/css/components/accordion.gradient.css new file mode 100644 index 000000000..afc5c473d --- /dev/null +++ b/admin/custom/uikit/css/components/accordion.gradient.css @@ -0,0 +1,39 @@ +/*! 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/custom/uikit/css/components/accordion.gradient.min.css b/admin/custom/uikit/css/components/accordion.gradient.min.css new file mode 100644 index 000000000..27b3e73ce --- /dev/null +++ b/admin/custom/uikit/css/components/accordion.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/accordion.min.css b/admin/custom/uikit/css/components/accordion.min.css new file mode 100644 index 000000000..a1b3a9044 --- /dev/null +++ b/admin/custom/uikit/css/components/accordion.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/autocomplete.almost-flat.css b/admin/custom/uikit/css/components/autocomplete.almost-flat.css new file mode 100644 index 000000000..8f5176b5b --- /dev/null +++ b/admin/custom/uikit/css/components/autocomplete.almost-flat.css @@ -0,0 +1,52 @@ +/*! 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/custom/uikit/css/components/autocomplete.almost-flat.min.css b/admin/custom/uikit/css/components/autocomplete.almost-flat.min.css new file mode 100644 index 000000000..ee6875b2c --- /dev/null +++ b/admin/custom/uikit/css/components/autocomplete.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/autocomplete.css b/admin/custom/uikit/css/components/autocomplete.css new file mode 100644 index 000000000..bb71335fb --- /dev/null +++ b/admin/custom/uikit/css/components/autocomplete.css @@ -0,0 +1,50 @@ +/*! 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/custom/uikit/css/components/autocomplete.gradient.css b/admin/custom/uikit/css/components/autocomplete.gradient.css new file mode 100644 index 000000000..06e2c523d --- /dev/null +++ b/admin/custom/uikit/css/components/autocomplete.gradient.css @@ -0,0 +1,52 @@ +/*! 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/custom/uikit/css/components/autocomplete.gradient.min.css b/admin/custom/uikit/css/components/autocomplete.gradient.min.css new file mode 100644 index 000000000..83041378a --- /dev/null +++ b/admin/custom/uikit/css/components/autocomplete.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/autocomplete.min.css b/admin/custom/uikit/css/components/autocomplete.min.css new file mode 100644 index 000000000..03b1be2fe --- /dev/null +++ b/admin/custom/uikit/css/components/autocomplete.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/datepicker.almost-flat.css b/admin/custom/uikit/css/components/datepicker.almost-flat.css new file mode 100644 index 000000000..ecc808010 --- /dev/null +++ b/admin/custom/uikit/css/components/datepicker.almost-flat.css @@ -0,0 +1,129 @@ +/*! 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/custom/uikit/css/components/datepicker.almost-flat.min.css b/admin/custom/uikit/css/components/datepicker.almost-flat.min.css new file mode 100644 index 000000000..5f9ab45ee --- /dev/null +++ b/admin/custom/uikit/css/components/datepicker.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/datepicker.css b/admin/custom/uikit/css/components/datepicker.css new file mode 100644 index 000000000..5414e4f48 --- /dev/null +++ b/admin/custom/uikit/css/components/datepicker.css @@ -0,0 +1,123 @@ +/*! 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/custom/uikit/css/components/datepicker.gradient.css b/admin/custom/uikit/css/components/datepicker.gradient.css new file mode 100644 index 000000000..94366b61c --- /dev/null +++ b/admin/custom/uikit/css/components/datepicker.gradient.css @@ -0,0 +1,139 @@ +/*! 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/custom/uikit/css/components/datepicker.gradient.min.css b/admin/custom/uikit/css/components/datepicker.gradient.min.css new file mode 100644 index 000000000..102458b04 --- /dev/null +++ b/admin/custom/uikit/css/components/datepicker.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/datepicker.min.css b/admin/custom/uikit/css/components/datepicker.min.css new file mode 100644 index 000000000..7738f9874 --- /dev/null +++ b/admin/custom/uikit/css/components/datepicker.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/dotnav.almost-flat.css b/admin/custom/uikit/css/components/dotnav.almost-flat.css new file mode 100644 index 000000000..78bf04907 --- /dev/null +++ b/admin/custom/uikit/css/components/dotnav.almost-flat.css @@ -0,0 +1,129 @@ +/*! 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/custom/uikit/css/components/dotnav.almost-flat.min.css b/admin/custom/uikit/css/components/dotnav.almost-flat.min.css new file mode 100644 index 000000000..f1410c48a --- /dev/null +++ b/admin/custom/uikit/css/components/dotnav.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/dotnav.css b/admin/custom/uikit/css/components/dotnav.css new file mode 100644 index 000000000..57a1771b5 --- /dev/null +++ b/admin/custom/uikit/css/components/dotnav.css @@ -0,0 +1,125 @@ +/*! 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/custom/uikit/css/components/dotnav.gradient.css b/admin/custom/uikit/css/components/dotnav.gradient.css new file mode 100644 index 000000000..78bf04907 --- /dev/null +++ b/admin/custom/uikit/css/components/dotnav.gradient.css @@ -0,0 +1,129 @@ +/*! 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/custom/uikit/css/components/dotnav.gradient.min.css b/admin/custom/uikit/css/components/dotnav.gradient.min.css new file mode 100644 index 000000000..f1410c48a --- /dev/null +++ b/admin/custom/uikit/css/components/dotnav.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/dotnav.min.css b/admin/custom/uikit/css/components/dotnav.min.css new file mode 100644 index 000000000..8db104ca7 --- /dev/null +++ b/admin/custom/uikit/css/components/dotnav.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/form-advanced.almost-flat.css b/admin/custom/uikit/css/components/form-advanced.almost-flat.css new file mode 100644 index 000000000..4c8076016 --- /dev/null +++ b/admin/custom/uikit/css/components/form-advanced.almost-flat.css @@ -0,0 +1,78 @@ +/*! 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/custom/uikit/css/components/form-advanced.almost-flat.min.css b/admin/custom/uikit/css/components/form-advanced.almost-flat.min.css new file mode 100644 index 000000000..03d82f0e1 --- /dev/null +++ b/admin/custom/uikit/css/components/form-advanced.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/form-advanced.css b/admin/custom/uikit/css/components/form-advanced.css new file mode 100644 index 000000000..4c8076016 --- /dev/null +++ b/admin/custom/uikit/css/components/form-advanced.css @@ -0,0 +1,78 @@ +/*! 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/custom/uikit/css/components/form-advanced.gradient.css b/admin/custom/uikit/css/components/form-advanced.gradient.css new file mode 100644 index 000000000..4c8076016 --- /dev/null +++ b/admin/custom/uikit/css/components/form-advanced.gradient.css @@ -0,0 +1,78 @@ +/*! 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/custom/uikit/css/components/form-advanced.gradient.min.css b/admin/custom/uikit/css/components/form-advanced.gradient.min.css new file mode 100644 index 000000000..03d82f0e1 --- /dev/null +++ b/admin/custom/uikit/css/components/form-advanced.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/form-advanced.min.css b/admin/custom/uikit/css/components/form-advanced.min.css new file mode 100644 index 000000000..03d82f0e1 --- /dev/null +++ b/admin/custom/uikit/css/components/form-advanced.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/form-file.almost-flat.css b/admin/custom/uikit/css/components/form-file.almost-flat.css new file mode 100644 index 000000000..70fe2c45a --- /dev/null +++ b/admin/custom/uikit/css/components/form-file.almost-flat.css @@ -0,0 +1,34 @@ +/*! 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/custom/uikit/css/components/form-file.almost-flat.min.css b/admin/custom/uikit/css/components/form-file.almost-flat.min.css new file mode 100644 index 000000000..3da0ea636 --- /dev/null +++ b/admin/custom/uikit/css/components/form-file.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/form-file.css b/admin/custom/uikit/css/components/form-file.css new file mode 100644 index 000000000..70fe2c45a --- /dev/null +++ b/admin/custom/uikit/css/components/form-file.css @@ -0,0 +1,34 @@ +/*! 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/custom/uikit/css/components/form-file.gradient.css b/admin/custom/uikit/css/components/form-file.gradient.css new file mode 100644 index 000000000..70fe2c45a --- /dev/null +++ b/admin/custom/uikit/css/components/form-file.gradient.css @@ -0,0 +1,34 @@ +/*! 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/custom/uikit/css/components/form-file.gradient.min.css b/admin/custom/uikit/css/components/form-file.gradient.min.css new file mode 100644 index 000000000..3da0ea636 --- /dev/null +++ b/admin/custom/uikit/css/components/form-file.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/form-file.min.css b/admin/custom/uikit/css/components/form-file.min.css new file mode 100644 index 000000000..3da0ea636 --- /dev/null +++ b/admin/custom/uikit/css/components/form-file.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/form-password.almost-flat.css b/admin/custom/uikit/css/components/form-password.almost-flat.css new file mode 100644 index 000000000..b328f60ff --- /dev/null +++ b/admin/custom/uikit/css/components/form-password.almost-flat.css @@ -0,0 +1,34 @@ +/*! 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/custom/uikit/css/components/form-password.almost-flat.min.css b/admin/custom/uikit/css/components/form-password.almost-flat.min.css new file mode 100644 index 000000000..1f55b7c96 --- /dev/null +++ b/admin/custom/uikit/css/components/form-password.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/form-password.css b/admin/custom/uikit/css/components/form-password.css new file mode 100644 index 000000000..b328f60ff --- /dev/null +++ b/admin/custom/uikit/css/components/form-password.css @@ -0,0 +1,34 @@ +/*! 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/custom/uikit/css/components/form-password.gradient.css b/admin/custom/uikit/css/components/form-password.gradient.css new file mode 100644 index 000000000..b328f60ff --- /dev/null +++ b/admin/custom/uikit/css/components/form-password.gradient.css @@ -0,0 +1,34 @@ +/*! 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/custom/uikit/css/components/form-password.gradient.min.css b/admin/custom/uikit/css/components/form-password.gradient.min.css new file mode 100644 index 000000000..1f55b7c96 --- /dev/null +++ b/admin/custom/uikit/css/components/form-password.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/form-password.min.css b/admin/custom/uikit/css/components/form-password.min.css new file mode 100644 index 000000000..1f55b7c96 --- /dev/null +++ b/admin/custom/uikit/css/components/form-password.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/form-select.almost-flat.css b/admin/custom/uikit/css/components/form-select.almost-flat.css new file mode 100644 index 000000000..178390919 --- /dev/null +++ b/admin/custom/uikit/css/components/form-select.almost-flat.css @@ -0,0 +1,35 @@ +/*! 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/custom/uikit/css/components/form-select.almost-flat.min.css b/admin/custom/uikit/css/components/form-select.almost-flat.min.css new file mode 100644 index 000000000..5a38b0f8a --- /dev/null +++ b/admin/custom/uikit/css/components/form-select.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/form-select.css b/admin/custom/uikit/css/components/form-select.css new file mode 100644 index 000000000..178390919 --- /dev/null +++ b/admin/custom/uikit/css/components/form-select.css @@ -0,0 +1,35 @@ +/*! 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/custom/uikit/css/components/form-select.gradient.css b/admin/custom/uikit/css/components/form-select.gradient.css new file mode 100644 index 000000000..178390919 --- /dev/null +++ b/admin/custom/uikit/css/components/form-select.gradient.css @@ -0,0 +1,35 @@ +/*! 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/custom/uikit/css/components/form-select.gradient.min.css b/admin/custom/uikit/css/components/form-select.gradient.min.css new file mode 100644 index 000000000..5a38b0f8a --- /dev/null +++ b/admin/custom/uikit/css/components/form-select.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/form-select.min.css b/admin/custom/uikit/css/components/form-select.min.css new file mode 100644 index 000000000..5a38b0f8a --- /dev/null +++ b/admin/custom/uikit/css/components/form-select.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/htmleditor.almost-flat.css b/admin/custom/uikit/css/components/htmleditor.almost-flat.css new file mode 100644 index 000000000..c24af888e --- /dev/null +++ b/admin/custom/uikit/css/components/htmleditor.almost-flat.css @@ -0,0 +1,225 @@ +/*! 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/custom/uikit/css/components/htmleditor.almost-flat.min.css b/admin/custom/uikit/css/components/htmleditor.almost-flat.min.css new file mode 100644 index 000000000..e50023d0c --- /dev/null +++ b/admin/custom/uikit/css/components/htmleditor.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/htmleditor.css b/admin/custom/uikit/css/components/htmleditor.css new file mode 100644 index 000000000..3861baa3a --- /dev/null +++ b/admin/custom/uikit/css/components/htmleditor.css @@ -0,0 +1,167 @@ +/*! 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/custom/uikit/css/components/htmleditor.gradient.css b/admin/custom/uikit/css/components/htmleditor.gradient.css new file mode 100644 index 000000000..9c9624eeb --- /dev/null +++ b/admin/custom/uikit/css/components/htmleditor.gradient.css @@ -0,0 +1,232 @@ +/*! 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/custom/uikit/css/components/htmleditor.gradient.min.css b/admin/custom/uikit/css/components/htmleditor.gradient.min.css new file mode 100644 index 000000000..f71780286 --- /dev/null +++ b/admin/custom/uikit/css/components/htmleditor.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/htmleditor.min.css b/admin/custom/uikit/css/components/htmleditor.min.css new file mode 100644 index 000000000..074b3d48a --- /dev/null +++ b/admin/custom/uikit/css/components/htmleditor.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/index.html b/admin/custom/uikit/css/components/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/uikit/css/components/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/uikit/css/components/nestable.almost-flat.css b/admin/custom/uikit/css/components/nestable.almost-flat.css new file mode 100644 index 000000000..4d6f3d4a1 --- /dev/null +++ b/admin/custom/uikit/css/components/nestable.almost-flat.css @@ -0,0 +1,135 @@ +/*! 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/custom/uikit/css/components/nestable.almost-flat.min.css b/admin/custom/uikit/css/components/nestable.almost-flat.min.css new file mode 100644 index 000000000..8d651de10 --- /dev/null +++ b/admin/custom/uikit/css/components/nestable.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/nestable.css b/admin/custom/uikit/css/components/nestable.css new file mode 100644 index 000000000..aa4c6447f --- /dev/null +++ b/admin/custom/uikit/css/components/nestable.css @@ -0,0 +1,132 @@ +/*! 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/custom/uikit/css/components/nestable.gradient.css b/admin/custom/uikit/css/components/nestable.gradient.css new file mode 100644 index 000000000..26c506043 --- /dev/null +++ b/admin/custom/uikit/css/components/nestable.gradient.css @@ -0,0 +1,139 @@ +/*! 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/custom/uikit/css/components/nestable.gradient.min.css b/admin/custom/uikit/css/components/nestable.gradient.min.css new file mode 100644 index 000000000..58a8f715e --- /dev/null +++ b/admin/custom/uikit/css/components/nestable.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/nestable.min.css b/admin/custom/uikit/css/components/nestable.min.css new file mode 100644 index 000000000..94941fbe9 --- /dev/null +++ b/admin/custom/uikit/css/components/nestable.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/notify.almost-flat.css b/admin/custom/uikit/css/components/notify.almost-flat.css new file mode 100644 index 000000000..642111940 --- /dev/null +++ b/admin/custom/uikit/css/components/notify.almost-flat.css @@ -0,0 +1,99 @@ +/*! 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/custom/uikit/css/components/notify.almost-flat.min.css b/admin/custom/uikit/css/components/notify.almost-flat.min.css new file mode 100644 index 000000000..4d33bb376 --- /dev/null +++ b/admin/custom/uikit/css/components/notify.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/notify.css b/admin/custom/uikit/css/components/notify.css new file mode 100644 index 000000000..42d7bce2e --- /dev/null +++ b/admin/custom/uikit/css/components/notify.css @@ -0,0 +1,93 @@ +/*! 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/custom/uikit/css/components/notify.gradient.css b/admin/custom/uikit/css/components/notify.gradient.css new file mode 100644 index 000000000..642111940 --- /dev/null +++ b/admin/custom/uikit/css/components/notify.gradient.css @@ -0,0 +1,99 @@ +/*! 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/custom/uikit/css/components/notify.gradient.min.css b/admin/custom/uikit/css/components/notify.gradient.min.css new file mode 100644 index 000000000..4d33bb376 --- /dev/null +++ b/admin/custom/uikit/css/components/notify.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/notify.min.css b/admin/custom/uikit/css/components/notify.min.css new file mode 100644 index 000000000..3aa6b89a1 --- /dev/null +++ b/admin/custom/uikit/css/components/notify.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/placeholder.almost-flat.css b/admin/custom/uikit/css/components/placeholder.almost-flat.css new file mode 100644 index 000000000..7b72cfe51 --- /dev/null +++ b/admin/custom/uikit/css/components/placeholder.almost-flat.css @@ -0,0 +1,29 @@ +/*! 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/custom/uikit/css/components/placeholder.almost-flat.min.css b/admin/custom/uikit/css/components/placeholder.almost-flat.min.css new file mode 100644 index 000000000..ba4b565ea --- /dev/null +++ b/admin/custom/uikit/css/components/placeholder.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/placeholder.css b/admin/custom/uikit/css/components/placeholder.css new file mode 100644 index 000000000..7b72cfe51 --- /dev/null +++ b/admin/custom/uikit/css/components/placeholder.css @@ -0,0 +1,29 @@ +/*! 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/custom/uikit/css/components/placeholder.gradient.css b/admin/custom/uikit/css/components/placeholder.gradient.css new file mode 100644 index 000000000..7b72cfe51 --- /dev/null +++ b/admin/custom/uikit/css/components/placeholder.gradient.css @@ -0,0 +1,29 @@ +/*! 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/custom/uikit/css/components/placeholder.gradient.min.css b/admin/custom/uikit/css/components/placeholder.gradient.min.css new file mode 100644 index 000000000..ba4b565ea --- /dev/null +++ b/admin/custom/uikit/css/components/placeholder.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/placeholder.min.css b/admin/custom/uikit/css/components/placeholder.min.css new file mode 100644 index 000000000..ba4b565ea --- /dev/null +++ b/admin/custom/uikit/css/components/placeholder.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/progress.almost-flat.css b/admin/custom/uikit/css/components/progress.almost-flat.css new file mode 100644 index 000000000..baf0e6830 --- /dev/null +++ b/admin/custom/uikit/css/components/progress.almost-flat.css @@ -0,0 +1,105 @@ +/*! 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/custom/uikit/css/components/progress.almost-flat.min.css b/admin/custom/uikit/css/components/progress.almost-flat.min.css new file mode 100644 index 000000000..33b060498 --- /dev/null +++ b/admin/custom/uikit/css/components/progress.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/progress.css b/admin/custom/uikit/css/components/progress.css new file mode 100644 index 000000000..8ae61e53a --- /dev/null +++ b/admin/custom/uikit/css/components/progress.css @@ -0,0 +1,95 @@ +/*! 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/custom/uikit/css/components/progress.gradient.css b/admin/custom/uikit/css/components/progress.gradient.css new file mode 100644 index 000000000..452d8f21d --- /dev/null +++ b/admin/custom/uikit/css/components/progress.gradient.css @@ -0,0 +1,113 @@ +/*! 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/custom/uikit/css/components/progress.gradient.min.css b/admin/custom/uikit/css/components/progress.gradient.min.css new file mode 100644 index 000000000..39137190c --- /dev/null +++ b/admin/custom/uikit/css/components/progress.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/progress.min.css b/admin/custom/uikit/css/components/progress.min.css new file mode 100644 index 000000000..fec2675ac --- /dev/null +++ b/admin/custom/uikit/css/components/progress.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/search.almost-flat.css b/admin/custom/uikit/css/components/search.almost-flat.css new file mode 100644 index 000000000..513289bfc --- /dev/null +++ b/admin/custom/uikit/css/components/search.almost-flat.css @@ -0,0 +1,192 @@ +/*! 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/custom/uikit/css/components/search.almost-flat.min.css b/admin/custom/uikit/css/components/search.almost-flat.min.css new file mode 100644 index 000000000..bdbc0b78c --- /dev/null +++ b/admin/custom/uikit/css/components/search.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/search.css b/admin/custom/uikit/css/components/search.css new file mode 100644 index 000000000..5cb3071c5 --- /dev/null +++ b/admin/custom/uikit/css/components/search.css @@ -0,0 +1,190 @@ +/*! 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/custom/uikit/css/components/search.gradient.css b/admin/custom/uikit/css/components/search.gradient.css new file mode 100644 index 000000000..b5853b07e --- /dev/null +++ b/admin/custom/uikit/css/components/search.gradient.css @@ -0,0 +1,192 @@ +/*! 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/custom/uikit/css/components/search.gradient.min.css b/admin/custom/uikit/css/components/search.gradient.min.css new file mode 100644 index 000000000..166173bc3 --- /dev/null +++ b/admin/custom/uikit/css/components/search.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/search.min.css b/admin/custom/uikit/css/components/search.min.css new file mode 100644 index 000000000..8e826a42b --- /dev/null +++ b/admin/custom/uikit/css/components/search.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/slidenav.almost-flat.css b/admin/custom/uikit/css/components/slidenav.almost-flat.css new file mode 100644 index 000000000..7445f255d --- /dev/null +++ b/admin/custom/uikit/css/components/slidenav.almost-flat.css @@ -0,0 +1,99 @@ +/*! 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/custom/uikit/css/components/slidenav.almost-flat.min.css b/admin/custom/uikit/css/components/slidenav.almost-flat.min.css new file mode 100644 index 000000000..31445f0e6 --- /dev/null +++ b/admin/custom/uikit/css/components/slidenav.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/slidenav.css b/admin/custom/uikit/css/components/slidenav.css new file mode 100644 index 000000000..7445f255d --- /dev/null +++ b/admin/custom/uikit/css/components/slidenav.css @@ -0,0 +1,99 @@ +/*! 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/custom/uikit/css/components/slidenav.gradient.css b/admin/custom/uikit/css/components/slidenav.gradient.css new file mode 100644 index 000000000..7445f255d --- /dev/null +++ b/admin/custom/uikit/css/components/slidenav.gradient.css @@ -0,0 +1,99 @@ +/*! 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/custom/uikit/css/components/slidenav.gradient.min.css b/admin/custom/uikit/css/components/slidenav.gradient.min.css new file mode 100644 index 000000000..31445f0e6 --- /dev/null +++ b/admin/custom/uikit/css/components/slidenav.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/slidenav.min.css b/admin/custom/uikit/css/components/slidenav.min.css new file mode 100644 index 000000000..31445f0e6 --- /dev/null +++ b/admin/custom/uikit/css/components/slidenav.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/slider.almost-flat.css b/admin/custom/uikit/css/components/slider.almost-flat.css new file mode 100644 index 000000000..2f16434be --- /dev/null +++ b/admin/custom/uikit/css/components/slider.almost-flat.css @@ -0,0 +1,85 @@ +/*! 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/custom/uikit/css/components/slider.almost-flat.min.css b/admin/custom/uikit/css/components/slider.almost-flat.min.css new file mode 100644 index 000000000..4b177be63 --- /dev/null +++ b/admin/custom/uikit/css/components/slider.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/slider.css b/admin/custom/uikit/css/components/slider.css new file mode 100644 index 000000000..2f16434be --- /dev/null +++ b/admin/custom/uikit/css/components/slider.css @@ -0,0 +1,85 @@ +/*! 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/custom/uikit/css/components/slider.gradient.css b/admin/custom/uikit/css/components/slider.gradient.css new file mode 100644 index 000000000..2f16434be --- /dev/null +++ b/admin/custom/uikit/css/components/slider.gradient.css @@ -0,0 +1,85 @@ +/*! 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/custom/uikit/css/components/slider.gradient.min.css b/admin/custom/uikit/css/components/slider.gradient.min.css new file mode 100644 index 000000000..4b177be63 --- /dev/null +++ b/admin/custom/uikit/css/components/slider.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/slider.min.css b/admin/custom/uikit/css/components/slider.min.css new file mode 100644 index 000000000..4b177be63 --- /dev/null +++ b/admin/custom/uikit/css/components/slider.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/slideshow.almost-flat.css b/admin/custom/uikit/css/components/slideshow.almost-flat.css new file mode 100644 index 000000000..8b6d69c04 --- /dev/null +++ b/admin/custom/uikit/css/components/slideshow.almost-flat.css @@ -0,0 +1,140 @@ +/*! 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/custom/uikit/css/components/slideshow.almost-flat.min.css b/admin/custom/uikit/css/components/slideshow.almost-flat.min.css new file mode 100644 index 000000000..e9348e0b6 --- /dev/null +++ b/admin/custom/uikit/css/components/slideshow.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/slideshow.css b/admin/custom/uikit/css/components/slideshow.css new file mode 100644 index 000000000..8b6d69c04 --- /dev/null +++ b/admin/custom/uikit/css/components/slideshow.css @@ -0,0 +1,140 @@ +/*! 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/custom/uikit/css/components/slideshow.gradient.css b/admin/custom/uikit/css/components/slideshow.gradient.css new file mode 100644 index 000000000..8b6d69c04 --- /dev/null +++ b/admin/custom/uikit/css/components/slideshow.gradient.css @@ -0,0 +1,140 @@ +/*! 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/custom/uikit/css/components/slideshow.gradient.min.css b/admin/custom/uikit/css/components/slideshow.gradient.min.css new file mode 100644 index 000000000..e9348e0b6 --- /dev/null +++ b/admin/custom/uikit/css/components/slideshow.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/slideshow.min.css b/admin/custom/uikit/css/components/slideshow.min.css new file mode 100644 index 000000000..e9348e0b6 --- /dev/null +++ b/admin/custom/uikit/css/components/slideshow.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/sortable.almost-flat.css b/admin/custom/uikit/css/components/sortable.almost-flat.css new file mode 100644 index 000000000..862682c7d --- /dev/null +++ b/admin/custom/uikit/css/components/sortable.almost-flat.css @@ -0,0 +1,62 @@ +/*! 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/custom/uikit/css/components/sortable.almost-flat.min.css b/admin/custom/uikit/css/components/sortable.almost-flat.min.css new file mode 100644 index 000000000..d1b6a9d28 --- /dev/null +++ b/admin/custom/uikit/css/components/sortable.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/sortable.css b/admin/custom/uikit/css/components/sortable.css new file mode 100644 index 000000000..862682c7d --- /dev/null +++ b/admin/custom/uikit/css/components/sortable.css @@ -0,0 +1,62 @@ +/*! 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/custom/uikit/css/components/sortable.gradient.css b/admin/custom/uikit/css/components/sortable.gradient.css new file mode 100644 index 000000000..862682c7d --- /dev/null +++ b/admin/custom/uikit/css/components/sortable.gradient.css @@ -0,0 +1,62 @@ +/*! 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/custom/uikit/css/components/sortable.gradient.min.css b/admin/custom/uikit/css/components/sortable.gradient.min.css new file mode 100644 index 000000000..d1b6a9d28 --- /dev/null +++ b/admin/custom/uikit/css/components/sortable.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/sortable.min.css b/admin/custom/uikit/css/components/sortable.min.css new file mode 100644 index 000000000..d1b6a9d28 --- /dev/null +++ b/admin/custom/uikit/css/components/sortable.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/sticky.almost-flat.css b/admin/custom/uikit/css/components/sticky.almost-flat.css new file mode 100644 index 000000000..a6dd3c480 --- /dev/null +++ b/admin/custom/uikit/css/components/sticky.almost-flat.css @@ -0,0 +1,32 @@ +/*! 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/custom/uikit/css/components/sticky.almost-flat.min.css b/admin/custom/uikit/css/components/sticky.almost-flat.min.css new file mode 100644 index 000000000..01857ab39 --- /dev/null +++ b/admin/custom/uikit/css/components/sticky.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/sticky.css b/admin/custom/uikit/css/components/sticky.css new file mode 100644 index 000000000..a6dd3c480 --- /dev/null +++ b/admin/custom/uikit/css/components/sticky.css @@ -0,0 +1,32 @@ +/*! 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/custom/uikit/css/components/sticky.gradient.css b/admin/custom/uikit/css/components/sticky.gradient.css new file mode 100644 index 000000000..a6dd3c480 --- /dev/null +++ b/admin/custom/uikit/css/components/sticky.gradient.css @@ -0,0 +1,32 @@ +/*! 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/custom/uikit/css/components/sticky.gradient.min.css b/admin/custom/uikit/css/components/sticky.gradient.min.css new file mode 100644 index 000000000..01857ab39 --- /dev/null +++ b/admin/custom/uikit/css/components/sticky.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/sticky.min.css b/admin/custom/uikit/css/components/sticky.min.css new file mode 100644 index 000000000..01857ab39 --- /dev/null +++ b/admin/custom/uikit/css/components/sticky.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/tooltip.almost-flat.css b/admin/custom/uikit/css/components/tooltip.almost-flat.css new file mode 100644 index 000000000..27d920089 --- /dev/null +++ b/admin/custom/uikit/css/components/tooltip.almost-flat.css @@ -0,0 +1,120 @@ +/*! 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/custom/uikit/css/components/tooltip.almost-flat.min.css b/admin/custom/uikit/css/components/tooltip.almost-flat.min.css new file mode 100644 index 000000000..1660ddc8a --- /dev/null +++ b/admin/custom/uikit/css/components/tooltip.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/tooltip.css b/admin/custom/uikit/css/components/tooltip.css new file mode 100644 index 000000000..7ec0df084 --- /dev/null +++ b/admin/custom/uikit/css/components/tooltip.css @@ -0,0 +1,118 @@ +/*! 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/custom/uikit/css/components/tooltip.gradient.css b/admin/custom/uikit/css/components/tooltip.gradient.css new file mode 100644 index 000000000..27d920089 --- /dev/null +++ b/admin/custom/uikit/css/components/tooltip.gradient.css @@ -0,0 +1,120 @@ +/*! 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/custom/uikit/css/components/tooltip.gradient.min.css b/admin/custom/uikit/css/components/tooltip.gradient.min.css new file mode 100644 index 000000000..1660ddc8a --- /dev/null +++ b/admin/custom/uikit/css/components/tooltip.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/tooltip.min.css b/admin/custom/uikit/css/components/tooltip.min.css new file mode 100644 index 000000000..07e31dc9e --- /dev/null +++ b/admin/custom/uikit/css/components/tooltip.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/upload.almost-flat.css b/admin/custom/uikit/css/components/upload.almost-flat.css new file mode 100644 index 000000000..ab07f2b15 --- /dev/null +++ b/admin/custom/uikit/css/components/upload.almost-flat.css @@ -0,0 +1,10 @@ +/*! 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/custom/uikit/css/components/upload.almost-flat.min.css b/admin/custom/uikit/css/components/upload.almost-flat.min.css new file mode 100644 index 000000000..f1d2c795e --- /dev/null +++ b/admin/custom/uikit/css/components/upload.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/upload.css b/admin/custom/uikit/css/components/upload.css new file mode 100644 index 000000000..ab07f2b15 --- /dev/null +++ b/admin/custom/uikit/css/components/upload.css @@ -0,0 +1,10 @@ +/*! 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/custom/uikit/css/components/upload.gradient.css b/admin/custom/uikit/css/components/upload.gradient.css new file mode 100644 index 000000000..ab07f2b15 --- /dev/null +++ b/admin/custom/uikit/css/components/upload.gradient.css @@ -0,0 +1,10 @@ +/*! 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/custom/uikit/css/components/upload.gradient.min.css b/admin/custom/uikit/css/components/upload.gradient.min.css new file mode 100644 index 000000000..f1d2c795e --- /dev/null +++ b/admin/custom/uikit/css/components/upload.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/components/upload.min.css b/admin/custom/uikit/css/components/upload.min.css new file mode 100644 index 000000000..f1d2c795e --- /dev/null +++ b/admin/custom/uikit/css/components/upload.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/index.html b/admin/custom/uikit/css/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/uikit/css/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/uikit/css/uikit.almost-flat.css b/admin/custom/uikit/css/uikit.almost-flat.css new file mode 100644 index 000000000..5dd95df4a --- /dev/null +++ b/admin/custom/uikit/css/uikit.almost-flat.css @@ -0,0 +1,8355 @@ +/*! 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/custom/uikit/css/uikit.almost-flat.min.css b/admin/custom/uikit/css/uikit.almost-flat.min.css new file mode 100644 index 000000000..7f70f78bd --- /dev/null +++ b/admin/custom/uikit/css/uikit.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/uikit.css b/admin/custom/uikit/css/uikit.css new file mode 100644 index 000000000..a9637cec7 --- /dev/null +++ b/admin/custom/uikit/css/uikit.css @@ -0,0 +1,8057 @@ +/*! 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/custom/uikit/css/uikit.gradient.css b/admin/custom/uikit/css/uikit.gradient.css new file mode 100644 index 000000000..4284f44fb --- /dev/null +++ b/admin/custom/uikit/css/uikit.gradient.css @@ -0,0 +1,8417 @@ +/*! 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/custom/uikit/css/uikit.gradient.min.css b/admin/custom/uikit/css/uikit.gradient.min.css new file mode 100644 index 000000000..219d52335 --- /dev/null +++ b/admin/custom/uikit/css/uikit.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/css/uikit.min.css b/admin/custom/uikit/css/uikit.min.css new file mode 100644 index 000000000..f6ef1f633 --- /dev/null +++ b/admin/custom/uikit/css/uikit.min.css @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/fonts/FontAwesome.otf b/admin/custom/uikit/fonts/FontAwesome.otf new file mode 100644 index 0000000000000000000000000000000000000000..f7936cc1e789eea5438d576d6b12de20191da09d GIT binary patch literal 93888 zcmd42d0dmn)&M*q$&>IrNkAnE2~UDcwN|Yni)&k3x3<=`)U}E%VTWK6K=vJEku~ff z2)NYU>b2EsrK`4fm-cq?_I9~#Z?y|}wUaPGzcWvW^}g?Y-{1TDe%~J-50jZW&zUo4 zX3m_MIdh)XAt9@gJIX_1<hgj+GQWw<xeA0l-$SCUw^lzpbM~&;84C~+A^6)Kkr<Yo zXg$_|kTee=w>M)9VUdz`uQb8Cb_l^S0PqmA-jMExFexU{vQzhlR}Dh)B@ki~!*(XS z`L2Oi$OeH)3QIIRkak-N^tU4<(I*?t7T^Q^JdePSpHQs?y@k$QoE7S^@HP_5=u32E z?cZn7_@f`|4&A+b=dQbmp$v+V8->Cj<QQ}p67J|O{JDz+O2RAWj~no~2D$k{PRuM7 z)ga(OQYi_5e2Fu5GXt6O`-=RxWOBO6j20ok+aq-`&PpgJ&ObkB0sR{%(%h?mCghzM zBE+GYBWW=jhvtu@CHKLlXf#?o0%z`n%K#cN0+%BNIz5thM=a_aNpnbz-W^G+kPiJF z`bQ*jhx)gn;gPfmjTLPfNxLDHXvauej2;%{j-(~`;YiUW(a{k&b01uWx<wz4z~#sr z`p#LGJMwa?7)f*JA-B$vv<fYBduOo`dN4LR#^SdmEY;w*JS-_P-Ea0R|DcEc9#2T{ z6JDA9Oa`;Tlxm24c$qQD@_3rTY)mxJo}ce`A7DN$H+#LoWR5i^`2{{4@bD~w(wYQA znArd{q6{WKi_y;#WAOX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R$gPXz5EQ_TMP$!HD=pw4F$)=R$c05XNd}hWVo7_@3$xzYQg1BS zOInm6hQgw_cw9SbqQRnQetuC=etxuQa4;GjG(jdC<oD%vwJjJj@M8tR0<Xm#w<^a7 zgR)Q%;Sg0#J9}1DT?cA|Y4mT-%W-HBif!Ur47UvL+G0X^t`zt=W%}O~dN1#iS*`Rt zIx2N_USA{mO=sHL-`&`xD`?u#?7}u!qCj5Y8gW%Hk)Z{8a0;{LLevV|B|8IOj4B&B zMFukoUWK1nHRh*K2I!2F7Jvi7I=IN^>F}C6y8L0aOLzSep{~}1ze=V=Hd)^xWRqR! z-rq|oPxv!mt>Q%2vq`+`Ssy-fPw&ZD0rHK(13Wfj2zCJKe*D@~ex*<s(pn|I+vo9^ zJfvT+SBOuSf|Ze~a2;eWUHl7ad-u|XaXlGV+Y=dc8$U$G9Jb4;=-oaQW-8IPMI>g0 z0%gmZof4fu`GiG5M8ooJ#tVdnUzkH|J=CL!n18MtmFy%;RGppxHt*(OGe5bq>CAbI zq1D8+m3JvoFRdQ+(q?KIRH`IP_<}e*@X-gbnVfPaQS~RqhT;&J`+zLKdJ;NKbrP`Q zQ!vaDTd0iE#qc**5qlUJWT|9yNnlGQeKBy;Ot42ho0KUsfw43jnjdcI#0HC}6Tyh% z5BCCwlL@J&2DsRbB*8?C({3Q(W{ASDNPWh>6ZE-^P$!}Fz@K)l$57LXhyKUR!dcUe zp`KpWYIcF!N*D~%-hK`F3om`uafOo7!B6w0CtVk5V0d_dz>&>>g9?ucUSlV2GvTMd E0UHWiZ2$lO literal 0 HcmV?d00001 diff --git a/admin/custom/uikit/fonts/fontawesome-webfont.eot b/admin/custom/uikit/fonts/fontawesome-webfont.eot new file mode 100644 index 0000000000000000000000000000000000000000..33b2bb80055cc480e797de704925acaba4ba7d7d GIT binary patch literal 60767 zcmZ^KRZt~7(B;J)F79w~9o+Te?(XjH&fxCu?l25GxVsF4ySuv$FtFcl?ZaQSwVg^% z=TxUFPpR~&#OMkD@VNv4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iOV02JcNeq?AbJaI+B9xC;LB=}Ho0vH(@;Qe0zq~-8ckOa!(u@Wou`p_TR|QT z38H`lJE$G{q1egUX@&v$x7wNLWD#j*!D58GLv^bT+jpdKBrK#SsQsWK(+RO40VA^w z0nA7MN1Y1Fc#5JkwD5TtHG1t;lo=i)U+kFG?1Jh11h9382!marrRE2eZh;JGh`wNO zQA_~n?%97HOKLA^#oG(5*bgSllS%rOc(S%Yj00cYR;!D9G_90{pfq7D4I*$k?byOV zR|epi%oIJ{ou`5zS!-_dnxOa{uNv)(luMo^5TCOItq}2}sxCztLEzBGS)Mf6dzaw< z!GweAgvFYJu&mH(Vl9HJBV%=Jz~~i%nDGIF9ncTET-AQ=fv{L11&K_<cvtPj0KcSJ zqHGrQcbxIF-!%7A9gu^H_1}qa$)EsV25=Zlwv;ml`17G-=5A8~V@Cyp78UF`SCFAx z5v?-bmG+t539aexV#>;ei!iht(!De;ym|y7ksL|^5Ko~B-vSh80++s?unD}bZaYa@ zPH4M$&fw;xEGN3_H1vHW><%-+dg7dfW)F8$bB+h7sThoOtteO(v{&-+iK}r$%G))# z*Nhx^!ZMj1VeG?EkWg+0CYQSX1t96fV9^3c+9C393LU&CHsFCa1q99$`zTMsEWwLc zxsw1|A?k8-m8HCrk6;K7dhNDJN3R9iws%6vTq_}PtR2CZ8TG;ltZ4<jHrnMp8#XOc zmJK*YX~mYy4EVnTS1tvpiqxTi4NA<Nfuts_IIP*;p$5w0Y{80vN-srDhr7*1GK?Wm zpc7{Vxs4*qJPbv)k!=J@$XqyN2<nGsklwVJyGU<ZOx>I}sU+^s8`P3F5QxrypG1-{ zGlr^7$Wsy(lo=xfC~BpKfg<2z4OEeEF@~x{Pi7O#CvqMJy+f+}=CB_$&IuEslB@s# J000000038FvZ??8 literal 0 HcmV?d00001 diff --git a/admin/custom/uikit/fonts/fontawesome-webfont.ttf b/admin/custom/uikit/fonts/fontawesome-webfont.ttf new file mode 100644 index 0000000000000000000000000000000000000000..ed9372f8ea0fbaa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T1P}zL@!(IthRLeA_gMXMF^<9CPKcp1=JQ$yC=dFA&9mh z+Jb23ww=9}w}R^kt|PdP;5vfq2(BZzj^H}7Q&)EC3Zg5Bt{}R(c?a?Z547`E&k$%g z-|~Q&xBa}8#e1?wPj>Ceu07ecr#}d^mqX8yjZN9ulx0l;nF2BeWD3X>kSQQjOzjJz zFNnS%`hw`^rXJMa1k@j}zo+_}fClnmAfSPO2J&Gb+YDrzL0=}@qRBP`L97d6T@b>H zp75e4yyyupdcupI@S-QY=&cK4D2SmTgcQA@Acno-w4<+)Nx_=_AP6Ca$)sS>7SR#W z710x6is*|Nh*%dfENv)Go2&{YOj*kmN|-_kQz&5yB}}1&DU>kVvPnla=?Fr|U<w&b zA%iJoFog`Jkiir(m_i0q$Y2T?Od*3QWH2RtnO#A21<@6RaKP*i{|k~Z-=Y8kRKYcE F003Px<E8)r literal 0 HcmV?d00001 diff --git a/admin/custom/uikit/fonts/fontawesome-webfont.woff2 b/admin/custom/uikit/fonts/fontawesome-webfont.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..3311d585145b1cc1b9581e914acbb32d8542b4f5 GIT binary patch literal 56780 zcmV(|K+(T<Pew8T0RR910Nu<04gdfE0o>#O0Nrc=1OUYV00000000000000000000 z0000#Mn+Uk92y=5U;u?e5eN!~<79=jS^+i!Bm<Eu3y53*1Rw>600*lcKX+wfW(HdY zfN_R#dm&NLolxqx_tG1O83no>L_x*xw{C^(d@;VG{rRcc|NsBLAX$vz?hm|2KvZ=) zOIuYlvYz^cEXd)e6i3QlvtuZ5)HY)BifjsIEo;AS{=hCrH3#ONR4X&pisNaE6`o9R zCg{jzY$xUj)qIF1h0WrhL?M}8W@&a!Gh9<Cy-}D4O#J4JPG9D>f-773A;`E>=NG$e zQTTn4msXK)xyWnukjC7{D2KVM!UQovQoLP36Ms;#ZSl^uAEd?X=VDINb45_R3pZqZ zIDSR`c&6ED?Z#`2le(q2iuYd=Deu&3#!ySRI&|~R$j+|tJ$mAaCVzKi3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xC>&0d*#WX3C=mappA~F)dK{P&e=@Cl-=<CgNFyLhTf-___nqwu0gekIyJG1G z={41Y1KXwG`X9&T8BegL>~Z{j$_SaKQqk@|&1quk>gHeo%bQ}THuYnNBAgDrH^}mE z|FA=ZWd=L!36?1H%oJpMryr8Sxf+v;SnPBKNc7EYCchShcU`j0=$@XG&et-`I6d+1 z16|j<i!PK+P|=3dM9L|;m_`pzV6-(g1ZPwRoPw%HTA9-O+Zz>vN70r0S5)AY6^G{( ztpUa(o8;A?R;(rR_8Iyf^j)WMdpGVQKBMN;Rft~FU;*{&P9xPzqS2n6bctA56*aMK z3^`2~$g1Ef1Q<|9v(!sMca5}zU->WGU&~eMZ21vp@?WiQ_)?En7g1;_K`qj1ViefL zNIM|*PmT+YCgX<=hW%0!gG)3!1vib=wIY!#%r&UrLR9-!*3a~N--mFDzd(Hzs?})> zqtulG`JJ(`-u^Zu(8Vf!Q`*RJD3DW(=ti(-?)fq~>(@_ua&+SBSpD^ehQ=zYIOHm~ zr>XnDMS6RHY*G<0wdUotw6dz;j7;Llr-lo~$3hnp0?O!FrcscM89^Zk0=r?j$QTwI z8ZZmrSgry4Gt}5Pxh-ra<}s33uu=Xq+SET>u#8^b{v*R@(0XO{gEF=uAE3i$7>)tn zFHcg4%v4ucp9yzpBw5MhK9ws<RR<rJR}wap**HXv=mYEA&*L<Mc*ioi5f&HQ>6kFA zfDthN@4&-wMn!xYE#$sLme2$9Xhu4c6c7-oKC4<`n!r4cV+>^f9{T<+h643J$naE} literal 0 HcmV?d00001 diff --git a/admin/custom/uikit/fonts/index.html b/admin/custom/uikit/fonts/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/uikit/fonts/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/uikit/index.html b/admin/custom/uikit/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/uikit/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/uikit/js/components/accordion.js b/admin/custom/uikit/js/components/accordion.js new file mode 100644 index 000000000..d8a62c625 --- /dev/null +++ b/admin/custom/uikit/js/components/accordion.js @@ -0,0 +1,172 @@ +/*! 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/custom/uikit/js/components/accordion.min.js b/admin/custom/uikit/js/components/accordion.min.js new file mode 100644 index 000000000..7da072430 --- /dev/null +++ b/admin/custom/uikit/js/components/accordion.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/components/autocomplete.js b/admin/custom/uikit/js/components/autocomplete.js new file mode 100644 index 000000000..7031f9454 --- /dev/null +++ b/admin/custom/uikit/js/components/autocomplete.js @@ -0,0 +1,336 @@ +/*! 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/custom/uikit/js/components/autocomplete.min.js b/admin/custom/uikit/js/components/autocomplete.min.js new file mode 100644 index 000000000..2752df499 --- /dev/null +++ b/admin/custom/uikit/js/components/autocomplete.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/components/datepicker.js b/admin/custom/uikit/js/components/datepicker.js new file mode 100644 index 000000000..6a260e1e5 --- /dev/null +++ b/admin/custom/uikit/js/components/datepicker.js @@ -0,0 +1,3168 @@ +/*! 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/custom/uikit/js/components/datepicker.min.js b/admin/custom/uikit/js/components/datepicker.min.js new file mode 100644 index 000000000..9a30a1f2a --- /dev/null +++ b/admin/custom/uikit/js/components/datepicker.min.js @@ -0,0 +1,3 @@ +/*! 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/custom/uikit/js/components/form-password.js b/admin/custom/uikit/js/components/form-password.js new file mode 100644 index 000000000..38d0549e3 --- /dev/null +++ b/admin/custom/uikit/js/components/form-password.js @@ -0,0 +1,66 @@ +/*! 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/custom/uikit/js/components/form-password.min.js b/admin/custom/uikit/js/components/form-password.min.js new file mode 100644 index 000000000..a57ba5082 --- /dev/null +++ b/admin/custom/uikit/js/components/form-password.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/components/form-select.js b/admin/custom/uikit/js/components/form-select.js new file mode 100644 index 000000000..ddafff856 --- /dev/null +++ b/admin/custom/uikit/js/components/form-select.js @@ -0,0 +1,70 @@ +/*! 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/custom/uikit/js/components/form-select.min.js b/admin/custom/uikit/js/components/form-select.min.js new file mode 100644 index 000000000..fc09bfb3a --- /dev/null +++ b/admin/custom/uikit/js/components/form-select.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/components/grid.js b/admin/custom/uikit/js/components/grid.js new file mode 100644 index 000000000..3a7ae7a33 --- /dev/null +++ b/admin/custom/uikit/js/components/grid.js @@ -0,0 +1,524 @@ +/*! 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/custom/uikit/js/components/grid.min.js b/admin/custom/uikit/js/components/grid.min.js new file mode 100644 index 000000000..ce3bbdea2 --- /dev/null +++ b/admin/custom/uikit/js/components/grid.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/components/htmleditor.js b/admin/custom/uikit/js/components/htmleditor.js new file mode 100644 index 000000000..08586bd60 --- /dev/null +++ b/admin/custom/uikit/js/components/htmleditor.js @@ -0,0 +1,621 @@ +/*! 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/custom/uikit/js/components/htmleditor.min.js b/admin/custom/uikit/js/components/htmleditor.min.js new file mode 100644 index 000000000..a33d65fbf --- /dev/null +++ b/admin/custom/uikit/js/components/htmleditor.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/components/index.html b/admin/custom/uikit/js/components/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/uikit/js/components/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/uikit/js/components/lightbox.js b/admin/custom/uikit/js/components/lightbox.js new file mode 100644 index 000000000..1abb1a541 --- /dev/null +++ b/admin/custom/uikit/js/components/lightbox.js @@ -0,0 +1,544 @@ +/*! 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/custom/uikit/js/components/lightbox.min.js b/admin/custom/uikit/js/components/lightbox.min.js new file mode 100644 index 000000000..a6aeeb4e7 --- /dev/null +++ b/admin/custom/uikit/js/components/lightbox.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/components/nestable.js b/admin/custom/uikit/js/components/nestable.js new file mode 100644 index 000000000..a7f423f15 --- /dev/null +++ b/admin/custom/uikit/js/components/nestable.js @@ -0,0 +1,625 @@ +/*! 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/custom/uikit/js/components/nestable.min.js b/admin/custom/uikit/js/components/nestable.min.js new file mode 100644 index 000000000..30629de95 --- /dev/null +++ b/admin/custom/uikit/js/components/nestable.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/components/notify.js b/admin/custom/uikit/js/components/notify.js new file mode 100644 index 000000000..b4fba057a --- /dev/null +++ b/admin/custom/uikit/js/components/notify.js @@ -0,0 +1,191 @@ +/*! 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/custom/uikit/js/components/notify.min.js b/admin/custom/uikit/js/components/notify.min.js new file mode 100644 index 000000000..12891160d --- /dev/null +++ b/admin/custom/uikit/js/components/notify.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/components/pagination.js b/admin/custom/uikit/js/components/pagination.js new file mode 100644 index 000000000..fa01908f1 --- /dev/null +++ b/admin/custom/uikit/js/components/pagination.js @@ -0,0 +1,148 @@ +/*! 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/custom/uikit/js/components/pagination.min.js b/admin/custom/uikit/js/components/pagination.min.js new file mode 100644 index 000000000..220310b63 --- /dev/null +++ b/admin/custom/uikit/js/components/pagination.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/components/parallax.js b/admin/custom/uikit/js/components/parallax.js new file mode 100644 index 000000000..31750270b --- /dev/null +++ b/admin/custom/uikit/js/components/parallax.js @@ -0,0 +1,417 @@ +/*! 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/custom/uikit/js/components/parallax.min.js b/admin/custom/uikit/js/components/parallax.min.js new file mode 100644 index 000000000..9964ffaf2 --- /dev/null +++ b/admin/custom/uikit/js/components/parallax.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/components/search.js b/admin/custom/uikit/js/components/search.js new file mode 100644 index 000000000..8de251c50 --- /dev/null +++ b/admin/custom/uikit/js/components/search.js @@ -0,0 +1,92 @@ +/*! 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/custom/uikit/js/components/search.min.js b/admin/custom/uikit/js/components/search.min.js new file mode 100644 index 000000000..09fedd7fe --- /dev/null +++ b/admin/custom/uikit/js/components/search.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/components/slider.js b/admin/custom/uikit/js/components/slider.js new file mode 100644 index 000000000..dc77cd481 --- /dev/null +++ b/admin/custom/uikit/js/components/slider.js @@ -0,0 +1,482 @@ +/*! 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/custom/uikit/js/components/slider.min.js b/admin/custom/uikit/js/components/slider.min.js new file mode 100644 index 000000000..5159096e5 --- /dev/null +++ b/admin/custom/uikit/js/components/slider.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/components/slideset.js b/admin/custom/uikit/js/components/slideset.js new file mode 100644 index 000000000..b6693d751 --- /dev/null +++ b/admin/custom/uikit/js/components/slideset.js @@ -0,0 +1,503 @@ +/*! 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/custom/uikit/js/components/slideset.min.js b/admin/custom/uikit/js/components/slideset.min.js new file mode 100644 index 000000000..0117b1a61 --- /dev/null +++ b/admin/custom/uikit/js/components/slideset.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/components/slideshow-fx.js b/admin/custom/uikit/js/components/slideshow-fx.js new file mode 100644 index 000000000..78ed16130 --- /dev/null +++ b/admin/custom/uikit/js/components/slideshow-fx.js @@ -0,0 +1,377 @@ +/*! 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/custom/uikit/js/components/slideshow-fx.min.js b/admin/custom/uikit/js/components/slideshow-fx.min.js new file mode 100644 index 000000000..cb1857711 --- /dev/null +++ b/admin/custom/uikit/js/components/slideshow-fx.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/components/slideshow.js b/admin/custom/uikit/js/components/slideshow.js new file mode 100644 index 000000000..d897bc95e --- /dev/null +++ b/admin/custom/uikit/js/components/slideshow.js @@ -0,0 +1,545 @@ +/*! 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/custom/uikit/js/components/slideshow.min.js b/admin/custom/uikit/js/components/slideshow.min.js new file mode 100644 index 000000000..e7af4f056 --- /dev/null +++ b/admin/custom/uikit/js/components/slideshow.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/components/sortable.js b/admin/custom/uikit/js/components/sortable.js new file mode 100644 index 000000000..37a369ba3 --- /dev/null +++ b/admin/custom/uikit/js/components/sortable.js @@ -0,0 +1,643 @@ +/*! 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/custom/uikit/js/components/sortable.min.js b/admin/custom/uikit/js/components/sortable.min.js new file mode 100644 index 000000000..7bd90d726 --- /dev/null +++ b/admin/custom/uikit/js/components/sortable.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/components/sticky.js b/admin/custom/uikit/js/components/sticky.js new file mode 100644 index 000000000..a335a5ee8 --- /dev/null +++ b/admin/custom/uikit/js/components/sticky.js @@ -0,0 +1,298 @@ +/*! 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/custom/uikit/js/components/sticky.min.js b/admin/custom/uikit/js/components/sticky.min.js new file mode 100644 index 000000000..a0f318e2b --- /dev/null +++ b/admin/custom/uikit/js/components/sticky.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/components/timepicker.js b/admin/custom/uikit/js/components/timepicker.js new file mode 100644 index 000000000..4f48c3ffe --- /dev/null +++ b/admin/custom/uikit/js/components/timepicker.js @@ -0,0 +1,192 @@ +/*! 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/custom/uikit/js/components/timepicker.min.js b/admin/custom/uikit/js/components/timepicker.min.js new file mode 100644 index 000000000..f11f4a8eb --- /dev/null +++ b/admin/custom/uikit/js/components/timepicker.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/components/tooltip.js b/admin/custom/uikit/js/components/tooltip.js new file mode 100644 index 000000000..8e704f78d --- /dev/null +++ b/admin/custom/uikit/js/components/tooltip.js @@ -0,0 +1,234 @@ +/*! 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/custom/uikit/js/components/tooltip.min.js b/admin/custom/uikit/js/components/tooltip.min.js new file mode 100644 index 000000000..80a1f052b --- /dev/null +++ b/admin/custom/uikit/js/components/tooltip.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/components/upload.js b/admin/custom/uikit/js/components/upload.js new file mode 100644 index 000000000..21699b012 --- /dev/null +++ b/admin/custom/uikit/js/components/upload.js @@ -0,0 +1,256 @@ +/*! 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/custom/uikit/js/components/upload.min.js b/admin/custom/uikit/js/components/upload.min.js new file mode 100644 index 000000000..e9b475957 --- /dev/null +++ b/admin/custom/uikit/js/components/upload.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/core/alert.js b/admin/custom/uikit/js/core/alert.js new file mode 100644 index 000000000..25ea2adc9 --- /dev/null +++ b/admin/custom/uikit/js/core/alert.js @@ -0,0 +1,66 @@ +/*! 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/custom/uikit/js/core/alert.min.js b/admin/custom/uikit/js/core/alert.min.js new file mode 100644 index 000000000..224b4e15f --- /dev/null +++ b/admin/custom/uikit/js/core/alert.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/core/button.js b/admin/custom/uikit/js/core/button.js new file mode 100644 index 000000000..6256e551c --- /dev/null +++ b/admin/custom/uikit/js/core/button.js @@ -0,0 +1,154 @@ +/*! 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/custom/uikit/js/core/button.min.js b/admin/custom/uikit/js/core/button.min.js new file mode 100644 index 000000000..bac71eec1 --- /dev/null +++ b/admin/custom/uikit/js/core/button.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/core/core.js b/admin/custom/uikit/js/core/core.js new file mode 100644 index 000000000..096ff4941 --- /dev/null +++ b/admin/custom/uikit/js/core/core.js @@ -0,0 +1,722 @@ +/*! 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/custom/uikit/js/core/core.min.js b/admin/custom/uikit/js/core/core.min.js new file mode 100644 index 000000000..42c051f05 --- /dev/null +++ b/admin/custom/uikit/js/core/core.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/core/cover.js b/admin/custom/uikit/js/core/cover.js new file mode 100644 index 000000000..a505b78a8 --- /dev/null +++ b/admin/custom/uikit/js/core/cover.js @@ -0,0 +1,95 @@ +/*! 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/custom/uikit/js/core/cover.min.js b/admin/custom/uikit/js/core/cover.min.js new file mode 100644 index 000000000..70bdffd39 --- /dev/null +++ b/admin/custom/uikit/js/core/cover.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/core/dropdown.js b/admin/custom/uikit/js/core/dropdown.js new file mode 100644 index 000000000..bb9318447 --- /dev/null +++ b/admin/custom/uikit/js/core/dropdown.js @@ -0,0 +1,296 @@ +/*! 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/custom/uikit/js/core/dropdown.min.js b/admin/custom/uikit/js/core/dropdown.min.js new file mode 100644 index 000000000..4a72cc39c --- /dev/null +++ b/admin/custom/uikit/js/core/dropdown.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/core/grid.js b/admin/custom/uikit/js/core/grid.js new file mode 100644 index 000000000..f1e45f48a --- /dev/null +++ b/admin/custom/uikit/js/core/grid.js @@ -0,0 +1,114 @@ +/*! 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/custom/uikit/js/core/grid.min.js b/admin/custom/uikit/js/core/grid.min.js new file mode 100644 index 000000000..465d413ab --- /dev/null +++ b/admin/custom/uikit/js/core/grid.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/core/index.html b/admin/custom/uikit/js/core/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/uikit/js/core/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/uikit/js/core/modal.js b/admin/custom/uikit/js/core/modal.js new file mode 100644 index 000000000..4bfb3fd61 --- /dev/null +++ b/admin/custom/uikit/js/core/modal.js @@ -0,0 +1,373 @@ +/*! 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/custom/uikit/js/core/modal.min.js b/admin/custom/uikit/js/core/modal.min.js new file mode 100644 index 000000000..92429536c --- /dev/null +++ b/admin/custom/uikit/js/core/modal.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/core/nav.js b/admin/custom/uikit/js/core/nav.js new file mode 100644 index 000000000..020a2331a --- /dev/null +++ b/admin/custom/uikit/js/core/nav.js @@ -0,0 +1,136 @@ +/*! 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/custom/uikit/js/core/nav.min.js b/admin/custom/uikit/js/core/nav.min.js new file mode 100644 index 000000000..e5dfc8885 --- /dev/null +++ b/admin/custom/uikit/js/core/nav.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/core/offcanvas.js b/admin/custom/uikit/js/core/offcanvas.js new file mode 100644 index 000000000..68de1979e --- /dev/null +++ b/admin/custom/uikit/js/core/offcanvas.js @@ -0,0 +1,178 @@ +/*! 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/custom/uikit/js/core/offcanvas.min.js b/admin/custom/uikit/js/core/offcanvas.min.js new file mode 100644 index 000000000..480906eb0 --- /dev/null +++ b/admin/custom/uikit/js/core/offcanvas.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/core/scrollspy.js b/admin/custom/uikit/js/core/scrollspy.js new file mode 100644 index 000000000..9b8349ed1 --- /dev/null +++ b/admin/custom/uikit/js/core/scrollspy.js @@ -0,0 +1,208 @@ +/*! 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/custom/uikit/js/core/scrollspy.min.js b/admin/custom/uikit/js/core/scrollspy.min.js new file mode 100644 index 000000000..ade68908d --- /dev/null +++ b/admin/custom/uikit/js/core/scrollspy.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/core/smooth-scroll.js b/admin/custom/uikit/js/core/smooth-scroll.js new file mode 100644 index 000000000..a7ebce0e7 --- /dev/null +++ b/admin/custom/uikit/js/core/smooth-scroll.js @@ -0,0 +1,62 @@ +/*! 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/custom/uikit/js/core/smooth-scroll.min.js b/admin/custom/uikit/js/core/smooth-scroll.min.js new file mode 100644 index 000000000..0c09be5d9 --- /dev/null +++ b/admin/custom/uikit/js/core/smooth-scroll.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/core/switcher.js b/admin/custom/uikit/js/core/switcher.js new file mode 100644 index 000000000..4d4cfcbbd --- /dev/null +++ b/admin/custom/uikit/js/core/switcher.js @@ -0,0 +1,298 @@ +/*! 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/custom/uikit/js/core/switcher.min.js b/admin/custom/uikit/js/core/switcher.min.js new file mode 100644 index 000000000..d06a3a00f --- /dev/null +++ b/admin/custom/uikit/js/core/switcher.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/core/tab.js b/admin/custom/uikit/js/core/tab.js new file mode 100644 index 000000000..6040e7fc5 --- /dev/null +++ b/admin/custom/uikit/js/core/tab.js @@ -0,0 +1,165 @@ +/*! 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/custom/uikit/js/core/tab.min.js b/admin/custom/uikit/js/core/tab.min.js new file mode 100644 index 000000000..3447bc664 --- /dev/null +++ b/admin/custom/uikit/js/core/tab.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/core/toggle.js b/admin/custom/uikit/js/core/toggle.js new file mode 100644 index 000000000..29badf02e --- /dev/null +++ b/admin/custom/uikit/js/core/toggle.js @@ -0,0 +1,117 @@ +/*! 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/custom/uikit/js/core/toggle.min.js b/admin/custom/uikit/js/core/toggle.min.js new file mode 100644 index 000000000..c2cf33258 --- /dev/null +++ b/admin/custom/uikit/js/core/toggle.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/core/touch.js b/admin/custom/uikit/js/core/touch.js new file mode 100644 index 000000000..9afbce168 --- /dev/null +++ b/admin/custom/uikit/js/core/touch.js @@ -0,0 +1,173 @@ +/*! 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/custom/uikit/js/core/touch.min.js b/admin/custom/uikit/js/core/touch.min.js new file mode 100644 index 000000000..a2ef7ded7 --- /dev/null +++ b/admin/custom/uikit/js/core/touch.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/core/utility.js b/admin/custom/uikit/js/core/utility.js new file mode 100644 index 000000000..0d423a648 --- /dev/null +++ b/admin/custom/uikit/js/core/utility.js @@ -0,0 +1,243 @@ +/*! 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/custom/uikit/js/core/utility.min.js b/admin/custom/uikit/js/core/utility.min.js new file mode 100644 index 000000000..708970907 --- /dev/null +++ b/admin/custom/uikit/js/core/utility.min.js @@ -0,0 +1,2 @@ +/*! 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/custom/uikit/js/index.html b/admin/custom/uikit/js/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/custom/uikit/js/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/custom/uikit/js/uikit.js b/admin/custom/uikit/js/uikit.js new file mode 100644 index 000000000..bce6f80a7 --- /dev/null +++ b/admin/custom/uikit/js/uikit.js @@ -0,0 +1,3400 @@ +/*! 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/custom/uikit/js/uikit.min.js b/admin/custom/uikit/js/uikit.min.js new file mode 100644 index 000000000..1702ac2af --- /dev/null +++ b/admin/custom/uikit/js/uikit.min.js @@ -0,0 +1,3 @@ +/*! 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/helpers/PHPExcel.php b/admin/helpers/PHPExcel.php new file mode 100644 index 000000000..27aa77ae7 --- /dev/null +++ b/admin/helpers/PHPExcel.php @@ -0,0 +1,1139 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Autoloader.php b/admin/helpers/PHPExcel/Autoloader.php new file mode 100644 index 000000000..f0b225163 --- /dev/null +++ b/admin/helpers/PHPExcel/Autoloader.php @@ -0,0 +1,89 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/CachedObjectStorage/APC.php b/admin/helpers/PHPExcel/CachedObjectStorage/APC.php new file mode 100644 index 000000000..8bde7fe3e --- /dev/null +++ b/admin/helpers/PHPExcel/CachedObjectStorage/APC.php @@ -0,0 +1,295 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/CachedObjectStorage/CacheBase.php b/admin/helpers/PHPExcel/CachedObjectStorage/CacheBase.php new file mode 100644 index 000000000..9f780b2a6 --- /dev/null +++ b/admin/helpers/PHPExcel/CachedObjectStorage/CacheBase.php @@ -0,0 +1,347 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/CachedObjectStorage/DiscISAM.php b/admin/helpers/PHPExcel/CachedObjectStorage/DiscISAM.php new file mode 100644 index 000000000..cb38d0de4 --- /dev/null +++ b/admin/helpers/PHPExcel/CachedObjectStorage/DiscISAM.php @@ -0,0 +1,219 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/CachedObjectStorage/ICache.php b/admin/helpers/PHPExcel/CachedObjectStorage/ICache.php new file mode 100644 index 000000000..220905cd4 --- /dev/null +++ b/admin/helpers/PHPExcel/CachedObjectStorage/ICache.php @@ -0,0 +1,112 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/CachedObjectStorage/Igbinary.php b/admin/helpers/PHPExcel/CachedObjectStorage/Igbinary.php new file mode 100644 index 000000000..8bd11f116 --- /dev/null +++ b/admin/helpers/PHPExcel/CachedObjectStorage/Igbinary.php @@ -0,0 +1,152 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/CachedObjectStorage/Memcache.php b/admin/helpers/PHPExcel/CachedObjectStorage/Memcache.php new file mode 100644 index 000000000..6a096769e --- /dev/null +++ b/admin/helpers/PHPExcel/CachedObjectStorage/Memcache.php @@ -0,0 +1,312 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/CachedObjectStorage/Memory.php b/admin/helpers/PHPExcel/CachedObjectStorage/Memory.php new file mode 100644 index 000000000..1319a18de --- /dev/null +++ b/admin/helpers/PHPExcel/CachedObjectStorage/Memory.php @@ -0,0 +1,125 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/CachedObjectStorage/MemoryGZip.php b/admin/helpers/PHPExcel/CachedObjectStorage/MemoryGZip.php new file mode 100644 index 000000000..e35563c4e --- /dev/null +++ b/admin/helpers/PHPExcel/CachedObjectStorage/MemoryGZip.php @@ -0,0 +1,137 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/CachedObjectStorage/MemorySerialized.php b/admin/helpers/PHPExcel/CachedObjectStorage/MemorySerialized.php new file mode 100644 index 000000000..1082deae5 --- /dev/null +++ b/admin/helpers/PHPExcel/CachedObjectStorage/MemorySerialized.php @@ -0,0 +1,137 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/CachedObjectStorage/PHPTemp.php b/admin/helpers/PHPExcel/CachedObjectStorage/PHPTemp.php new file mode 100644 index 000000000..e28429dec --- /dev/null +++ b/admin/helpers/PHPExcel/CachedObjectStorage/PHPTemp.php @@ -0,0 +1,206 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/CachedObjectStorage/SQLite.php b/admin/helpers/PHPExcel/CachedObjectStorage/SQLite.php new file mode 100644 index 000000000..dd4f0e99d --- /dev/null +++ b/admin/helpers/PHPExcel/CachedObjectStorage/SQLite.php @@ -0,0 +1,306 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/CachedObjectStorage/SQLite3.php b/admin/helpers/PHPExcel/CachedObjectStorage/SQLite3.php new file mode 100644 index 000000000..bdc1d9793 --- /dev/null +++ b/admin/helpers/PHPExcel/CachedObjectStorage/SQLite3.php @@ -0,0 +1,345 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/CachedObjectStorage/Wincache.php b/admin/helpers/PHPExcel/CachedObjectStorage/Wincache.php new file mode 100644 index 000000000..cdbef641b --- /dev/null +++ b/admin/helpers/PHPExcel/CachedObjectStorage/Wincache.php @@ -0,0 +1,294 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/CachedObjectStorage/index.html b/admin/helpers/PHPExcel/CachedObjectStorage/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/CachedObjectStorage/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/CachedObjectStorageFactory.php b/admin/helpers/PHPExcel/CachedObjectStorageFactory.php new file mode 100644 index 000000000..2da92346e --- /dev/null +++ b/admin/helpers/PHPExcel/CachedObjectStorageFactory.php @@ -0,0 +1,251 @@ +<?php + +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/CalcEngine/CyclicReferenceStack.php b/admin/helpers/PHPExcel/CalcEngine/CyclicReferenceStack.php new file mode 100644 index 000000000..a633c2c3a --- /dev/null +++ b/admin/helpers/PHPExcel/CalcEngine/CyclicReferenceStack.php @@ -0,0 +1,98 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/CalcEngine/Logger.php b/admin/helpers/PHPExcel/CalcEngine/Logger.php new file mode 100644 index 000000000..fe43ae4f6 --- /dev/null +++ b/admin/helpers/PHPExcel/CalcEngine/Logger.php @@ -0,0 +1,153 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/CalcEngine/index.html b/admin/helpers/PHPExcel/CalcEngine/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/CalcEngine/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Calculation.php b/admin/helpers/PHPExcel/Calculation.php new file mode 100644 index 000000000..fa89671fe --- /dev/null +++ b/admin/helpers/PHPExcel/Calculation.php @@ -0,0 +1,3946 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Calculation/Database.php b/admin/helpers/PHPExcel/Calculation/Database.php new file mode 100644 index 000000000..908decfc4 --- /dev/null +++ b/admin/helpers/PHPExcel/Calculation/Database.php @@ -0,0 +1,725 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Calculation/DateTime.php b/admin/helpers/PHPExcel/Calculation/DateTime.php new file mode 100644 index 000000000..6eb96fd2c --- /dev/null +++ b/admin/helpers/PHPExcel/Calculation/DateTime.php @@ -0,0 +1,1475 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Calculation/Engineering.php b/admin/helpers/PHPExcel/Calculation/Engineering.php new file mode 100644 index 000000000..b60163e56 --- /dev/null +++ b/admin/helpers/PHPExcel/Calculation/Engineering.php @@ -0,0 +1,2505 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Calculation/Exception.php b/admin/helpers/PHPExcel/Calculation/Exception.php new file mode 100644 index 000000000..2ddf666df --- /dev/null +++ b/admin/helpers/PHPExcel/Calculation/Exception.php @@ -0,0 +1,52 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Calculation/ExceptionHandler.php b/admin/helpers/PHPExcel/Calculation/ExceptionHandler.php new file mode 100644 index 000000000..41c42d7ac --- /dev/null +++ b/admin/helpers/PHPExcel/Calculation/ExceptionHandler.php @@ -0,0 +1,49 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Calculation/Financial.php b/admin/helpers/PHPExcel/Calculation/Financial.php new file mode 100644 index 000000000..912a26961 --- /dev/null +++ b/admin/helpers/PHPExcel/Calculation/Financial.php @@ -0,0 +1,2292 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Calculation/FormulaParser.php b/admin/helpers/PHPExcel/Calculation/FormulaParser.php new file mode 100644 index 000000000..3884fd20a --- /dev/null +++ b/admin/helpers/PHPExcel/Calculation/FormulaParser.php @@ -0,0 +1,614 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Calculation/FormulaToken.php b/admin/helpers/PHPExcel/Calculation/FormulaToken.php new file mode 100644 index 000000000..ad10c00a2 --- /dev/null +++ b/admin/helpers/PHPExcel/Calculation/FormulaToken.php @@ -0,0 +1,176 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Calculation/Function.php b/admin/helpers/PHPExcel/Calculation/Function.php new file mode 100644 index 000000000..1301cd096 --- /dev/null +++ b/admin/helpers/PHPExcel/Calculation/Function.php @@ -0,0 +1,149 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Calculation/Functions.php b/admin/helpers/PHPExcel/Calculation/Functions.php new file mode 100644 index 000000000..9a139ec79 --- /dev/null +++ b/admin/helpers/PHPExcel/Calculation/Functions.php @@ -0,0 +1,725 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Calculation/Logical.php b/admin/helpers/PHPExcel/Calculation/Logical.php new file mode 100644 index 000000000..48fdb17f4 --- /dev/null +++ b/admin/helpers/PHPExcel/Calculation/Logical.php @@ -0,0 +1,288 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Calculation/LookupRef.php b/admin/helpers/PHPExcel/Calculation/LookupRef.php new file mode 100644 index 000000000..94f42e5f2 --- /dev/null +++ b/admin/helpers/PHPExcel/Calculation/LookupRef.php @@ -0,0 +1,881 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Calculation/MathTrig.php b/admin/helpers/PHPExcel/Calculation/MathTrig.php new file mode 100644 index 000000000..b2bb19d48 --- /dev/null +++ b/admin/helpers/PHPExcel/Calculation/MathTrig.php @@ -0,0 +1,1373 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Calculation/Statistical.php b/admin/helpers/PHPExcel/Calculation/Statistical.php new file mode 100644 index 000000000..67e1951c2 --- /dev/null +++ b/admin/helpers/PHPExcel/Calculation/Statistical.php @@ -0,0 +1,3651 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Calculation/TextData.php b/admin/helpers/PHPExcel/Calculation/TextData.php new file mode 100644 index 000000000..7a52d2e7f --- /dev/null +++ b/admin/helpers/PHPExcel/Calculation/TextData.php @@ -0,0 +1,631 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Calculation/Token/Stack.php b/admin/helpers/PHPExcel/Calculation/Token/Stack.php new file mode 100644 index 000000000..57963e738 --- /dev/null +++ b/admin/helpers/PHPExcel/Calculation/Token/Stack.php @@ -0,0 +1,115 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Calculation/Token/index.html b/admin/helpers/PHPExcel/Calculation/Token/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Calculation/Token/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Calculation/functionlist.txt b/admin/helpers/PHPExcel/Calculation/functionlist.txt new file mode 100644 index 000000000..67dbd49cf --- /dev/null +++ b/admin/helpers/PHPExcel/Calculation/functionlist.txt @@ -0,0 +1,351 @@ +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/helpers/PHPExcel/Calculation/index.html b/admin/helpers/PHPExcel/Calculation/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Calculation/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Cell.php b/admin/helpers/PHPExcel/Cell.php new file mode 100644 index 000000000..2d5f9102d --- /dev/null +++ b/admin/helpers/PHPExcel/Cell.php @@ -0,0 +1,1022 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Cell/AdvancedValueBinder.php b/admin/helpers/PHPExcel/Cell/AdvancedValueBinder.php new file mode 100644 index 000000000..f4280ac49 --- /dev/null +++ b/admin/helpers/PHPExcel/Cell/AdvancedValueBinder.php @@ -0,0 +1,192 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Cell/DataType.php b/admin/helpers/PHPExcel/Cell/DataType.php new file mode 100644 index 000000000..07e148a50 --- /dev/null +++ b/admin/helpers/PHPExcel/Cell/DataType.php @@ -0,0 +1,122 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Cell/DataValidation.php b/admin/helpers/PHPExcel/Cell/DataValidation.php new file mode 100644 index 000000000..538ecd1fb --- /dev/null +++ b/admin/helpers/PHPExcel/Cell/DataValidation.php @@ -0,0 +1,472 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Cell/DefaultValueBinder.php b/admin/helpers/PHPExcel/Cell/DefaultValueBinder.php new file mode 100644 index 000000000..59a9c7137 --- /dev/null +++ b/admin/helpers/PHPExcel/Cell/DefaultValueBinder.php @@ -0,0 +1,100 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Cell/Hyperlink.php b/admin/helpers/PHPExcel/Cell/Hyperlink.php new file mode 100644 index 000000000..178ba7ee2 --- /dev/null +++ b/admin/helpers/PHPExcel/Cell/Hyperlink.php @@ -0,0 +1,126 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Cell/IValueBinder.php b/admin/helpers/PHPExcel/Cell/IValueBinder.php new file mode 100644 index 000000000..551815523 --- /dev/null +++ b/admin/helpers/PHPExcel/Cell/IValueBinder.php @@ -0,0 +1,46 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Cell/index.html b/admin/helpers/PHPExcel/Cell/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Cell/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Chart.php b/admin/helpers/PHPExcel/Chart.php new file mode 100644 index 000000000..b9146b34b --- /dev/null +++ b/admin/helpers/PHPExcel/Chart.php @@ -0,0 +1,635 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Chart/Axis.php b/admin/helpers/PHPExcel/Chart/Axis.php new file mode 100644 index 000000000..efb39e9f4 --- /dev/null +++ b/admin/helpers/PHPExcel/Chart/Axis.php @@ -0,0 +1,584 @@ +<?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/helpers/PHPExcel/Chart/DataSeries.php b/admin/helpers/PHPExcel/Chart/DataSeries.php new file mode 100644 index 000000000..86e61eb17 --- /dev/null +++ b/admin/helpers/PHPExcel/Chart/DataSeries.php @@ -0,0 +1,365 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Chart/DataSeriesValues.php b/admin/helpers/PHPExcel/Chart/DataSeriesValues.php new file mode 100644 index 000000000..731d2c922 --- /dev/null +++ b/admin/helpers/PHPExcel/Chart/DataSeriesValues.php @@ -0,0 +1,327 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Chart/Exception.php b/admin/helpers/PHPExcel/Chart/Exception.php new file mode 100644 index 000000000..58b5b5822 --- /dev/null +++ b/admin/helpers/PHPExcel/Chart/Exception.php @@ -0,0 +1,52 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Chart/GridLines.php b/admin/helpers/PHPExcel/Chart/GridLines.php new file mode 100644 index 000000000..7467ea7ea --- /dev/null +++ b/admin/helpers/PHPExcel/Chart/GridLines.php @@ -0,0 +1,458 @@ +<?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/helpers/PHPExcel/Chart/Layout.php b/admin/helpers/PHPExcel/Chart/Layout.php new file mode 100644 index 000000000..eefa157a9 --- /dev/null +++ b/admin/helpers/PHPExcel/Chart/Layout.php @@ -0,0 +1,445 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Chart/Legend.php b/admin/helpers/PHPExcel/Chart/Legend.php new file mode 100644 index 000000000..783b3d429 --- /dev/null +++ b/admin/helpers/PHPExcel/Chart/Legend.php @@ -0,0 +1,171 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Chart/PlotArea.php b/admin/helpers/PHPExcel/Chart/PlotArea.php new file mode 100644 index 000000000..c917ce305 --- /dev/null +++ b/admin/helpers/PHPExcel/Chart/PlotArea.php @@ -0,0 +1,128 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Chart/Properties.php b/admin/helpers/PHPExcel/Chart/Properties.php new file mode 100644 index 000000000..7593983c0 --- /dev/null +++ b/admin/helpers/PHPExcel/Chart/Properties.php @@ -0,0 +1,359 @@ +<?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/helpers/PHPExcel/Chart/Renderer/PHP Charting Libraries.txt b/admin/helpers/PHPExcel/Chart/Renderer/PHP Charting Libraries.txt new file mode 100644 index 000000000..20a825885 --- /dev/null +++ b/admin/helpers/PHPExcel/Chart/Renderer/PHP Charting Libraries.txt @@ -0,0 +1,17 @@ +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/helpers/PHPExcel/Chart/Renderer/index.html b/admin/helpers/PHPExcel/Chart/Renderer/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Chart/Renderer/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Chart/Renderer/jpgraph.php b/admin/helpers/PHPExcel/Chart/Renderer/jpgraph.php new file mode 100644 index 000000000..99a0b97ad --- /dev/null +++ b/admin/helpers/PHPExcel/Chart/Renderer/jpgraph.php @@ -0,0 +1,855 @@ +<?php + +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Chart/Title.php b/admin/helpers/PHPExcel/Chart/Title.php new file mode 100644 index 000000000..5d226c4b2 --- /dev/null +++ b/admin/helpers/PHPExcel/Chart/Title.php @@ -0,0 +1,92 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Chart/index.html b/admin/helpers/PHPExcel/Chart/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Chart/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Comment.php b/admin/helpers/PHPExcel/Comment.php new file mode 100644 index 000000000..8b8cfdcc4 --- /dev/null +++ b/admin/helpers/PHPExcel/Comment.php @@ -0,0 +1,327 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/DocumentProperties.php b/admin/helpers/PHPExcel/DocumentProperties.php new file mode 100644 index 000000000..7b4a0e435 --- /dev/null +++ b/admin/helpers/PHPExcel/DocumentProperties.php @@ -0,0 +1,587 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/DocumentSecurity.php b/admin/helpers/PHPExcel/DocumentSecurity.php new file mode 100644 index 000000000..cf7ffb57c --- /dev/null +++ b/admin/helpers/PHPExcel/DocumentSecurity.php @@ -0,0 +1,218 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Exception.php b/admin/helpers/PHPExcel/Exception.php new file mode 100644 index 000000000..578b9eeee --- /dev/null +++ b/admin/helpers/PHPExcel/Exception.php @@ -0,0 +1,52 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/HashTable.php b/admin/helpers/PHPExcel/HashTable.php new file mode 100644 index 000000000..77106e1e0 --- /dev/null +++ b/admin/helpers/PHPExcel/HashTable.php @@ -0,0 +1,202 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/IComparable.php b/admin/helpers/PHPExcel/IComparable.php new file mode 100644 index 000000000..adb9a016d --- /dev/null +++ b/admin/helpers/PHPExcel/IComparable.php @@ -0,0 +1,43 @@ +<?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/helpers/PHPExcel/IOFactory.php b/admin/helpers/PHPExcel/IOFactory.php new file mode 100644 index 000000000..1daa06a53 --- /dev/null +++ b/admin/helpers/PHPExcel/IOFactory.php @@ -0,0 +1,288 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/NamedRange.php b/admin/helpers/PHPExcel/NamedRange.php new file mode 100644 index 000000000..fe245e3ee --- /dev/null +++ b/admin/helpers/PHPExcel/NamedRange.php @@ -0,0 +1,246 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Reader/Abstract.php b/admin/helpers/PHPExcel/Reader/Abstract.php new file mode 100644 index 000000000..1a6b422ff --- /dev/null +++ b/admin/helpers/PHPExcel/Reader/Abstract.php @@ -0,0 +1,230 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Reader/CSV.php b/admin/helpers/PHPExcel/Reader/CSV.php new file mode 100644 index 000000000..22176fdc9 --- /dev/null +++ b/admin/helpers/PHPExcel/Reader/CSV.php @@ -0,0 +1,387 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Reader/DefaultReadFilter.php b/admin/helpers/PHPExcel/Reader/DefaultReadFilter.php new file mode 100644 index 000000000..dc55fc6bd --- /dev/null +++ b/admin/helpers/PHPExcel/Reader/DefaultReadFilter.php @@ -0,0 +1,58 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Reader/Excel2003XML.php b/admin/helpers/PHPExcel/Reader/Excel2003XML.php new file mode 100644 index 000000000..6f3a4efd4 --- /dev/null +++ b/admin/helpers/PHPExcel/Reader/Excel2003XML.php @@ -0,0 +1,802 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Reader/Excel2007.php b/admin/helpers/PHPExcel/Reader/Excel2007.php new file mode 100644 index 000000000..afe3b5c8e --- /dev/null +++ b/admin/helpers/PHPExcel/Reader/Excel2007.php @@ -0,0 +1,2085 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Reader/Excel2007/Chart.php b/admin/helpers/PHPExcel/Reader/Excel2007/Chart.php new file mode 100644 index 000000000..1424276c6 --- /dev/null +++ b/admin/helpers/PHPExcel/Reader/Excel2007/Chart.php @@ -0,0 +1,517 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Reader/Excel2007/Theme.php b/admin/helpers/PHPExcel/Reader/Excel2007/Theme.php new file mode 100644 index 000000000..a371c6208 --- /dev/null +++ b/admin/helpers/PHPExcel/Reader/Excel2007/Theme.php @@ -0,0 +1,124 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Reader/Excel2007/index.html b/admin/helpers/PHPExcel/Reader/Excel2007/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Reader/Excel2007/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Reader/Excel5.php b/admin/helpers/PHPExcel/Reader/Excel5.php new file mode 100644 index 000000000..f2893ece7 --- /dev/null +++ b/admin/helpers/PHPExcel/Reader/Excel5.php @@ -0,0 +1,7088 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Reader/Excel5/Escher.php b/admin/helpers/PHPExcel/Reader/Excel5/Escher.php new file mode 100644 index 000000000..8dc5e902e --- /dev/null +++ b/admin/helpers/PHPExcel/Reader/Excel5/Escher.php @@ -0,0 +1,640 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Reader/Excel5/MD5.php b/admin/helpers/PHPExcel/Reader/Excel5/MD5.php new file mode 100644 index 000000000..097e9753f --- /dev/null +++ b/admin/helpers/PHPExcel/Reader/Excel5/MD5.php @@ -0,0 +1,221 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Reader/Excel5/RC4.php b/admin/helpers/PHPExcel/Reader/Excel5/RC4.php new file mode 100644 index 000000000..199ee1921 --- /dev/null +++ b/admin/helpers/PHPExcel/Reader/Excel5/RC4.php @@ -0,0 +1,88 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Reader/Excel5/index.html b/admin/helpers/PHPExcel/Reader/Excel5/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Reader/Excel5/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Reader/Exception.php b/admin/helpers/PHPExcel/Reader/Exception.php new file mode 100644 index 000000000..d0e2f5707 --- /dev/null +++ b/admin/helpers/PHPExcel/Reader/Exception.php @@ -0,0 +1,52 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Reader/Gnumeric.php b/admin/helpers/PHPExcel/Reader/Gnumeric.php new file mode 100644 index 000000000..d8121495d --- /dev/null +++ b/admin/helpers/PHPExcel/Reader/Gnumeric.php @@ -0,0 +1,873 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Reader/HTML.php b/admin/helpers/PHPExcel/Reader/HTML.php new file mode 100644 index 000000000..6adcc857a --- /dev/null +++ b/admin/helpers/PHPExcel/Reader/HTML.php @@ -0,0 +1,469 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Reader/IReadFilter.php b/admin/helpers/PHPExcel/Reader/IReadFilter.php new file mode 100644 index 000000000..f27cff8b9 --- /dev/null +++ b/admin/helpers/PHPExcel/Reader/IReadFilter.php @@ -0,0 +1,47 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Reader/IReader.php b/admin/helpers/PHPExcel/Reader/IReader.php new file mode 100644 index 000000000..b543df4a7 --- /dev/null +++ b/admin/helpers/PHPExcel/Reader/IReader.php @@ -0,0 +1,54 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Reader/OOCalc.php b/admin/helpers/PHPExcel/Reader/OOCalc.php new file mode 100644 index 000000000..4ffed2b3b --- /dev/null +++ b/admin/helpers/PHPExcel/Reader/OOCalc.php @@ -0,0 +1,711 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Reader/SYLK.php b/admin/helpers/PHPExcel/Reader/SYLK.php new file mode 100644 index 000000000..b61118a3b --- /dev/null +++ b/admin/helpers/PHPExcel/Reader/SYLK.php @@ -0,0 +1,450 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Reader/index.html b/admin/helpers/PHPExcel/Reader/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Reader/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/ReferenceHelper.php b/admin/helpers/PHPExcel/ReferenceHelper.php new file mode 100644 index 000000000..9eadab4d5 --- /dev/null +++ b/admin/helpers/PHPExcel/ReferenceHelper.php @@ -0,0 +1,922 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/RichText.php b/admin/helpers/PHPExcel/RichText.php new file mode 100644 index 000000000..19326315b --- /dev/null +++ b/admin/helpers/PHPExcel/RichText.php @@ -0,0 +1,199 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/RichText/ITextElement.php b/admin/helpers/PHPExcel/RichText/ITextElement.php new file mode 100644 index 000000000..9f1c6240a --- /dev/null +++ b/admin/helpers/PHPExcel/RichText/ITextElement.php @@ -0,0 +1,64 @@ +<?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/helpers/PHPExcel/RichText/Run.php b/admin/helpers/PHPExcel/RichText/Run.php new file mode 100644 index 000000000..4a8c592e3 --- /dev/null +++ b/admin/helpers/PHPExcel/RichText/Run.php @@ -0,0 +1,102 @@ +<?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/helpers/PHPExcel/RichText/TextElement.php b/admin/helpers/PHPExcel/RichText/TextElement.php new file mode 100644 index 000000000..ec7c2644e --- /dev/null +++ b/admin/helpers/PHPExcel/RichText/TextElement.php @@ -0,0 +1,108 @@ +<?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/helpers/PHPExcel/RichText/index.html b/admin/helpers/PHPExcel/RichText/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/RichText/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Settings.php b/admin/helpers/PHPExcel/Settings.php new file mode 100644 index 000000000..c78d9350d --- /dev/null +++ b/admin/helpers/PHPExcel/Settings.php @@ -0,0 +1,391 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/CodePage.php b/admin/helpers/PHPExcel/Shared/CodePage.php new file mode 100644 index 000000000..01e0ea4f3 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/CodePage.php @@ -0,0 +1,105 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/Date.php b/admin/helpers/PHPExcel/Shared/Date.php new file mode 100644 index 000000000..75f367eac --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/Date.php @@ -0,0 +1,393 @@ +<?php + +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/Drawing.php b/admin/helpers/PHPExcel/Shared/Drawing.php new file mode 100644 index 000000000..dbff74abc --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/Drawing.php @@ -0,0 +1,272 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/Escher.php b/admin/helpers/PHPExcel/Shared/Escher.php new file mode 100644 index 000000000..ddf68c65b --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/Escher.php @@ -0,0 +1,91 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/Escher/DgContainer.php b/admin/helpers/PHPExcel/Shared/Escher/DgContainer.php new file mode 100644 index 000000000..cb826db10 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/Escher/DgContainer.php @@ -0,0 +1,83 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/Escher/DgContainer/SpgrContainer.php b/admin/helpers/PHPExcel/Shared/Escher/DgContainer/SpgrContainer.php new file mode 100644 index 000000000..b8ad8eafd --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/Escher/DgContainer/SpgrContainer.php @@ -0,0 +1,109 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php b/admin/helpers/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php new file mode 100644 index 000000000..682314801 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php @@ -0,0 +1,395 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/index.html b/admin/helpers/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/Escher/DgContainer/SpgrContainer/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Shared/Escher/DgContainer/index.html b/admin/helpers/PHPExcel/Shared/Escher/DgContainer/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/Escher/DgContainer/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Shared/Escher/DggContainer.php b/admin/helpers/PHPExcel/Shared/Escher/DggContainer.php new file mode 100644 index 000000000..26696ec9d --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/Escher/DggContainer.php @@ -0,0 +1,203 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer.php b/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer.php new file mode 100644 index 000000000..fba2e73fa --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer.php @@ -0,0 +1,65 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE.php b/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE.php new file mode 100644 index 000000000..418896a34 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE.php @@ -0,0 +1,120 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/Blip.php b/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/Blip.php new file mode 100644 index 000000000..d9cc2f5c0 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/Blip.php @@ -0,0 +1,91 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/index.html b/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/BSE/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/index.html b/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/Escher/DggContainer/BstoreContainer/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Shared/Escher/DggContainer/index.html b/admin/helpers/PHPExcel/Shared/Escher/DggContainer/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/Escher/DggContainer/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Shared/Escher/index.html b/admin/helpers/PHPExcel/Shared/Escher/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/Escher/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Shared/Excel5.php b/admin/helpers/PHPExcel/Shared/Excel5.php new file mode 100644 index 000000000..3caf675dd --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/Excel5.php @@ -0,0 +1,317 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/File.php b/admin/helpers/PHPExcel/Shared/File.php new file mode 100644 index 000000000..52c9b9796 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/File.php @@ -0,0 +1,178 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/Font.php b/admin/helpers/PHPExcel/Shared/Font.php new file mode 100644 index 000000000..ee0702e44 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/Font.php @@ -0,0 +1,773 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/JAMA/CHANGELOG.TXT b/admin/helpers/PHPExcel/Shared/JAMA/CHANGELOG.TXT new file mode 100644 index 000000000..1c18a5da3 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/JAMA/CHANGELOG.TXT @@ -0,0 +1,16 @@ +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/helpers/PHPExcel/Shared/JAMA/CholeskyDecomposition.php b/admin/helpers/PHPExcel/Shared/JAMA/CholeskyDecomposition.php new file mode 100644 index 000000000..cfbaa53bc --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/JAMA/CholeskyDecomposition.php @@ -0,0 +1,149 @@ +<?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/helpers/PHPExcel/Shared/JAMA/EigenvalueDecomposition.php b/admin/helpers/PHPExcel/Shared/JAMA/EigenvalueDecomposition.php new file mode 100644 index 000000000..2a696d00f --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/JAMA/EigenvalueDecomposition.php @@ -0,0 +1,862 @@ +<?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/helpers/PHPExcel/Shared/JAMA/LUDecomposition.php b/admin/helpers/PHPExcel/Shared/JAMA/LUDecomposition.php new file mode 100644 index 000000000..08e500cf7 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/JAMA/LUDecomposition.php @@ -0,0 +1,258 @@ +<?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/helpers/PHPExcel/Shared/JAMA/Matrix.php b/admin/helpers/PHPExcel/Shared/JAMA/Matrix.php new file mode 100644 index 000000000..b893a447a --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/JAMA/Matrix.php @@ -0,0 +1,1059 @@ +<?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/helpers/PHPExcel/Shared/JAMA/QRDecomposition.php b/admin/helpers/PHPExcel/Shared/JAMA/QRDecomposition.php new file mode 100644 index 000000000..753846298 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/JAMA/QRDecomposition.php @@ -0,0 +1,234 @@ +<?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/helpers/PHPExcel/Shared/JAMA/SingularValueDecomposition.php b/admin/helpers/PHPExcel/Shared/JAMA/SingularValueDecomposition.php new file mode 100644 index 000000000..a4b096c59 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/JAMA/SingularValueDecomposition.php @@ -0,0 +1,526 @@ +<?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/helpers/PHPExcel/Shared/JAMA/index.html b/admin/helpers/PHPExcel/Shared/JAMA/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/JAMA/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Shared/JAMA/utils/Error.php b/admin/helpers/PHPExcel/Shared/JAMA/utils/Error.php new file mode 100644 index 000000000..e73252b3d --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/JAMA/utils/Error.php @@ -0,0 +1,82 @@ +<?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/helpers/PHPExcel/Shared/JAMA/utils/Maths.php b/admin/helpers/PHPExcel/Shared/JAMA/utils/Maths.php new file mode 100644 index 000000000..aa09a8bbb --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/JAMA/utils/Maths.php @@ -0,0 +1,43 @@ +<?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/helpers/PHPExcel/Shared/JAMA/utils/index.html b/admin/helpers/PHPExcel/Shared/JAMA/utils/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/JAMA/utils/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Shared/OLE.php b/admin/helpers/PHPExcel/Shared/OLE.php new file mode 100644 index 000000000..9796282a8 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/OLE.php @@ -0,0 +1,531 @@ +<?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/helpers/PHPExcel/Shared/OLE/ChainedBlockStream.php b/admin/helpers/PHPExcel/Shared/OLE/ChainedBlockStream.php new file mode 100644 index 000000000..0736fc232 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/OLE/ChainedBlockStream.php @@ -0,0 +1,222 @@ +<?php +/** + * PHPExcel + * + * Copyright (C) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/OLE/PPS.php b/admin/helpers/PHPExcel/Shared/OLE/PPS.php new file mode 100644 index 000000000..4db0ae4e2 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/OLE/PPS.php @@ -0,0 +1,230 @@ +<?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/helpers/PHPExcel/Shared/OLE/PPS/File.php b/admin/helpers/PHPExcel/Shared/OLE/PPS/File.php new file mode 100644 index 000000000..f061f568c --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/OLE/PPS/File.php @@ -0,0 +1,84 @@ +<?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/helpers/PHPExcel/Shared/OLE/PPS/Root.php b/admin/helpers/PHPExcel/Shared/OLE/PPS/Root.php new file mode 100644 index 000000000..eb929d205 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/OLE/PPS/Root.php @@ -0,0 +1,467 @@ +<?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/helpers/PHPExcel/Shared/OLE/PPS/index.html b/admin/helpers/PHPExcel/Shared/OLE/PPS/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/OLE/PPS/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Shared/OLE/index.html b/admin/helpers/PHPExcel/Shared/OLE/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/OLE/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Shared/OLERead.php b/admin/helpers/PHPExcel/Shared/OLERead.php new file mode 100644 index 000000000..261bdde58 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/OLERead.php @@ -0,0 +1,317 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/PCLZip/gnu-lgpl.txt b/admin/helpers/PHPExcel/Shared/PCLZip/gnu-lgpl.txt new file mode 100644 index 000000000..cbee875ba --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/PCLZip/gnu-lgpl.txt @@ -0,0 +1,504 @@ + 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/helpers/PHPExcel/Shared/PCLZip/index.html b/admin/helpers/PHPExcel/Shared/PCLZip/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/PCLZip/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Shared/PCLZip/pclzip.lib.php b/admin/helpers/PHPExcel/Shared/PCLZip/pclzip.lib.php new file mode 100644 index 000000000..4bf05a523 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/PCLZip/pclzip.lib.php @@ -0,0 +1,5694 @@ +<?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/helpers/PHPExcel/Shared/PCLZip/readme.txt b/admin/helpers/PHPExcel/Shared/PCLZip/readme.txt new file mode 100644 index 000000000..6ed883947 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/PCLZip/readme.txt @@ -0,0 +1,421 @@ +// -------------------------------------------------------------------------------- +// 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/helpers/PHPExcel/Shared/PasswordHasher.php b/admin/helpers/PHPExcel/Shared/PasswordHasher.php new file mode 100644 index 000000000..891b6bc15 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/PasswordHasher.php @@ -0,0 +1,66 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/String.php b/admin/helpers/PHPExcel/Shared/String.php new file mode 100644 index 000000000..fc86d537d --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/String.php @@ -0,0 +1,776 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/TimeZone.php b/admin/helpers/PHPExcel/Shared/TimeZone.php new file mode 100644 index 000000000..1792a2953 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/TimeZone.php @@ -0,0 +1,140 @@ +<?php + +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/XMLWriter.php b/admin/helpers/PHPExcel/Shared/XMLWriter.php new file mode 100644 index 000000000..beca51fc5 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/XMLWriter.php @@ -0,0 +1,127 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/ZipArchive.php b/admin/helpers/PHPExcel/Shared/ZipArchive.php new file mode 100644 index 000000000..9a801a841 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/ZipArchive.php @@ -0,0 +1,175 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/ZipStreamWrapper.php b/admin/helpers/PHPExcel/Shared/ZipStreamWrapper.php new file mode 100644 index 000000000..6e63d3ce3 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/ZipStreamWrapper.php @@ -0,0 +1,201 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/index.html b/admin/helpers/PHPExcel/Shared/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Shared/trend/bestFitClass.php b/admin/helpers/PHPExcel/Shared/trend/bestFitClass.php new file mode 100644 index 000000000..9ae8b006d --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/trend/bestFitClass.php @@ -0,0 +1,432 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/trend/exponentialBestFitClass.php b/admin/helpers/PHPExcel/Shared/trend/exponentialBestFitClass.php new file mode 100644 index 000000000..b524b5fe4 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/trend/exponentialBestFitClass.php @@ -0,0 +1,148 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/trend/index.html b/admin/helpers/PHPExcel/Shared/trend/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/trend/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Shared/trend/linearBestFitClass.php b/admin/helpers/PHPExcel/Shared/trend/linearBestFitClass.php new file mode 100644 index 000000000..7d811aa5b --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/trend/linearBestFitClass.php @@ -0,0 +1,111 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/trend/logarithmicBestFitClass.php b/admin/helpers/PHPExcel/Shared/trend/logarithmicBestFitClass.php new file mode 100644 index 000000000..b43cd5edf --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/trend/logarithmicBestFitClass.php @@ -0,0 +1,120 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/trend/polynomialBestFitClass.php b/admin/helpers/PHPExcel/Shared/trend/polynomialBestFitClass.php new file mode 100644 index 000000000..3d329eb7d --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/trend/polynomialBestFitClass.php @@ -0,0 +1,224 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/trend/powerBestFitClass.php b/admin/helpers/PHPExcel/Shared/trend/powerBestFitClass.php new file mode 100644 index 000000000..832669c9f --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/trend/powerBestFitClass.php @@ -0,0 +1,142 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Shared/trend/trendClass.php b/admin/helpers/PHPExcel/Shared/trend/trendClass.php new file mode 100644 index 000000000..25d7eb1d8 --- /dev/null +++ b/admin/helpers/PHPExcel/Shared/trend/trendClass.php @@ -0,0 +1,156 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Style.php b/admin/helpers/PHPExcel/Style.php new file mode 100644 index 000000000..9c29320ea --- /dev/null +++ b/admin/helpers/PHPExcel/Style.php @@ -0,0 +1,668 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Style/Alignment.php b/admin/helpers/PHPExcel/Style/Alignment.php new file mode 100644 index 000000000..00825debf --- /dev/null +++ b/admin/helpers/PHPExcel/Style/Alignment.php @@ -0,0 +1,459 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Style/Border.php b/admin/helpers/PHPExcel/Style/Border.php new file mode 100644 index 000000000..ec737bf0f --- /dev/null +++ b/admin/helpers/PHPExcel/Style/Border.php @@ -0,0 +1,294 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Style/Borders.php b/admin/helpers/PHPExcel/Style/Borders.php new file mode 100644 index 000000000..21dcfeeef --- /dev/null +++ b/admin/helpers/PHPExcel/Style/Borders.php @@ -0,0 +1,424 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Style/Color.php b/admin/helpers/PHPExcel/Style/Color.php new file mode 100644 index 000000000..a56c9a633 --- /dev/null +++ b/admin/helpers/PHPExcel/Style/Color.php @@ -0,0 +1,429 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Style/Conditional.php b/admin/helpers/PHPExcel/Style/Conditional.php new file mode 100644 index 000000000..aebf1e313 --- /dev/null +++ b/admin/helpers/PHPExcel/Style/Conditional.php @@ -0,0 +1,277 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Style/Fill.php b/admin/helpers/PHPExcel/Style/Fill.php new file mode 100644 index 000000000..6412ba634 --- /dev/null +++ b/admin/helpers/PHPExcel/Style/Fill.php @@ -0,0 +1,321 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Style/Font.php b/admin/helpers/PHPExcel/Style/Font.php new file mode 100644 index 000000000..296e34855 --- /dev/null +++ b/admin/helpers/PHPExcel/Style/Font.php @@ -0,0 +1,532 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Style/NumberFormat.php b/admin/helpers/PHPExcel/Style/NumberFormat.php new file mode 100644 index 000000000..0d7d93de2 --- /dev/null +++ b/admin/helpers/PHPExcel/Style/NumberFormat.php @@ -0,0 +1,711 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Style/Protection.php b/admin/helpers/PHPExcel/Style/Protection.php new file mode 100644 index 000000000..8dc1f31ad --- /dev/null +++ b/admin/helpers/PHPExcel/Style/Protection.php @@ -0,0 +1,207 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Style/Supervisor.php b/admin/helpers/PHPExcel/Style/Supervisor.php new file mode 100644 index 000000000..2d21f5293 --- /dev/null +++ b/admin/helpers/PHPExcel/Style/Supervisor.php @@ -0,0 +1,132 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Style/index.html b/admin/helpers/PHPExcel/Style/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Style/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Worksheet.php b/admin/helpers/PHPExcel/Worksheet.php new file mode 100644 index 000000000..6215be8b1 --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet.php @@ -0,0 +1,2917 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Worksheet/AutoFilter.php b/admin/helpers/PHPExcel/Worksheet/AutoFilter.php new file mode 100644 index 000000000..d0fa8b6df --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet/AutoFilter.php @@ -0,0 +1,858 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Worksheet/AutoFilter/Column.php b/admin/helpers/PHPExcel/Worksheet/AutoFilter/Column.php new file mode 100644 index 000000000..1a6fb4eb8 --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet/AutoFilter/Column.php @@ -0,0 +1,394 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Worksheet/AutoFilter/Column/Rule.php b/admin/helpers/PHPExcel/Worksheet/AutoFilter/Column/Rule.php new file mode 100644 index 000000000..4a14d7d7d --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet/AutoFilter/Column/Rule.php @@ -0,0 +1,464 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Worksheet/AutoFilter/Column/index.html b/admin/helpers/PHPExcel/Worksheet/AutoFilter/Column/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet/AutoFilter/Column/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Worksheet/AutoFilter/index.html b/admin/helpers/PHPExcel/Worksheet/AutoFilter/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet/AutoFilter/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Worksheet/BaseDrawing.php b/admin/helpers/PHPExcel/Worksheet/BaseDrawing.php new file mode 100644 index 000000000..5a760fcad --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet/BaseDrawing.php @@ -0,0 +1,489 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Worksheet/CellIterator.php b/admin/helpers/PHPExcel/Worksheet/CellIterator.php new file mode 100644 index 000000000..27cdc94c3 --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet/CellIterator.php @@ -0,0 +1,161 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Worksheet/ColumnDimension.php b/admin/helpers/PHPExcel/Worksheet/ColumnDimension.php new file mode 100644 index 000000000..bc6a042eb --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet/ColumnDimension.php @@ -0,0 +1,266 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Worksheet/Drawing.php b/admin/helpers/PHPExcel/Worksheet/Drawing.php new file mode 100644 index 000000000..e8d87f1d0 --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet/Drawing.php @@ -0,0 +1,148 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Worksheet/Drawing/Shadow.php b/admin/helpers/PHPExcel/Worksheet/Drawing/Shadow.php new file mode 100644 index 000000000..98b95b1a7 --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet/Drawing/Shadow.php @@ -0,0 +1,288 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Worksheet/Drawing/index.html b/admin/helpers/PHPExcel/Worksheet/Drawing/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet/Drawing/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Worksheet/HeaderFooter.php b/admin/helpers/PHPExcel/Worksheet/HeaderFooter.php new file mode 100644 index 000000000..803741638 --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet/HeaderFooter.php @@ -0,0 +1,465 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Worksheet/HeaderFooterDrawing.php b/admin/helpers/PHPExcel/Worksheet/HeaderFooterDrawing.php new file mode 100644 index 000000000..966664f93 --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet/HeaderFooterDrawing.php @@ -0,0 +1,350 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Worksheet/MemoryDrawing.php b/admin/helpers/PHPExcel/Worksheet/MemoryDrawing.php new file mode 100644 index 000000000..80fc6d1f0 --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet/MemoryDrawing.php @@ -0,0 +1,200 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Worksheet/PageMargins.php b/admin/helpers/PHPExcel/Worksheet/PageMargins.php new file mode 100644 index 000000000..b05a291ff --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet/PageMargins.php @@ -0,0 +1,220 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Worksheet/PageSetup.php b/admin/helpers/PHPExcel/Worksheet/PageSetup.php new file mode 100644 index 000000000..ba2792fac --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet/PageSetup.php @@ -0,0 +1,798 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Worksheet/Protection.php b/admin/helpers/PHPExcel/Worksheet/Protection.php new file mode 100644 index 000000000..da66bf763 --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet/Protection.php @@ -0,0 +1,545 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Worksheet/Row.php b/admin/helpers/PHPExcel/Worksheet/Row.php new file mode 100644 index 000000000..df16d33c2 --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet/Row.php @@ -0,0 +1,90 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Worksheet/RowDimension.php b/admin/helpers/PHPExcel/Worksheet/RowDimension.php new file mode 100644 index 000000000..bff89a080 --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet/RowDimension.php @@ -0,0 +1,265 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Worksheet/RowIterator.php b/admin/helpers/PHPExcel/Worksheet/RowIterator.php new file mode 100644 index 000000000..642ec763d --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet/RowIterator.php @@ -0,0 +1,148 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Worksheet/SheetView.php b/admin/helpers/PHPExcel/Worksheet/SheetView.php new file mode 100644 index 000000000..8ced835dd --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet/SheetView.php @@ -0,0 +1,188 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Worksheet/index.html b/admin/helpers/PHPExcel/Worksheet/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Worksheet/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/WorksheetIterator.php b/admin/helpers/PHPExcel/WorksheetIterator.php new file mode 100644 index 000000000..ad17fd903 --- /dev/null +++ b/admin/helpers/PHPExcel/WorksheetIterator.php @@ -0,0 +1,118 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Abstract.php b/admin/helpers/PHPExcel/Writer/Abstract.php new file mode 100644 index 000000000..fca6a60cc --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Abstract.php @@ -0,0 +1,158 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/CSV.php b/admin/helpers/PHPExcel/Writer/CSV.php new file mode 100644 index 000000000..97961ccca --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/CSV.php @@ -0,0 +1,310 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel2007.php b/admin/helpers/PHPExcel/Writer/Excel2007.php new file mode 100644 index 000000000..4cf14ac1c --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel2007.php @@ -0,0 +1,532 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel2007/Chart.php b/admin/helpers/PHPExcel/Writer/Excel2007/Chart.php new file mode 100644 index 000000000..ceb750ade --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel2007/Chart.php @@ -0,0 +1,1606 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel2007/Comments.php b/admin/helpers/PHPExcel/Writer/Excel2007/Comments.php new file mode 100644 index 000000000..dc809fa8e --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel2007/Comments.php @@ -0,0 +1,268 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel2007/ContentTypes.php b/admin/helpers/PHPExcel/Writer/Excel2007/ContentTypes.php new file mode 100644 index 000000000..557853654 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel2007/ContentTypes.php @@ -0,0 +1,287 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel2007/DocProps.php b/admin/helpers/PHPExcel/Writer/Excel2007/DocProps.php new file mode 100644 index 000000000..f8821379c --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel2007/DocProps.php @@ -0,0 +1,272 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel2007/Drawing.php b/admin/helpers/PHPExcel/Writer/Excel2007/Drawing.php new file mode 100644 index 000000000..1cf971ed4 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel2007/Drawing.php @@ -0,0 +1,598 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel2007/Rels.php b/admin/helpers/PHPExcel/Writer/Excel2007/Rels.php new file mode 100644 index 000000000..a7d36c0a9 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel2007/Rels.php @@ -0,0 +1,437 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel2007/RelsRibbon.php b/admin/helpers/PHPExcel/Writer/Excel2007/RelsRibbon.php new file mode 100644 index 000000000..615f2cbd9 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel2007/RelsRibbon.php @@ -0,0 +1,77 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel2007/RelsVBA.php b/admin/helpers/PHPExcel/Writer/Excel2007/RelsVBA.php new file mode 100644 index 000000000..3f87d81f2 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel2007/RelsVBA.php @@ -0,0 +1,72 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel2007/StringTable.php b/admin/helpers/PHPExcel/Writer/Excel2007/StringTable.php new file mode 100644 index 000000000..e8ca1c5a5 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel2007/StringTable.php @@ -0,0 +1,319 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel2007/Style.php b/admin/helpers/PHPExcel/Writer/Excel2007/Style.php new file mode 100644 index 000000000..d38c6eacc --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel2007/Style.php @@ -0,0 +1,707 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel2007/Theme.php b/admin/helpers/PHPExcel/Writer/Excel2007/Theme.php new file mode 100644 index 000000000..c67b94816 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel2007/Theme.php @@ -0,0 +1,871 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel2007/Workbook.php b/admin/helpers/PHPExcel/Writer/Excel2007/Workbook.php new file mode 100644 index 000000000..f30929476 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel2007/Workbook.php @@ -0,0 +1,456 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel2007/Worksheet.php b/admin/helpers/PHPExcel/Writer/Excel2007/Worksheet.php new file mode 100644 index 000000000..5cb803e52 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel2007/Worksheet.php @@ -0,0 +1,1220 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel2007/WriterPart.php b/admin/helpers/PHPExcel/Writer/Excel2007/WriterPart.php new file mode 100644 index 000000000..68b1124fd --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel2007/WriterPart.php @@ -0,0 +1,81 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel2007/index.html b/admin/helpers/PHPExcel/Writer/Excel2007/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel2007/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Writer/Excel5.php b/admin/helpers/PHPExcel/Writer/Excel5.php new file mode 100644 index 000000000..1a990d045 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel5.php @@ -0,0 +1,935 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel5/BIFFwriter.php b/admin/helpers/PHPExcel/Writer/Excel5/BIFFwriter.php new file mode 100644 index 000000000..86201134d --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel5/BIFFwriter.php @@ -0,0 +1,255 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel5/Escher.php b/admin/helpers/PHPExcel/Writer/Excel5/Escher.php new file mode 100644 index 000000000..92e6a8d88 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel5/Escher.php @@ -0,0 +1,537 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel5/Font.php b/admin/helpers/PHPExcel/Writer/Excel5/Font.php new file mode 100644 index 000000000..0df194382 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel5/Font.php @@ -0,0 +1,165 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel5/Parser.php b/admin/helpers/PHPExcel/Writer/Excel5/Parser.php new file mode 100644 index 000000000..bc6ddb132 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel5/Parser.php @@ -0,0 +1,1583 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel5/Workbook.php b/admin/helpers/PHPExcel/Writer/Excel5/Workbook.php new file mode 100644 index 000000000..ecfac5dc0 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel5/Workbook.php @@ -0,0 +1,1450 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel5/Worksheet.php b/admin/helpers/PHPExcel/Writer/Excel5/Worksheet.php new file mode 100644 index 000000000..fb75499b1 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel5/Worksheet.php @@ -0,0 +1,3681 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel5/Xf.php b/admin/helpers/PHPExcel/Writer/Excel5/Xf.php new file mode 100644 index 000000000..99f1b2a0c --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel5/Xf.php @@ -0,0 +1,547 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/Excel5/index.html b/admin/helpers/PHPExcel/Writer/Excel5/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Excel5/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Writer/Exception.php b/admin/helpers/PHPExcel/Writer/Exception.php new file mode 100644 index 000000000..1715587a2 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/Exception.php @@ -0,0 +1,52 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/HTML.php b/admin/helpers/PHPExcel/Writer/HTML.php new file mode 100644 index 000000000..63c5d4787 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/HTML.php @@ -0,0 +1,1548 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/IWriter.php b/admin/helpers/PHPExcel/Writer/IWriter.php new file mode 100644 index 000000000..f0b94b9e9 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/IWriter.php @@ -0,0 +1,46 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/OpenDocument.php b/admin/helpers/PHPExcel/Writer/OpenDocument.php new file mode 100644 index 000000000..2cbe6f904 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/OpenDocument.php @@ -0,0 +1,200 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/OpenDocument/Cell/Comment.php b/admin/helpers/PHPExcel/Writer/OpenDocument/Cell/Comment.php new file mode 100644 index 000000000..88406ed1a --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/OpenDocument/Cell/Comment.php @@ -0,0 +1,63 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/OpenDocument/Content.php b/admin/helpers/PHPExcel/Writer/OpenDocument/Content.php new file mode 100644 index 000000000..625b35417 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/OpenDocument/Content.php @@ -0,0 +1,272 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/OpenDocument/Meta.php b/admin/helpers/PHPExcel/Writer/OpenDocument/Meta.php new file mode 100644 index 000000000..7f39e5589 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/OpenDocument/Meta.php @@ -0,0 +1,98 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/OpenDocument/MetaInf.php b/admin/helpers/PHPExcel/Writer/OpenDocument/MetaInf.php new file mode 100644 index 000000000..301d39db9 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/OpenDocument/MetaInf.php @@ -0,0 +1,96 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/OpenDocument/Mimetype.php b/admin/helpers/PHPExcel/Writer/OpenDocument/Mimetype.php new file mode 100644 index 000000000..99ff638a9 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/OpenDocument/Mimetype.php @@ -0,0 +1,50 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/OpenDocument/Settings.php b/admin/helpers/PHPExcel/Writer/OpenDocument/Settings.php new file mode 100644 index 000000000..557e748d4 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/OpenDocument/Settings.php @@ -0,0 +1,85 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/OpenDocument/Styles.php b/admin/helpers/PHPExcel/Writer/OpenDocument/Styles.php new file mode 100644 index 000000000..d88673632 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/OpenDocument/Styles.php @@ -0,0 +1,101 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/OpenDocument/Thumbnails.php b/admin/helpers/PHPExcel/Writer/OpenDocument/Thumbnails.php new file mode 100644 index 000000000..a7e85c456 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/OpenDocument/Thumbnails.php @@ -0,0 +1,50 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/OpenDocument/WriterPart.php b/admin/helpers/PHPExcel/Writer/OpenDocument/WriterPart.php new file mode 100644 index 000000000..e6e713a1b --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/OpenDocument/WriterPart.php @@ -0,0 +1,38 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/PDF.php b/admin/helpers/PHPExcel/Writer/PDF.php new file mode 100644 index 000000000..4111f8bd9 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/PDF.php @@ -0,0 +1,90 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/PDF/Core.php b/admin/helpers/PHPExcel/Writer/PDF/Core.php new file mode 100644 index 000000000..3842334d9 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/PDF/Core.php @@ -0,0 +1,364 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/PDF/DomPDF.php b/admin/helpers/PHPExcel/Writer/PDF/DomPDF.php new file mode 100644 index 000000000..01e4e0122 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/PDF/DomPDF.php @@ -0,0 +1,122 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/PDF/index.html b/admin/helpers/PHPExcel/Writer/PDF/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/PDF/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/Writer/PDF/mPDF.php b/admin/helpers/PHPExcel/Writer/PDF/mPDF.php new file mode 100644 index 000000000..dddc097d3 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/PDF/mPDF.php @@ -0,0 +1,130 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/PDF/tcPDF.php b/admin/helpers/PHPExcel/Writer/PDF/tcPDF.php new file mode 100644 index 000000000..4e1937afc --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/PDF/tcPDF.php @@ -0,0 +1,136 @@ +<?php +/** + * PHPExcel + * + * Copyright (c) 2006 - 2014 PHPExcel + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this 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/helpers/PHPExcel/Writer/index.html b/admin/helpers/PHPExcel/Writer/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/Writer/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/index.html b/admin/helpers/PHPExcel/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/locale/bg/config b/admin/helpers/PHPExcel/locale/bg/config new file mode 100644 index 000000000..4cecddb3c --- /dev/null +++ b/admin/helpers/PHPExcel/locale/bg/config @@ -0,0 +1,49 @@ +## +## 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/helpers/PHPExcel/locale/cs/config b/admin/helpers/PHPExcel/locale/cs/config new file mode 100644 index 000000000..42cdf3267 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/cs/config @@ -0,0 +1,47 @@ +## +## 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/helpers/PHPExcel/locale/cs/functions b/admin/helpers/PHPExcel/locale/cs/functions new file mode 100644 index 000000000..c0a3cbbf9 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/cs/functions @@ -0,0 +1,438 @@ +## +## 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/helpers/PHPExcel/locale/cs/index.html b/admin/helpers/PHPExcel/locale/cs/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/cs/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/locale/da/config b/admin/helpers/PHPExcel/locale/da/config new file mode 100644 index 000000000..ae5900311 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/da/config @@ -0,0 +1,48 @@ +## +## 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/helpers/PHPExcel/locale/da/functions b/admin/helpers/PHPExcel/locale/da/functions new file mode 100644 index 000000000..26e0310c1 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/da/functions @@ -0,0 +1,438 @@ +## +## 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/helpers/PHPExcel/locale/da/index.html b/admin/helpers/PHPExcel/locale/da/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/da/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/locale/de/config b/admin/helpers/PHPExcel/locale/de/config new file mode 100644 index 000000000..aa0228e7f --- /dev/null +++ b/admin/helpers/PHPExcel/locale/de/config @@ -0,0 +1,47 @@ +## +## 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/helpers/PHPExcel/locale/de/functions b/admin/helpers/PHPExcel/locale/de/functions new file mode 100644 index 000000000..3147f9c8b --- /dev/null +++ b/admin/helpers/PHPExcel/locale/de/functions @@ -0,0 +1,438 @@ +## +## 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/helpers/PHPExcel/locale/de/index.html b/admin/helpers/PHPExcel/locale/de/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/de/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/locale/en/index.html b/admin/helpers/PHPExcel/locale/en/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/en/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/locale/en/uk/config b/admin/helpers/PHPExcel/locale/en/uk/config new file mode 100644 index 000000000..532080b57 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/en/uk/config @@ -0,0 +1,32 @@ +## +## 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/helpers/PHPExcel/locale/en/uk/index.html b/admin/helpers/PHPExcel/locale/en/uk/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/en/uk/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/locale/es/config b/admin/helpers/PHPExcel/locale/es/config new file mode 100644 index 000000000..96cfa69db --- /dev/null +++ b/admin/helpers/PHPExcel/locale/es/config @@ -0,0 +1,47 @@ +## +## 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/helpers/PHPExcel/locale/es/functions b/admin/helpers/PHPExcel/locale/es/functions new file mode 100644 index 000000000..48762695b --- /dev/null +++ b/admin/helpers/PHPExcel/locale/es/functions @@ -0,0 +1,438 @@ +## +## 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/helpers/PHPExcel/locale/es/index.html b/admin/helpers/PHPExcel/locale/es/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/es/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/locale/fi/config b/admin/helpers/PHPExcel/locale/fi/config new file mode 100644 index 000000000..498cf4ceb --- /dev/null +++ b/admin/helpers/PHPExcel/locale/fi/config @@ -0,0 +1,47 @@ +## +## 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/helpers/PHPExcel/locale/fi/functions b/admin/helpers/PHPExcel/locale/fi/functions new file mode 100644 index 000000000..6a7c2b36f --- /dev/null +++ b/admin/helpers/PHPExcel/locale/fi/functions @@ -0,0 +1,438 @@ +## +## 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/helpers/PHPExcel/locale/fi/index.html b/admin/helpers/PHPExcel/locale/fi/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/fi/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/locale/fr/config b/admin/helpers/PHPExcel/locale/fr/config new file mode 100644 index 000000000..1f5db88c4 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/fr/config @@ -0,0 +1,47 @@ +## +## 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/helpers/PHPExcel/locale/fr/functions b/admin/helpers/PHPExcel/locale/fr/functions new file mode 100644 index 000000000..03b80e5a4 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/fr/functions @@ -0,0 +1,438 @@ +## +## 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/helpers/PHPExcel/locale/fr/index.html b/admin/helpers/PHPExcel/locale/fr/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/fr/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/locale/hu/config b/admin/helpers/PHPExcel/locale/hu/config new file mode 100644 index 000000000..080b2018f --- /dev/null +++ b/admin/helpers/PHPExcel/locale/hu/config @@ -0,0 +1,47 @@ +## +## 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/helpers/PHPExcel/locale/hu/functions b/admin/helpers/PHPExcel/locale/hu/functions new file mode 100644 index 000000000..200d3f71f --- /dev/null +++ b/admin/helpers/PHPExcel/locale/hu/functions @@ -0,0 +1,438 @@ +## +## 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/helpers/PHPExcel/locale/hu/index.html b/admin/helpers/PHPExcel/locale/hu/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/hu/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/locale/index.html b/admin/helpers/PHPExcel/locale/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/locale/it/config b/admin/helpers/PHPExcel/locale/it/config new file mode 100644 index 000000000..c3afa754b --- /dev/null +++ b/admin/helpers/PHPExcel/locale/it/config @@ -0,0 +1,47 @@ +## +## 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/helpers/PHPExcel/locale/it/functions b/admin/helpers/PHPExcel/locale/it/functions new file mode 100644 index 000000000..fa290febf --- /dev/null +++ b/admin/helpers/PHPExcel/locale/it/functions @@ -0,0 +1,439 @@ +## +## 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/helpers/PHPExcel/locale/it/index.html b/admin/helpers/PHPExcel/locale/it/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/it/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/locale/nl/config b/admin/helpers/PHPExcel/locale/nl/config new file mode 100644 index 000000000..48dcc15b5 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/nl/config @@ -0,0 +1,47 @@ +## +## 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/helpers/PHPExcel/locale/nl/functions b/admin/helpers/PHPExcel/locale/nl/functions new file mode 100644 index 000000000..573600aca --- /dev/null +++ b/admin/helpers/PHPExcel/locale/nl/functions @@ -0,0 +1,438 @@ +## +## 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/helpers/PHPExcel/locale/nl/index.html b/admin/helpers/PHPExcel/locale/nl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/nl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/locale/no/config b/admin/helpers/PHPExcel/locale/no/config new file mode 100644 index 000000000..bf2d34a7f --- /dev/null +++ b/admin/helpers/PHPExcel/locale/no/config @@ -0,0 +1,47 @@ +## +## 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/helpers/PHPExcel/locale/no/functions b/admin/helpers/PHPExcel/locale/no/functions new file mode 100644 index 000000000..10d0a2076 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/no/functions @@ -0,0 +1,438 @@ +## +## 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/helpers/PHPExcel/locale/no/index.html b/admin/helpers/PHPExcel/locale/no/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/no/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/locale/pl/config b/admin/helpers/PHPExcel/locale/pl/config new file mode 100644 index 000000000..4dd75bee6 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/pl/config @@ -0,0 +1,47 @@ +## +## 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/helpers/PHPExcel/locale/pl/functions b/admin/helpers/PHPExcel/locale/pl/functions new file mode 100644 index 000000000..1881a71e5 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/pl/functions @@ -0,0 +1,438 @@ +## +## 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/helpers/PHPExcel/locale/pl/index.html b/admin/helpers/PHPExcel/locale/pl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/pl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/locale/pt/br/config b/admin/helpers/PHPExcel/locale/pt/br/config new file mode 100644 index 000000000..45b6fbd92 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/pt/br/config @@ -0,0 +1,47 @@ +## +## 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/helpers/PHPExcel/locale/pt/br/functions b/admin/helpers/PHPExcel/locale/pt/br/functions new file mode 100644 index 000000000..f3ba3a352 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/pt/br/functions @@ -0,0 +1,408 @@ +## +## 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/helpers/PHPExcel/locale/pt/br/index.html b/admin/helpers/PHPExcel/locale/pt/br/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/pt/br/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/locale/pt/config b/admin/helpers/PHPExcel/locale/pt/config new file mode 100644 index 000000000..8bb8d8b8e --- /dev/null +++ b/admin/helpers/PHPExcel/locale/pt/config @@ -0,0 +1,47 @@ +## +## 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/helpers/PHPExcel/locale/pt/functions b/admin/helpers/PHPExcel/locale/pt/functions new file mode 100644 index 000000000..7fe9e3b58 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/pt/functions @@ -0,0 +1,408 @@ +## +## 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/helpers/PHPExcel/locale/pt/index.html b/admin/helpers/PHPExcel/locale/pt/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/pt/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/locale/ru/config b/admin/helpers/PHPExcel/locale/ru/config new file mode 100644 index 000000000..56e45bfda --- /dev/null +++ b/admin/helpers/PHPExcel/locale/ru/config @@ -0,0 +1,47 @@ +## +## 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/helpers/PHPExcel/locale/ru/functions b/admin/helpers/PHPExcel/locale/ru/functions new file mode 100644 index 000000000..5ff6d4fbf --- /dev/null +++ b/admin/helpers/PHPExcel/locale/ru/functions @@ -0,0 +1,438 @@ +## +## 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/helpers/PHPExcel/locale/ru/index.html b/admin/helpers/PHPExcel/locale/ru/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/ru/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/locale/sv/config b/admin/helpers/PHPExcel/locale/sv/config new file mode 100644 index 000000000..726f77164 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/sv/config @@ -0,0 +1,47 @@ +## +## 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/helpers/PHPExcel/locale/sv/functions b/admin/helpers/PHPExcel/locale/sv/functions new file mode 100644 index 000000000..9af37d8e4 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/sv/functions @@ -0,0 +1,408 @@ +## +## 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/helpers/PHPExcel/locale/sv/index.html b/admin/helpers/PHPExcel/locale/sv/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/sv/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/PHPExcel/locale/tr/config b/admin/helpers/PHPExcel/locale/tr/config new file mode 100644 index 000000000..b69d4257a --- /dev/null +++ b/admin/helpers/PHPExcel/locale/tr/config @@ -0,0 +1,47 @@ +## +## 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/helpers/PHPExcel/locale/tr/functions b/admin/helpers/PHPExcel/locale/tr/functions new file mode 100644 index 000000000..45d7df1fe --- /dev/null +++ b/admin/helpers/PHPExcel/locale/tr/functions @@ -0,0 +1,438 @@ +## +## 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/helpers/PHPExcel/locale/tr/index.html b/admin/helpers/PHPExcel/locale/tr/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/PHPExcel/locale/tr/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/compiler.php b/admin/helpers/compiler.php new file mode 100644 index 000000000..c2ce66e77 --- /dev/null +++ b/admin/helpers/compiler.php @@ -0,0 +1,17283 @@ +<?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(); + + /** + * 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(); + + // 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); + + // ###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(); + + // 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; + } + + // build route parse switch + $this->fileContentStatic['###ROUTER_PARSE_SWITCH###'] = ''; + + // 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'; + // build route views + $this->fileContentStatic['###ROUTER_BUILD_VIEWS###'] = ''; + // 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,1); + $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 == 2) + { + $_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 == 2) + { + $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'] && \$h4sgrGsqq['status'] == 'Active' && 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 (\$h4sgrGsqq['status'] == 'Active' && 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 (\$h4sgrGsqq['status'] == 'Active' && 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>"; + $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 ($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 setInstallScript() + { + // reset script + $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)) + { + $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Get The Database object"; + $script .= "\n\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."';"; + } + $script .= "\n\n\t\t\t//".$this->setLine(__LINE__)." Insert the object into the content types table."; + $script .= "\n\t\t\t\$".$code."Inserted = \$db->insertObject('#__content_types', \$".$code.");"; + } + } + $script .= "\n\n"; + } + } + + 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.jpg"/>'; + $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 = ''; + 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.jpg"/>'; + $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 == 2) + { + $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(); + 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 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."')); ?>"; + } + // start tab + $body .= "\n\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'); ?>"; + // 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'); + } + // set the default publishing tab + $body .= "\n\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'); ?>"; + // 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__)." 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}"; + } + } + // 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); + // return image type + return $type; + } + 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 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) + { + // set licence type switch + switch ($this->componentData->license_type) + { + case 1: + // 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 2: + // 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'] = "VDM Key <small>(advanced encryption)</small>"; + $this->langContent[$this->lang][$lang.'_VDM_KEY_DESC'] = "Add the VDM public 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 a VDM public key from https://www.vdm.io/encryption/<br />Never change this public 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 = ''; + } + + // 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); + } + // 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 = array_merge($id_array,$range); + } + } + } + // 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) + { + // 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); + } + } + // return the found view data + return $view; + } + + 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/helpers/componentbuilder.php b/admin/helpers/componentbuilder.php new file mode 100644 index 000000000..9aa0fa9ff --- /dev/null +++ b/admin/helpers/componentbuilder.php @@ -0,0 +1,1403 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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 + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = false; + } + } + } + } + } + } + // if allowed then fall back on component global settings + if ($allow) + { + $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/helpers/html/batch_.php b/admin/helpers/html/batch_.php new file mode 100644 index 000000000..ba6ecc500 --- /dev/null +++ b/admin/helpers/html/batch_.php @@ -0,0 +1,93 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/helpers/html/index.html b/admin/helpers/html/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/html/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/indenter.php b/admin/helpers/indenter.php new file mode 100644 index 000000000..d3c769baf --- /dev/null +++ b/admin/helpers/indenter.php @@ -0,0 +1,205 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/helpers/index.html b/admin/helpers/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/helpers/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/helpers/js.php b/admin/helpers/js.php new file mode 100644 index 000000000..2fdc7dc4f --- /dev/null +++ b/admin/helpers/js.php @@ -0,0 +1,452 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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{09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c6}\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/helpers/keywords_after.txt b/admin/helpers/keywords_after.txt new file mode 100644 index 000000000..7ad651f54 --- /dev/null +++ b/admin/helpers/keywords_after.txt @@ -0,0 +1,7 @@ +in +public +extends +private +protected +implements +instanceof \ No newline at end of file diff --git a/admin/helpers/keywords_before.txt b/admin/helpers/keywords_before.txt new file mode 100644 index 000000000..c63026039 --- /dev/null +++ b/admin/helpers/keywords_before.txt @@ -0,0 +1,28 @@ +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/helpers/keywords_reserved.txt b/admin/helpers/keywords_reserved.txt new file mode 100644 index 000000000..626306fe5 --- /dev/null +++ b/admin/helpers/keywords_reserved.txt @@ -0,0 +1,47 @@ +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/helpers/minify.php b/admin/helpers/minify.php new file mode 100644 index 000000000..d2973a394 --- /dev/null +++ b/admin/helpers/minify.php @@ -0,0 +1,382 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/helpers/operators_after.txt b/admin/helpers/operators_after.txt new file mode 100644 index 000000000..68b7943d3 --- /dev/null +++ b/admin/helpers/operators_after.txt @@ -0,0 +1,45 @@ ++ +- +* +/ +% += ++= +-= +*= +/= +%= +<<= +>>= +>>>= +&= +^= +|= +& +| +^ +~ +<< +>> +>>> +== +=== +!= +!== +> +< +>= +<= +&& +|| +. +[ +] +? +: +, +; +( +) +{ +} \ No newline at end of file diff --git a/admin/helpers/operators_before.txt b/admin/helpers/operators_before.txt new file mode 100644 index 000000000..3bc220ac7 --- /dev/null +++ b/admin/helpers/operators_before.txt @@ -0,0 +1,43 @@ ++ +- +* +/ +% += ++= +-= +*= +/= +%= +<<= +>>= +>>>= +&= +^= +|= +& +| +^ +~ +<< +>> +>>> +== +=== +!= +!== +> +< +>= +<= +&& +|| +! +. +[ +? +: +, +; +( +{ \ No newline at end of file diff --git a/admin/index.html b/admin/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/language/en-GB/en-GB.com_componentbuilder.ini b/admin/language/en-GB/en-GB.com_componentbuilder.ini new file mode 100644 index 000000000..048aff42c --- /dev/null +++ b/admin/language/en-GB/en-GB.com_componentbuilder.ini @@ -0,0 +1,2910 @@ +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_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_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" +COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_OPTIONS_DESCRIPTION="if being added" +COM_COMPONENTBUILDER_COMPONENT_ADD_SQL_OPTIONS_LABEL="Options" +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_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_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 Author Email" +COM_COMPONENTBUILDER_COMPONENT_EMAIL_HINT="Author Email Here" +COM_COMPONENTBUILDER_COMPONENT_EMAIL_LABEL="Author 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_GENERIC="Generic" +COM_COMPONENTBUILDER_COMPONENT_GRID="Grid" +COM_COMPONENTBUILDER_COMPONENT_GRID_TWO="Grid 2" +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_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="License 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_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_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_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="Author 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_VDMKEY="Advance Encryption (VDM-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/language/en-GB/en-GB.com_componentbuilder.sys.ini b/admin/language/en-GB/en-GB.com_componentbuilder.sys.ini new file mode 100644 index 000000000..fdeb4f482 --- /dev/null +++ b/admin/language/en-GB/en-GB.com_componentbuilder.sys.ini @@ -0,0 +1,15 @@ +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/language/en-GB/index.html b/admin/language/en-GB/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/language/en-GB/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/language/index.html b/admin/language/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/language/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/layouts/admin_view/css_fullwidth.php b/admin/layouts/admin_view/css_fullwidth.php new file mode 100644 index 000000000..651bfe3df --- /dev/null +++ b/admin/layouts/admin_view/css_fullwidth.php @@ -0,0 +1,52 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/admin_view/fields_fullwidth.php b/admin/layouts/admin_view/fields_fullwidth.php new file mode 100644 index 000000000..83684ac2f --- /dev/null +++ b/admin/layouts/admin_view/fields_fullwidth.php @@ -0,0 +1,166 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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->jswfields; +$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/layouts/admin_view/index.html b/admin/layouts/admin_view/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/layouts/admin_view/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/layouts/admin_view/javascript_fullwidth.php b/admin/layouts/admin_view/javascript_fullwidth.php new file mode 100644 index 000000000..bcbcc3bec --- /dev/null +++ b/admin/layouts/admin_view/javascript_fullwidth.php @@ -0,0 +1,56 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/admin_view/mysql_fullwidth.php b/admin/layouts/admin_view/mysql_fullwidth.php new file mode 100644 index 000000000..4ba9f4788 --- /dev/null +++ b/admin/layouts/admin_view/mysql_fullwidth.php @@ -0,0 +1,49 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/admin_view/mysql_left.php b/admin/layouts/admin_view/mysql_left.php new file mode 100644 index 000000000..efdd138e6 --- /dev/null +++ b/admin/layouts/admin_view/mysql_left.php @@ -0,0 +1,57 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/admin_view/php_fullwidth.php b/admin/layouts/admin_view/php_fullwidth.php new file mode 100644 index 000000000..450e5963f --- /dev/null +++ b/admin/layouts/admin_view/php_fullwidth.php @@ -0,0 +1,71 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/admin_view/publishing.php b/admin/layouts/admin_view/publishing.php new file mode 100644 index 000000000..9336ab066 --- /dev/null +++ b/admin/layouts/admin_view/publishing.php @@ -0,0 +1,59 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/admin_view/publlshing.php b/admin/layouts/admin_view/publlshing.php new file mode 100644 index 000000000..e8e560ef3 --- /dev/null +++ b/admin/layouts/admin_view/publlshing.php @@ -0,0 +1,61 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/admin_view/settings_above.php b/admin/layouts/admin_view/settings_above.php new file mode 100644 index 000000000..01be1f083 --- /dev/null +++ b/admin/layouts/admin_view/settings_above.php @@ -0,0 +1,42 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/admin_view/settings_left.php b/admin/layouts/admin_view/settings_left.php new file mode 100644 index 000000000..2e9652c81 --- /dev/null +++ b/admin/layouts/admin_view/settings_left.php @@ -0,0 +1,62 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/admin_view/settings_right.php b/admin/layouts/admin_view/settings_right.php new file mode 100644 index 000000000..693b8afc6 --- /dev/null +++ b/admin/layouts/admin_view/settings_right.php @@ -0,0 +1,63 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/admin_view/settings_under.php b/admin/layouts/admin_view/settings_under.php new file mode 100644 index 000000000..ad1ef1c33 --- /dev/null +++ b/admin/layouts/admin_view/settings_under.php @@ -0,0 +1,42 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/batchselection.php b/admin/layouts/batchselection.php new file mode 100644 index 000000000..19bc4cff3 --- /dev/null +++ b/admin/layouts/batchselection.php @@ -0,0 +1,63 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/component/admin_views_fullwidth.php b/admin/layouts/component/admin_views_fullwidth.php new file mode 100644 index 000000000..799d6aef1 --- /dev/null +++ b/admin/layouts/component/admin_views_fullwidth.php @@ -0,0 +1,140 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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->mdyadmin_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/layouts/component/details_above.php b/admin/layouts/component/details_above.php new file mode 100644 index 000000000..194b199b2 --- /dev/null +++ b/admin/layouts/component/details_above.php @@ -0,0 +1,42 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/component/details_left.php b/admin/layouts/component/details_left.php new file mode 100644 index 000000000..eaa69640a --- /dev/null +++ b/admin/layouts/component/details_left.php @@ -0,0 +1,62 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/component/details_right.php b/admin/layouts/component/details_right.php new file mode 100644 index 000000000..2aca0e42d --- /dev/null +++ b/admin/layouts/component/details_right.php @@ -0,0 +1,66 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/component/details_under.php b/admin/layouts/component/details_under.php new file mode 100644 index 000000000..42844b226 --- /dev/null +++ b/admin/layouts/component/details_under.php @@ -0,0 +1,42 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/component/index.html b/admin/layouts/component/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/layouts/component/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/layouts/component/publishing.php b/admin/layouts/component/publishing.php new file mode 100644 index 000000000..9336ab066 --- /dev/null +++ b/admin/layouts/component/publishing.php @@ -0,0 +1,59 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/component/publlshing.php b/admin/layouts/component/publlshing.php new file mode 100644 index 000000000..e8e560ef3 --- /dev/null +++ b/admin/layouts/component/publlshing.php @@ -0,0 +1,61 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/component/readme_left.php b/admin/layouts/component/readme_left.php new file mode 100644 index 000000000..81c4a1711 --- /dev/null +++ b/admin/layouts/component/readme_left.php @@ -0,0 +1,56 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/component/readme_right.php b/admin/layouts/component/readme_right.php new file mode 100644 index 000000000..f669920b9 --- /dev/null +++ b/admin/layouts/component/readme_right.php @@ -0,0 +1,55 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/component/scripts_fullwidth.php b/admin/layouts/component/scripts_fullwidth.php new file mode 100644 index 000000000..15fbc5ff5 --- /dev/null +++ b/admin/layouts/component/scripts_fullwidth.php @@ -0,0 +1,63 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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' +); + +?> +<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/layouts/component/settings_left.php b/admin/layouts/component/settings_left.php new file mode 100644 index 000000000..0e8520bd8 --- /dev/null +++ b/admin/layouts/component/settings_left.php @@ -0,0 +1,66 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/component/settings_right.php b/admin/layouts/component/settings_right.php new file mode 100644 index 000000000..c18336c96 --- /dev/null +++ b/admin/layouts/component/settings_right.php @@ -0,0 +1,64 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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_b', + 'note_add_files', + 'addfiles', + 'spacer_hr_a', + '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/layouts/component/site_views_fullwidth.php b/admin/layouts/component/site_views_fullwidth.php new file mode 100644 index 000000000..b0c3e2e40 --- /dev/null +++ b/admin/layouts/component/site_views_fullwidth.php @@ -0,0 +1,146 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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->ibusite_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/layouts/custom_admin_view/custom_buttons_fullwidth.php b/admin/layouts/custom_admin_view/custom_buttons_fullwidth.php new file mode 100644 index 000000000..1073decef --- /dev/null +++ b/admin/layouts/custom_admin_view/custom_buttons_fullwidth.php @@ -0,0 +1,50 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/custom_admin_view/custom_buttons_left.php b/admin/layouts/custom_admin_view/custom_buttons_left.php new file mode 100644 index 000000000..16d74f6aa --- /dev/null +++ b/admin/layouts/custom_admin_view/custom_buttons_left.php @@ -0,0 +1,56 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/custom_admin_view/custom_script_fullwidth.php b/admin/layouts/custom_admin_view/custom_script_fullwidth.php new file mode 100644 index 000000000..c98cb8e68 --- /dev/null +++ b/admin/layouts/custom_admin_view/custom_script_fullwidth.php @@ -0,0 +1,62 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/custom_admin_view/details_above.php b/admin/layouts/custom_admin_view/details_above.php new file mode 100644 index 000000000..194b199b2 --- /dev/null +++ b/admin/layouts/custom_admin_view/details_above.php @@ -0,0 +1,42 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/custom_admin_view/details_fullwidth.php b/admin/layouts/custom_admin_view/details_fullwidth.php new file mode 100644 index 000000000..25f91a50e --- /dev/null +++ b/admin/layouts/custom_admin_view/details_fullwidth.php @@ -0,0 +1,50 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/custom_admin_view/details_left.php b/admin/layouts/custom_admin_view/details_left.php new file mode 100644 index 000000000..571d64224 --- /dev/null +++ b/admin/layouts/custom_admin_view/details_left.php @@ -0,0 +1,59 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/custom_admin_view/details_right.php b/admin/layouts/custom_admin_view/details_right.php new file mode 100644 index 000000000..77eb51312 --- /dev/null +++ b/admin/layouts/custom_admin_view/details_right.php @@ -0,0 +1,55 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/custom_admin_view/details_rightside.php b/admin/layouts/custom_admin_view/details_rightside.php new file mode 100644 index 000000000..d4ffc4509 --- /dev/null +++ b/admin/layouts/custom_admin_view/details_rightside.php @@ -0,0 +1,58 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/custom_admin_view/details_under.php b/admin/layouts/custom_admin_view/details_under.php new file mode 100644 index 000000000..42844b226 --- /dev/null +++ b/admin/layouts/custom_admin_view/details_under.php @@ -0,0 +1,42 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/custom_admin_view/index.html b/admin/layouts/custom_admin_view/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/layouts/custom_admin_view/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/layouts/custom_admin_view/publishing.php b/admin/layouts/custom_admin_view/publishing.php new file mode 100644 index 000000000..9336ab066 --- /dev/null +++ b/admin/layouts/custom_admin_view/publishing.php @@ -0,0 +1,59 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/custom_admin_view/publlshing.php b/admin/layouts/custom_admin_view/publlshing.php new file mode 100644 index 000000000..e8e560ef3 --- /dev/null +++ b/admin/layouts/custom_admin_view/publlshing.php @@ -0,0 +1,61 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/dynamic_get/abacus_fullwidth.php b/admin/layouts/dynamic_get/abacus_fullwidth.php new file mode 100644 index 000000000..20990a86a --- /dev/null +++ b/admin/layouts/dynamic_get/abacus_fullwidth.php @@ -0,0 +1,51 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/dynamic_get/abacus_left.php b/admin/layouts/dynamic_get/abacus_left.php new file mode 100644 index 000000000..a4c32565e --- /dev/null +++ b/admin/layouts/dynamic_get/abacus_left.php @@ -0,0 +1,55 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/dynamic_get/custom_script_fullwidth.php b/admin/layouts/dynamic_get/custom_script_fullwidth.php new file mode 100644 index 000000000..80d12c851 --- /dev/null +++ b/admin/layouts/dynamic_get/custom_script_fullwidth.php @@ -0,0 +1,58 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/dynamic_get/gettable_above.php b/admin/layouts/dynamic_get/gettable_above.php new file mode 100644 index 000000000..731ba2c33 --- /dev/null +++ b/admin/layouts/dynamic_get/gettable_above.php @@ -0,0 +1,45 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/dynamic_get/gettable_fullwidth.php b/admin/layouts/dynamic_get/gettable_fullwidth.php new file mode 100644 index 000000000..cebbb6bb3 --- /dev/null +++ b/admin/layouts/dynamic_get/gettable_fullwidth.php @@ -0,0 +1,49 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/dynamic_get/gettable_left.php b/admin/layouts/dynamic_get/gettable_left.php new file mode 100644 index 000000000..1b8240131 --- /dev/null +++ b/admin/layouts/dynamic_get/gettable_left.php @@ -0,0 +1,59 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/dynamic_get/gettable_right.php b/admin/layouts/dynamic_get/gettable_right.php new file mode 100644 index 000000000..bd550619b --- /dev/null +++ b/admin/layouts/dynamic_get/gettable_right.php @@ -0,0 +1,60 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/dynamic_get/gettable_under.php b/admin/layouts/dynamic_get/gettable_under.php new file mode 100644 index 000000000..4305055f5 --- /dev/null +++ b/admin/layouts/dynamic_get/gettable_under.php @@ -0,0 +1,42 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/dynamic_get/index.html b/admin/layouts/dynamic_get/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/layouts/dynamic_get/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/layouts/dynamic_get/publishing.php b/admin/layouts/dynamic_get/publishing.php new file mode 100644 index 000000000..9336ab066 --- /dev/null +++ b/admin/layouts/dynamic_get/publishing.php @@ -0,0 +1,59 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/dynamic_get/publlshing.php b/admin/layouts/dynamic_get/publlshing.php new file mode 100644 index 000000000..e8e560ef3 --- /dev/null +++ b/admin/layouts/dynamic_get/publlshing.php @@ -0,0 +1,61 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/field/details_fullwidth.php b/admin/layouts/field/details_fullwidth.php new file mode 100644 index 000000000..eb1d2836f --- /dev/null +++ b/admin/layouts/field/details_fullwidth.php @@ -0,0 +1,50 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/field/details_left.php b/admin/layouts/field/details_left.php new file mode 100644 index 000000000..c7d629a55 --- /dev/null +++ b/admin/layouts/field/details_left.php @@ -0,0 +1,66 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/field/details_right.php b/admin/layouts/field/details_right.php new file mode 100644 index 000000000..684c26e2a --- /dev/null +++ b/admin/layouts/field/details_right.php @@ -0,0 +1,55 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/field/details_under.php b/admin/layouts/field/details_under.php new file mode 100644 index 000000000..42844b226 --- /dev/null +++ b/admin/layouts/field/details_under.php @@ -0,0 +1,42 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/field/index.html b/admin/layouts/field/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/layouts/field/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/layouts/field/publishing.php b/admin/layouts/field/publishing.php new file mode 100644 index 000000000..9336ab066 --- /dev/null +++ b/admin/layouts/field/publishing.php @@ -0,0 +1,59 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/field/publlshing.php b/admin/layouts/field/publlshing.php new file mode 100644 index 000000000..e8e560ef3 --- /dev/null +++ b/admin/layouts/field/publlshing.php @@ -0,0 +1,61 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/field/scripts_left.php b/admin/layouts/field/scripts_left.php new file mode 100644 index 000000000..c2edc0c48 --- /dev/null +++ b/admin/layouts/field/scripts_left.php @@ -0,0 +1,58 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/field/scripts_right.php b/admin/layouts/field/scripts_right.php new file mode 100644 index 000000000..d6cddf6f7 --- /dev/null +++ b/admin/layouts/field/scripts_right.php @@ -0,0 +1,58 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/fieldtype/details_left.php b/admin/layouts/fieldtype/details_left.php new file mode 100644 index 000000000..159f7bbcb --- /dev/null +++ b/admin/layouts/fieldtype/details_left.php @@ -0,0 +1,58 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/fieldtype/details_right.php b/admin/layouts/fieldtype/details_right.php new file mode 100644 index 000000000..02391230c --- /dev/null +++ b/admin/layouts/fieldtype/details_right.php @@ -0,0 +1,56 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/fieldtype/fields_fullwidth.php b/admin/layouts/fieldtype/fields_fullwidth.php new file mode 100644 index 000000000..2561b8737 --- /dev/null +++ b/admin/layouts/fieldtype/fields_fullwidth.php @@ -0,0 +1,162 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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->pbsfields; +$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/layouts/fieldtype/index.html b/admin/layouts/fieldtype/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/layouts/fieldtype/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/layouts/fieldtype/publishing.php b/admin/layouts/fieldtype/publishing.php new file mode 100644 index 000000000..9336ab066 --- /dev/null +++ b/admin/layouts/fieldtype/publishing.php @@ -0,0 +1,59 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/fieldtype/publlshing.php b/admin/layouts/fieldtype/publlshing.php new file mode 100644 index 000000000..e8e560ef3 --- /dev/null +++ b/admin/layouts/fieldtype/publlshing.php @@ -0,0 +1,61 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/help_document/details_above.php b/admin/layouts/help_document/details_above.php new file mode 100644 index 000000000..4fb4913cc --- /dev/null +++ b/admin/layouts/help_document/details_above.php @@ -0,0 +1,43 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/help_document/details_fullwidth.php b/admin/layouts/help_document/details_fullwidth.php new file mode 100644 index 000000000..93c7282a3 --- /dev/null +++ b/admin/layouts/help_document/details_fullwidth.php @@ -0,0 +1,49 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/help_document/details_left.php b/admin/layouts/help_document/details_left.php new file mode 100644 index 000000000..acb0d7834 --- /dev/null +++ b/admin/layouts/help_document/details_left.php @@ -0,0 +1,59 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/help_document/details_right.php b/admin/layouts/help_document/details_right.php new file mode 100644 index 000000000..92d2ce365 --- /dev/null +++ b/admin/layouts/help_document/details_right.php @@ -0,0 +1,57 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/help_document/details_under.php b/admin/layouts/help_document/details_under.php new file mode 100644 index 000000000..42844b226 --- /dev/null +++ b/admin/layouts/help_document/details_under.php @@ -0,0 +1,42 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/help_document/index.html b/admin/layouts/help_document/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/layouts/help_document/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/layouts/help_document/publishing.php b/admin/layouts/help_document/publishing.php new file mode 100644 index 000000000..9336ab066 --- /dev/null +++ b/admin/layouts/help_document/publishing.php @@ -0,0 +1,59 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/help_document/publlshing.php b/admin/layouts/help_document/publlshing.php new file mode 100644 index 000000000..13a2462da --- /dev/null +++ b/admin/layouts/help_document/publlshing.php @@ -0,0 +1,60 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/index.html b/admin/layouts/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/layouts/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/layouts/layout/custom_script_fullwidth.php b/admin/layouts/layout/custom_script_fullwidth.php new file mode 100644 index 000000000..56eafe212 --- /dev/null +++ b/admin/layouts/layout/custom_script_fullwidth.php @@ -0,0 +1,50 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/layout/details_fullwidth.php b/admin/layouts/layout/details_fullwidth.php new file mode 100644 index 000000000..17d195175 --- /dev/null +++ b/admin/layouts/layout/details_fullwidth.php @@ -0,0 +1,50 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/layout/details_left.php b/admin/layouts/layout/details_left.php new file mode 100644 index 000000000..571d64224 --- /dev/null +++ b/admin/layouts/layout/details_left.php @@ -0,0 +1,59 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/layout/details_right.php b/admin/layouts/layout/details_right.php new file mode 100644 index 000000000..77eb51312 --- /dev/null +++ b/admin/layouts/layout/details_right.php @@ -0,0 +1,55 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/layout/details_rightside.php b/admin/layouts/layout/details_rightside.php new file mode 100644 index 000000000..be9849954 --- /dev/null +++ b/admin/layouts/layout/details_rightside.php @@ -0,0 +1,56 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/layout/details_under.php b/admin/layouts/layout/details_under.php new file mode 100644 index 000000000..42844b226 --- /dev/null +++ b/admin/layouts/layout/details_under.php @@ -0,0 +1,42 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/layout/index.html b/admin/layouts/layout/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/layouts/layout/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/layouts/layout/publishing.php b/admin/layouts/layout/publishing.php new file mode 100644 index 000000000..9336ab066 --- /dev/null +++ b/admin/layouts/layout/publishing.php @@ -0,0 +1,59 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/layout/publlshing.php b/admin/layouts/layout/publlshing.php new file mode 100644 index 000000000..e8e560ef3 --- /dev/null +++ b/admin/layouts/layout/publlshing.php @@ -0,0 +1,61 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/site_view/custom_buttons_fullwidth.php b/admin/layouts/site_view/custom_buttons_fullwidth.php new file mode 100644 index 000000000..74e045753 --- /dev/null +++ b/admin/layouts/site_view/custom_buttons_fullwidth.php @@ -0,0 +1,53 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/site_view/details_above.php b/admin/layouts/site_view/details_above.php new file mode 100644 index 000000000..194b199b2 --- /dev/null +++ b/admin/layouts/site_view/details_above.php @@ -0,0 +1,42 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/site_view/details_fullwidth.php b/admin/layouts/site_view/details_fullwidth.php new file mode 100644 index 000000000..25f91a50e --- /dev/null +++ b/admin/layouts/site_view/details_fullwidth.php @@ -0,0 +1,50 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/site_view/details_left.php b/admin/layouts/site_view/details_left.php new file mode 100644 index 000000000..571d64224 --- /dev/null +++ b/admin/layouts/site_view/details_left.php @@ -0,0 +1,59 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/site_view/details_right.php b/admin/layouts/site_view/details_right.php new file mode 100644 index 000000000..77eb51312 --- /dev/null +++ b/admin/layouts/site_view/details_right.php @@ -0,0 +1,55 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/site_view/details_rightside.php b/admin/layouts/site_view/details_rightside.php new file mode 100644 index 000000000..d4ffc4509 --- /dev/null +++ b/admin/layouts/site_view/details_rightside.php @@ -0,0 +1,58 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/site_view/details_under.php b/admin/layouts/site_view/details_under.php new file mode 100644 index 000000000..42844b226 --- /dev/null +++ b/admin/layouts/site_view/details_under.php @@ -0,0 +1,42 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/site_view/index.html b/admin/layouts/site_view/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/layouts/site_view/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/layouts/site_view/javascript_css_fullwidth.php b/admin/layouts/site_view/javascript_css_fullwidth.php new file mode 100644 index 000000000..c527117be --- /dev/null +++ b/admin/layouts/site_view/javascript_css_fullwidth.php @@ -0,0 +1,54 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/site_view/php_fullwidth.php b/admin/layouts/site_view/php_fullwidth.php new file mode 100644 index 000000000..a1a45cbca --- /dev/null +++ b/admin/layouts/site_view/php_fullwidth.php @@ -0,0 +1,59 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/site_view/publishing.php b/admin/layouts/site_view/publishing.php new file mode 100644 index 000000000..9336ab066 --- /dev/null +++ b/admin/layouts/site_view/publishing.php @@ -0,0 +1,59 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/site_view/publlshing.php b/admin/layouts/site_view/publlshing.php new file mode 100644 index 000000000..e8e560ef3 --- /dev/null +++ b/admin/layouts/site_view/publlshing.php @@ -0,0 +1,61 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/snippet/details_above.php b/admin/layouts/snippet/details_above.php new file mode 100644 index 000000000..ca1adfb13 --- /dev/null +++ b/admin/layouts/snippet/details_above.php @@ -0,0 +1,44 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/snippet/details_left.php b/admin/layouts/snippet/details_left.php new file mode 100644 index 000000000..083451410 --- /dev/null +++ b/admin/layouts/snippet/details_left.php @@ -0,0 +1,57 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/snippet/details_right.php b/admin/layouts/snippet/details_right.php new file mode 100644 index 000000000..914a38665 --- /dev/null +++ b/admin/layouts/snippet/details_right.php @@ -0,0 +1,55 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/snippet/index.html b/admin/layouts/snippet/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/layouts/snippet/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/layouts/snippet/publishing.php b/admin/layouts/snippet/publishing.php new file mode 100644 index 000000000..9336ab066 --- /dev/null +++ b/admin/layouts/snippet/publishing.php @@ -0,0 +1,59 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/snippet/publlshing.php b/admin/layouts/snippet/publlshing.php new file mode 100644 index 000000000..e8e560ef3 --- /dev/null +++ b/admin/layouts/snippet/publlshing.php @@ -0,0 +1,61 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/template/custom_script_fullwidth.php b/admin/layouts/template/custom_script_fullwidth.php new file mode 100644 index 000000000..56eafe212 --- /dev/null +++ b/admin/layouts/template/custom_script_fullwidth.php @@ -0,0 +1,50 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/template/details_fullwidth.php b/admin/layouts/template/details_fullwidth.php new file mode 100644 index 000000000..5e0ff745e --- /dev/null +++ b/admin/layouts/template/details_fullwidth.php @@ -0,0 +1,50 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/template/details_left.php b/admin/layouts/template/details_left.php new file mode 100644 index 000000000..571d64224 --- /dev/null +++ b/admin/layouts/template/details_left.php @@ -0,0 +1,59 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/template/details_right.php b/admin/layouts/template/details_right.php new file mode 100644 index 000000000..77eb51312 --- /dev/null +++ b/admin/layouts/template/details_right.php @@ -0,0 +1,55 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/template/details_rightside.php b/admin/layouts/template/details_rightside.php new file mode 100644 index 000000000..be9849954 --- /dev/null +++ b/admin/layouts/template/details_rightside.php @@ -0,0 +1,56 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/template/details_under.php b/admin/layouts/template/details_under.php new file mode 100644 index 000000000..42844b226 --- /dev/null +++ b/admin/layouts/template/details_under.php @@ -0,0 +1,42 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/template/index.html b/admin/layouts/template/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/layouts/template/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/layouts/template/publishing.php b/admin/layouts/template/publishing.php new file mode 100644 index 000000000..9336ab066 --- /dev/null +++ b/admin/layouts/template/publishing.php @@ -0,0 +1,59 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/layouts/template/publlshing.php b/admin/layouts/template/publlshing.php new file mode 100644 index 000000000..e8e560ef3 --- /dev/null +++ b/admin/layouts/template/publlshing.php @@ -0,0 +1,61 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/admin_view.php b/admin/models/admin_view.php new file mode 100644 index 000000000..26a2ec5d1 --- /dev/null +++ b/admin/models/admin_view.php @@ -0,0 +1,1235 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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->idsutc = $item->addfields; + + return $item; + } + + /** + * Method to get list data. + * + * @return mixed An array of data items on success, false on failure. + */ + public function getJswfields() + { + // 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->selectionTranslationJswfields($item->datatype, 'datatype'); + // convert indexes + $item->indexes = $this->selectionTranslationJswfields($item->indexes, 'indexes'); + // convert null_switch + $item->null_switch = $this->selectionTranslationJswfields($item->null_switch, 'null_switch'); + // convert store + $item->store = $this->selectionTranslationJswfields($item->store, 'store'); + } + } + + + // Filter by id Repetable Field + $idsutc = json_decode($this->idsutc,true); + if (ComponentbuilderHelper::checkArray($items) && isset($idsutc) && ComponentbuilderHelper::checkArray($idsutc)) + { + foreach ($items as $nr => &$item) + { + if ($item->id && isset($idsutc['field']) && ComponentbuilderHelper::checkArray($idsutc['field'])) + { + if (!in_array($item->id,$idsutc['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 selectionTranslationJswfields($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_VDMKEY' + ); + // 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'); + } + // 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'); + } + + 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) + { + $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/models/admin_views.php b/admin/models/admin_views.php new file mode 100644 index 000000000..04a0f9a61 --- /dev/null +++ b/admin/models/admin_views.php @@ -0,0 +1,420 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/ajax.php b/admin/models/ajax.php new file mode 100644 index 000000000..3014fd8de --- /dev/null +++ b/admin/models/ajax.php @@ -0,0 +1,801 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/compiler.php b/admin/models/compiler.php new file mode 100644 index 000000000..58f65076d --- /dev/null +++ b/admin/models/compiler.php @@ -0,0 +1,217 @@ +<?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 <https://www.vdm.io/joomla-component-builder> + @my wife Roline van der Merwe <http://www.vdm.io/> + @copyright Copyright (C) 2015. All Rights Reserved + @license GNU/GPL Version 2 or later - http://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/models/component.php b/admin/models/component.php new file mode 100644 index 000000000..8ae09d3b5 --- /dev/null +++ b/admin/models/component.php @@ -0,0 +1,1139 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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->css)) + { + // base64 Decode css. + $item->css = base64_decode($item->css); + } + + 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_admin_event)) + { + // base64 Decode php_admin_event. + $item->php_admin_event = base64_decode($item->php_admin_event); + } + + if (!empty($item->php_helper_site)) + { + // base64 Decode php_helper_site. + $item->php_helper_site = base64_decode($item->php_helper_site); + } + + if (!empty($item->php_site_event)) + { + // base64 Decode php_site_event. + $item->php_site_event = base64_decode($item->php_site_event); + } + + 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->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->id)) + { + $item->tags = new JHelperTags; + $item->tags->getTagIds($item->id, 'com_componentbuilder.component'); + } + } + $this->idusuy = $item->addadmin_views; + $this->idgqwe = $item->addsite_views; + + return $item; + } + + /** + * Method to get list data. + * + * @return mixed An array of data items on success, false on failure. + */ + public function getMdyadmin_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 + $idusuy = json_decode($this->idusuy,true); + if (ComponentbuilderHelper::checkArray($items) && isset($idusuy) && ComponentbuilderHelper::checkArray($idusuy)) + { + foreach ($items as $nr => &$item) + { + if ($item->id && isset($idusuy['adminview']) && ComponentbuilderHelper::checkArray($idusuy['adminview'])) + { + if (!in_array($item->id,$idusuy['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 getIbusite_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 + $idgqwe = json_decode($this->idgqwe,true); + if (ComponentbuilderHelper::checkArray($items) && isset($idgqwe) && ComponentbuilderHelper::checkArray($idgqwe)) + { + foreach ($items as $nr => &$item) + { + if ($item->id && isset($idgqwe['siteview']) && ComponentbuilderHelper::checkArray($idgqwe['siteview'])) + { + if (!in_array($item->id,$idgqwe['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'); + } + // 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'); + } + + 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) + { + $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 css string to base64 string. + if (isset($data['css'])) + { + $data['css'] = base64_encode($data['css']); + } + + // 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_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_helper_site string to base64 string. + if (isset($data['php_helper_site'])) + { + $data['php_helper_site'] = base64_encode($data['php_helper_site']); + } + + // 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 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 whmcs_key. + if (isset($data['whmcs_key']) && $basickey) + { + $data['whmcs_key'] = $basic->encryptString($data['whmcs_key']); + } + + // 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/models/componentbuilder.php b/admin/models/componentbuilder.php new file mode 100644 index 000000000..892d9c391 --- /dev/null +++ b/admin/models/componentbuilder.php @@ -0,0 +1,264 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/components.php b/admin/models/components.php new file mode 100644 index 000000000..b7f5ab976 --- /dev/null +++ b/admin/models/components.php @@ -0,0 +1,402 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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) + { + 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 css + $item->css = base64_decode($item->css); + // decode php_helper_admin + $item->php_helper_admin = base64_decode($item->php_helper_admin); + // decode php_admin_event + $item->php_admin_event = base64_decode($item->php_admin_event); + // decode php_helper_site + $item->php_helper_site = base64_decode($item->php_helper_site); + // decode php_site_event + $item->php_site_event = base64_decode($item->php_site_event); + // decode sql + $item->sql = base64_decode($item->sql); + // decode readme + $item->readme = base64_decode($item->readme); + // 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/models/custom_admin_view.php b/admin/models/custom_admin_view.php new file mode 100644 index 000000000..f4f657e44 --- /dev/null +++ b/admin/models/custom_admin_view.php @@ -0,0 +1,1053 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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'); + } + // 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'); + } + + 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) + { + $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/models/custom_admin_views.php b/admin/models/custom_admin_views.php new file mode 100644 index 000000000..1e410eece --- /dev/null +++ b/admin/models/custom_admin_views.php @@ -0,0 +1,408 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/dynamic_get.php b/admin/models/dynamic_get.php new file mode 100644 index 000000000..0eecba494 --- /dev/null +++ b/admin/models/dynamic_get.php @@ -0,0 +1,940 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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'); + } + // 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'); + } + + 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) + { + $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/models/dynamic_gets.php b/admin/models/dynamic_gets.php new file mode 100644 index 000000000..288ee49ba --- /dev/null +++ b/admin/models/dynamic_gets.php @@ -0,0 +1,456 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/field.php b/admin/models/field.php new file mode 100644 index 000000000..e6568e223 --- /dev/null +++ b/admin/models/field.php @@ -0,0 +1,985 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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'); + } + // 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'); + } + + 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) + { + $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/models/fields.php b/admin/models/fields.php new file mode 100644 index 000000000..dba700169 --- /dev/null +++ b/admin/models/fields.php @@ -0,0 +1,564 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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_VDMKEY' + ); + // 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/models/fields/adminviews.php b/admin/models/fields/adminviews.php new file mode 100644 index 000000000..8645a8d88 --- /dev/null +++ b/admin/models/fields/adminviews.php @@ -0,0 +1,116 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/fields/articles.php b/admin/models/fields/articles.php new file mode 100644 index 000000000..cf07b1a46 --- /dev/null +++ b/admin/models/fields/articles.php @@ -0,0 +1,116 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/fields/customadminviews.php b/admin/models/fields/customadminviews.php new file mode 100644 index 000000000..bb9c52247 --- /dev/null +++ b/admin/models/fields/customadminviews.php @@ -0,0 +1,115 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/fields/customfilelist.php b/admin/models/fields/customfilelist.php new file mode 100644 index 000000000..5966abe34 --- /dev/null +++ b/admin/models/fields/customfilelist.php @@ -0,0 +1,120 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/fields/customfolderlist.php b/admin/models/fields/customfolderlist.php new file mode 100644 index 000000000..9cdea525d --- /dev/null +++ b/admin/models/fields/customfolderlist.php @@ -0,0 +1,120 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/fields/customgets.php b/admin/models/fields/customgets.php new file mode 100644 index 000000000..2cf271cef --- /dev/null +++ b/admin/models/fields/customgets.php @@ -0,0 +1,118 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/fields/dbtables.php b/admin/models/fields/dbtables.php new file mode 100644 index 000000000..4c43d6b42 --- /dev/null +++ b/admin/models/fields/dbtables.php @@ -0,0 +1,116 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/fields/dynamicgets.php b/admin/models/fields/dynamicgets.php new file mode 100644 index 000000000..4a0dd1a08 --- /dev/null +++ b/admin/models/fields/dynamicgets.php @@ -0,0 +1,117 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/fields/fields.php b/admin/models/fields/fields.php new file mode 100644 index 000000000..c68df4a7b --- /dev/null +++ b/admin/models/fields/fields.php @@ -0,0 +1,116 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/fields/fieldsmulti.php b/admin/models/fields/fieldsmulti.php new file mode 100644 index 000000000..f2b207270 --- /dev/null +++ b/admin/models/fields/fieldsmulti.php @@ -0,0 +1,116 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/fields/fieldtypes.php b/admin/models/fields/fieldtypes.php new file mode 100644 index 000000000..878e38934 --- /dev/null +++ b/admin/models/fields/fieldtypes.php @@ -0,0 +1,116 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/fields/index.html b/admin/models/fields/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/models/fields/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/models/fields/maingets.php b/admin/models/fields/maingets.php new file mode 100644 index 000000000..f5978ed08 --- /dev/null +++ b/admin/models/fields/maingets.php @@ -0,0 +1,118 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/fields/siteviews.php b/admin/models/fields/siteviews.php new file mode 100644 index 000000000..a8832b658 --- /dev/null +++ b/admin/models/fields/siteviews.php @@ -0,0 +1,115 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/fields/snippets.php b/admin/models/fields/snippets.php new file mode 100644 index 000000000..abae11ebe --- /dev/null +++ b/admin/models/fields/snippets.php @@ -0,0 +1,118 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/fieldtype.php b/admin/models/fieldtype.php new file mode 100644 index 000000000..9313b750d --- /dev/null +++ b/admin/models/fieldtype.php @@ -0,0 +1,1070 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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->typevoox = $item->id; + + return $item; + } + + /** + * Method to get list data. + * + * @return mixed An array of data items on success, false on failure. + */ + public function getPbsfields() + { + // 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 typevoox global. + $typevoox = $this->typevoox; + if (is_numeric($typevoox )) + { + $query->where('a.type = ' . (int) $typevoox ); + } + elseif (is_string($typevoox)) + { + $query->where('a.type = ' . $db->quote($typevoox)); + } + 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->selectionTranslationPbsfields($item->datatype, 'datatype'); + // convert indexes + $item->indexes = $this->selectionTranslationPbsfields($item->indexes, 'indexes'); + // convert null_switch + $item->null_switch = $this->selectionTranslationPbsfields($item->null_switch, 'null_switch'); + // convert store + $item->store = $this->selectionTranslationPbsfields($item->store, 'store'); + } + } + + return $items; + } + return false; + } + + /** + * Method to convert selection values to translatable string. + * + * @return translatable string + */ + public function selectionTranslationPbsfields($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_VDMKEY' + ); + // 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'); + } + // 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'); + } + + 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) + { + $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/models/fieldtypes.php b/admin/models/fieldtypes.php new file mode 100644 index 000000000..0ecf9a3d5 --- /dev/null +++ b/admin/models/fieldtypes.php @@ -0,0 +1,413 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/forms/admin_view.js b/admin/models/forms/admin_view.js new file mode 100644 index 000000000..29d4b2cbe --- /dev/null +++ b/admin/models/forms/admin_view.js @@ -0,0 +1,804 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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_KMATzUTtWL_required = false; +jform_MYjuWIduYa_required = false; +jform_TCKWpDuOFC_required = false; +jform_itiIhBEdbG_required = false; +jform_JIxXiCLpUE_required = false; +jform_lPmaHxvhnh_required = false; +jform_CuvRiKzRHu_required = false; +jform_rthVyurdHn_required = false; +jform_MQfZTOwwXR_required = false; +jform_wHrYsuCQrn_required = false; +jform_mFOBHhQZoq_required = false; +jform_mWkrWeiAzi_required = false; +jform_lUNxViZEYm_required = false; +jform_QlXIHxKDwY_required = false; +jform_SRVenQhqrA_required = false; +jform_xxwqczycWx_required = false; +jform_nOCqpoOfQn_required = false; +jform_dIhaSuRZIh_required = false; +jform_AlEdvMvTNz_required = false; + +// Initial Script +jQuery(document).ready(function() +{ + var add_css_view_KMATzUT = jQuery("#jform_add_css_view input[type='radio']:checked").val(); + KMATzUT(add_css_view_KMATzUT); + + var add_css_views_MYjuWId = jQuery("#jform_add_css_views input[type='radio']:checked").val(); + MYjuWId(add_css_views_MYjuWId); + + var add_javascript_view_file_TCKWpDu = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); + TCKWpDu(add_javascript_view_file_TCKWpDu); + + var add_javascript_views_file_itiIhBE = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); + itiIhBE(add_javascript_views_file_itiIhBE); + + var add_javascript_view_footer_JIxXiCL = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); + JIxXiCL(add_javascript_view_footer_JIxXiCL); + + var add_javascript_views_footer_lPmaHxv = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); + lPmaHxv(add_javascript_views_footer_lPmaHxv); + + var add_php_ajax_CuvRiKz = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); + CuvRiKz(add_php_ajax_CuvRiKz); + + var add_php_getitem_rthVyur = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); + rthVyur(add_php_getitem_rthVyur); + + var add_php_getitems_MQfZTOw = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); + MQfZTOw(add_php_getitems_MQfZTOw); + + var add_php_getlistquery_wHrYsuC = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); + wHrYsuC(add_php_getlistquery_wHrYsuC); + + var add_php_save_mFOBHhQ = jQuery("#jform_add_php_save input[type='radio']:checked").val(); + mFOBHhQ(add_php_save_mFOBHhQ); + + var add_php_postsavehook_mWkrWei = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); + mWkrWei(add_php_postsavehook_mWkrWei); + + var add_php_allowedit_lUNxViZ = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); + lUNxViZ(add_php_allowedit_lUNxViZ); + + var add_php_batchcopy_QlXIHxK = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); + QlXIHxK(add_php_batchcopy_QlXIHxK); + + var add_php_batchmove_SRVenQh = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); + SRVenQh(add_php_batchmove_SRVenQh); + + var add_php_before_delete_xxwqczy = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); + xxwqczy(add_php_before_delete_xxwqczy); + + var add_php_after_delete_nOCqpoO = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); + nOCqpoO(add_php_after_delete_nOCqpoO); + + var add_sql_dIhaSuR = jQuery("#jform_add_sql input[type='radio']:checked").val(); + dIhaSuR(add_sql_dIhaSuR); + + var source_AlEdvMv = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_AlEdvMv = jQuery("#jform_add_sql input[type='radio']:checked").val(); + AlEdvMv(source_AlEdvMv,add_sql_AlEdvMv); + + var source_gEdsNQy = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_gEdsNQy = jQuery("#jform_add_sql input[type='radio']:checked").val(); + gEdsNQy(source_gEdsNQy,add_sql_gEdsNQy); +}); + +// the KMATzUT function +function KMATzUT(add_css_view_KMATzUT) +{ + // set the function logic + if (add_css_view_KMATzUT == 1) + { + jQuery('#jform_css_view').closest('.control-group').show(); + if (jform_KMATzUTtWL_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_KMATzUTtWL_required = false; + } + + } + else + { + jQuery('#jform_css_view').closest('.control-group').hide(); + if (!jform_KMATzUTtWL_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_KMATzUTtWL_required = true; + } + } +} + +// the MYjuWId function +function MYjuWId(add_css_views_MYjuWId) +{ + // set the function logic + if (add_css_views_MYjuWId == 1) + { + jQuery('#jform_css_views').closest('.control-group').show(); + if (jform_MYjuWIduYa_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_MYjuWIduYa_required = false; + } + + } + else + { + jQuery('#jform_css_views').closest('.control-group').hide(); + if (!jform_MYjuWIduYa_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_MYjuWIduYa_required = true; + } + } +} + +// the TCKWpDu function +function TCKWpDu(add_javascript_view_file_TCKWpDu) +{ + // set the function logic + if (add_javascript_view_file_TCKWpDu == 1) + { + jQuery('#jform_javascript_view_file').closest('.control-group').show(); + if (jform_TCKWpDuOFC_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_TCKWpDuOFC_required = false; + } + + } + else + { + jQuery('#jform_javascript_view_file').closest('.control-group').hide(); + if (!jform_TCKWpDuOFC_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_TCKWpDuOFC_required = true; + } + } +} + +// the itiIhBE function +function itiIhBE(add_javascript_views_file_itiIhBE) +{ + // set the function logic + if (add_javascript_views_file_itiIhBE == 1) + { + jQuery('#jform_javascript_views_file').closest('.control-group').show(); + if (jform_itiIhBEdbG_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_itiIhBEdbG_required = false; + } + + } + else + { + jQuery('#jform_javascript_views_file').closest('.control-group').hide(); + if (!jform_itiIhBEdbG_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_itiIhBEdbG_required = true; + } + } +} + +// the JIxXiCL function +function JIxXiCL(add_javascript_view_footer_JIxXiCL) +{ + // set the function logic + if (add_javascript_view_footer_JIxXiCL == 1) + { + jQuery('#jform_javascript_view_footer').closest('.control-group').show(); + if (jform_JIxXiCLpUE_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_JIxXiCLpUE_required = false; + } + + } + else + { + jQuery('#jform_javascript_view_footer').closest('.control-group').hide(); + if (!jform_JIxXiCLpUE_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_JIxXiCLpUE_required = true; + } + } +} + +// the lPmaHxv function +function lPmaHxv(add_javascript_views_footer_lPmaHxv) +{ + // set the function logic + if (add_javascript_views_footer_lPmaHxv == 1) + { + jQuery('#jform_javascript_views_footer').closest('.control-group').show(); + if (jform_lPmaHxvhnh_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_lPmaHxvhnh_required = false; + } + + } + else + { + jQuery('#jform_javascript_views_footer').closest('.control-group').hide(); + if (!jform_lPmaHxvhnh_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_lPmaHxvhnh_required = true; + } + } +} + +// the CuvRiKz function +function CuvRiKz(add_php_ajax_CuvRiKz) +{ + // set the function logic + if (add_php_ajax_CuvRiKz == 1) + { + jQuery('#jform_ajax_input').closest('.control-group').show(); + jQuery('#jform_php_ajaxmethod').closest('.control-group').show(); + if (jform_CuvRiKzRHu_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_CuvRiKzRHu_required = false; + } + + } + else + { + jQuery('#jform_ajax_input').closest('.control-group').hide(); + jQuery('#jform_php_ajaxmethod').closest('.control-group').hide(); + if (!jform_CuvRiKzRHu_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_CuvRiKzRHu_required = true; + } + } +} + +// the rthVyur function +function rthVyur(add_php_getitem_rthVyur) +{ + // set the function logic + if (add_php_getitem_rthVyur == 1) + { + jQuery('#jform_php_getitem').closest('.control-group').show(); + if (jform_rthVyurdHn_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_rthVyurdHn_required = false; + } + + } + else + { + jQuery('#jform_php_getitem').closest('.control-group').hide(); + if (!jform_rthVyurdHn_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_rthVyurdHn_required = true; + } + } +} + +// the MQfZTOw function +function MQfZTOw(add_php_getitems_MQfZTOw) +{ + // set the function logic + if (add_php_getitems_MQfZTOw == 1) + { + jQuery('#jform_php_getitems').closest('.control-group').show(); + if (jform_MQfZTOwwXR_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_MQfZTOwwXR_required = false; + } + + } + else + { + jQuery('#jform_php_getitems').closest('.control-group').hide(); + if (!jform_MQfZTOwwXR_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_MQfZTOwwXR_required = true; + } + } +} + +// the wHrYsuC function +function wHrYsuC(add_php_getlistquery_wHrYsuC) +{ + // set the function logic + if (add_php_getlistquery_wHrYsuC == 1) + { + jQuery('#jform_php_getlistquery').closest('.control-group').show(); + if (jform_wHrYsuCQrn_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_wHrYsuCQrn_required = false; + } + + } + else + { + jQuery('#jform_php_getlistquery').closest('.control-group').hide(); + if (!jform_wHrYsuCQrn_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_wHrYsuCQrn_required = true; + } + } +} + +// the mFOBHhQ function +function mFOBHhQ(add_php_save_mFOBHhQ) +{ + // set the function logic + if (add_php_save_mFOBHhQ == 1) + { + jQuery('#jform_php_save').closest('.control-group').show(); + if (jform_mFOBHhQZoq_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_mFOBHhQZoq_required = false; + } + + } + else + { + jQuery('#jform_php_save').closest('.control-group').hide(); + if (!jform_mFOBHhQZoq_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_mFOBHhQZoq_required = true; + } + } +} + +// the mWkrWei function +function mWkrWei(add_php_postsavehook_mWkrWei) +{ + // set the function logic + if (add_php_postsavehook_mWkrWei == 1) + { + jQuery('#jform_php_postsavehook').closest('.control-group').show(); + if (jform_mWkrWeiAzi_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_mWkrWeiAzi_required = false; + } + + } + else + { + jQuery('#jform_php_postsavehook').closest('.control-group').hide(); + if (!jform_mWkrWeiAzi_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_mWkrWeiAzi_required = true; + } + } +} + +// the lUNxViZ function +function lUNxViZ(add_php_allowedit_lUNxViZ) +{ + // set the function logic + if (add_php_allowedit_lUNxViZ == 1) + { + jQuery('#jform_php_allowedit').closest('.control-group').show(); + if (jform_lUNxViZEYm_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_lUNxViZEYm_required = false; + } + + } + else + { + jQuery('#jform_php_allowedit').closest('.control-group').hide(); + if (!jform_lUNxViZEYm_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_lUNxViZEYm_required = true; + } + } +} + +// the QlXIHxK function +function QlXIHxK(add_php_batchcopy_QlXIHxK) +{ + // set the function logic + if (add_php_batchcopy_QlXIHxK == 1) + { + jQuery('#jform_php_batchcopy').closest('.control-group').show(); + if (jform_QlXIHxKDwY_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_QlXIHxKDwY_required = false; + } + + } + else + { + jQuery('#jform_php_batchcopy').closest('.control-group').hide(); + if (!jform_QlXIHxKDwY_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_QlXIHxKDwY_required = true; + } + } +} + +// the SRVenQh function +function SRVenQh(add_php_batchmove_SRVenQh) +{ + // set the function logic + if (add_php_batchmove_SRVenQh == 1) + { + jQuery('#jform_php_batchmove').closest('.control-group').show(); + if (jform_SRVenQhqrA_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_SRVenQhqrA_required = false; + } + + } + else + { + jQuery('#jform_php_batchmove').closest('.control-group').hide(); + if (!jform_SRVenQhqrA_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_SRVenQhqrA_required = true; + } + } +} + +// the xxwqczy function +function xxwqczy(add_php_before_delete_xxwqczy) +{ + // set the function logic + if (add_php_before_delete_xxwqczy == 1) + { + jQuery('#jform_php_before_delete').closest('.control-group').show(); + if (jform_xxwqczycWx_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_xxwqczycWx_required = false; + } + + } + else + { + jQuery('#jform_php_before_delete').closest('.control-group').hide(); + if (!jform_xxwqczycWx_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_xxwqczycWx_required = true; + } + } +} + +// the nOCqpoO function +function nOCqpoO(add_php_after_delete_nOCqpoO) +{ + // set the function logic + if (add_php_after_delete_nOCqpoO == 1) + { + jQuery('#jform_php_after_delete').closest('.control-group').show(); + if (jform_nOCqpoOfQn_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_nOCqpoOfQn_required = false; + } + + } + else + { + jQuery('#jform_php_after_delete').closest('.control-group').hide(); + if (!jform_nOCqpoOfQn_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_nOCqpoOfQn_required = true; + } + } +} + +// the dIhaSuR function +function dIhaSuR(add_sql_dIhaSuR) +{ + // set the function logic + if (add_sql_dIhaSuR == 1) + { + jQuery('#jform_source').closest('.control-group').show(); + if (jform_dIhaSuRZIh_required) + { + updateFieldRequired('source',0); + jQuery('#jform_source').prop('required','required'); + jQuery('#jform_source').attr('aria-required',true); + jQuery('#jform_source').addClass('required'); + jform_dIhaSuRZIh_required = false; + } + + } + else + { + jQuery('#jform_source').closest('.control-group').hide(); + if (!jform_dIhaSuRZIh_required) + { + updateFieldRequired('source',1); + jQuery('#jform_source').removeAttr('required'); + jQuery('#jform_source').removeAttr('aria-required'); + jQuery('#jform_source').removeClass('required'); + jform_dIhaSuRZIh_required = true; + } + } +} + +// the AlEdvMv function +function AlEdvMv(source_AlEdvMv,add_sql_AlEdvMv) +{ + // set the function logic + if (source_AlEdvMv == 2 && add_sql_AlEdvMv == 1) + { + jQuery('#jform_sql').closest('.control-group').show(); + if (jform_AlEdvMvTNz_required) + { + updateFieldRequired('sql',0); + jQuery('#jform_sql').prop('required','required'); + jQuery('#jform_sql').attr('aria-required',true); + jQuery('#jform_sql').addClass('required'); + jform_AlEdvMvTNz_required = false; + } + + } + else + { + jQuery('#jform_sql').closest('.control-group').hide(); + if (!jform_AlEdvMvTNz_required) + { + updateFieldRequired('sql',1); + jQuery('#jform_sql').removeAttr('required'); + jQuery('#jform_sql').removeAttr('aria-required'); + jQuery('#jform_sql').removeClass('required'); + jform_AlEdvMvTNz_required = true; + } + } +} + +// the gEdsNQy function +function gEdsNQy(source_gEdsNQy,add_sql_gEdsNQy) +{ + // set the function logic + if (source_gEdsNQy == 1 && add_sql_gEdsNQy == 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/models/forms/admin_view.xml b/admin/models/forms/admin_view.xml new file mode 100644 index 000000000..68528d94d --- /dev/null +++ b/admin/models/forms/admin_view.xml @@ -0,0 +1,1421 @@ +<?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/models/forms/component.js b/admin/models/forms/component.js new file mode 100644 index 000000000..09bb8ad02 --- /dev/null +++ b/admin/models/forms/component.js @@ -0,0 +1,386 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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_YKWupwWEeG_required = false; +jform_IRJfnCWWtY_required = false; +jform_lVqqJOvuJD_required = false; +jform_OIgJWDfSbi_required = false; +jform_KqbIvUZTFO_required = false; +jform_tVqRLZXzVB_required = false; +jform_DQvHlnHtba_required = false; +jform_aQmcEOYDBD_required = false; + +// Initial Script +jQuery(document).ready(function() +{ + var add_php_helper_admin_YKWupwW = jQuery("#jform_add_php_helper_admin input[type='radio']:checked").val(); + YKWupwW(add_php_helper_admin_YKWupwW); + + var add_php_helper_site_IRJfnCW = jQuery("#jform_add_php_helper_site input[type='radio']:checked").val(); + IRJfnCW(add_php_helper_site_IRJfnCW); + + var add_css_lVqqJOv = jQuery("#jform_add_css input[type='radio']:checked").val(); + lVqqJOv(add_css_lVqqJOv); + + var add_sql_OIgJWDf = jQuery("#jform_add_sql input[type='radio']:checked").val(); + OIgJWDf(add_sql_OIgJWDf); + + var emptycontributors_BNadRnM = jQuery("#jform_emptycontributors input[type='radio']:checked").val(); + BNadRnM(emptycontributors_BNadRnM); + + var add_license_KqbIvUZ = jQuery("#jform_add_license input[type='radio']:checked").val(); + KqbIvUZ(add_license_KqbIvUZ); + + var add_admin_event_tVqRLZX = jQuery("#jform_add_admin_event input[type='radio']:checked").val(); + tVqRLZX(add_admin_event_tVqRLZX); + + var add_site_event_DQvHlnH = jQuery("#jform_add_site_event input[type='radio']:checked").val(); + DQvHlnH(add_site_event_DQvHlnH); + + var addreadme_aQmcEOY = jQuery("#jform_addreadme input[type='radio']:checked").val(); + aQmcEOY(addreadme_aQmcEOY); + + var add_license_lWrKOfJ = jQuery("#jform_add_license input[type='radio']:checked").val(); + lWrKOfJ(add_license_lWrKOfJ); +}); + +// the YKWupwW function +function YKWupwW(add_php_helper_admin_YKWupwW) +{ + // set the function logic + if (add_php_helper_admin_YKWupwW == 1) + { + jQuery('#jform_php_helper_admin').closest('.control-group').show(); + if (jform_YKWupwWEeG_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_YKWupwWEeG_required = false; + } + + } + else + { + jQuery('#jform_php_helper_admin').closest('.control-group').hide(); + if (!jform_YKWupwWEeG_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_YKWupwWEeG_required = true; + } + } +} + +// the IRJfnCW function +function IRJfnCW(add_php_helper_site_IRJfnCW) +{ + // set the function logic + if (add_php_helper_site_IRJfnCW == 1) + { + jQuery('#jform_php_helper_site').closest('.control-group').show(); + if (jform_IRJfnCWWtY_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_IRJfnCWWtY_required = false; + } + + } + else + { + jQuery('#jform_php_helper_site').closest('.control-group').hide(); + if (!jform_IRJfnCWWtY_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_IRJfnCWWtY_required = true; + } + } +} + +// the lVqqJOv function +function lVqqJOv(add_css_lVqqJOv) +{ + // set the function logic + if (add_css_lVqqJOv == 1) + { + jQuery('#jform_css').closest('.control-group').show(); + if (jform_lVqqJOvuJD_required) + { + updateFieldRequired('css',0); + jQuery('#jform_css').prop('required','required'); + jQuery('#jform_css').attr('aria-required',true); + jQuery('#jform_css').addClass('required'); + jform_lVqqJOvuJD_required = false; + } + + } + else + { + jQuery('#jform_css').closest('.control-group').hide(); + if (!jform_lVqqJOvuJD_required) + { + updateFieldRequired('css',1); + jQuery('#jform_css').removeAttr('required'); + jQuery('#jform_css').removeAttr('aria-required'); + jQuery('#jform_css').removeClass('required'); + jform_lVqqJOvuJD_required = true; + } + } +} + +// the OIgJWDf function +function OIgJWDf(add_sql_OIgJWDf) +{ + // set the function logic + if (add_sql_OIgJWDf == 1) + { + jQuery('#jform_sql').closest('.control-group').show(); + if (jform_OIgJWDfSbi_required) + { + updateFieldRequired('sql',0); + jQuery('#jform_sql').prop('required','required'); + jQuery('#jform_sql').attr('aria-required',true); + jQuery('#jform_sql').addClass('required'); + jform_OIgJWDfSbi_required = false; + } + + } + else + { + jQuery('#jform_sql').closest('.control-group').hide(); + if (!jform_OIgJWDfSbi_required) + { + updateFieldRequired('sql',1); + jQuery('#jform_sql').removeAttr('required'); + jQuery('#jform_sql').removeAttr('aria-required'); + jQuery('#jform_sql').removeClass('required'); + jform_OIgJWDfSbi_required = true; + } + } +} + +// the BNadRnM function +function BNadRnM(emptycontributors_BNadRnM) +{ + // set the function logic + if (emptycontributors_BNadRnM == 1) + { + jQuery('#jform_number').closest('.control-group').show(); + } + else + { + jQuery('#jform_number').closest('.control-group').hide(); + } +} + +// the KqbIvUZ function +function KqbIvUZ(add_license_KqbIvUZ) +{ + // set the function logic + if (add_license_KqbIvUZ == 1) + { + jQuery('#jform_license_type').closest('.control-group').show(); + if (jform_KqbIvUZTFO_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_KqbIvUZTFO_required = false; + } + + } + else + { + jQuery('#jform_license_type').closest('.control-group').hide(); + if (!jform_KqbIvUZTFO_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_KqbIvUZTFO_required = true; + } + } +} + +// the tVqRLZX function +function tVqRLZX(add_admin_event_tVqRLZX) +{ + // set the function logic + if (add_admin_event_tVqRLZX == 1) + { + jQuery('#jform_php_admin_event').closest('.control-group').show(); + if (jform_tVqRLZXzVB_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_tVqRLZXzVB_required = false; + } + + } + else + { + jQuery('#jform_php_admin_event').closest('.control-group').hide(); + if (!jform_tVqRLZXzVB_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_tVqRLZXzVB_required = true; + } + } +} + +// the DQvHlnH function +function DQvHlnH(add_site_event_DQvHlnH) +{ + // set the function logic + if (add_site_event_DQvHlnH == 1) + { + jQuery('#jform_php_site_event').closest('.control-group').show(); + if (jform_DQvHlnHtba_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_DQvHlnHtba_required = false; + } + + } + else + { + jQuery('#jform_php_site_event').closest('.control-group').hide(); + if (!jform_DQvHlnHtba_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_DQvHlnHtba_required = true; + } + } +} + +// the aQmcEOY function +function aQmcEOY(addreadme_aQmcEOY) +{ + // set the function logic + if (addreadme_aQmcEOY == 1) + { + jQuery('.note_readme').closest('.control-group').show(); + jQuery('#jform_readme-lbl').closest('.control-group').show(); + if (jform_aQmcEOYDBD_required) + { + updateFieldRequired('readme',0); + jQuery('#jform_readme').prop('required','required'); + jQuery('#jform_readme').attr('aria-required',true); + jQuery('#jform_readme').addClass('required'); + jform_aQmcEOYDBD_required = false; + } + + } + else + { + jQuery('.note_readme').closest('.control-group').hide(); + jQuery('#jform_readme-lbl').closest('.control-group').hide(); + if (!jform_aQmcEOYDBD_required) + { + updateFieldRequired('readme',1); + jQuery('#jform_readme').removeAttr('required'); + jQuery('#jform_readme').removeAttr('aria-required'); + jQuery('#jform_readme').removeClass('required'); + jform_aQmcEOYDBD_required = true; + } + } +} + +// the lWrKOfJ function +function lWrKOfJ(add_license_lWrKOfJ) +{ + // set the function logic + if (add_license_lWrKOfJ == 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(); + } +} + +// 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/models/forms/component.xml b/admin/models/forms/component.xml new file mode 100644 index 000000000..bf6a918ce --- /dev/null +++ b/admin/models/forms/component.xml @@ -0,0 +1,2376 @@ +<?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" + /> + <!-- 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> + <!-- 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> + <!-- 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" + /> + <!-- 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> + <!-- 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" + /> + <!-- 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" /> + <!-- Image Field. Type: Media. (joomla) --> + <field + type="media" + name="image" + label="COM_COMPONENTBUILDER_COMPONENT_IMAGE_LABEL" + description="COM_COMPONENTBUILDER_COMPONENT_IMAGE_DESCRIPTION" + directory="" + /> + <!-- 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> + <!-- 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> + <!-- 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_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> + <!-- 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" + /> + <!-- 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> + <!-- Spacer_hr_a Field. Type: Spacer. A None Database Field. (joomla) --> + <field type="spacer" name="spacer_hr_a" hr="true" class="spacer_hr_a" /> + <!-- 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> + <!-- 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> + <!-- 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" + /> + <!-- 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> + <!-- 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" + /> + <!-- 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> + <!-- 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_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> + <!-- 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" + /> + <!-- 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" /> + <!-- 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> + <!-- 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" /> + <!-- 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="0"> + COM_COMPONENTBUILDER_COMPONENT_CUSTOM_USED_IN_CUSTOM_CODE</option> + <option value="1"> + COM_COMPONENTBUILDER_COMPONENT_UPDATES_USED_IN_JOOMLA_UPDATER</option> + <option value="2"> + COM_COMPONENTBUILDER_COMPONENT_LOCK_DOWN_USE_USED_TO_VERIFY_OWNERSHIP</option> + </field> + <!-- 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" /> + <!-- 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" /> + <!-- 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> + <!-- 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" + /> + <!-- 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> + <!-- 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" + /> + <!-- 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" /> + <!-- 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" /> + <!-- 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> + <!-- 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> + <!-- 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> + <!-- 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> + <!-- 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" + /> + <!-- 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> + <!-- 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" + /> + <!-- Spacer_hr_c Field. Type: Spacer. A None Database Field. (joomla) --> + <field type="spacer" name="spacer_hr_c" hr="true" class="spacer_hr_c" /> + <!-- 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" + /> + <!-- 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> + <!-- 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" + /> + <!-- Spacer_hr_d Field. Type: Spacer. A None Database Field. (joomla) --> + <field type="spacer" name="spacer_hr_d" hr="true" class="spacer_hr_d" /> + <!-- 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" + /> + <!-- 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" /> + <!-- 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" + /> + <!-- 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="[]" + /> + </fieldset> + + +</form> \ No newline at end of file diff --git a/admin/models/forms/custom_admin_view.js b/admin/models/forms/custom_admin_view.js new file mode 100644 index 000000000..d82f6f346 --- /dev/null +++ b/admin/models/forms/custom_admin_view.js @@ -0,0 +1,519 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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_stcNnNkCQp_required = false; +jform_wiTAqyLGsv_required = false; +jform_kceeFNMxXx_required = false; +jform_NpROacAnDs_required = false; +jform_zUzvCQbgwo_required = false; +jform_JNyIRcCFzz_required = false; +jform_fhKWXLZEUD_required = false; +jform_fhKWXLZXAr_required = false; +jform_wURpWaTrCB_required = false; + +// Initial Script +jQuery(document).ready(function() +{ + var add_php_view_stcNnNk = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + stcNnNk(add_php_view_stcNnNk); + + var add_php_jview_display_wiTAqyL = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); + wiTAqyL(add_php_jview_display_wiTAqyL); + + var add_php_jview_kceeFNM = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); + kceeFNM(add_php_jview_kceeFNM); + + var add_php_document_NpROacA = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + NpROacA(add_php_document_NpROacA); + + var add_css_document_zUzvCQb = jQuery("#jform_add_css_document input[type='radio']:checked").val(); + zUzvCQb(add_css_document_zUzvCQb); + + var add_js_document_JNyIRcC = jQuery("#jform_add_js_document input[type='radio']:checked").val(); + JNyIRcC(add_js_document_JNyIRcC); + + var add_custom_button_fhKWXLZ = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + fhKWXLZ(add_custom_button_fhKWXLZ); + + var add_css_wURpWaT = jQuery("#jform_add_css input[type='radio']:checked").val(); + wURpWaT(add_css_wURpWaT); +}); + +// the stcNnNk function +function stcNnNk(add_php_view_stcNnNk) +{ + // set the function logic + if (add_php_view_stcNnNk == 1) + { + jQuery('#jform_php_view').closest('.control-group').show(); + if (jform_stcNnNkCQp_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_stcNnNkCQp_required = false; + } + + } + else + { + jQuery('#jform_php_view').closest('.control-group').hide(); + if (!jform_stcNnNkCQp_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_stcNnNkCQp_required = true; + } + } +} + +// the wiTAqyL function +function wiTAqyL(add_php_jview_display_wiTAqyL) +{ + // set the function logic + if (add_php_jview_display_wiTAqyL == 1) + { + jQuery('#jform_php_jview_display').closest('.control-group').show(); + if (jform_wiTAqyLGsv_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_wiTAqyLGsv_required = false; + } + + } + else + { + jQuery('#jform_php_jview_display').closest('.control-group').hide(); + if (!jform_wiTAqyLGsv_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_wiTAqyLGsv_required = true; + } + } +} + +// the kceeFNM function +function kceeFNM(add_php_jview_kceeFNM) +{ + // set the function logic + if (add_php_jview_kceeFNM == 1) + { + jQuery('#jform_php_jview').closest('.control-group').show(); + if (jform_kceeFNMxXx_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_kceeFNMxXx_required = false; + } + + } + else + { + jQuery('#jform_php_jview').closest('.control-group').hide(); + if (!jform_kceeFNMxXx_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_kceeFNMxXx_required = true; + } + } +} + +// the NpROacA function +function NpROacA(add_php_document_NpROacA) +{ + // set the function logic + if (add_php_document_NpROacA == 1) + { + jQuery('#jform_php_document').closest('.control-group').show(); + if (jform_NpROacAnDs_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_NpROacAnDs_required = false; + } + + } + else + { + jQuery('#jform_php_document').closest('.control-group').hide(); + if (!jform_NpROacAnDs_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_NpROacAnDs_required = true; + } + } +} + +// the zUzvCQb function +function zUzvCQb(add_css_document_zUzvCQb) +{ + // set the function logic + if (add_css_document_zUzvCQb == 1) + { + jQuery('#jform_css_document').closest('.control-group').show(); + if (jform_zUzvCQbgwo_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_zUzvCQbgwo_required = false; + } + + } + else + { + jQuery('#jform_css_document').closest('.control-group').hide(); + if (!jform_zUzvCQbgwo_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_zUzvCQbgwo_required = true; + } + } +} + +// the JNyIRcC function +function JNyIRcC(add_js_document_JNyIRcC) +{ + // set the function logic + if (add_js_document_JNyIRcC == 1) + { + jQuery('#jform_js_document').closest('.control-group').show(); + if (jform_JNyIRcCFzz_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_JNyIRcCFzz_required = false; + } + + } + else + { + jQuery('#jform_js_document').closest('.control-group').hide(); + if (!jform_JNyIRcCFzz_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_JNyIRcCFzz_required = true; + } + } +} + +// the fhKWXLZ function +function fhKWXLZ(add_custom_button_fhKWXLZ) +{ + // set the function logic + if (add_custom_button_fhKWXLZ == 1) + { + jQuery('#jform_custom_button').closest('.control-group').show(); + jQuery('#jform_php_controller').closest('.control-group').show(); + if (jform_fhKWXLZEUD_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_fhKWXLZEUD_required = false; + } + + jQuery('#jform_php_model').closest('.control-group').show(); + if (jform_fhKWXLZXAr_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_fhKWXLZXAr_required = false; + } + + } + else + { + jQuery('#jform_custom_button').closest('.control-group').hide(); + jQuery('#jform_php_controller').closest('.control-group').hide(); + if (!jform_fhKWXLZEUD_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_fhKWXLZEUD_required = true; + } + jQuery('#jform_php_model').closest('.control-group').hide(); + if (!jform_fhKWXLZXAr_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_fhKWXLZXAr_required = true; + } + } +} + +// the wURpWaT function +function wURpWaT(add_css_wURpWaT) +{ + // set the function logic + if (add_css_wURpWaT == 1) + { + jQuery('#jform_css').closest('.control-group').show(); + if (jform_wURpWaTrCB_required) + { + updateFieldRequired('css',0); + jQuery('#jform_css').prop('required','required'); + jQuery('#jform_css').attr('aria-required',true); + jQuery('#jform_css').addClass('required'); + jform_wURpWaTrCB_required = false; + } + + } + else + { + jQuery('#jform_css').closest('.control-group').hide(); + if (!jform_wURpWaTrCB_required) + { + updateFieldRequired('css',1); + jQuery('#jform_css').removeAttr('required'); + jQuery('#jform_css').removeAttr('aria-required'); + jQuery('#jform_css').removeClass('required'); + jform_wURpWaTrCB_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/models/forms/custom_admin_view.xml b/admin/models/forms/custom_admin_view.xml new file mode 100644 index 000000000..4f4189f3f --- /dev/null +++ b/admin/models/forms/custom_admin_view.xml @@ -0,0 +1,950 @@ +<?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/models/forms/dynamic_get.js b/admin/models/forms/dynamic_get.js new file mode 100644 index 000000000..750a2f041 --- /dev/null +++ b/admin/models/forms/dynamic_get.js @@ -0,0 +1,1367 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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_TTozUNEwhV_required = false; +jform_OabpNGmTtz_required = false; +jform_aZEjPkezth_required = false; +jform_liYHBQwlpC_required = false; +jform_ihvkrmNMid_required = false; +jform_qgcUmUfqmz_required = false; +jform_LKzirhHquV_required = false; +jform_fyWzBNhCKI_required = false; +jform_McnRHXsQoG_required = false; +jform_lajvdOyLkk_required = false; +jform_lajvdOyPSW_required = false; +jform_DxYMqLKQDU_required = false; +jform_qXDrqWYhkY_required = false; +jform_oEefcMmowi_required = false; +jform_pQuokmMvyE_required = false; +jform_pQuokmMvFP_required = false; +jform_pQuokmMBav_required = false; +jform_DexlzKNFUO_required = false; + +// Initial Script +jQuery(document).ready(function() +{ + var gettype_TTozUNE = jQuery("#jform_gettype").val(); + TTozUNE(gettype_TTozUNE); + + var main_source_OabpNGm = jQuery("#jform_main_source").val(); + OabpNGm(main_source_OabpNGm); + + var main_source_aZEjPke = jQuery("#jform_main_source").val(); + aZEjPke(main_source_aZEjPke); + + var main_source_liYHBQw = jQuery("#jform_main_source").val(); + liYHBQw(main_source_liYHBQw); + + var main_source_ihvkrmN = jQuery("#jform_main_source").val(); + ihvkrmN(main_source_ihvkrmN); + + var addcalculation_qgcUmUf = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + qgcUmUf(addcalculation_qgcUmUf); + + var addcalculation_vEABeis = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_vEABeis = jQuery("#jform_gettype").val(); + vEABeis(addcalculation_vEABeis,gettype_vEABeis); + + var addcalculation_vzEXGQt = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_vzEXGQt = jQuery("#jform_gettype").val(); + vzEXGQt(addcalculation_vzEXGQt,gettype_vzEXGQt); + + var main_source_LKzirhH = jQuery("#jform_main_source").val(); + LKzirhH(main_source_LKzirhH); + + var main_source_TOFQooo = jQuery("#jform_main_source").val(); + TOFQooo(main_source_TOFQooo); + + var add_php_before_getitem_fyWzBNh = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); + var gettype_fyWzBNh = jQuery("#jform_gettype").val(); + fyWzBNh(add_php_before_getitem_fyWzBNh,gettype_fyWzBNh); + + var add_php_after_getitem_McnRHXs = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); + var gettype_McnRHXs = jQuery("#jform_gettype").val(); + McnRHXs(add_php_after_getitem_McnRHXs,gettype_McnRHXs); + + var gettype_lajvdOy = jQuery("#jform_gettype").val(); + lajvdOy(gettype_lajvdOy); + + var add_php_getlistquery_DxYMqLK = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); + var gettype_DxYMqLK = jQuery("#jform_gettype").val(); + DxYMqLK(add_php_getlistquery_DxYMqLK,gettype_DxYMqLK); + + var add_php_before_getitems_qXDrqWY = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); + var gettype_qXDrqWY = jQuery("#jform_gettype").val(); + qXDrqWY(add_php_before_getitems_qXDrqWY,gettype_qXDrqWY); + + var add_php_after_getitems_oEefcMm = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); + var gettype_oEefcMm = jQuery("#jform_gettype").val(); + oEefcMm(add_php_after_getitems_oEefcMm,gettype_oEefcMm); + + var gettype_pQuokmM = jQuery("#jform_gettype").val(); + pQuokmM(gettype_pQuokmM); + + var gettype_DexlzKN = jQuery("#jform_gettype").val(); + DexlzKN(gettype_DexlzKN); +}); + +// the TTozUNE function +function TTozUNE(gettype_TTozUNE) +{ + if (isSet(gettype_TTozUNE) && gettype_TTozUNE.constructor !== Array) + { + var temp_TTozUNE = gettype_TTozUNE; + var gettype_TTozUNE = []; + gettype_TTozUNE.push(temp_TTozUNE); + } + else if (!isSet(gettype_TTozUNE)) + { + var gettype_TTozUNE = []; + } + var gettype = gettype_TTozUNE.some(gettype_TTozUNE_SomeFunc); + + + // set this function logic + if (gettype) + { + jQuery('#jform_getcustom').closest('.control-group').show(); + if (jform_TTozUNEwhV_required) + { + updateFieldRequired('getcustom',0); + jQuery('#jform_getcustom').prop('required','required'); + jQuery('#jform_getcustom').attr('aria-required',true); + jQuery('#jform_getcustom').addClass('required'); + jform_TTozUNEwhV_required = false; + } + + } + else + { + jQuery('#jform_getcustom').closest('.control-group').hide(); + if (!jform_TTozUNEwhV_required) + { + updateFieldRequired('getcustom',1); + jQuery('#jform_getcustom').removeAttr('required'); + jQuery('#jform_getcustom').removeAttr('aria-required'); + jQuery('#jform_getcustom').removeClass('required'); + jform_TTozUNEwhV_required = true; + } + } +} + +// the TTozUNE Some function +function gettype_TTozUNE_SomeFunc(gettype_TTozUNE) +{ + // set the function logic + if (gettype_TTozUNE == 3 || gettype_TTozUNE == 4) + { + return true; + } + return false; +} + +// the OabpNGm function +function OabpNGm(main_source_OabpNGm) +{ + if (isSet(main_source_OabpNGm) && main_source_OabpNGm.constructor !== Array) + { + var temp_OabpNGm = main_source_OabpNGm; + var main_source_OabpNGm = []; + main_source_OabpNGm.push(temp_OabpNGm); + } + else if (!isSet(main_source_OabpNGm)) + { + var main_source_OabpNGm = []; + } + var main_source = main_source_OabpNGm.some(main_source_OabpNGm_SomeFunc); + + + // set this function logic + if (main_source) + { + jQuery('#jform_view_table_main').closest('.control-group').show(); + if (jform_OabpNGmTtz_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_OabpNGmTtz_required = false; + } + + } + else + { + jQuery('#jform_view_table_main').closest('.control-group').hide(); + if (!jform_OabpNGmTtz_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_OabpNGmTtz_required = true; + } + } +} + +// the OabpNGm Some function +function main_source_OabpNGm_SomeFunc(main_source_OabpNGm) +{ + // set the function logic + if (main_source_OabpNGm == 1) + { + return true; + } + return false; +} + +// the aZEjPke function +function aZEjPke(main_source_aZEjPke) +{ + if (isSet(main_source_aZEjPke) && main_source_aZEjPke.constructor !== Array) + { + var temp_aZEjPke = main_source_aZEjPke; + var main_source_aZEjPke = []; + main_source_aZEjPke.push(temp_aZEjPke); + } + else if (!isSet(main_source_aZEjPke)) + { + var main_source_aZEjPke = []; + } + var main_source = main_source_aZEjPke.some(main_source_aZEjPke_SomeFunc); + + + // set this function logic + if (main_source) + { + jQuery('#jform_view_selection').closest('.control-group').show(); + if (jform_aZEjPkezth_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_aZEjPkezth_required = false; + } + + } + else + { + jQuery('#jform_view_selection').closest('.control-group').hide(); + if (!jform_aZEjPkezth_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_aZEjPkezth_required = true; + } + } +} + +// the aZEjPke Some function +function main_source_aZEjPke_SomeFunc(main_source_aZEjPke) +{ + // set the function logic + if (main_source_aZEjPke == 1) + { + return true; + } + return false; +} + +// the liYHBQw function +function liYHBQw(main_source_liYHBQw) +{ + if (isSet(main_source_liYHBQw) && main_source_liYHBQw.constructor !== Array) + { + var temp_liYHBQw = main_source_liYHBQw; + var main_source_liYHBQw = []; + main_source_liYHBQw.push(temp_liYHBQw); + } + else if (!isSet(main_source_liYHBQw)) + { + var main_source_liYHBQw = []; + } + var main_source = main_source_liYHBQw.some(main_source_liYHBQw_SomeFunc); + + + // set this function logic + if (main_source) + { + jQuery('#jform_db_table_main').closest('.control-group').show(); + if (jform_liYHBQwlpC_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_liYHBQwlpC_required = false; + } + + } + else + { + jQuery('#jform_db_table_main').closest('.control-group').hide(); + if (!jform_liYHBQwlpC_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_liYHBQwlpC_required = true; + } + } +} + +// the liYHBQw Some function +function main_source_liYHBQw_SomeFunc(main_source_liYHBQw) +{ + // set the function logic + if (main_source_liYHBQw == 2) + { + return true; + } + return false; +} + +// the ihvkrmN function +function ihvkrmN(main_source_ihvkrmN) +{ + if (isSet(main_source_ihvkrmN) && main_source_ihvkrmN.constructor !== Array) + { + var temp_ihvkrmN = main_source_ihvkrmN; + var main_source_ihvkrmN = []; + main_source_ihvkrmN.push(temp_ihvkrmN); + } + else if (!isSet(main_source_ihvkrmN)) + { + var main_source_ihvkrmN = []; + } + var main_source = main_source_ihvkrmN.some(main_source_ihvkrmN_SomeFunc); + + + // set this function logic + if (main_source) + { + jQuery('#jform_db_selection').closest('.control-group').show(); + if (jform_ihvkrmNMid_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_ihvkrmNMid_required = false; + } + + } + else + { + jQuery('#jform_db_selection').closest('.control-group').hide(); + if (!jform_ihvkrmNMid_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_ihvkrmNMid_required = true; + } + } +} + +// the ihvkrmN Some function +function main_source_ihvkrmN_SomeFunc(main_source_ihvkrmN) +{ + // set the function logic + if (main_source_ihvkrmN == 2) + { + return true; + } + return false; +} + +// the qgcUmUf function +function qgcUmUf(addcalculation_qgcUmUf) +{ + // set the function logic + if (addcalculation_qgcUmUf == 1) + { + jQuery('#jform_php_calculation').closest('.control-group').show(); + if (jform_qgcUmUfqmz_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_qgcUmUfqmz_required = false; + } + + } + else + { + jQuery('#jform_php_calculation').closest('.control-group').hide(); + if (!jform_qgcUmUfqmz_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_qgcUmUfqmz_required = true; + } + } +} + +// the vEABeis function +function vEABeis(addcalculation_vEABeis,gettype_vEABeis) +{ + if (isSet(addcalculation_vEABeis) && addcalculation_vEABeis.constructor !== Array) + { + var temp_vEABeis = addcalculation_vEABeis; + var addcalculation_vEABeis = []; + addcalculation_vEABeis.push(temp_vEABeis); + } + else if (!isSet(addcalculation_vEABeis)) + { + var addcalculation_vEABeis = []; + } + var addcalculation = addcalculation_vEABeis.some(addcalculation_vEABeis_SomeFunc); + + if (isSet(gettype_vEABeis) && gettype_vEABeis.constructor !== Array) + { + var temp_vEABeis = gettype_vEABeis; + var gettype_vEABeis = []; + gettype_vEABeis.push(temp_vEABeis); + } + else if (!isSet(gettype_vEABeis)) + { + var gettype_vEABeis = []; + } + var gettype = gettype_vEABeis.some(gettype_vEABeis_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 vEABeis Some function +function addcalculation_vEABeis_SomeFunc(addcalculation_vEABeis) +{ + // set the function logic + if (addcalculation_vEABeis == 1) + { + return true; + } + return false; +} + +// the vEABeis Some function +function gettype_vEABeis_SomeFunc(gettype_vEABeis) +{ + // set the function logic + if (gettype_vEABeis == 1 || gettype_vEABeis == 3) + { + return true; + } + return false; +} + +// the vzEXGQt function +function vzEXGQt(addcalculation_vzEXGQt,gettype_vzEXGQt) +{ + if (isSet(addcalculation_vzEXGQt) && addcalculation_vzEXGQt.constructor !== Array) + { + var temp_vzEXGQt = addcalculation_vzEXGQt; + var addcalculation_vzEXGQt = []; + addcalculation_vzEXGQt.push(temp_vzEXGQt); + } + else if (!isSet(addcalculation_vzEXGQt)) + { + var addcalculation_vzEXGQt = []; + } + var addcalculation = addcalculation_vzEXGQt.some(addcalculation_vzEXGQt_SomeFunc); + + if (isSet(gettype_vzEXGQt) && gettype_vzEXGQt.constructor !== Array) + { + var temp_vzEXGQt = gettype_vzEXGQt; + var gettype_vzEXGQt = []; + gettype_vzEXGQt.push(temp_vzEXGQt); + } + else if (!isSet(gettype_vzEXGQt)) + { + var gettype_vzEXGQt = []; + } + var gettype = gettype_vzEXGQt.some(gettype_vzEXGQt_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 vzEXGQt Some function +function addcalculation_vzEXGQt_SomeFunc(addcalculation_vzEXGQt) +{ + // set the function logic + if (addcalculation_vzEXGQt == 1) + { + return true; + } + return false; +} + +// the vzEXGQt Some function +function gettype_vzEXGQt_SomeFunc(gettype_vzEXGQt) +{ + // set the function logic + if (gettype_vzEXGQt == 2 || gettype_vzEXGQt == 4) + { + return true; + } + return false; +} + +// the LKzirhH function +function LKzirhH(main_source_LKzirhH) +{ + if (isSet(main_source_LKzirhH) && main_source_LKzirhH.constructor !== Array) + { + var temp_LKzirhH = main_source_LKzirhH; + var main_source_LKzirhH = []; + main_source_LKzirhH.push(temp_LKzirhH); + } + else if (!isSet(main_source_LKzirhH)) + { + var main_source_LKzirhH = []; + } + var main_source = main_source_LKzirhH.some(main_source_LKzirhH_SomeFunc); + + + // set this function logic + if (main_source) + { + jQuery('#jform_php_custom_get').closest('.control-group').show(); + if (jform_LKzirhHquV_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_LKzirhHquV_required = false; + } + + } + else + { + jQuery('#jform_php_custom_get').closest('.control-group').hide(); + if (!jform_LKzirhHquV_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_LKzirhHquV_required = true; + } + } +} + +// the LKzirhH Some function +function main_source_LKzirhH_SomeFunc(main_source_LKzirhH) +{ + // set the function logic + if (main_source_LKzirhH == 3) + { + return true; + } + return false; +} + +// the TOFQooo function +function TOFQooo(main_source_TOFQooo) +{ + if (isSet(main_source_TOFQooo) && main_source_TOFQooo.constructor !== Array) + { + var temp_TOFQooo = main_source_TOFQooo; + var main_source_TOFQooo = []; + main_source_TOFQooo.push(temp_TOFQooo); + } + else if (!isSet(main_source_TOFQooo)) + { + var main_source_TOFQooo = []; + } + var main_source = main_source_TOFQooo.some(main_source_TOFQooo_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 TOFQooo Some function +function main_source_TOFQooo_SomeFunc(main_source_TOFQooo) +{ + // set the function logic + if (main_source_TOFQooo == 1 || main_source_TOFQooo == 2) + { + return true; + } + return false; +} + +// the fyWzBNh function +function fyWzBNh(add_php_before_getitem_fyWzBNh,gettype_fyWzBNh) +{ + if (isSet(add_php_before_getitem_fyWzBNh) && add_php_before_getitem_fyWzBNh.constructor !== Array) + { + var temp_fyWzBNh = add_php_before_getitem_fyWzBNh; + var add_php_before_getitem_fyWzBNh = []; + add_php_before_getitem_fyWzBNh.push(temp_fyWzBNh); + } + else if (!isSet(add_php_before_getitem_fyWzBNh)) + { + var add_php_before_getitem_fyWzBNh = []; + } + var add_php_before_getitem = add_php_before_getitem_fyWzBNh.some(add_php_before_getitem_fyWzBNh_SomeFunc); + + if (isSet(gettype_fyWzBNh) && gettype_fyWzBNh.constructor !== Array) + { + var temp_fyWzBNh = gettype_fyWzBNh; + var gettype_fyWzBNh = []; + gettype_fyWzBNh.push(temp_fyWzBNh); + } + else if (!isSet(gettype_fyWzBNh)) + { + var gettype_fyWzBNh = []; + } + var gettype = gettype_fyWzBNh.some(gettype_fyWzBNh_SomeFunc); + + + // set this function logic + if (add_php_before_getitem && gettype) + { + jQuery('#jform_php_before_getitem').closest('.control-group').show(); + if (jform_fyWzBNhCKI_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_fyWzBNhCKI_required = false; + } + + } + else + { + jQuery('#jform_php_before_getitem').closest('.control-group').hide(); + if (!jform_fyWzBNhCKI_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_fyWzBNhCKI_required = true; + } + } +} + +// the fyWzBNh Some function +function add_php_before_getitem_fyWzBNh_SomeFunc(add_php_before_getitem_fyWzBNh) +{ + // set the function logic + if (add_php_before_getitem_fyWzBNh == 1) + { + return true; + } + return false; +} + +// the fyWzBNh Some function +function gettype_fyWzBNh_SomeFunc(gettype_fyWzBNh) +{ + // set the function logic + if (gettype_fyWzBNh == 1 || gettype_fyWzBNh == 3) + { + return true; + } + return false; +} + +// the McnRHXs function +function McnRHXs(add_php_after_getitem_McnRHXs,gettype_McnRHXs) +{ + if (isSet(add_php_after_getitem_McnRHXs) && add_php_after_getitem_McnRHXs.constructor !== Array) + { + var temp_McnRHXs = add_php_after_getitem_McnRHXs; + var add_php_after_getitem_McnRHXs = []; + add_php_after_getitem_McnRHXs.push(temp_McnRHXs); + } + else if (!isSet(add_php_after_getitem_McnRHXs)) + { + var add_php_after_getitem_McnRHXs = []; + } + var add_php_after_getitem = add_php_after_getitem_McnRHXs.some(add_php_after_getitem_McnRHXs_SomeFunc); + + if (isSet(gettype_McnRHXs) && gettype_McnRHXs.constructor !== Array) + { + var temp_McnRHXs = gettype_McnRHXs; + var gettype_McnRHXs = []; + gettype_McnRHXs.push(temp_McnRHXs); + } + else if (!isSet(gettype_McnRHXs)) + { + var gettype_McnRHXs = []; + } + var gettype = gettype_McnRHXs.some(gettype_McnRHXs_SomeFunc); + + + // set this function logic + if (add_php_after_getitem && gettype) + { + jQuery('#jform_php_after_getitem').closest('.control-group').show(); + if (jform_McnRHXsQoG_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_McnRHXsQoG_required = false; + } + + } + else + { + jQuery('#jform_php_after_getitem').closest('.control-group').hide(); + if (!jform_McnRHXsQoG_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_McnRHXsQoG_required = true; + } + } +} + +// the McnRHXs Some function +function add_php_after_getitem_McnRHXs_SomeFunc(add_php_after_getitem_McnRHXs) +{ + // set the function logic + if (add_php_after_getitem_McnRHXs == 1) + { + return true; + } + return false; +} + +// the McnRHXs Some function +function gettype_McnRHXs_SomeFunc(gettype_McnRHXs) +{ + // set the function logic + if (gettype_McnRHXs == 1 || gettype_McnRHXs == 3) + { + return true; + } + return false; +} + +// the lajvdOy function +function lajvdOy(gettype_lajvdOy) +{ + if (isSet(gettype_lajvdOy) && gettype_lajvdOy.constructor !== Array) + { + var temp_lajvdOy = gettype_lajvdOy; + var gettype_lajvdOy = []; + gettype_lajvdOy.push(temp_lajvdOy); + } + else if (!isSet(gettype_lajvdOy)) + { + var gettype_lajvdOy = []; + } + var gettype = gettype_lajvdOy.some(gettype_lajvdOy_SomeFunc); + + + // set this function logic + if (gettype) + { + jQuery('#jform_add_php_after_getitem').closest('.control-group').show(); + if (jform_lajvdOyLkk_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_lajvdOyLkk_required = false; + } + + jQuery('#jform_add_php_before_getitem').closest('.control-group').show(); + if (jform_lajvdOyPSW_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_lajvdOyPSW_required = false; + } + + } + else + { + jQuery('#jform_add_php_after_getitem').closest('.control-group').hide(); + if (!jform_lajvdOyLkk_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_lajvdOyLkk_required = true; + } + jQuery('#jform_add_php_before_getitem').closest('.control-group').hide(); + if (!jform_lajvdOyPSW_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_lajvdOyPSW_required = true; + } + } +} + +// the lajvdOy Some function +function gettype_lajvdOy_SomeFunc(gettype_lajvdOy) +{ + // set the function logic + if (gettype_lajvdOy == 1 || gettype_lajvdOy == 3) + { + return true; + } + return false; +} + +// the DxYMqLK function +function DxYMqLK(add_php_getlistquery_DxYMqLK,gettype_DxYMqLK) +{ + if (isSet(add_php_getlistquery_DxYMqLK) && add_php_getlistquery_DxYMqLK.constructor !== Array) + { + var temp_DxYMqLK = add_php_getlistquery_DxYMqLK; + var add_php_getlistquery_DxYMqLK = []; + add_php_getlistquery_DxYMqLK.push(temp_DxYMqLK); + } + else if (!isSet(add_php_getlistquery_DxYMqLK)) + { + var add_php_getlistquery_DxYMqLK = []; + } + var add_php_getlistquery = add_php_getlistquery_DxYMqLK.some(add_php_getlistquery_DxYMqLK_SomeFunc); + + if (isSet(gettype_DxYMqLK) && gettype_DxYMqLK.constructor !== Array) + { + var temp_DxYMqLK = gettype_DxYMqLK; + var gettype_DxYMqLK = []; + gettype_DxYMqLK.push(temp_DxYMqLK); + } + else if (!isSet(gettype_DxYMqLK)) + { + var gettype_DxYMqLK = []; + } + var gettype = gettype_DxYMqLK.some(gettype_DxYMqLK_SomeFunc); + + + // set this function logic + if (add_php_getlistquery && gettype) + { + jQuery('#jform_php_getlistquery').closest('.control-group').show(); + if (jform_DxYMqLKQDU_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_DxYMqLKQDU_required = false; + } + + } + else + { + jQuery('#jform_php_getlistquery').closest('.control-group').hide(); + if (!jform_DxYMqLKQDU_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_DxYMqLKQDU_required = true; + } + } +} + +// the DxYMqLK Some function +function add_php_getlistquery_DxYMqLK_SomeFunc(add_php_getlistquery_DxYMqLK) +{ + // set the function logic + if (add_php_getlistquery_DxYMqLK == 1) + { + return true; + } + return false; +} + +// the DxYMqLK Some function +function gettype_DxYMqLK_SomeFunc(gettype_DxYMqLK) +{ + // set the function logic + if (gettype_DxYMqLK == 2 || gettype_DxYMqLK == 4) + { + return true; + } + return false; +} + +// the qXDrqWY function +function qXDrqWY(add_php_before_getitems_qXDrqWY,gettype_qXDrqWY) +{ + if (isSet(add_php_before_getitems_qXDrqWY) && add_php_before_getitems_qXDrqWY.constructor !== Array) + { + var temp_qXDrqWY = add_php_before_getitems_qXDrqWY; + var add_php_before_getitems_qXDrqWY = []; + add_php_before_getitems_qXDrqWY.push(temp_qXDrqWY); + } + else if (!isSet(add_php_before_getitems_qXDrqWY)) + { + var add_php_before_getitems_qXDrqWY = []; + } + var add_php_before_getitems = add_php_before_getitems_qXDrqWY.some(add_php_before_getitems_qXDrqWY_SomeFunc); + + if (isSet(gettype_qXDrqWY) && gettype_qXDrqWY.constructor !== Array) + { + var temp_qXDrqWY = gettype_qXDrqWY; + var gettype_qXDrqWY = []; + gettype_qXDrqWY.push(temp_qXDrqWY); + } + else if (!isSet(gettype_qXDrqWY)) + { + var gettype_qXDrqWY = []; + } + var gettype = gettype_qXDrqWY.some(gettype_qXDrqWY_SomeFunc); + + + // set this function logic + if (add_php_before_getitems && gettype) + { + jQuery('#jform_php_before_getitems').closest('.control-group').show(); + if (jform_qXDrqWYhkY_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_qXDrqWYhkY_required = false; + } + + } + else + { + jQuery('#jform_php_before_getitems').closest('.control-group').hide(); + if (!jform_qXDrqWYhkY_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_qXDrqWYhkY_required = true; + } + } +} + +// the qXDrqWY Some function +function add_php_before_getitems_qXDrqWY_SomeFunc(add_php_before_getitems_qXDrqWY) +{ + // set the function logic + if (add_php_before_getitems_qXDrqWY == 1) + { + return true; + } + return false; +} + +// the qXDrqWY Some function +function gettype_qXDrqWY_SomeFunc(gettype_qXDrqWY) +{ + // set the function logic + if (gettype_qXDrqWY == 2 || gettype_qXDrqWY == 4) + { + return true; + } + return false; +} + +// the oEefcMm function +function oEefcMm(add_php_after_getitems_oEefcMm,gettype_oEefcMm) +{ + if (isSet(add_php_after_getitems_oEefcMm) && add_php_after_getitems_oEefcMm.constructor !== Array) + { + var temp_oEefcMm = add_php_after_getitems_oEefcMm; + var add_php_after_getitems_oEefcMm = []; + add_php_after_getitems_oEefcMm.push(temp_oEefcMm); + } + else if (!isSet(add_php_after_getitems_oEefcMm)) + { + var add_php_after_getitems_oEefcMm = []; + } + var add_php_after_getitems = add_php_after_getitems_oEefcMm.some(add_php_after_getitems_oEefcMm_SomeFunc); + + if (isSet(gettype_oEefcMm) && gettype_oEefcMm.constructor !== Array) + { + var temp_oEefcMm = gettype_oEefcMm; + var gettype_oEefcMm = []; + gettype_oEefcMm.push(temp_oEefcMm); + } + else if (!isSet(gettype_oEefcMm)) + { + var gettype_oEefcMm = []; + } + var gettype = gettype_oEefcMm.some(gettype_oEefcMm_SomeFunc); + + + // set this function logic + if (add_php_after_getitems && gettype) + { + jQuery('#jform_php_after_getitems').closest('.control-group').show(); + if (jform_oEefcMmowi_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_oEefcMmowi_required = false; + } + + } + else + { + jQuery('#jform_php_after_getitems').closest('.control-group').hide(); + if (!jform_oEefcMmowi_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_oEefcMmowi_required = true; + } + } +} + +// the oEefcMm Some function +function add_php_after_getitems_oEefcMm_SomeFunc(add_php_after_getitems_oEefcMm) +{ + // set the function logic + if (add_php_after_getitems_oEefcMm == 1) + { + return true; + } + return false; +} + +// the oEefcMm Some function +function gettype_oEefcMm_SomeFunc(gettype_oEefcMm) +{ + // set the function logic + if (gettype_oEefcMm == 2 || gettype_oEefcMm == 4) + { + return true; + } + return false; +} + +// the pQuokmM function +function pQuokmM(gettype_pQuokmM) +{ + if (isSet(gettype_pQuokmM) && gettype_pQuokmM.constructor !== Array) + { + var temp_pQuokmM = gettype_pQuokmM; + var gettype_pQuokmM = []; + gettype_pQuokmM.push(temp_pQuokmM); + } + else if (!isSet(gettype_pQuokmM)) + { + var gettype_pQuokmM = []; + } + var gettype = gettype_pQuokmM.some(gettype_pQuokmM_SomeFunc); + + + // set this function logic + if (gettype) + { + jQuery('#jform_add_php_after_getitems').closest('.control-group').show(); + if (jform_pQuokmMvyE_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_pQuokmMvyE_required = false; + } + + jQuery('#jform_add_php_before_getitems').closest('.control-group').show(); + if (jform_pQuokmMvFP_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_pQuokmMvFP_required = false; + } + + jQuery('#jform_add_php_getlistquery').closest('.control-group').show(); + if (jform_pQuokmMBav_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_pQuokmMBav_required = false; + } + + } + else + { + jQuery('#jform_add_php_after_getitems').closest('.control-group').hide(); + if (!jform_pQuokmMvyE_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_pQuokmMvyE_required = true; + } + jQuery('#jform_add_php_before_getitems').closest('.control-group').hide(); + if (!jform_pQuokmMvFP_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_pQuokmMvFP_required = true; + } + jQuery('#jform_add_php_getlistquery').closest('.control-group').hide(); + if (!jform_pQuokmMBav_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_pQuokmMBav_required = true; + } + } +} + +// the pQuokmM Some function +function gettype_pQuokmM_SomeFunc(gettype_pQuokmM) +{ + // set the function logic + if (gettype_pQuokmM == 2 || gettype_pQuokmM == 4) + { + return true; + } + return false; +} + +// the DexlzKN function +function DexlzKN(gettype_DexlzKN) +{ + if (isSet(gettype_DexlzKN) && gettype_DexlzKN.constructor !== Array) + { + var temp_DexlzKN = gettype_DexlzKN; + var gettype_DexlzKN = []; + gettype_DexlzKN.push(temp_DexlzKN); + } + else if (!isSet(gettype_DexlzKN)) + { + var gettype_DexlzKN = []; + } + var gettype = gettype_DexlzKN.some(gettype_DexlzKN_SomeFunc); + + + // set this function logic + if (gettype) + { + jQuery('#jform_pagination').closest('.control-group').show(); + if (jform_DexlzKNFUO_required) + { + updateFieldRequired('pagination',0); + jQuery('#jform_pagination').prop('required','required'); + jQuery('#jform_pagination').attr('aria-required',true); + jQuery('#jform_pagination').addClass('required'); + jform_DexlzKNFUO_required = false; + } + + } + else + { + jQuery('#jform_pagination').closest('.control-group').hide(); + if (!jform_DexlzKNFUO_required) + { + updateFieldRequired('pagination',1); + jQuery('#jform_pagination').removeAttr('required'); + jQuery('#jform_pagination').removeAttr('aria-required'); + jQuery('#jform_pagination').removeClass('required'); + jform_DexlzKNFUO_required = true; + } + } +} + +// the DexlzKN Some function +function gettype_DexlzKN_SomeFunc(gettype_DexlzKN) +{ + // set the function logic + if (gettype_DexlzKN == 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/models/forms/dynamic_get.xml b/admin/models/forms/dynamic_get.xml new file mode 100644 index 000000000..eeadf4b16 --- /dev/null +++ b/admin/models/forms/dynamic_get.xml @@ -0,0 +1,1344 @@ +<?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/models/forms/field.js b/admin/models/forms/field.js new file mode 100644 index 000000000..af1027218 --- /dev/null +++ b/admin/models/forms/field.js @@ -0,0 +1,474 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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_odulURejbt_required = false; +jform_DJPbqmGjIL_required = false; +jform_LpOkvnXoNS_required = false; +jform_wrNjHBTlMG_required = false; +jform_tkSrzJlrAk_required = false; +jform_QOZdfZqODr_required = false; +jform_oaPXjpsdHg_required = false; + +// Initial Script +jQuery(document).ready(function() +{ + var datalenght_odulURe = jQuery("#jform_datalenght").val(); + odulURe(datalenght_odulURe); + + var datadefault_DJPbqmG = jQuery("#jform_datadefault").val(); + DJPbqmG(datadefault_DJPbqmG); + + var datatype_LpOkvnX = jQuery("#jform_datatype").val(); + LpOkvnX(datatype_LpOkvnX); + + var store_ZXWBoOl = jQuery("#jform_store").val(); + var datatype_ZXWBoOl = jQuery("#jform_datatype").val(); + ZXWBoOl(store_ZXWBoOl,datatype_ZXWBoOl); + + var add_css_view_wrNjHBT = jQuery("#jform_add_css_view input[type='radio']:checked").val(); + wrNjHBT(add_css_view_wrNjHBT); + + var add_css_views_tkSrzJl = jQuery("#jform_add_css_views input[type='radio']:checked").val(); + tkSrzJl(add_css_views_tkSrzJl); + + var add_javascript_view_footer_QOZdfZq = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); + QOZdfZq(add_javascript_view_footer_QOZdfZq); + + var add_javascript_views_footer_oaPXjps = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); + oaPXjps(add_javascript_views_footer_oaPXjps); +}); + +// the odulURe function +function odulURe(datalenght_odulURe) +{ + if (isSet(datalenght_odulURe) && datalenght_odulURe.constructor !== Array) + { + var temp_odulURe = datalenght_odulURe; + var datalenght_odulURe = []; + datalenght_odulURe.push(temp_odulURe); + } + else if (!isSet(datalenght_odulURe)) + { + var datalenght_odulURe = []; + } + var datalenght = datalenght_odulURe.some(datalenght_odulURe_SomeFunc); + + + // set this function logic + if (datalenght) + { + jQuery('#jform_datalenght_other').closest('.control-group').show(); + if (jform_odulURejbt_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_odulURejbt_required = false; + } + + } + else + { + jQuery('#jform_datalenght_other').closest('.control-group').hide(); + if (!jform_odulURejbt_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_odulURejbt_required = true; + } + } +} + +// the odulURe Some function +function datalenght_odulURe_SomeFunc(datalenght_odulURe) +{ + // set the function logic + if (datalenght_odulURe == 'Other') + { + return true; + } + return false; +} + +// the DJPbqmG function +function DJPbqmG(datadefault_DJPbqmG) +{ + if (isSet(datadefault_DJPbqmG) && datadefault_DJPbqmG.constructor !== Array) + { + var temp_DJPbqmG = datadefault_DJPbqmG; + var datadefault_DJPbqmG = []; + datadefault_DJPbqmG.push(temp_DJPbqmG); + } + else if (!isSet(datadefault_DJPbqmG)) + { + var datadefault_DJPbqmG = []; + } + var datadefault = datadefault_DJPbqmG.some(datadefault_DJPbqmG_SomeFunc); + + + // set this function logic + if (datadefault) + { + jQuery('#jform_datadefault_other').closest('.control-group').show(); + if (jform_DJPbqmGjIL_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_DJPbqmGjIL_required = false; + } + + } + else + { + jQuery('#jform_datadefault_other').closest('.control-group').hide(); + if (!jform_DJPbqmGjIL_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_DJPbqmGjIL_required = true; + } + } +} + +// the DJPbqmG Some function +function datadefault_DJPbqmG_SomeFunc(datadefault_DJPbqmG) +{ + // set the function logic + if (datadefault_DJPbqmG == 'Other') + { + return true; + } + return false; +} + +// the LpOkvnX function +function LpOkvnX(datatype_LpOkvnX) +{ + if (isSet(datatype_LpOkvnX) && datatype_LpOkvnX.constructor !== Array) + { + var temp_LpOkvnX = datatype_LpOkvnX; + var datatype_LpOkvnX = []; + datatype_LpOkvnX.push(temp_LpOkvnX); + } + else if (!isSet(datatype_LpOkvnX)) + { + var datatype_LpOkvnX = []; + } + var datatype = datatype_LpOkvnX.some(datatype_LpOkvnX_SomeFunc); + + + // set this function logic + if (datatype) + { + jQuery('#jform_store').closest('.control-group').show(); + if (jform_LpOkvnXoNS_required) + { + updateFieldRequired('store',0); + jQuery('#jform_store').prop('required','required'); + jQuery('#jform_store').attr('aria-required',true); + jQuery('#jform_store').addClass('required'); + jform_LpOkvnXoNS_required = false; + } + + } + else + { + jQuery('#jform_store').closest('.control-group').hide(); + if (!jform_LpOkvnXoNS_required) + { + updateFieldRequired('store',1); + jQuery('#jform_store').removeAttr('required'); + jQuery('#jform_store').removeAttr('aria-required'); + jQuery('#jform_store').removeClass('required'); + jform_LpOkvnXoNS_required = true; + } + } +} + +// the LpOkvnX Some function +function datatype_LpOkvnX_SomeFunc(datatype_LpOkvnX) +{ + // set the function logic + if (datatype_LpOkvnX == 'CHAR' || datatype_LpOkvnX == 'VARCHAR' || datatype_LpOkvnX == 'TEXT' || datatype_LpOkvnX == 'MEDIUMTEXT' || datatype_LpOkvnX == 'LONGTEXT') + { + return true; + } + return false; +} + +// the ZXWBoOl function +function ZXWBoOl(store_ZXWBoOl,datatype_ZXWBoOl) +{ + if (isSet(store_ZXWBoOl) && store_ZXWBoOl.constructor !== Array) + { + var temp_ZXWBoOl = store_ZXWBoOl; + var store_ZXWBoOl = []; + store_ZXWBoOl.push(temp_ZXWBoOl); + } + else if (!isSet(store_ZXWBoOl)) + { + var store_ZXWBoOl = []; + } + var store = store_ZXWBoOl.some(store_ZXWBoOl_SomeFunc); + + if (isSet(datatype_ZXWBoOl) && datatype_ZXWBoOl.constructor !== Array) + { + var temp_ZXWBoOl = datatype_ZXWBoOl; + var datatype_ZXWBoOl = []; + datatype_ZXWBoOl.push(temp_ZXWBoOl); + } + else if (!isSet(datatype_ZXWBoOl)) + { + var datatype_ZXWBoOl = []; + } + var datatype = datatype_ZXWBoOl.some(datatype_ZXWBoOl_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 ZXWBoOl Some function +function store_ZXWBoOl_SomeFunc(store_ZXWBoOl) +{ + // set the function logic + if (store_ZXWBoOl == 4) + { + return true; + } + return false; +} + +// the ZXWBoOl Some function +function datatype_ZXWBoOl_SomeFunc(datatype_ZXWBoOl) +{ + // set the function logic + if (datatype_ZXWBoOl == 'CHAR' || datatype_ZXWBoOl == 'VARCHAR' || datatype_ZXWBoOl == 'TEXT' || datatype_ZXWBoOl == 'MEDIUMTEXT' || datatype_ZXWBoOl == 'LONGTEXT') + { + return true; + } + return false; +} + +// the wrNjHBT function +function wrNjHBT(add_css_view_wrNjHBT) +{ + // set the function logic + if (add_css_view_wrNjHBT == 1) + { + jQuery('#jform_css_view').closest('.control-group').show(); + if (jform_wrNjHBTlMG_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_wrNjHBTlMG_required = false; + } + + } + else + { + jQuery('#jform_css_view').closest('.control-group').hide(); + if (!jform_wrNjHBTlMG_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_wrNjHBTlMG_required = true; + } + } +} + +// the tkSrzJl function +function tkSrzJl(add_css_views_tkSrzJl) +{ + // set the function logic + if (add_css_views_tkSrzJl == 1) + { + jQuery('#jform_css_views').closest('.control-group').show(); + if (jform_tkSrzJlrAk_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_tkSrzJlrAk_required = false; + } + + } + else + { + jQuery('#jform_css_views').closest('.control-group').hide(); + if (!jform_tkSrzJlrAk_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_tkSrzJlrAk_required = true; + } + } +} + +// the QOZdfZq function +function QOZdfZq(add_javascript_view_footer_QOZdfZq) +{ + // set the function logic + if (add_javascript_view_footer_QOZdfZq == 1) + { + jQuery('#jform_javascript_view_footer').closest('.control-group').show(); + if (jform_QOZdfZqODr_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_QOZdfZqODr_required = false; + } + + } + else + { + jQuery('#jform_javascript_view_footer').closest('.control-group').hide(); + if (!jform_QOZdfZqODr_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_QOZdfZqODr_required = true; + } + } +} + +// the oaPXjps function +function oaPXjps(add_javascript_views_footer_oaPXjps) +{ + // set the function logic + if (add_javascript_views_footer_oaPXjps == 1) + { + jQuery('#jform_javascript_views_footer').closest('.control-group').show(); + if (jform_oaPXjpsdHg_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_oaPXjpsdHg_required = false; + } + + } + else + { + jQuery('#jform_javascript_views_footer').closest('.control-group').hide(); + if (!jform_oaPXjpsdHg_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_oaPXjpsdHg_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/models/forms/field.xml b/admin/models/forms/field.xml new file mode 100644 index 000000000..ada701bdd --- /dev/null +++ b/admin/models/forms/field.xml @@ -0,0 +1,459 @@ +<?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_VDMKEY</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/models/forms/fieldtype.js b/admin/models/forms/fieldtype.js new file mode 100644 index 000000000..34a2e0576 --- /dev/null +++ b/admin/models/forms/fieldtype.js @@ -0,0 +1,26 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/forms/fieldtype.xml b/admin/models/forms/fieldtype.xml new file mode 100644 index 000000000..6d6298c16 --- /dev/null +++ b/admin/models/forms/fieldtype.xml @@ -0,0 +1,259 @@ +<?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/models/forms/help_document.js b/admin/models/forms/help_document.js new file mode 100644 index 000000000..d31e8398d --- /dev/null +++ b/admin/models/forms/help_document.js @@ -0,0 +1,312 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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_yFtNPtFIwT_required = false; +jform_gIDlqEybXp_required = false; +jform_nJukvrTsmK_required = false; +jform_hGjAuYOaHr_required = false; + +// Initial Script +jQuery(document).ready(function() +{ + var location_LsMmLfT = jQuery("#jform_location input[type='radio']:checked").val(); + LsMmLfT(location_LsMmLfT); + + var location_TWLSbOQ = jQuery("#jform_location input[type='radio']:checked").val(); + TWLSbOQ(location_TWLSbOQ); + + var type_yFtNPtF = jQuery("#jform_type").val(); + yFtNPtF(type_yFtNPtF); + + var type_gIDlqEy = jQuery("#jform_type").val(); + gIDlqEy(type_gIDlqEy); + + var type_nJukvrT = jQuery("#jform_type").val(); + nJukvrT(type_nJukvrT); + + var target_hGjAuYO = jQuery("#jform_target input[type='radio']:checked").val(); + hGjAuYO(target_hGjAuYO); +}); + +// the LsMmLfT function +function LsMmLfT(location_LsMmLfT) +{ + // set the function logic + if (location_LsMmLfT == 1) + { + jQuery('#jform_admin_view').closest('.control-group').show(); + } + else + { + jQuery('#jform_admin_view').closest('.control-group').hide(); + } +} + +// the TWLSbOQ function +function TWLSbOQ(location_TWLSbOQ) +{ + // set the function logic + if (location_TWLSbOQ == 2) + { + jQuery('#jform_site_view').closest('.control-group').show(); + } + else + { + jQuery('#jform_site_view').closest('.control-group').hide(); + } +} + +// the yFtNPtF function +function yFtNPtF(type_yFtNPtF) +{ + if (isSet(type_yFtNPtF) && type_yFtNPtF.constructor !== Array) + { + var temp_yFtNPtF = type_yFtNPtF; + var type_yFtNPtF = []; + type_yFtNPtF.push(temp_yFtNPtF); + } + else if (!isSet(type_yFtNPtF)) + { + var type_yFtNPtF = []; + } + var type = type_yFtNPtF.some(type_yFtNPtF_SomeFunc); + + + // set this function logic + if (type) + { + jQuery('#jform_url').closest('.control-group').show(); + if (jform_yFtNPtFIwT_required) + { + updateFieldRequired('url',0); + jQuery('#jform_url').prop('required','required'); + jQuery('#jform_url').attr('aria-required',true); + jQuery('#jform_url').addClass('required'); + jform_yFtNPtFIwT_required = false; + } + + } + else + { + jQuery('#jform_url').closest('.control-group').hide(); + if (!jform_yFtNPtFIwT_required) + { + updateFieldRequired('url',1); + jQuery('#jform_url').removeAttr('required'); + jQuery('#jform_url').removeAttr('aria-required'); + jQuery('#jform_url').removeClass('required'); + jform_yFtNPtFIwT_required = true; + } + } +} + +// the yFtNPtF Some function +function type_yFtNPtF_SomeFunc(type_yFtNPtF) +{ + // set the function logic + if (type_yFtNPtF == 3) + { + return true; + } + return false; +} + +// the gIDlqEy function +function gIDlqEy(type_gIDlqEy) +{ + if (isSet(type_gIDlqEy) && type_gIDlqEy.constructor !== Array) + { + var temp_gIDlqEy = type_gIDlqEy; + var type_gIDlqEy = []; + type_gIDlqEy.push(temp_gIDlqEy); + } + else if (!isSet(type_gIDlqEy)) + { + var type_gIDlqEy = []; + } + var type = type_gIDlqEy.some(type_gIDlqEy_SomeFunc); + + + // set this function logic + if (type) + { + jQuery('#jform_article').closest('.control-group').show(); + if (jform_gIDlqEybXp_required) + { + updateFieldRequired('article',0); + jQuery('#jform_article').prop('required','required'); + jQuery('#jform_article').attr('aria-required',true); + jQuery('#jform_article').addClass('required'); + jform_gIDlqEybXp_required = false; + } + + } + else + { + jQuery('#jform_article').closest('.control-group').hide(); + if (!jform_gIDlqEybXp_required) + { + updateFieldRequired('article',1); + jQuery('#jform_article').removeAttr('required'); + jQuery('#jform_article').removeAttr('aria-required'); + jQuery('#jform_article').removeClass('required'); + jform_gIDlqEybXp_required = true; + } + } +} + +// the gIDlqEy Some function +function type_gIDlqEy_SomeFunc(type_gIDlqEy) +{ + // set the function logic + if (type_gIDlqEy == 1) + { + return true; + } + return false; +} + +// the nJukvrT function +function nJukvrT(type_nJukvrT) +{ + if (isSet(type_nJukvrT) && type_nJukvrT.constructor !== Array) + { + var temp_nJukvrT = type_nJukvrT; + var type_nJukvrT = []; + type_nJukvrT.push(temp_nJukvrT); + } + else if (!isSet(type_nJukvrT)) + { + var type_nJukvrT = []; + } + var type = type_nJukvrT.some(type_nJukvrT_SomeFunc); + + + // set this function logic + if (type) + { + jQuery('#jform_content-lbl').closest('.control-group').show(); + if (jform_nJukvrTsmK_required) + { + updateFieldRequired('content',0); + jQuery('#jform_content').prop('required','required'); + jQuery('#jform_content').attr('aria-required',true); + jQuery('#jform_content').addClass('required'); + jform_nJukvrTsmK_required = false; + } + + } + else + { + jQuery('#jform_content-lbl').closest('.control-group').hide(); + if (!jform_nJukvrTsmK_required) + { + updateFieldRequired('content',1); + jQuery('#jform_content').removeAttr('required'); + jQuery('#jform_content').removeAttr('aria-required'); + jQuery('#jform_content').removeClass('required'); + jform_nJukvrTsmK_required = true; + } + } +} + +// the nJukvrT Some function +function type_nJukvrT_SomeFunc(type_nJukvrT) +{ + // set the function logic + if (type_nJukvrT == 2) + { + return true; + } + return false; +} + +// the hGjAuYO function +function hGjAuYO(target_hGjAuYO) +{ + // set the function logic + if (target_hGjAuYO == 1) + { + jQuery('#jform_groups').closest('.control-group').show(); + if (jform_hGjAuYOaHr_required) + { + updateFieldRequired('groups',0); + jQuery('#jform_groups').prop('required','required'); + jQuery('#jform_groups').attr('aria-required',true); + jQuery('#jform_groups').addClass('required'); + jform_hGjAuYOaHr_required = false; + } + + } + else + { + jQuery('#jform_groups').closest('.control-group').hide(); + if (!jform_hGjAuYOaHr_required) + { + updateFieldRequired('groups',1); + jQuery('#jform_groups').removeAttr('required'); + jQuery('#jform_groups').removeAttr('aria-required'); + jQuery('#jform_groups').removeClass('required'); + jform_hGjAuYOaHr_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/models/forms/help_document.xml b/admin/models/forms/help_document.xml new file mode 100644 index 000000000..9468c1c7b --- /dev/null +++ b/admin/models/forms/help_document.xml @@ -0,0 +1,245 @@ +<?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/models/forms/index.html b/admin/models/forms/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/models/forms/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/models/forms/layout.js b/admin/models/forms/layout.js new file mode 100644 index 000000000..ba072d52f --- /dev/null +++ b/admin/models/forms/layout.js @@ -0,0 +1,226 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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_GfhPETHicS_required = false; + +// Initial Script +jQuery(document).ready(function() +{ + var add_php_view_GfhPETH = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + GfhPETH(add_php_view_GfhPETH); +}); + +// the GfhPETH function +function GfhPETH(add_php_view_GfhPETH) +{ + // set the function logic + if (add_php_view_GfhPETH == 1) + { + jQuery('#jform_php_view').closest('.control-group').show(); + if (jform_GfhPETHicS_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_GfhPETHicS_required = false; + } + + } + else + { + jQuery('#jform_php_view').closest('.control-group').hide(); + if (!jform_GfhPETHicS_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_GfhPETHicS_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/models/forms/layout.xml b/admin/models/forms/layout.xml new file mode 100644 index 000000000..f1f2ea3c6 --- /dev/null +++ b/admin/models/forms/layout.xml @@ -0,0 +1,228 @@ +<?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/models/forms/site_view.js b/admin/models/forms/site_view.js new file mode 100644 index 000000000..6b22ca89c --- /dev/null +++ b/admin/models/forms/site_view.js @@ -0,0 +1,556 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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_LpuMPafofr_required = false; +jform_UbkxbKzEHT_required = false; +jform_UkONGHPtYz_required = false; +jform_bJKCoADBPH_required = false; +jform_NLIYoKIJhs_required = false; +jform_vdKpTjWEJU_required = false; +jform_eFFQiSsJtk_required = false; +jform_jcUPaiBNPC_required = false; +jform_jqMQDzaAkK_required = false; +jform_jqMQDzawms_required = false; + +// Initial Script +jQuery(document).ready(function() +{ + var add_php_view_LpuMPaf = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + LpuMPaf(add_php_view_LpuMPaf); + + var add_php_jview_display_UbkxbKz = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); + UbkxbKz(add_php_jview_display_UbkxbKz); + + var add_php_jview_UkONGHP = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); + UkONGHP(add_php_jview_UkONGHP); + + var add_php_document_bJKCoAD = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + bJKCoAD(add_php_document_bJKCoAD); + + var add_css_document_NLIYoKI = jQuery("#jform_add_css_document input[type='radio']:checked").val(); + NLIYoKI(add_css_document_NLIYoKI); + + var add_js_document_vdKpTjW = jQuery("#jform_add_js_document input[type='radio']:checked").val(); + vdKpTjW(add_js_document_vdKpTjW); + + var add_css_eFFQiSs = jQuery("#jform_add_css input[type='radio']:checked").val(); + eFFQiSs(add_css_eFFQiSs); + + var add_php_ajax_jcUPaiB = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); + jcUPaiB(add_php_ajax_jcUPaiB); + + var add_custom_button_jqMQDza = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + jqMQDza(add_custom_button_jqMQDza); +}); + +// the LpuMPaf function +function LpuMPaf(add_php_view_LpuMPaf) +{ + // set the function logic + if (add_php_view_LpuMPaf == 1) + { + jQuery('#jform_php_view').closest('.control-group').show(); + if (jform_LpuMPafofr_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_LpuMPafofr_required = false; + } + + } + else + { + jQuery('#jform_php_view').closest('.control-group').hide(); + if (!jform_LpuMPafofr_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_LpuMPafofr_required = true; + } + } +} + +// the UbkxbKz function +function UbkxbKz(add_php_jview_display_UbkxbKz) +{ + // set the function logic + if (add_php_jview_display_UbkxbKz == 1) + { + jQuery('#jform_php_jview_display').closest('.control-group').show(); + if (jform_UbkxbKzEHT_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_UbkxbKzEHT_required = false; + } + + } + else + { + jQuery('#jform_php_jview_display').closest('.control-group').hide(); + if (!jform_UbkxbKzEHT_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_UbkxbKzEHT_required = true; + } + } +} + +// the UkONGHP function +function UkONGHP(add_php_jview_UkONGHP) +{ + // set the function logic + if (add_php_jview_UkONGHP == 1) + { + jQuery('#jform_php_jview').closest('.control-group').show(); + if (jform_UkONGHPtYz_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_UkONGHPtYz_required = false; + } + + } + else + { + jQuery('#jform_php_jview').closest('.control-group').hide(); + if (!jform_UkONGHPtYz_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_UkONGHPtYz_required = true; + } + } +} + +// the bJKCoAD function +function bJKCoAD(add_php_document_bJKCoAD) +{ + // set the function logic + if (add_php_document_bJKCoAD == 1) + { + jQuery('#jform_php_document').closest('.control-group').show(); + if (jform_bJKCoADBPH_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_bJKCoADBPH_required = false; + } + + } + else + { + jQuery('#jform_php_document').closest('.control-group').hide(); + if (!jform_bJKCoADBPH_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_bJKCoADBPH_required = true; + } + } +} + +// the NLIYoKI function +function NLIYoKI(add_css_document_NLIYoKI) +{ + // set the function logic + if (add_css_document_NLIYoKI == 1) + { + jQuery('#jform_css_document').closest('.control-group').show(); + if (jform_NLIYoKIJhs_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_NLIYoKIJhs_required = false; + } + + } + else + { + jQuery('#jform_css_document').closest('.control-group').hide(); + if (!jform_NLIYoKIJhs_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_NLIYoKIJhs_required = true; + } + } +} + +// the vdKpTjW function +function vdKpTjW(add_js_document_vdKpTjW) +{ + // set the function logic + if (add_js_document_vdKpTjW == 1) + { + jQuery('#jform_js_document').closest('.control-group').show(); + if (jform_vdKpTjWEJU_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_vdKpTjWEJU_required = false; + } + + } + else + { + jQuery('#jform_js_document').closest('.control-group').hide(); + if (!jform_vdKpTjWEJU_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_vdKpTjWEJU_required = true; + } + } +} + +// the eFFQiSs function +function eFFQiSs(add_css_eFFQiSs) +{ + // set the function logic + if (add_css_eFFQiSs == 1) + { + jQuery('#jform_css').closest('.control-group').show(); + if (jform_eFFQiSsJtk_required) + { + updateFieldRequired('css',0); + jQuery('#jform_css').prop('required','required'); + jQuery('#jform_css').attr('aria-required',true); + jQuery('#jform_css').addClass('required'); + jform_eFFQiSsJtk_required = false; + } + + } + else + { + jQuery('#jform_css').closest('.control-group').hide(); + if (!jform_eFFQiSsJtk_required) + { + updateFieldRequired('css',1); + jQuery('#jform_css').removeAttr('required'); + jQuery('#jform_css').removeAttr('aria-required'); + jQuery('#jform_css').removeClass('required'); + jform_eFFQiSsJtk_required = true; + } + } +} + +// the jcUPaiB function +function jcUPaiB(add_php_ajax_jcUPaiB) +{ + // set the function logic + if (add_php_ajax_jcUPaiB == 1) + { + jQuery('#jform_ajax_input').closest('.control-group').show(); + jQuery('#jform_php_ajaxmethod').closest('.control-group').show(); + if (jform_jcUPaiBNPC_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_jcUPaiBNPC_required = false; + } + + } + else + { + jQuery('#jform_ajax_input').closest('.control-group').hide(); + jQuery('#jform_php_ajaxmethod').closest('.control-group').hide(); + if (!jform_jcUPaiBNPC_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_jcUPaiBNPC_required = true; + } + } +} + +// the jqMQDza function +function jqMQDza(add_custom_button_jqMQDza) +{ + // set the function logic + if (add_custom_button_jqMQDza == 1) + { + jQuery('#jform_custom_button').closest('.control-group').show(); + jQuery('#jform_php_controller').closest('.control-group').show(); + if (jform_jqMQDzaAkK_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_jqMQDzaAkK_required = false; + } + + jQuery('#jform_php_model').closest('.control-group').show(); + if (jform_jqMQDzawms_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_jqMQDzawms_required = false; + } + + } + else + { + jQuery('#jform_custom_button').closest('.control-group').hide(); + jQuery('#jform_php_controller').closest('.control-group').hide(); + if (!jform_jqMQDzaAkK_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_jqMQDzaAkK_required = true; + } + jQuery('#jform_php_model').closest('.control-group').hide(); + if (!jform_jqMQDzawms_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_jqMQDzawms_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/models/forms/site_view.xml b/admin/models/forms/site_view.xml new file mode 100644 index 000000000..876152f16 --- /dev/null +++ b/admin/models/forms/site_view.xml @@ -0,0 +1,1134 @@ +<?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/models/forms/snippet.js b/admin/models/forms/snippet.js new file mode 100644 index 000000000..5328cb5a3 --- /dev/null +++ b/admin/models/forms/snippet.js @@ -0,0 +1,26 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/forms/snippet.xml b/admin/models/forms/snippet.xml new file mode 100644 index 000000000..5588f92ef --- /dev/null +++ b/admin/models/forms/snippet.xml @@ -0,0 +1,215 @@ +<?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/models/forms/template.js b/admin/models/forms/template.js new file mode 100644 index 000000000..a4523cac5 --- /dev/null +++ b/admin/models/forms/template.js @@ -0,0 +1,267 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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_VeAOEddKqi_required = false; + +// Initial Script +jQuery(document).ready(function() +{ + var add_php_view_VeAOEdd = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + VeAOEdd(add_php_view_VeAOEdd); +}); + +// the VeAOEdd function +function VeAOEdd(add_php_view_VeAOEdd) +{ + // set the function logic + if (add_php_view_VeAOEdd == 1) + { + jQuery('#jform_php_view').closest('.control-group').show(); + if (jform_VeAOEddKqi_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_VeAOEddKqi_required = false; + } + + } + else + { + jQuery('#jform_php_view').closest('.control-group').hide(); + if (!jform_VeAOEddKqi_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_VeAOEddKqi_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/models/forms/template.xml b/admin/models/forms/template.xml new file mode 100644 index 000000000..a1097694a --- /dev/null +++ b/admin/models/forms/template.xml @@ -0,0 +1,228 @@ +<?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/models/help_document.php b/admin/models/help_document.php new file mode 100644 index 000000000..c87761efb --- /dev/null +++ b/admin/models/help_document.php @@ -0,0 +1,924 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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'); + } + // 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'); + } + + 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) + { + $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/models/help_documents.php b/admin/models/help_documents.php new file mode 100644 index 000000000..aa6fea249 --- /dev/null +++ b/admin/models/help_documents.php @@ -0,0 +1,459 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/import.php b/admin/models/import.php new file mode 100644 index 000000000..1ddc7b384 --- /dev/null +++ b/admin/models/import.php @@ -0,0 +1,733 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/index.html b/admin/models/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/models/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/models/layout.php b/admin/models/layout.php new file mode 100644 index 000000000..412c9e9a6 --- /dev/null +++ b/admin/models/layout.php @@ -0,0 +1,936 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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'); + } + // 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'); + } + + 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) + { + $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/models/layouts.php b/admin/models/layouts.php new file mode 100644 index 000000000..30c7048d1 --- /dev/null +++ b/admin/models/layouts.php @@ -0,0 +1,397 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/rules/index.html b/admin/models/rules/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/models/rules/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/models/site_view.php b/admin/models/site_view.php new file mode 100644 index 000000000..ac4dd953f --- /dev/null +++ b/admin/models/site_view.php @@ -0,0 +1,1065 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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'); + } + // 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'); + } + + 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) + { + $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/models/site_views.php b/admin/models/site_views.php new file mode 100644 index 000000000..bd2380273 --- /dev/null +++ b/admin/models/site_views.php @@ -0,0 +1,410 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/snippet.php b/admin/models/snippet.php new file mode 100644 index 000000000..61c9bece9 --- /dev/null +++ b/admin/models/snippet.php @@ -0,0 +1,832 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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'); + } + // 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'); + } + + 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) + { + $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/models/snippets.php b/admin/models/snippets.php new file mode 100644 index 000000000..fb0faccd0 --- /dev/null +++ b/admin/models/snippets.php @@ -0,0 +1,429 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/models/template.php b/admin/models/template.php new file mode 100644 index 000000000..c8185170f --- /dev/null +++ b/admin/models/template.php @@ -0,0 +1,936 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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'); + } + // 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'); + } + + 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) + { + $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/models/templates.php b/admin/models/templates.php new file mode 100644 index 000000000..8e20eabb8 --- /dev/null +++ b/admin/models/templates.php @@ -0,0 +1,387 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/sql/index.html b/admin/sql/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/sql/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/sql/install.mysql.utf8.sql b/admin/sql/install.mysql.utf8.sql new file mode 100644 index 000000000..276d15ef3 --- /dev/null +++ b/admin/sql/install.mysql.utf8.sql @@ -0,0 +1,640 @@ +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_helper_admin` TINYINT(1) NOT NULL DEFAULT '0', + `add_php_helper_site` TINYINT(1) NOT NULL DEFAULT '0', + `add_site_event` TINYINT(1) NOT NULL DEFAULT '0', + `add_sql` 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 '', + `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_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 '', + `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 '', + `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_add_css` (`add_css`), + KEY `idx_add_admin_event` (`add_admin_event`), + KEY `idx_add_site_event` (`add_site_event`), + KEY `idx_addreadme` (`addreadme`), + KEY `idx_adduikit` (`adduikit`), + KEY `idx_name` (`name`), + KEY `idx_add_php_helper_admin` (`add_php_helper_admin`), + KEY `idx_add_php_helper_site` (`add_php_helper_site`), + KEY `idx_add_sql` (`add_sql`), + KEY `idx_add_license` (`add_license`), + KEY `idx_license_type` (`license_type`), + KEY `idx_emptycontributors` (`emptycontributors`), + KEY `idx_creatuserhelper` (`creatuserhelper`), + KEY `idx_addfootable` (`addfootable`) +) 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_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 +(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, ''), +(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, ''), +(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, ''), +(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, ''); \ No newline at end of file diff --git a/admin/sql/uninstall.mysql.utf8.sql b/admin/sql/uninstall.mysql.utf8.sql new file mode 100644 index 000000000..3d7b57ac2 --- /dev/null +++ b/admin/sql/uninstall.mysql.utf8.sql @@ -0,0 +1,11 @@ +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/sql/updates/index.html b/admin/sql/updates/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/sql/updates/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/sql/updates/mysql/1.0.0.sql b/admin/sql/updates/mysql/1.0.0.sql new file mode 100644 index 000000000..d3f5a12fa --- /dev/null +++ b/admin/sql/updates/mysql/1.0.0.sql @@ -0,0 +1 @@ + diff --git a/admin/sql/updates/mysql/1.0.5.sql b/admin/sql/updates/mysql/1.0.5.sql new file mode 100644 index 000000000..d3f5a12fa --- /dev/null +++ b/admin/sql/updates/mysql/1.0.5.sql @@ -0,0 +1 @@ + diff --git a/admin/sql/updates/mysql/1.1.0.sql b/admin/sql/updates/mysql/1.1.0.sql new file mode 100644 index 000000000..d3f5a12fa --- /dev/null +++ b/admin/sql/updates/mysql/1.1.0.sql @@ -0,0 +1 @@ + diff --git a/admin/sql/updates/mysql/2.0.0.sql b/admin/sql/updates/mysql/2.0.0.sql new file mode 100644 index 000000000..d3f5a12fa --- /dev/null +++ b/admin/sql/updates/mysql/2.0.0.sql @@ -0,0 +1 @@ + diff --git a/admin/sql/updates/mysql/2.0.7.sql b/admin/sql/updates/mysql/2.0.7.sql new file mode 100644 index 000000000..2025d7dba --- /dev/null +++ b/admin/sql/updates/mysql/2.0.7.sql @@ -0,0 +1,4 @@ +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/sql/updates/mysql/index.html b/admin/sql/updates/mysql/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/sql/updates/mysql/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/tables/admin_view.php b/admin/tables/admin_view.php new file mode 100644 index 000000000..c91a3b186 --- /dev/null +++ b/admin/tables/admin_view.php @@ -0,0 +1,352 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/tables/component.php b/admin/tables/component.php new file mode 100644 index 000000000..957930441 --- /dev/null +++ b/admin/tables/component.php @@ -0,0 +1,352 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/tables/custom_admin_view.php b/admin/tables/custom_admin_view.php new file mode 100644 index 000000000..d029cda78 --- /dev/null +++ b/admin/tables/custom_admin_view.php @@ -0,0 +1,352 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/tables/dynamic_get.php b/admin/tables/dynamic_get.php new file mode 100644 index 000000000..442875e29 --- /dev/null +++ b/admin/tables/dynamic_get.php @@ -0,0 +1,352 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/tables/field.php b/admin/tables/field.php new file mode 100644 index 000000000..46db662c5 --- /dev/null +++ b/admin/tables/field.php @@ -0,0 +1,352 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/tables/fieldtype.php b/admin/tables/fieldtype.php new file mode 100644 index 000000000..587842a8c --- /dev/null +++ b/admin/tables/fieldtype.php @@ -0,0 +1,352 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/tables/help_document.php b/admin/tables/help_document.php new file mode 100644 index 000000000..892d3dbfb --- /dev/null +++ b/admin/tables/help_document.php @@ -0,0 +1,352 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/tables/index.html b/admin/tables/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/tables/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/tables/layout.php b/admin/tables/layout.php new file mode 100644 index 000000000..0c67168d9 --- /dev/null +++ b/admin/tables/layout.php @@ -0,0 +1,352 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/tables/site_view.php b/admin/tables/site_view.php new file mode 100644 index 000000000..9f0292689 --- /dev/null +++ b/admin/tables/site_view.php @@ -0,0 +1,352 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/tables/snippet.php b/admin/tables/snippet.php new file mode 100644 index 000000000..8bd5be7c7 --- /dev/null +++ b/admin/tables/snippet.php @@ -0,0 +1,352 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/tables/template.php b/admin/tables/template.php new file mode 100644 index 000000000..cbfcc3377 --- /dev/null +++ b/admin/tables/template.php @@ -0,0 +1,352 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/admin_view/submitbutton.js b/admin/views/admin_view/submitbutton.js new file mode 100644 index 000000000..9ee6b3055 --- /dev/null +++ b/admin/views/admin_view/submitbutton.js @@ -0,0 +1,50 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/admin_view/tmpl/edit.php b/admin/views/admin_view/tmpl/edit.php new file mode 100644 index 000000000..e515babe5 --- /dev/null +++ b/admin/views/admin_view/tmpl/edit.php @@ -0,0 +1,511 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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 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 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 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 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_KMATzUT function +jQuery('#jform_add_css_view').on('keyup',function() +{ + var add_css_view_KMATzUT = jQuery("#jform_add_css_view input[type='radio']:checked").val(); + KMATzUT(add_css_view_KMATzUT); + +}); +jQuery('#adminForm').on('change', '#jform_add_css_view',function (e) +{ + e.preventDefault(); + var add_css_view_KMATzUT = jQuery("#jform_add_css_view input[type='radio']:checked").val(); + KMATzUT(add_css_view_KMATzUT); + +}); + +// #jform_add_css_views listeners for add_css_views_MYjuWId function +jQuery('#jform_add_css_views').on('keyup',function() +{ + var add_css_views_MYjuWId = jQuery("#jform_add_css_views input[type='radio']:checked").val(); + MYjuWId(add_css_views_MYjuWId); + +}); +jQuery('#adminForm').on('change', '#jform_add_css_views',function (e) +{ + e.preventDefault(); + var add_css_views_MYjuWId = jQuery("#jform_add_css_views input[type='radio']:checked").val(); + MYjuWId(add_css_views_MYjuWId); + +}); + +// #jform_add_javascript_view_file listeners for add_javascript_view_file_TCKWpDu function +jQuery('#jform_add_javascript_view_file').on('keyup',function() +{ + var add_javascript_view_file_TCKWpDu = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); + TCKWpDu(add_javascript_view_file_TCKWpDu); + +}); +jQuery('#adminForm').on('change', '#jform_add_javascript_view_file',function (e) +{ + e.preventDefault(); + var add_javascript_view_file_TCKWpDu = jQuery("#jform_add_javascript_view_file input[type='radio']:checked").val(); + TCKWpDu(add_javascript_view_file_TCKWpDu); + +}); + +// #jform_add_javascript_views_file listeners for add_javascript_views_file_itiIhBE function +jQuery('#jform_add_javascript_views_file').on('keyup',function() +{ + var add_javascript_views_file_itiIhBE = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); + itiIhBE(add_javascript_views_file_itiIhBE); + +}); +jQuery('#adminForm').on('change', '#jform_add_javascript_views_file',function (e) +{ + e.preventDefault(); + var add_javascript_views_file_itiIhBE = jQuery("#jform_add_javascript_views_file input[type='radio']:checked").val(); + itiIhBE(add_javascript_views_file_itiIhBE); + +}); + +// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_JIxXiCL function +jQuery('#jform_add_javascript_view_footer').on('keyup',function() +{ + var add_javascript_view_footer_JIxXiCL = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); + JIxXiCL(add_javascript_view_footer_JIxXiCL); + +}); +jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e) +{ + e.preventDefault(); + var add_javascript_view_footer_JIxXiCL = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); + JIxXiCL(add_javascript_view_footer_JIxXiCL); + +}); + +// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_lPmaHxv function +jQuery('#jform_add_javascript_views_footer').on('keyup',function() +{ + var add_javascript_views_footer_lPmaHxv = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); + lPmaHxv(add_javascript_views_footer_lPmaHxv); + +}); +jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e) +{ + e.preventDefault(); + var add_javascript_views_footer_lPmaHxv = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); + lPmaHxv(add_javascript_views_footer_lPmaHxv); + +}); + +// #jform_add_php_ajax listeners for add_php_ajax_CuvRiKz function +jQuery('#jform_add_php_ajax').on('keyup',function() +{ + var add_php_ajax_CuvRiKz = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); + CuvRiKz(add_php_ajax_CuvRiKz); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e) +{ + e.preventDefault(); + var add_php_ajax_CuvRiKz = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); + CuvRiKz(add_php_ajax_CuvRiKz); + +}); + +// #jform_add_php_getitem listeners for add_php_getitem_rthVyur function +jQuery('#jform_add_php_getitem').on('keyup',function() +{ + var add_php_getitem_rthVyur = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); + rthVyur(add_php_getitem_rthVyur); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_getitem',function (e) +{ + e.preventDefault(); + var add_php_getitem_rthVyur = jQuery("#jform_add_php_getitem input[type='radio']:checked").val(); + rthVyur(add_php_getitem_rthVyur); + +}); + +// #jform_add_php_getitems listeners for add_php_getitems_MQfZTOw function +jQuery('#jform_add_php_getitems').on('keyup',function() +{ + var add_php_getitems_MQfZTOw = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); + MQfZTOw(add_php_getitems_MQfZTOw); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_getitems',function (e) +{ + e.preventDefault(); + var add_php_getitems_MQfZTOw = jQuery("#jform_add_php_getitems input[type='radio']:checked").val(); + MQfZTOw(add_php_getitems_MQfZTOw); + +}); + +// #jform_add_php_getlistquery listeners for add_php_getlistquery_wHrYsuC function +jQuery('#jform_add_php_getlistquery').on('keyup',function() +{ + var add_php_getlistquery_wHrYsuC = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); + wHrYsuC(add_php_getlistquery_wHrYsuC); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e) +{ + e.preventDefault(); + var add_php_getlistquery_wHrYsuC = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); + wHrYsuC(add_php_getlistquery_wHrYsuC); + +}); + +// #jform_add_php_save listeners for add_php_save_mFOBHhQ function +jQuery('#jform_add_php_save').on('keyup',function() +{ + var add_php_save_mFOBHhQ = jQuery("#jform_add_php_save input[type='radio']:checked").val(); + mFOBHhQ(add_php_save_mFOBHhQ); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_save',function (e) +{ + e.preventDefault(); + var add_php_save_mFOBHhQ = jQuery("#jform_add_php_save input[type='radio']:checked").val(); + mFOBHhQ(add_php_save_mFOBHhQ); + +}); + +// #jform_add_php_postsavehook listeners for add_php_postsavehook_mWkrWei function +jQuery('#jform_add_php_postsavehook').on('keyup',function() +{ + var add_php_postsavehook_mWkrWei = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); + mWkrWei(add_php_postsavehook_mWkrWei); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_postsavehook',function (e) +{ + e.preventDefault(); + var add_php_postsavehook_mWkrWei = jQuery("#jform_add_php_postsavehook input[type='radio']:checked").val(); + mWkrWei(add_php_postsavehook_mWkrWei); + +}); + +// #jform_add_php_allowedit listeners for add_php_allowedit_lUNxViZ function +jQuery('#jform_add_php_allowedit').on('keyup',function() +{ + var add_php_allowedit_lUNxViZ = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); + lUNxViZ(add_php_allowedit_lUNxViZ); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_allowedit',function (e) +{ + e.preventDefault(); + var add_php_allowedit_lUNxViZ = jQuery("#jform_add_php_allowedit input[type='radio']:checked").val(); + lUNxViZ(add_php_allowedit_lUNxViZ); + +}); + +// #jform_add_php_batchcopy listeners for add_php_batchcopy_QlXIHxK function +jQuery('#jform_add_php_batchcopy').on('keyup',function() +{ + var add_php_batchcopy_QlXIHxK = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); + QlXIHxK(add_php_batchcopy_QlXIHxK); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_batchcopy',function (e) +{ + e.preventDefault(); + var add_php_batchcopy_QlXIHxK = jQuery("#jform_add_php_batchcopy input[type='radio']:checked").val(); + QlXIHxK(add_php_batchcopy_QlXIHxK); + +}); + +// #jform_add_php_batchmove listeners for add_php_batchmove_SRVenQh function +jQuery('#jform_add_php_batchmove').on('keyup',function() +{ + var add_php_batchmove_SRVenQh = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); + SRVenQh(add_php_batchmove_SRVenQh); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_batchmove',function (e) +{ + e.preventDefault(); + var add_php_batchmove_SRVenQh = jQuery("#jform_add_php_batchmove input[type='radio']:checked").val(); + SRVenQh(add_php_batchmove_SRVenQh); + +}); + +// #jform_add_php_before_delete listeners for add_php_before_delete_xxwqczy function +jQuery('#jform_add_php_before_delete').on('keyup',function() +{ + var add_php_before_delete_xxwqczy = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); + xxwqczy(add_php_before_delete_xxwqczy); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_before_delete',function (e) +{ + e.preventDefault(); + var add_php_before_delete_xxwqczy = jQuery("#jform_add_php_before_delete input[type='radio']:checked").val(); + xxwqczy(add_php_before_delete_xxwqczy); + +}); + +// #jform_add_php_after_delete listeners for add_php_after_delete_nOCqpoO function +jQuery('#jform_add_php_after_delete').on('keyup',function() +{ + var add_php_after_delete_nOCqpoO = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); + nOCqpoO(add_php_after_delete_nOCqpoO); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_after_delete',function (e) +{ + e.preventDefault(); + var add_php_after_delete_nOCqpoO = jQuery("#jform_add_php_after_delete input[type='radio']:checked").val(); + nOCqpoO(add_php_after_delete_nOCqpoO); + +}); + +// #jform_add_sql listeners for add_sql_dIhaSuR function +jQuery('#jform_add_sql').on('keyup',function() +{ + var add_sql_dIhaSuR = jQuery("#jform_add_sql input[type='radio']:checked").val(); + dIhaSuR(add_sql_dIhaSuR); + +}); +jQuery('#adminForm').on('change', '#jform_add_sql',function (e) +{ + e.preventDefault(); + var add_sql_dIhaSuR = jQuery("#jform_add_sql input[type='radio']:checked").val(); + dIhaSuR(add_sql_dIhaSuR); + +}); + +// #jform_source listeners for source_AlEdvMv function +jQuery('#jform_source').on('keyup',function() +{ + var source_AlEdvMv = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_AlEdvMv = jQuery("#jform_add_sql input[type='radio']:checked").val(); + AlEdvMv(source_AlEdvMv,add_sql_AlEdvMv); + +}); +jQuery('#adminForm').on('change', '#jform_source',function (e) +{ + e.preventDefault(); + var source_AlEdvMv = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_AlEdvMv = jQuery("#jform_add_sql input[type='radio']:checked").val(); + AlEdvMv(source_AlEdvMv,add_sql_AlEdvMv); + +}); + +// #jform_add_sql listeners for add_sql_AlEdvMv function +jQuery('#jform_add_sql').on('keyup',function() +{ + var source_AlEdvMv = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_AlEdvMv = jQuery("#jform_add_sql input[type='radio']:checked").val(); + AlEdvMv(source_AlEdvMv,add_sql_AlEdvMv); + +}); +jQuery('#adminForm').on('change', '#jform_add_sql',function (e) +{ + e.preventDefault(); + var source_AlEdvMv = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_AlEdvMv = jQuery("#jform_add_sql input[type='radio']:checked").val(); + AlEdvMv(source_AlEdvMv,add_sql_AlEdvMv); + +}); + +// #jform_source listeners for source_gEdsNQy function +jQuery('#jform_source').on('keyup',function() +{ + var source_gEdsNQy = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_gEdsNQy = jQuery("#jform_add_sql input[type='radio']:checked").val(); + gEdsNQy(source_gEdsNQy,add_sql_gEdsNQy); + +}); +jQuery('#adminForm').on('change', '#jform_source',function (e) +{ + e.preventDefault(); + var source_gEdsNQy = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_gEdsNQy = jQuery("#jform_add_sql input[type='radio']:checked").val(); + gEdsNQy(source_gEdsNQy,add_sql_gEdsNQy); + +}); + +// #jform_add_sql listeners for add_sql_gEdsNQy function +jQuery('#jform_add_sql').on('keyup',function() +{ + var source_gEdsNQy = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_gEdsNQy = jQuery("#jform_add_sql input[type='radio']:checked").val(); + gEdsNQy(source_gEdsNQy,add_sql_gEdsNQy); + +}); +jQuery('#adminForm').on('change', '#jform_add_sql',function (e) +{ + e.preventDefault(); + var source_gEdsNQy = jQuery("#jform_source input[type='radio']:checked").val(); + var add_sql_gEdsNQy = jQuery("#jform_add_sql input[type='radio']:checked").val(); + gEdsNQy(source_gEdsNQy,add_sql_gEdsNQy); + +}); + + +<?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/views/admin_view/tmpl/index.html b/admin/views/admin_view/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/admin_view/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/admin_view/view.html.php b/admin/views/admin_view/view.html.php new file mode 100644 index 000000000..ceca37de8 --- /dev/null +++ b/admin/views/admin_view/view.html.php @@ -0,0 +1,230 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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->jswfields = $this->get('Jswfields'); + + // 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/views/admin_views/index.html b/admin/views/admin_views/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/admin_views/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/admin_views/tmpl/default.php b/admin/views/admin_views/tmpl/default.php new file mode 100644 index 000000000..8c328a60b --- /dev/null +++ b/admin/views/admin_views/tmpl/default.php @@ -0,0 +1,100 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/admin_views/tmpl/default_batch_body.php b/admin/views/admin_views/tmpl/default_batch_body.php new file mode 100644 index 000000000..9be244115 --- /dev/null +++ b/admin/views/admin_views/tmpl/default_batch_body.php @@ -0,0 +1,33 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/admin_views/tmpl/default_batch_footer.php b/admin/views/admin_views/tmpl/default_batch_footer.php new file mode 100644 index 000000000..50d9830a2 --- /dev/null +++ b/admin/views/admin_views/tmpl/default_batch_footer.php @@ -0,0 +1,38 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/admin_views/tmpl/default_body.php b/admin/views/admin_views/tmpl/default_body.php new file mode 100644 index 000000000..555ad2a8a --- /dev/null +++ b/admin/views/admin_views/tmpl/default_body.php @@ -0,0 +1,118 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/admin_views/tmpl/default_foot.php b/admin/views/admin_views/tmpl/default_foot.php new file mode 100644 index 000000000..039940e09 --- /dev/null +++ b/admin/views/admin_views/tmpl/default_foot.php @@ -0,0 +1,33 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/admin_views/tmpl/default_head.php b/admin/views/admin_views/tmpl/default_head.php new file mode 100644 index 000000000..a74404be2 --- /dev/null +++ b/admin/views/admin_views/tmpl/default_head.php @@ -0,0 +1,71 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/admin_views/tmpl/default_toolbar.php b/admin/views/admin_views/tmpl/default_toolbar.php new file mode 100644 index 000000000..6ce9cc251 --- /dev/null +++ b/admin/views/admin_views/tmpl/default_toolbar.php @@ -0,0 +1,60 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/admin_views/tmpl/index.html b/admin/views/admin_views/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/admin_views/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/admin_views/view.html.php b/admin/views/admin_views/view.html.php new file mode 100644 index 000000000..879a4fc31 --- /dev/null +++ b/admin/views/admin_views/view.html.php @@ -0,0 +1,254 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/compiler/index.html b/admin/views/compiler/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/compiler/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/compiler/tmpl/default.php b/admin/views/compiler/tmpl/default.php new file mode 100644 index 000000000..ac77e5d38 --- /dev/null +++ b/admin/views/compiler/tmpl/default.php @@ -0,0 +1,153 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/compiler/tmpl/index.html b/admin/views/compiler/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/compiler/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/compiler/view.html.php b/admin/views/compiler/view.html.php new file mode 100644 index 000000000..f40294cff --- /dev/null +++ b/admin/views/compiler/view.html.php @@ -0,0 +1,147 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/component/submitbutton.js b/admin/views/component/submitbutton.js new file mode 100644 index 000000000..37452dded --- /dev/null +++ b/admin/views/component/submitbutton.js @@ -0,0 +1,50 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/component/tmpl/edit.php b/admin/views/component/tmpl/edit.php new file mode 100644 index 000000000..ae84cf590 --- /dev/null +++ b/admin/views/component/tmpl/edit.php @@ -0,0 +1,313 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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 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 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 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 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_YKWupwW function +jQuery('#jform_add_php_helper_admin').on('keyup',function() +{ + var add_php_helper_admin_YKWupwW = jQuery("#jform_add_php_helper_admin input[type='radio']:checked").val(); + YKWupwW(add_php_helper_admin_YKWupwW); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_helper_admin',function (e) +{ + e.preventDefault(); + var add_php_helper_admin_YKWupwW = jQuery("#jform_add_php_helper_admin input[type='radio']:checked").val(); + YKWupwW(add_php_helper_admin_YKWupwW); + +}); + +// #jform_add_php_helper_site listeners for add_php_helper_site_IRJfnCW function +jQuery('#jform_add_php_helper_site').on('keyup',function() +{ + var add_php_helper_site_IRJfnCW = jQuery("#jform_add_php_helper_site input[type='radio']:checked").val(); + IRJfnCW(add_php_helper_site_IRJfnCW); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_helper_site',function (e) +{ + e.preventDefault(); + var add_php_helper_site_IRJfnCW = jQuery("#jform_add_php_helper_site input[type='radio']:checked").val(); + IRJfnCW(add_php_helper_site_IRJfnCW); + +}); + +// #jform_add_css listeners for add_css_lVqqJOv function +jQuery('#jform_add_css').on('keyup',function() +{ + var add_css_lVqqJOv = jQuery("#jform_add_css input[type='radio']:checked").val(); + lVqqJOv(add_css_lVqqJOv); + +}); +jQuery('#adminForm').on('change', '#jform_add_css',function (e) +{ + e.preventDefault(); + var add_css_lVqqJOv = jQuery("#jform_add_css input[type='radio']:checked").val(); + lVqqJOv(add_css_lVqqJOv); + +}); + +// #jform_add_sql listeners for add_sql_OIgJWDf function +jQuery('#jform_add_sql').on('keyup',function() +{ + var add_sql_OIgJWDf = jQuery("#jform_add_sql input[type='radio']:checked").val(); + OIgJWDf(add_sql_OIgJWDf); + +}); +jQuery('#adminForm').on('change', '#jform_add_sql',function (e) +{ + e.preventDefault(); + var add_sql_OIgJWDf = jQuery("#jform_add_sql input[type='radio']:checked").val(); + OIgJWDf(add_sql_OIgJWDf); + +}); + +// #jform_emptycontributors listeners for emptycontributors_BNadRnM function +jQuery('#jform_emptycontributors').on('keyup',function() +{ + var emptycontributors_BNadRnM = jQuery("#jform_emptycontributors input[type='radio']:checked").val(); + BNadRnM(emptycontributors_BNadRnM); + +}); +jQuery('#adminForm').on('change', '#jform_emptycontributors',function (e) +{ + e.preventDefault(); + var emptycontributors_BNadRnM = jQuery("#jform_emptycontributors input[type='radio']:checked").val(); + BNadRnM(emptycontributors_BNadRnM); + +}); + +// #jform_add_license listeners for add_license_KqbIvUZ function +jQuery('#jform_add_license').on('keyup',function() +{ + var add_license_KqbIvUZ = jQuery("#jform_add_license input[type='radio']:checked").val(); + KqbIvUZ(add_license_KqbIvUZ); + +}); +jQuery('#adminForm').on('change', '#jform_add_license',function (e) +{ + e.preventDefault(); + var add_license_KqbIvUZ = jQuery("#jform_add_license input[type='radio']:checked").val(); + KqbIvUZ(add_license_KqbIvUZ); + +}); + +// #jform_add_admin_event listeners for add_admin_event_tVqRLZX function +jQuery('#jform_add_admin_event').on('keyup',function() +{ + var add_admin_event_tVqRLZX = jQuery("#jform_add_admin_event input[type='radio']:checked").val(); + tVqRLZX(add_admin_event_tVqRLZX); + +}); +jQuery('#adminForm').on('change', '#jform_add_admin_event',function (e) +{ + e.preventDefault(); + var add_admin_event_tVqRLZX = jQuery("#jform_add_admin_event input[type='radio']:checked").val(); + tVqRLZX(add_admin_event_tVqRLZX); + +}); + +// #jform_add_site_event listeners for add_site_event_DQvHlnH function +jQuery('#jform_add_site_event').on('keyup',function() +{ + var add_site_event_DQvHlnH = jQuery("#jform_add_site_event input[type='radio']:checked").val(); + DQvHlnH(add_site_event_DQvHlnH); + +}); +jQuery('#adminForm').on('change', '#jform_add_site_event',function (e) +{ + e.preventDefault(); + var add_site_event_DQvHlnH = jQuery("#jform_add_site_event input[type='radio']:checked").val(); + DQvHlnH(add_site_event_DQvHlnH); + +}); + +// #jform_addreadme listeners for addreadme_aQmcEOY function +jQuery('#jform_addreadme').on('keyup',function() +{ + var addreadme_aQmcEOY = jQuery("#jform_addreadme input[type='radio']:checked").val(); + aQmcEOY(addreadme_aQmcEOY); + +}); +jQuery('#adminForm').on('change', '#jform_addreadme',function (e) +{ + e.preventDefault(); + var addreadme_aQmcEOY = jQuery("#jform_addreadme input[type='radio']:checked").val(); + aQmcEOY(addreadme_aQmcEOY); + +}); + +// #jform_add_license listeners for add_license_lWrKOfJ function +jQuery('#jform_add_license').on('keyup',function() +{ + var add_license_lWrKOfJ = jQuery("#jform_add_license input[type='radio']:checked").val(); + lWrKOfJ(add_license_lWrKOfJ); + +}); +jQuery('#adminForm').on('change', '#jform_add_license',function (e) +{ + e.preventDefault(); + var add_license_lWrKOfJ = jQuery("#jform_add_license input[type='radio']:checked").val(); + lWrKOfJ(add_license_lWrKOfJ); + +}); + + + +<?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/views/component/tmpl/index.html b/admin/views/component/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/component/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/component/view.html.php b/admin/views/component/view.html.php new file mode 100644 index 000000000..4b9e939c4 --- /dev/null +++ b/admin/views/component/view.html.php @@ -0,0 +1,226 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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->mdyadmin_views = $this->get('Mdyadmin_views'); + + // Get Linked view data + $this->ibusite_views = $this->get('Ibusite_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/views/componentbuilder/index.html b/admin/views/componentbuilder/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/componentbuilder/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/componentbuilder/tmpl/default.php b/admin/views/componentbuilder/tmpl/default.php new file mode 100644 index 000000000..43195d90e --- /dev/null +++ b/admin/views/componentbuilder/tmpl/default.php @@ -0,0 +1,48 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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'); + +?> +<div id="j-main-container" 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 id="j-main-container" 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> \ No newline at end of file diff --git a/admin/views/componentbuilder/tmpl/default_main.php b/admin/views/componentbuilder/tmpl/default_main.php new file mode 100644 index 000000000..148496372 --- /dev/null +++ b/admin/views/componentbuilder/tmpl/default_main.php @@ -0,0 +1,43 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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 hasTip" 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/views/componentbuilder/tmpl/default_vdm.php b/admin/views/componentbuilder/tmpl/default_vdm.php new file mode 100644 index 000000000..f448a2f19 --- /dev/null +++ b/admin/views/componentbuilder/tmpl/default_vdm.php @@ -0,0 +1,56 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/componentbuilder/tmpl/index.html b/admin/views/componentbuilder/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/componentbuilder/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/componentbuilder/view.html.php b/admin/views/componentbuilder/view.html.php new file mode 100644 index 000000000..9f923c16c --- /dev/null +++ b/admin/views/componentbuilder/view.html.php @@ -0,0 +1,99 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/components/index.html b/admin/views/components/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/components/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/components/tmpl/default.php b/admin/views/components/tmpl/default.php new file mode 100644 index 000000000..a147697a9 --- /dev/null +++ b/admin/views/components/tmpl/default.php @@ -0,0 +1,100 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/components/tmpl/default_batch_body.php b/admin/views/components/tmpl/default_batch_body.php new file mode 100644 index 000000000..f61c52242 --- /dev/null +++ b/admin/views/components/tmpl/default_batch_body.php @@ -0,0 +1,33 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/components/tmpl/default_batch_footer.php b/admin/views/components/tmpl/default_batch_footer.php new file mode 100644 index 000000000..cad05dad6 --- /dev/null +++ b/admin/views/components/tmpl/default_batch_footer.php @@ -0,0 +1,38 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/components/tmpl/default_body.php b/admin/views/components/tmpl/default_body.php new file mode 100644 index 000000000..b702e3360 --- /dev/null +++ b/admin/views/components/tmpl/default_body.php @@ -0,0 +1,124 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/components/tmpl/default_foot.php b/admin/views/components/tmpl/default_foot.php new file mode 100644 index 000000000..d99827b3d --- /dev/null +++ b/admin/views/components/tmpl/default_foot.php @@ -0,0 +1,33 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/components/tmpl/default_head.php b/admin/views/components/tmpl/default_head.php new file mode 100644 index 000000000..b5fbc0fac --- /dev/null +++ b/admin/views/components/tmpl/default_head.php @@ -0,0 +1,77 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/components/tmpl/default_toolbar.php b/admin/views/components/tmpl/default_toolbar.php new file mode 100644 index 000000000..4744c59f2 --- /dev/null +++ b/admin/views/components/tmpl/default_toolbar.php @@ -0,0 +1,60 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/components/tmpl/index.html b/admin/views/components/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/components/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/components/view.html.php b/admin/views/components/view.html.php new file mode 100644 index 000000000..ae748156b --- /dev/null +++ b/admin/views/components/view.html.php @@ -0,0 +1,364 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/custom_admin_view/submitbutton.js b/admin/views/custom_admin_view/submitbutton.js new file mode 100644 index 000000000..341e6648d --- /dev/null +++ b/admin/views/custom_admin_view/submitbutton.js @@ -0,0 +1,50 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/custom_admin_view/tmpl/edit.php b/admin/views/custom_admin_view/tmpl/edit.php new file mode 100644 index 000000000..3f44ca501 --- /dev/null +++ b/admin/views/custom_admin_view/tmpl/edit.php @@ -0,0 +1,337 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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 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 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_stcNnNk function +jQuery('#jform_add_php_view').on('keyup',function() +{ + var add_php_view_stcNnNk = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + stcNnNk(add_php_view_stcNnNk); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_view',function (e) +{ + e.preventDefault(); + var add_php_view_stcNnNk = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + stcNnNk(add_php_view_stcNnNk); + +}); + +// #jform_add_php_jview_display listeners for add_php_jview_display_wiTAqyL function +jQuery('#jform_add_php_jview_display').on('keyup',function() +{ + var add_php_jview_display_wiTAqyL = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); + wiTAqyL(add_php_jview_display_wiTAqyL); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e) +{ + e.preventDefault(); + var add_php_jview_display_wiTAqyL = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); + wiTAqyL(add_php_jview_display_wiTAqyL); + +}); + +// #jform_add_php_jview listeners for add_php_jview_kceeFNM function +jQuery('#jform_add_php_jview').on('keyup',function() +{ + var add_php_jview_kceeFNM = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); + kceeFNM(add_php_jview_kceeFNM); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e) +{ + e.preventDefault(); + var add_php_jview_kceeFNM = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); + kceeFNM(add_php_jview_kceeFNM); + +}); + +// #jform_add_php_document listeners for add_php_document_NpROacA function +jQuery('#jform_add_php_document').on('keyup',function() +{ + var add_php_document_NpROacA = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + NpROacA(add_php_document_NpROacA); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_document',function (e) +{ + e.preventDefault(); + var add_php_document_NpROacA = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + NpROacA(add_php_document_NpROacA); + +}); + +// #jform_add_css_document listeners for add_css_document_zUzvCQb function +jQuery('#jform_add_css_document').on('keyup',function() +{ + var add_css_document_zUzvCQb = jQuery("#jform_add_css_document input[type='radio']:checked").val(); + zUzvCQb(add_css_document_zUzvCQb); + +}); +jQuery('#adminForm').on('change', '#jform_add_css_document',function (e) +{ + e.preventDefault(); + var add_css_document_zUzvCQb = jQuery("#jform_add_css_document input[type='radio']:checked").val(); + zUzvCQb(add_css_document_zUzvCQb); + +}); + +// #jform_add_js_document listeners for add_js_document_JNyIRcC function +jQuery('#jform_add_js_document').on('keyup',function() +{ + var add_js_document_JNyIRcC = jQuery("#jform_add_js_document input[type='radio']:checked").val(); + JNyIRcC(add_js_document_JNyIRcC); + +}); +jQuery('#adminForm').on('change', '#jform_add_js_document',function (e) +{ + e.preventDefault(); + var add_js_document_JNyIRcC = jQuery("#jform_add_js_document input[type='radio']:checked").val(); + JNyIRcC(add_js_document_JNyIRcC); + +}); + +// #jform_add_custom_button listeners for add_custom_button_fhKWXLZ function +jQuery('#jform_add_custom_button').on('keyup',function() +{ + var add_custom_button_fhKWXLZ = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + fhKWXLZ(add_custom_button_fhKWXLZ); + +}); +jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e) +{ + e.preventDefault(); + var add_custom_button_fhKWXLZ = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + fhKWXLZ(add_custom_button_fhKWXLZ); + +}); + +// #jform_add_css listeners for add_css_wURpWaT function +jQuery('#jform_add_css').on('keyup',function() +{ + var add_css_wURpWaT = jQuery("#jform_add_css input[type='radio']:checked").val(); + wURpWaT(add_css_wURpWaT); + +}); +jQuery('#adminForm').on('change', '#jform_add_css',function (e) +{ + e.preventDefault(); + var add_css_wURpWaT = jQuery("#jform_add_css input[type='radio']:checked").val(); + wURpWaT(add_css_wURpWaT); + +}); + + +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/views/custom_admin_view/tmpl/index.html b/admin/views/custom_admin_view/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/custom_admin_view/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/custom_admin_view/view.html.php b/admin/views/custom_admin_view/view.html.php new file mode 100644 index 000000000..5497b91f8 --- /dev/null +++ b/admin/views/custom_admin_view/view.html.php @@ -0,0 +1,203 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/custom_admin_views/index.html b/admin/views/custom_admin_views/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/custom_admin_views/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/custom_admin_views/tmpl/default.php b/admin/views/custom_admin_views/tmpl/default.php new file mode 100644 index 000000000..8c88a6348 --- /dev/null +++ b/admin/views/custom_admin_views/tmpl/default.php @@ -0,0 +1,100 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/custom_admin_views/tmpl/default_batch_body.php b/admin/views/custom_admin_views/tmpl/default_batch_body.php new file mode 100644 index 000000000..8a688f704 --- /dev/null +++ b/admin/views/custom_admin_views/tmpl/default_batch_body.php @@ -0,0 +1,33 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/custom_admin_views/tmpl/default_batch_footer.php b/admin/views/custom_admin_views/tmpl/default_batch_footer.php new file mode 100644 index 000000000..cd7d03afe --- /dev/null +++ b/admin/views/custom_admin_views/tmpl/default_batch_footer.php @@ -0,0 +1,38 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/custom_admin_views/tmpl/default_body.php b/admin/views/custom_admin_views/tmpl/default_body.php new file mode 100644 index 000000000..976521c48 --- /dev/null +++ b/admin/views/custom_admin_views/tmpl/default_body.php @@ -0,0 +1,121 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/custom_admin_views/tmpl/default_foot.php b/admin/views/custom_admin_views/tmpl/default_foot.php new file mode 100644 index 000000000..3f81bcde2 --- /dev/null +++ b/admin/views/custom_admin_views/tmpl/default_foot.php @@ -0,0 +1,33 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/custom_admin_views/tmpl/default_head.php b/admin/views/custom_admin_views/tmpl/default_head.php new file mode 100644 index 000000000..1dbd952a7 --- /dev/null +++ b/admin/views/custom_admin_views/tmpl/default_head.php @@ -0,0 +1,74 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/custom_admin_views/tmpl/default_toolbar.php b/admin/views/custom_admin_views/tmpl/default_toolbar.php new file mode 100644 index 000000000..2b392dfe9 --- /dev/null +++ b/admin/views/custom_admin_views/tmpl/default_toolbar.php @@ -0,0 +1,60 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/custom_admin_views/tmpl/index.html b/admin/views/custom_admin_views/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/custom_admin_views/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/custom_admin_views/view.html.php b/admin/views/custom_admin_views/view.html.php new file mode 100644 index 000000000..fda3b5d81 --- /dev/null +++ b/admin/views/custom_admin_views/view.html.php @@ -0,0 +1,254 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/dynamic_get/submitbutton.js b/admin/views/dynamic_get/submitbutton.js new file mode 100644 index 000000000..40541d6af --- /dev/null +++ b/admin/views/dynamic_get/submitbutton.js @@ -0,0 +1,50 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/dynamic_get/tmpl/edit.php b/admin/views/dynamic_get/tmpl/edit.php new file mode 100644 index 000000000..e90aeb379 --- /dev/null +++ b/admin/views/dynamic_get/tmpl/edit.php @@ -0,0 +1,570 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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 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 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_TTozUNE function +jQuery('#jform_gettype').on('keyup',function() +{ + var gettype_TTozUNE = jQuery("#jform_gettype").val(); + TTozUNE(gettype_TTozUNE); + +}); +jQuery('#adminForm').on('change', '#jform_gettype',function (e) +{ + e.preventDefault(); + var gettype_TTozUNE = jQuery("#jform_gettype").val(); + TTozUNE(gettype_TTozUNE); + +}); + +// #jform_main_source listeners for main_source_OabpNGm function +jQuery('#jform_main_source').on('keyup',function() +{ + var main_source_OabpNGm = jQuery("#jform_main_source").val(); + OabpNGm(main_source_OabpNGm); + +}); +jQuery('#adminForm').on('change', '#jform_main_source',function (e) +{ + e.preventDefault(); + var main_source_OabpNGm = jQuery("#jform_main_source").val(); + OabpNGm(main_source_OabpNGm); + +}); + +// #jform_main_source listeners for main_source_aZEjPke function +jQuery('#jform_main_source').on('keyup',function() +{ + var main_source_aZEjPke = jQuery("#jform_main_source").val(); + aZEjPke(main_source_aZEjPke); + +}); +jQuery('#adminForm').on('change', '#jform_main_source',function (e) +{ + e.preventDefault(); + var main_source_aZEjPke = jQuery("#jform_main_source").val(); + aZEjPke(main_source_aZEjPke); + +}); + +// #jform_main_source listeners for main_source_liYHBQw function +jQuery('#jform_main_source').on('keyup',function() +{ + var main_source_liYHBQw = jQuery("#jform_main_source").val(); + liYHBQw(main_source_liYHBQw); + +}); +jQuery('#adminForm').on('change', '#jform_main_source',function (e) +{ + e.preventDefault(); + var main_source_liYHBQw = jQuery("#jform_main_source").val(); + liYHBQw(main_source_liYHBQw); + +}); + +// #jform_main_source listeners for main_source_ihvkrmN function +jQuery('#jform_main_source').on('keyup',function() +{ + var main_source_ihvkrmN = jQuery("#jform_main_source").val(); + ihvkrmN(main_source_ihvkrmN); + +}); +jQuery('#adminForm').on('change', '#jform_main_source',function (e) +{ + e.preventDefault(); + var main_source_ihvkrmN = jQuery("#jform_main_source").val(); + ihvkrmN(main_source_ihvkrmN); + +}); + +// #jform_addcalculation listeners for addcalculation_qgcUmUf function +jQuery('#jform_addcalculation').on('keyup',function() +{ + var addcalculation_qgcUmUf = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + qgcUmUf(addcalculation_qgcUmUf); + +}); +jQuery('#adminForm').on('change', '#jform_addcalculation',function (e) +{ + e.preventDefault(); + var addcalculation_qgcUmUf = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + qgcUmUf(addcalculation_qgcUmUf); + +}); + +// #jform_addcalculation listeners for addcalculation_vEABeis function +jQuery('#jform_addcalculation').on('keyup',function() +{ + var addcalculation_vEABeis = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_vEABeis = jQuery("#jform_gettype").val(); + vEABeis(addcalculation_vEABeis,gettype_vEABeis); + +}); +jQuery('#adminForm').on('change', '#jform_addcalculation',function (e) +{ + e.preventDefault(); + var addcalculation_vEABeis = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_vEABeis = jQuery("#jform_gettype").val(); + vEABeis(addcalculation_vEABeis,gettype_vEABeis); + +}); + +// #jform_gettype listeners for gettype_vEABeis function +jQuery('#jform_gettype').on('keyup',function() +{ + var addcalculation_vEABeis = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_vEABeis = jQuery("#jform_gettype").val(); + vEABeis(addcalculation_vEABeis,gettype_vEABeis); + +}); +jQuery('#adminForm').on('change', '#jform_gettype',function (e) +{ + e.preventDefault(); + var addcalculation_vEABeis = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_vEABeis = jQuery("#jform_gettype").val(); + vEABeis(addcalculation_vEABeis,gettype_vEABeis); + +}); + +// #jform_addcalculation listeners for addcalculation_vzEXGQt function +jQuery('#jform_addcalculation').on('keyup',function() +{ + var addcalculation_vzEXGQt = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_vzEXGQt = jQuery("#jform_gettype").val(); + vzEXGQt(addcalculation_vzEXGQt,gettype_vzEXGQt); + +}); +jQuery('#adminForm').on('change', '#jform_addcalculation',function (e) +{ + e.preventDefault(); + var addcalculation_vzEXGQt = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_vzEXGQt = jQuery("#jform_gettype").val(); + vzEXGQt(addcalculation_vzEXGQt,gettype_vzEXGQt); + +}); + +// #jform_gettype listeners for gettype_vzEXGQt function +jQuery('#jform_gettype').on('keyup',function() +{ + var addcalculation_vzEXGQt = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_vzEXGQt = jQuery("#jform_gettype").val(); + vzEXGQt(addcalculation_vzEXGQt,gettype_vzEXGQt); + +}); +jQuery('#adminForm').on('change', '#jform_gettype',function (e) +{ + e.preventDefault(); + var addcalculation_vzEXGQt = jQuery("#jform_addcalculation input[type='radio']:checked").val(); + var gettype_vzEXGQt = jQuery("#jform_gettype").val(); + vzEXGQt(addcalculation_vzEXGQt,gettype_vzEXGQt); + +}); + +// #jform_main_source listeners for main_source_LKzirhH function +jQuery('#jform_main_source').on('keyup',function() +{ + var main_source_LKzirhH = jQuery("#jform_main_source").val(); + LKzirhH(main_source_LKzirhH); + +}); +jQuery('#adminForm').on('change', '#jform_main_source',function (e) +{ + e.preventDefault(); + var main_source_LKzirhH = jQuery("#jform_main_source").val(); + LKzirhH(main_source_LKzirhH); + +}); + +// #jform_main_source listeners for main_source_TOFQooo function +jQuery('#jform_main_source').on('keyup',function() +{ + var main_source_TOFQooo = jQuery("#jform_main_source").val(); + TOFQooo(main_source_TOFQooo); + +}); +jQuery('#adminForm').on('change', '#jform_main_source',function (e) +{ + e.preventDefault(); + var main_source_TOFQooo = jQuery("#jform_main_source").val(); + TOFQooo(main_source_TOFQooo); + +}); + +// #jform_add_php_before_getitem listeners for add_php_before_getitem_fyWzBNh function +jQuery('#jform_add_php_before_getitem').on('keyup',function() +{ + var add_php_before_getitem_fyWzBNh = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); + var gettype_fyWzBNh = jQuery("#jform_gettype").val(); + fyWzBNh(add_php_before_getitem_fyWzBNh,gettype_fyWzBNh); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_before_getitem',function (e) +{ + e.preventDefault(); + var add_php_before_getitem_fyWzBNh = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); + var gettype_fyWzBNh = jQuery("#jform_gettype").val(); + fyWzBNh(add_php_before_getitem_fyWzBNh,gettype_fyWzBNh); + +}); + +// #jform_gettype listeners for gettype_fyWzBNh function +jQuery('#jform_gettype').on('keyup',function() +{ + var add_php_before_getitem_fyWzBNh = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); + var gettype_fyWzBNh = jQuery("#jform_gettype").val(); + fyWzBNh(add_php_before_getitem_fyWzBNh,gettype_fyWzBNh); + +}); +jQuery('#adminForm').on('change', '#jform_gettype',function (e) +{ + e.preventDefault(); + var add_php_before_getitem_fyWzBNh = jQuery("#jform_add_php_before_getitem input[type='radio']:checked").val(); + var gettype_fyWzBNh = jQuery("#jform_gettype").val(); + fyWzBNh(add_php_before_getitem_fyWzBNh,gettype_fyWzBNh); + +}); + +// #jform_add_php_after_getitem listeners for add_php_after_getitem_McnRHXs function +jQuery('#jform_add_php_after_getitem').on('keyup',function() +{ + var add_php_after_getitem_McnRHXs = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); + var gettype_McnRHXs = jQuery("#jform_gettype").val(); + McnRHXs(add_php_after_getitem_McnRHXs,gettype_McnRHXs); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_after_getitem',function (e) +{ + e.preventDefault(); + var add_php_after_getitem_McnRHXs = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); + var gettype_McnRHXs = jQuery("#jform_gettype").val(); + McnRHXs(add_php_after_getitem_McnRHXs,gettype_McnRHXs); + +}); + +// #jform_gettype listeners for gettype_McnRHXs function +jQuery('#jform_gettype').on('keyup',function() +{ + var add_php_after_getitem_McnRHXs = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); + var gettype_McnRHXs = jQuery("#jform_gettype").val(); + McnRHXs(add_php_after_getitem_McnRHXs,gettype_McnRHXs); + +}); +jQuery('#adminForm').on('change', '#jform_gettype',function (e) +{ + e.preventDefault(); + var add_php_after_getitem_McnRHXs = jQuery("#jform_add_php_after_getitem input[type='radio']:checked").val(); + var gettype_McnRHXs = jQuery("#jform_gettype").val(); + McnRHXs(add_php_after_getitem_McnRHXs,gettype_McnRHXs); + +}); + +// #jform_gettype listeners for gettype_lajvdOy function +jQuery('#jform_gettype').on('keyup',function() +{ + var gettype_lajvdOy = jQuery("#jform_gettype").val(); + lajvdOy(gettype_lajvdOy); + +}); +jQuery('#adminForm').on('change', '#jform_gettype',function (e) +{ + e.preventDefault(); + var gettype_lajvdOy = jQuery("#jform_gettype").val(); + lajvdOy(gettype_lajvdOy); + +}); + +// #jform_add_php_getlistquery listeners for add_php_getlistquery_DxYMqLK function +jQuery('#jform_add_php_getlistquery').on('keyup',function() +{ + var add_php_getlistquery_DxYMqLK = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); + var gettype_DxYMqLK = jQuery("#jform_gettype").val(); + DxYMqLK(add_php_getlistquery_DxYMqLK,gettype_DxYMqLK); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_getlistquery',function (e) +{ + e.preventDefault(); + var add_php_getlistquery_DxYMqLK = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); + var gettype_DxYMqLK = jQuery("#jform_gettype").val(); + DxYMqLK(add_php_getlistquery_DxYMqLK,gettype_DxYMqLK); + +}); + +// #jform_gettype listeners for gettype_DxYMqLK function +jQuery('#jform_gettype').on('keyup',function() +{ + var add_php_getlistquery_DxYMqLK = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); + var gettype_DxYMqLK = jQuery("#jform_gettype").val(); + DxYMqLK(add_php_getlistquery_DxYMqLK,gettype_DxYMqLK); + +}); +jQuery('#adminForm').on('change', '#jform_gettype',function (e) +{ + e.preventDefault(); + var add_php_getlistquery_DxYMqLK = jQuery("#jform_add_php_getlistquery input[type='radio']:checked").val(); + var gettype_DxYMqLK = jQuery("#jform_gettype").val(); + DxYMqLK(add_php_getlistquery_DxYMqLK,gettype_DxYMqLK); + +}); + +// #jform_add_php_before_getitems listeners for add_php_before_getitems_qXDrqWY function +jQuery('#jform_add_php_before_getitems').on('keyup',function() +{ + var add_php_before_getitems_qXDrqWY = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); + var gettype_qXDrqWY = jQuery("#jform_gettype").val(); + qXDrqWY(add_php_before_getitems_qXDrqWY,gettype_qXDrqWY); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_before_getitems',function (e) +{ + e.preventDefault(); + var add_php_before_getitems_qXDrqWY = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); + var gettype_qXDrqWY = jQuery("#jform_gettype").val(); + qXDrqWY(add_php_before_getitems_qXDrqWY,gettype_qXDrqWY); + +}); + +// #jform_gettype listeners for gettype_qXDrqWY function +jQuery('#jform_gettype').on('keyup',function() +{ + var add_php_before_getitems_qXDrqWY = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); + var gettype_qXDrqWY = jQuery("#jform_gettype").val(); + qXDrqWY(add_php_before_getitems_qXDrqWY,gettype_qXDrqWY); + +}); +jQuery('#adminForm').on('change', '#jform_gettype',function (e) +{ + e.preventDefault(); + var add_php_before_getitems_qXDrqWY = jQuery("#jform_add_php_before_getitems input[type='radio']:checked").val(); + var gettype_qXDrqWY = jQuery("#jform_gettype").val(); + qXDrqWY(add_php_before_getitems_qXDrqWY,gettype_qXDrqWY); + +}); + +// #jform_add_php_after_getitems listeners for add_php_after_getitems_oEefcMm function +jQuery('#jform_add_php_after_getitems').on('keyup',function() +{ + var add_php_after_getitems_oEefcMm = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); + var gettype_oEefcMm = jQuery("#jform_gettype").val(); + oEefcMm(add_php_after_getitems_oEefcMm,gettype_oEefcMm); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_after_getitems',function (e) +{ + e.preventDefault(); + var add_php_after_getitems_oEefcMm = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); + var gettype_oEefcMm = jQuery("#jform_gettype").val(); + oEefcMm(add_php_after_getitems_oEefcMm,gettype_oEefcMm); + +}); + +// #jform_gettype listeners for gettype_oEefcMm function +jQuery('#jform_gettype').on('keyup',function() +{ + var add_php_after_getitems_oEefcMm = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); + var gettype_oEefcMm = jQuery("#jform_gettype").val(); + oEefcMm(add_php_after_getitems_oEefcMm,gettype_oEefcMm); + +}); +jQuery('#adminForm').on('change', '#jform_gettype',function (e) +{ + e.preventDefault(); + var add_php_after_getitems_oEefcMm = jQuery("#jform_add_php_after_getitems input[type='radio']:checked").val(); + var gettype_oEefcMm = jQuery("#jform_gettype").val(); + oEefcMm(add_php_after_getitems_oEefcMm,gettype_oEefcMm); + +}); + +// #jform_gettype listeners for gettype_pQuokmM function +jQuery('#jform_gettype').on('keyup',function() +{ + var gettype_pQuokmM = jQuery("#jform_gettype").val(); + pQuokmM(gettype_pQuokmM); + +}); +jQuery('#adminForm').on('change', '#jform_gettype',function (e) +{ + e.preventDefault(); + var gettype_pQuokmM = jQuery("#jform_gettype").val(); + pQuokmM(gettype_pQuokmM); + +}); + +// #jform_gettype listeners for gettype_DexlzKN function +jQuery('#jform_gettype').on('keyup',function() +{ + var gettype_DexlzKN = jQuery("#jform_gettype").val(); + DexlzKN(gettype_DexlzKN); + +}); +jQuery('#adminForm').on('change', '#jform_gettype',function (e) +{ + e.preventDefault(); + var gettype_DexlzKN = jQuery("#jform_gettype").val(); + DexlzKN(gettype_DexlzKN); + +}); + + +<?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/views/dynamic_get/tmpl/index.html b/admin/views/dynamic_get/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/dynamic_get/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/dynamic_get/view.html.php b/admin/views/dynamic_get/view.html.php new file mode 100644 index 000000000..974926839 --- /dev/null +++ b/admin/views/dynamic_get/view.html.php @@ -0,0 +1,203 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/dynamic_gets/index.html b/admin/views/dynamic_gets/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/dynamic_gets/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/dynamic_gets/tmpl/default.php b/admin/views/dynamic_gets/tmpl/default.php new file mode 100644 index 000000000..b820a7404 --- /dev/null +++ b/admin/views/dynamic_gets/tmpl/default.php @@ -0,0 +1,100 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/dynamic_gets/tmpl/default_batch_body.php b/admin/views/dynamic_gets/tmpl/default_batch_body.php new file mode 100644 index 000000000..c457953ce --- /dev/null +++ b/admin/views/dynamic_gets/tmpl/default_batch_body.php @@ -0,0 +1,33 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/dynamic_gets/tmpl/default_batch_footer.php b/admin/views/dynamic_gets/tmpl/default_batch_footer.php new file mode 100644 index 000000000..8afd33ea0 --- /dev/null +++ b/admin/views/dynamic_gets/tmpl/default_batch_footer.php @@ -0,0 +1,38 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/dynamic_gets/tmpl/default_body.php b/admin/views/dynamic_gets/tmpl/default_body.php new file mode 100644 index 000000000..5289d73cf --- /dev/null +++ b/admin/views/dynamic_gets/tmpl/default_body.php @@ -0,0 +1,115 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/dynamic_gets/tmpl/default_foot.php b/admin/views/dynamic_gets/tmpl/default_foot.php new file mode 100644 index 000000000..fa4acb9a8 --- /dev/null +++ b/admin/views/dynamic_gets/tmpl/default_foot.php @@ -0,0 +1,33 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/dynamic_gets/tmpl/default_head.php b/admin/views/dynamic_gets/tmpl/default_head.php new file mode 100644 index 000000000..35802fb3e --- /dev/null +++ b/admin/views/dynamic_gets/tmpl/default_head.php @@ -0,0 +1,68 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/dynamic_gets/tmpl/default_toolbar.php b/admin/views/dynamic_gets/tmpl/default_toolbar.php new file mode 100644 index 000000000..49489126c --- /dev/null +++ b/admin/views/dynamic_gets/tmpl/default_toolbar.php @@ -0,0 +1,60 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/dynamic_gets/tmpl/index.html b/admin/views/dynamic_gets/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/dynamic_gets/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/dynamic_gets/view.html.php b/admin/views/dynamic_gets/view.html.php new file mode 100644 index 000000000..299757e2b --- /dev/null +++ b/admin/views/dynamic_gets/view.html.php @@ -0,0 +1,369 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/field/submitbutton.js b/admin/views/field/submitbutton.js new file mode 100644 index 000000000..63eefa8d5 --- /dev/null +++ b/admin/views/field/submitbutton.js @@ -0,0 +1,50 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/field/tmpl/edit.php b/admin/views/field/tmpl/edit.php new file mode 100644 index 000000000..1731fab33 --- /dev/null +++ b/admin/views/field/tmpl/edit.php @@ -0,0 +1,295 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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 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 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_odulURe function +jQuery('#jform_datalenght').on('keyup',function() +{ + var datalenght_odulURe = jQuery("#jform_datalenght").val(); + odulURe(datalenght_odulURe); + +}); +jQuery('#adminForm').on('change', '#jform_datalenght',function (e) +{ + e.preventDefault(); + var datalenght_odulURe = jQuery("#jform_datalenght").val(); + odulURe(datalenght_odulURe); + +}); + +// #jform_datadefault listeners for datadefault_DJPbqmG function +jQuery('#jform_datadefault').on('keyup',function() +{ + var datadefault_DJPbqmG = jQuery("#jform_datadefault").val(); + DJPbqmG(datadefault_DJPbqmG); + +}); +jQuery('#adminForm').on('change', '#jform_datadefault',function (e) +{ + e.preventDefault(); + var datadefault_DJPbqmG = jQuery("#jform_datadefault").val(); + DJPbqmG(datadefault_DJPbqmG); + +}); + +// #jform_datatype listeners for datatype_LpOkvnX function +jQuery('#jform_datatype').on('keyup',function() +{ + var datatype_LpOkvnX = jQuery("#jform_datatype").val(); + LpOkvnX(datatype_LpOkvnX); + +}); +jQuery('#adminForm').on('change', '#jform_datatype',function (e) +{ + e.preventDefault(); + var datatype_LpOkvnX = jQuery("#jform_datatype").val(); + LpOkvnX(datatype_LpOkvnX); + +}); + +// #jform_store listeners for store_ZXWBoOl function +jQuery('#jform_store').on('keyup',function() +{ + var store_ZXWBoOl = jQuery("#jform_store").val(); + var datatype_ZXWBoOl = jQuery("#jform_datatype").val(); + ZXWBoOl(store_ZXWBoOl,datatype_ZXWBoOl); + +}); +jQuery('#adminForm').on('change', '#jform_store',function (e) +{ + e.preventDefault(); + var store_ZXWBoOl = jQuery("#jform_store").val(); + var datatype_ZXWBoOl = jQuery("#jform_datatype").val(); + ZXWBoOl(store_ZXWBoOl,datatype_ZXWBoOl); + +}); + +// #jform_datatype listeners for datatype_ZXWBoOl function +jQuery('#jform_datatype').on('keyup',function() +{ + var store_ZXWBoOl = jQuery("#jform_store").val(); + var datatype_ZXWBoOl = jQuery("#jform_datatype").val(); + ZXWBoOl(store_ZXWBoOl,datatype_ZXWBoOl); + +}); +jQuery('#adminForm').on('change', '#jform_datatype',function (e) +{ + e.preventDefault(); + var store_ZXWBoOl = jQuery("#jform_store").val(); + var datatype_ZXWBoOl = jQuery("#jform_datatype").val(); + ZXWBoOl(store_ZXWBoOl,datatype_ZXWBoOl); + +}); + +// #jform_add_css_view listeners for add_css_view_wrNjHBT function +jQuery('#jform_add_css_view').on('keyup',function() +{ + var add_css_view_wrNjHBT = jQuery("#jform_add_css_view input[type='radio']:checked").val(); + wrNjHBT(add_css_view_wrNjHBT); + +}); +jQuery('#adminForm').on('change', '#jform_add_css_view',function (e) +{ + e.preventDefault(); + var add_css_view_wrNjHBT = jQuery("#jform_add_css_view input[type='radio']:checked").val(); + wrNjHBT(add_css_view_wrNjHBT); + +}); + +// #jform_add_css_views listeners for add_css_views_tkSrzJl function +jQuery('#jform_add_css_views').on('keyup',function() +{ + var add_css_views_tkSrzJl = jQuery("#jform_add_css_views input[type='radio']:checked").val(); + tkSrzJl(add_css_views_tkSrzJl); + +}); +jQuery('#adminForm').on('change', '#jform_add_css_views',function (e) +{ + e.preventDefault(); + var add_css_views_tkSrzJl = jQuery("#jform_add_css_views input[type='radio']:checked").val(); + tkSrzJl(add_css_views_tkSrzJl); + +}); + +// #jform_add_javascript_view_footer listeners for add_javascript_view_footer_QOZdfZq function +jQuery('#jform_add_javascript_view_footer').on('keyup',function() +{ + var add_javascript_view_footer_QOZdfZq = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); + QOZdfZq(add_javascript_view_footer_QOZdfZq); + +}); +jQuery('#adminForm').on('change', '#jform_add_javascript_view_footer',function (e) +{ + e.preventDefault(); + var add_javascript_view_footer_QOZdfZq = jQuery("#jform_add_javascript_view_footer input[type='radio']:checked").val(); + QOZdfZq(add_javascript_view_footer_QOZdfZq); + +}); + +// #jform_add_javascript_views_footer listeners for add_javascript_views_footer_oaPXjps function +jQuery('#jform_add_javascript_views_footer').on('keyup',function() +{ + var add_javascript_views_footer_oaPXjps = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); + oaPXjps(add_javascript_views_footer_oaPXjps); + +}); +jQuery('#adminForm').on('change', '#jform_add_javascript_views_footer',function (e) +{ + e.preventDefault(); + var add_javascript_views_footer_oaPXjps = jQuery("#jform_add_javascript_views_footer input[type='radio']:checked").val(); + oaPXjps(add_javascript_views_footer_oaPXjps); + +}); + + +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/views/field/tmpl/index.html b/admin/views/field/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/field/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/field/view.html.php b/admin/views/field/view.html.php new file mode 100644 index 000000000..38aa58a60 --- /dev/null +++ b/admin/views/field/view.html.php @@ -0,0 +1,203 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/fields/index.html b/admin/views/fields/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/fields/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/fields/tmpl/default.php b/admin/views/fields/tmpl/default.php new file mode 100644 index 000000000..d97b83ff7 --- /dev/null +++ b/admin/views/fields/tmpl/default.php @@ -0,0 +1,100 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/fields/tmpl/default_batch_body.php b/admin/views/fields/tmpl/default_batch_body.php new file mode 100644 index 000000000..077e5b6d3 --- /dev/null +++ b/admin/views/fields/tmpl/default_batch_body.php @@ -0,0 +1,33 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/fields/tmpl/default_batch_footer.php b/admin/views/fields/tmpl/default_batch_footer.php new file mode 100644 index 000000000..bb49e4ab3 --- /dev/null +++ b/admin/views/fields/tmpl/default_batch_footer.php @@ -0,0 +1,38 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/fields/tmpl/default_body.php b/admin/views/fields/tmpl/default_body.php new file mode 100644 index 000000000..20cd8d9eb --- /dev/null +++ b/admin/views/fields/tmpl/default_body.php @@ -0,0 +1,137 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/fields/tmpl/default_foot.php b/admin/views/fields/tmpl/default_foot.php new file mode 100644 index 000000000..60a985264 --- /dev/null +++ b/admin/views/fields/tmpl/default_foot.php @@ -0,0 +1,33 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/fields/tmpl/default_head.php b/admin/views/fields/tmpl/default_head.php new file mode 100644 index 000000000..4c4c3ba58 --- /dev/null +++ b/admin/views/fields/tmpl/default_head.php @@ -0,0 +1,80 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/fields/tmpl/default_toolbar.php b/admin/views/fields/tmpl/default_toolbar.php new file mode 100644 index 000000000..d7142b8f8 --- /dev/null +++ b/admin/views/fields/tmpl/default_toolbar.php @@ -0,0 +1,60 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/fields/tmpl/index.html b/admin/views/fields/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/fields/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/fields/view.html.php b/admin/views/fields/view.html.php new file mode 100644 index 000000000..0ca2d78f2 --- /dev/null +++ b/admin/views/fields/view.html.php @@ -0,0 +1,528 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/fieldtype/submitbutton.js b/admin/views/fieldtype/submitbutton.js new file mode 100644 index 000000000..789efd7bc --- /dev/null +++ b/admin/views/fieldtype/submitbutton.js @@ -0,0 +1,50 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/fieldtype/tmpl/edit.php b/admin/views/fieldtype/tmpl/edit.php new file mode 100644 index 000000000..d9749bdaa --- /dev/null +++ b/admin/views/fieldtype/tmpl/edit.php @@ -0,0 +1,101 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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 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 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 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/views/fieldtype/tmpl/index.html b/admin/views/fieldtype/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/fieldtype/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/fieldtype/view.html.php b/admin/views/fieldtype/view.html.php new file mode 100644 index 000000000..1d0d29ee8 --- /dev/null +++ b/admin/views/fieldtype/view.html.php @@ -0,0 +1,228 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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->pbsfields = $this->get('Pbsfields'); + + // 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/views/fieldtypes/index.html b/admin/views/fieldtypes/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/fieldtypes/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/fieldtypes/tmpl/default.php b/admin/views/fieldtypes/tmpl/default.php new file mode 100644 index 000000000..cbdf4e5d4 --- /dev/null +++ b/admin/views/fieldtypes/tmpl/default.php @@ -0,0 +1,100 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/fieldtypes/tmpl/default_batch_body.php b/admin/views/fieldtypes/tmpl/default_batch_body.php new file mode 100644 index 000000000..b98cb4576 --- /dev/null +++ b/admin/views/fieldtypes/tmpl/default_batch_body.php @@ -0,0 +1,33 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/fieldtypes/tmpl/default_batch_footer.php b/admin/views/fieldtypes/tmpl/default_batch_footer.php new file mode 100644 index 000000000..96915205b --- /dev/null +++ b/admin/views/fieldtypes/tmpl/default_batch_footer.php @@ -0,0 +1,38 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/fieldtypes/tmpl/default_body.php b/admin/views/fieldtypes/tmpl/default_body.php new file mode 100644 index 000000000..e15372c6d --- /dev/null +++ b/admin/views/fieldtypes/tmpl/default_body.php @@ -0,0 +1,119 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/fieldtypes/tmpl/default_foot.php b/admin/views/fieldtypes/tmpl/default_foot.php new file mode 100644 index 000000000..fa4acb9a8 --- /dev/null +++ b/admin/views/fieldtypes/tmpl/default_foot.php @@ -0,0 +1,33 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/fieldtypes/tmpl/default_head.php b/admin/views/fieldtypes/tmpl/default_head.php new file mode 100644 index 000000000..17cad638e --- /dev/null +++ b/admin/views/fieldtypes/tmpl/default_head.php @@ -0,0 +1,68 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/fieldtypes/tmpl/default_toolbar.php b/admin/views/fieldtypes/tmpl/default_toolbar.php new file mode 100644 index 000000000..759c772fb --- /dev/null +++ b/admin/views/fieldtypes/tmpl/default_toolbar.php @@ -0,0 +1,60 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/fieldtypes/tmpl/index.html b/admin/views/fieldtypes/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/fieldtypes/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/fieldtypes/view.html.php b/admin/views/fieldtypes/view.html.php new file mode 100644 index 000000000..7707891a5 --- /dev/null +++ b/admin/views/fieldtypes/view.html.php @@ -0,0 +1,270 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/help_document/submitbutton.js b/admin/views/help_document/submitbutton.js new file mode 100644 index 000000000..fcf0801af --- /dev/null +++ b/admin/views/help_document/submitbutton.js @@ -0,0 +1,50 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/help_document/tmpl/edit.php b/admin/views/help_document/tmpl/edit.php new file mode 100644 index 000000000..32019f778 --- /dev/null +++ b/admin/views/help_document/tmpl/edit.php @@ -0,0 +1,194 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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 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 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_LsMmLfT function +jQuery('#jform_location').on('keyup',function() +{ + var location_LsMmLfT = jQuery("#jform_location input[type='radio']:checked").val(); + LsMmLfT(location_LsMmLfT); + +}); +jQuery('#adminForm').on('change', '#jform_location',function (e) +{ + e.preventDefault(); + var location_LsMmLfT = jQuery("#jform_location input[type='radio']:checked").val(); + LsMmLfT(location_LsMmLfT); + +}); + +// #jform_location listeners for location_TWLSbOQ function +jQuery('#jform_location').on('keyup',function() +{ + var location_TWLSbOQ = jQuery("#jform_location input[type='radio']:checked").val(); + TWLSbOQ(location_TWLSbOQ); + +}); +jQuery('#adminForm').on('change', '#jform_location',function (e) +{ + e.preventDefault(); + var location_TWLSbOQ = jQuery("#jform_location input[type='radio']:checked").val(); + TWLSbOQ(location_TWLSbOQ); + +}); + +// #jform_type listeners for type_yFtNPtF function +jQuery('#jform_type').on('keyup',function() +{ + var type_yFtNPtF = jQuery("#jform_type").val(); + yFtNPtF(type_yFtNPtF); + +}); +jQuery('#adminForm').on('change', '#jform_type',function (e) +{ + e.preventDefault(); + var type_yFtNPtF = jQuery("#jform_type").val(); + yFtNPtF(type_yFtNPtF); + +}); + +// #jform_type listeners for type_gIDlqEy function +jQuery('#jform_type').on('keyup',function() +{ + var type_gIDlqEy = jQuery("#jform_type").val(); + gIDlqEy(type_gIDlqEy); + +}); +jQuery('#adminForm').on('change', '#jform_type',function (e) +{ + e.preventDefault(); + var type_gIDlqEy = jQuery("#jform_type").val(); + gIDlqEy(type_gIDlqEy); + +}); + +// #jform_type listeners for type_nJukvrT function +jQuery('#jform_type').on('keyup',function() +{ + var type_nJukvrT = jQuery("#jform_type").val(); + nJukvrT(type_nJukvrT); + +}); +jQuery('#adminForm').on('change', '#jform_type',function (e) +{ + e.preventDefault(); + var type_nJukvrT = jQuery("#jform_type").val(); + nJukvrT(type_nJukvrT); + +}); + +// #jform_target listeners for target_hGjAuYO function +jQuery('#jform_target').on('keyup',function() +{ + var target_hGjAuYO = jQuery("#jform_target input[type='radio']:checked").val(); + hGjAuYO(target_hGjAuYO); + +}); +jQuery('#adminForm').on('change', '#jform_target',function (e) +{ + e.preventDefault(); + var target_hGjAuYO = jQuery("#jform_target input[type='radio']:checked").val(); + hGjAuYO(target_hGjAuYO); + +}); + +</script> diff --git a/admin/views/help_document/tmpl/index.html b/admin/views/help_document/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/help_document/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/help_document/view.html.php b/admin/views/help_document/view.html.php new file mode 100644 index 000000000..1079c0600 --- /dev/null +++ b/admin/views/help_document/view.html.php @@ -0,0 +1,201 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/help_documents/index.html b/admin/views/help_documents/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/help_documents/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/help_documents/tmpl/default.php b/admin/views/help_documents/tmpl/default.php new file mode 100644 index 000000000..3f5e58b69 --- /dev/null +++ b/admin/views/help_documents/tmpl/default.php @@ -0,0 +1,100 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/help_documents/tmpl/default_batch_body.php b/admin/views/help_documents/tmpl/default_batch_body.php new file mode 100644 index 000000000..67719ab2b --- /dev/null +++ b/admin/views/help_documents/tmpl/default_batch_body.php @@ -0,0 +1,33 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/help_documents/tmpl/default_batch_footer.php b/admin/views/help_documents/tmpl/default_batch_footer.php new file mode 100644 index 000000000..955f27881 --- /dev/null +++ b/admin/views/help_documents/tmpl/default_batch_footer.php @@ -0,0 +1,38 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/help_documents/tmpl/default_body.php b/admin/views/help_documents/tmpl/default_body.php new file mode 100644 index 000000000..bfc7faca3 --- /dev/null +++ b/admin/views/help_documents/tmpl/default_body.php @@ -0,0 +1,124 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/help_documents/tmpl/default_foot.php b/admin/views/help_documents/tmpl/default_foot.php new file mode 100644 index 000000000..d99827b3d --- /dev/null +++ b/admin/views/help_documents/tmpl/default_foot.php @@ -0,0 +1,33 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/help_documents/tmpl/default_head.php b/admin/views/help_documents/tmpl/default_head.php new file mode 100644 index 000000000..a91924059 --- /dev/null +++ b/admin/views/help_documents/tmpl/default_head.php @@ -0,0 +1,77 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/help_documents/tmpl/default_toolbar.php b/admin/views/help_documents/tmpl/default_toolbar.php new file mode 100644 index 000000000..0756324fd --- /dev/null +++ b/admin/views/help_documents/tmpl/default_toolbar.php @@ -0,0 +1,60 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/help_documents/tmpl/index.html b/admin/views/help_documents/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/help_documents/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/help_documents/view.html.php b/admin/views/help_documents/view.html.php new file mode 100644 index 000000000..05921380a --- /dev/null +++ b/admin/views/help_documents/view.html.php @@ -0,0 +1,479 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/import/index.html b/admin/views/import/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/import/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/import/tmpl/default.php b/admin/views/import/tmpl/default.php new file mode 100644 index 000000000..a2439a839 --- /dev/null +++ b/admin/views/import/tmpl/default.php @@ -0,0 +1,234 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/import/tmpl/index.html b/admin/views/import/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/import/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/import/view.html.php b/admin/views/import/view.html.php new file mode 100644 index 000000000..a64565b3e --- /dev/null +++ b/admin/views/import/view.html.php @@ -0,0 +1,111 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/index.html b/admin/views/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/layout/submitbutton.js b/admin/views/layout/submitbutton.js new file mode 100644 index 000000000..a1050ef47 --- /dev/null +++ b/admin/views/layout/submitbutton.js @@ -0,0 +1,50 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/layout/tmpl/edit.php b/admin/views/layout/tmpl/edit.php new file mode 100644 index 000000000..16313ae99 --- /dev/null +++ b/admin/views/layout/tmpl/edit.php @@ -0,0 +1,187 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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 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 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_GfhPETH function +jQuery('#jform_add_php_view').on('keyup',function() +{ + var add_php_view_GfhPETH = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + GfhPETH(add_php_view_GfhPETH); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_view',function (e) +{ + e.preventDefault(); + var add_php_view_GfhPETH = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + GfhPETH(add_php_view_GfhPETH); + +}); + + +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/views/layout/tmpl/index.html b/admin/views/layout/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/layout/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/layout/view.html.php b/admin/views/layout/view.html.php new file mode 100644 index 000000000..bb451aae0 --- /dev/null +++ b/admin/views/layout/view.html.php @@ -0,0 +1,203 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/layouts/index.html b/admin/views/layouts/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/layouts/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/layouts/tmpl/default.php b/admin/views/layouts/tmpl/default.php new file mode 100644 index 000000000..010a72152 --- /dev/null +++ b/admin/views/layouts/tmpl/default.php @@ -0,0 +1,100 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/layouts/tmpl/default_batch_body.php b/admin/views/layouts/tmpl/default_batch_body.php new file mode 100644 index 000000000..47358d662 --- /dev/null +++ b/admin/views/layouts/tmpl/default_batch_body.php @@ -0,0 +1,33 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/layouts/tmpl/default_batch_footer.php b/admin/views/layouts/tmpl/default_batch_footer.php new file mode 100644 index 000000000..ef10b0064 --- /dev/null +++ b/admin/views/layouts/tmpl/default_batch_footer.php @@ -0,0 +1,38 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/layouts/tmpl/default_body.php b/admin/views/layouts/tmpl/default_body.php new file mode 100644 index 000000000..34070e363 --- /dev/null +++ b/admin/views/layouts/tmpl/default_body.php @@ -0,0 +1,124 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/layouts/tmpl/default_foot.php b/admin/views/layouts/tmpl/default_foot.php new file mode 100644 index 000000000..039940e09 --- /dev/null +++ b/admin/views/layouts/tmpl/default_foot.php @@ -0,0 +1,33 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/layouts/tmpl/default_head.php b/admin/views/layouts/tmpl/default_head.php new file mode 100644 index 000000000..e51dde455 --- /dev/null +++ b/admin/views/layouts/tmpl/default_head.php @@ -0,0 +1,71 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/layouts/tmpl/default_toolbar.php b/admin/views/layouts/tmpl/default_toolbar.php new file mode 100644 index 000000000..e24c29647 --- /dev/null +++ b/admin/views/layouts/tmpl/default_toolbar.php @@ -0,0 +1,60 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/layouts/tmpl/index.html b/admin/views/layouts/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/layouts/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/layouts/view.html.php b/admin/views/layouts/view.html.php new file mode 100644 index 000000000..fdd425888 --- /dev/null +++ b/admin/views/layouts/view.html.php @@ -0,0 +1,276 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/site_view/submitbutton.js b/admin/views/site_view/submitbutton.js new file mode 100644 index 000000000..b1c31e45c --- /dev/null +++ b/admin/views/site_view/submitbutton.js @@ -0,0 +1,50 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/site_view/tmpl/edit.php b/admin/views/site_view/tmpl/edit.php new file mode 100644 index 000000000..753ce9030 --- /dev/null +++ b/admin/views/site_view/tmpl/edit.php @@ -0,0 +1,359 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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 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 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_LpuMPaf function +jQuery('#jform_add_php_view').on('keyup',function() +{ + var add_php_view_LpuMPaf = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + LpuMPaf(add_php_view_LpuMPaf); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_view',function (e) +{ + e.preventDefault(); + var add_php_view_LpuMPaf = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + LpuMPaf(add_php_view_LpuMPaf); + +}); + +// #jform_add_php_jview_display listeners for add_php_jview_display_UbkxbKz function +jQuery('#jform_add_php_jview_display').on('keyup',function() +{ + var add_php_jview_display_UbkxbKz = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); + UbkxbKz(add_php_jview_display_UbkxbKz); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_jview_display',function (e) +{ + e.preventDefault(); + var add_php_jview_display_UbkxbKz = jQuery("#jform_add_php_jview_display input[type='radio']:checked").val(); + UbkxbKz(add_php_jview_display_UbkxbKz); + +}); + +// #jform_add_php_jview listeners for add_php_jview_UkONGHP function +jQuery('#jform_add_php_jview').on('keyup',function() +{ + var add_php_jview_UkONGHP = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); + UkONGHP(add_php_jview_UkONGHP); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_jview',function (e) +{ + e.preventDefault(); + var add_php_jview_UkONGHP = jQuery("#jform_add_php_jview input[type='radio']:checked").val(); + UkONGHP(add_php_jview_UkONGHP); + +}); + +// #jform_add_php_document listeners for add_php_document_bJKCoAD function +jQuery('#jform_add_php_document').on('keyup',function() +{ + var add_php_document_bJKCoAD = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + bJKCoAD(add_php_document_bJKCoAD); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_document',function (e) +{ + e.preventDefault(); + var add_php_document_bJKCoAD = jQuery("#jform_add_php_document input[type='radio']:checked").val(); + bJKCoAD(add_php_document_bJKCoAD); + +}); + +// #jform_add_css_document listeners for add_css_document_NLIYoKI function +jQuery('#jform_add_css_document').on('keyup',function() +{ + var add_css_document_NLIYoKI = jQuery("#jform_add_css_document input[type='radio']:checked").val(); + NLIYoKI(add_css_document_NLIYoKI); + +}); +jQuery('#adminForm').on('change', '#jform_add_css_document',function (e) +{ + e.preventDefault(); + var add_css_document_NLIYoKI = jQuery("#jform_add_css_document input[type='radio']:checked").val(); + NLIYoKI(add_css_document_NLIYoKI); + +}); + +// #jform_add_js_document listeners for add_js_document_vdKpTjW function +jQuery('#jform_add_js_document').on('keyup',function() +{ + var add_js_document_vdKpTjW = jQuery("#jform_add_js_document input[type='radio']:checked").val(); + vdKpTjW(add_js_document_vdKpTjW); + +}); +jQuery('#adminForm').on('change', '#jform_add_js_document',function (e) +{ + e.preventDefault(); + var add_js_document_vdKpTjW = jQuery("#jform_add_js_document input[type='radio']:checked").val(); + vdKpTjW(add_js_document_vdKpTjW); + +}); + +// #jform_add_css listeners for add_css_eFFQiSs function +jQuery('#jform_add_css').on('keyup',function() +{ + var add_css_eFFQiSs = jQuery("#jform_add_css input[type='radio']:checked").val(); + eFFQiSs(add_css_eFFQiSs); + +}); +jQuery('#adminForm').on('change', '#jform_add_css',function (e) +{ + e.preventDefault(); + var add_css_eFFQiSs = jQuery("#jform_add_css input[type='radio']:checked").val(); + eFFQiSs(add_css_eFFQiSs); + +}); + +// #jform_add_php_ajax listeners for add_php_ajax_jcUPaiB function +jQuery('#jform_add_php_ajax').on('keyup',function() +{ + var add_php_ajax_jcUPaiB = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); + jcUPaiB(add_php_ajax_jcUPaiB); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_ajax',function (e) +{ + e.preventDefault(); + var add_php_ajax_jcUPaiB = jQuery("#jform_add_php_ajax input[type='radio']:checked").val(); + jcUPaiB(add_php_ajax_jcUPaiB); + +}); + +// #jform_add_custom_button listeners for add_custom_button_jqMQDza function +jQuery('#jform_add_custom_button').on('keyup',function() +{ + var add_custom_button_jqMQDza = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + jqMQDza(add_custom_button_jqMQDza); + +}); +jQuery('#adminForm').on('change', '#jform_add_custom_button',function (e) +{ + e.preventDefault(); + var add_custom_button_jqMQDza = jQuery("#jform_add_custom_button input[type='radio']:checked").val(); + jqMQDza(add_custom_button_jqMQDza); + +}); + + +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/views/site_view/tmpl/index.html b/admin/views/site_view/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/site_view/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/site_view/view.html.php b/admin/views/site_view/view.html.php new file mode 100644 index 000000000..826b7a904 --- /dev/null +++ b/admin/views/site_view/view.html.php @@ -0,0 +1,203 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/site_views/index.html b/admin/views/site_views/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/site_views/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/site_views/tmpl/default.php b/admin/views/site_views/tmpl/default.php new file mode 100644 index 000000000..8e28f49e8 --- /dev/null +++ b/admin/views/site_views/tmpl/default.php @@ -0,0 +1,100 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/site_views/tmpl/default_batch_body.php b/admin/views/site_views/tmpl/default_batch_body.php new file mode 100644 index 000000000..a2d926cc5 --- /dev/null +++ b/admin/views/site_views/tmpl/default_batch_body.php @@ -0,0 +1,33 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/site_views/tmpl/default_batch_footer.php b/admin/views/site_views/tmpl/default_batch_footer.php new file mode 100644 index 000000000..c78e1ef9e --- /dev/null +++ b/admin/views/site_views/tmpl/default_batch_footer.php @@ -0,0 +1,38 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/site_views/tmpl/default_body.php b/admin/views/site_views/tmpl/default_body.php new file mode 100644 index 000000000..245c64d45 --- /dev/null +++ b/admin/views/site_views/tmpl/default_body.php @@ -0,0 +1,121 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/site_views/tmpl/default_foot.php b/admin/views/site_views/tmpl/default_foot.php new file mode 100644 index 000000000..3f81bcde2 --- /dev/null +++ b/admin/views/site_views/tmpl/default_foot.php @@ -0,0 +1,33 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/site_views/tmpl/default_head.php b/admin/views/site_views/tmpl/default_head.php new file mode 100644 index 000000000..3207357d3 --- /dev/null +++ b/admin/views/site_views/tmpl/default_head.php @@ -0,0 +1,74 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/site_views/tmpl/default_toolbar.php b/admin/views/site_views/tmpl/default_toolbar.php new file mode 100644 index 000000000..5bd8d670d --- /dev/null +++ b/admin/views/site_views/tmpl/default_toolbar.php @@ -0,0 +1,60 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/site_views/tmpl/index.html b/admin/views/site_views/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/site_views/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/site_views/view.html.php b/admin/views/site_views/view.html.php new file mode 100644 index 000000000..1bc50d81a --- /dev/null +++ b/admin/views/site_views/view.html.php @@ -0,0 +1,254 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/snippet/submitbutton.js b/admin/views/snippet/submitbutton.js new file mode 100644 index 000000000..dc25fc495 --- /dev/null +++ b/admin/views/snippet/submitbutton.js @@ -0,0 +1,50 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/snippet/tmpl/edit.php b/admin/views/snippet/tmpl/edit.php new file mode 100644 index 000000000..6bfe22acc --- /dev/null +++ b/admin/views/snippet/tmpl/edit.php @@ -0,0 +1,92 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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 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 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/views/snippet/tmpl/index.html b/admin/views/snippet/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/snippet/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/snippet/view.html.php b/admin/views/snippet/view.html.php new file mode 100644 index 000000000..75356e676 --- /dev/null +++ b/admin/views/snippet/view.html.php @@ -0,0 +1,201 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/snippets/index.html b/admin/views/snippets/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/snippets/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/snippets/tmpl/default.php b/admin/views/snippets/tmpl/default.php new file mode 100644 index 000000000..b1151b540 --- /dev/null +++ b/admin/views/snippets/tmpl/default.php @@ -0,0 +1,100 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/snippets/tmpl/default_batch_body.php b/admin/views/snippets/tmpl/default_batch_body.php new file mode 100644 index 000000000..51df0a76e --- /dev/null +++ b/admin/views/snippets/tmpl/default_batch_body.php @@ -0,0 +1,33 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/snippets/tmpl/default_batch_footer.php b/admin/views/snippets/tmpl/default_batch_footer.php new file mode 100644 index 000000000..8203d7a44 --- /dev/null +++ b/admin/views/snippets/tmpl/default_batch_footer.php @@ -0,0 +1,38 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/snippets/tmpl/default_body.php b/admin/views/snippets/tmpl/default_body.php new file mode 100644 index 000000000..7531cf48b --- /dev/null +++ b/admin/views/snippets/tmpl/default_body.php @@ -0,0 +1,118 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/snippets/tmpl/default_foot.php b/admin/views/snippets/tmpl/default_foot.php new file mode 100644 index 000000000..039940e09 --- /dev/null +++ b/admin/views/snippets/tmpl/default_foot.php @@ -0,0 +1,33 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/snippets/tmpl/default_head.php b/admin/views/snippets/tmpl/default_head.php new file mode 100644 index 000000000..27d40e9d7 --- /dev/null +++ b/admin/views/snippets/tmpl/default_head.php @@ -0,0 +1,71 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/snippets/tmpl/default_toolbar.php b/admin/views/snippets/tmpl/default_toolbar.php new file mode 100644 index 000000000..264bffbd4 --- /dev/null +++ b/admin/views/snippets/tmpl/default_toolbar.php @@ -0,0 +1,60 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/snippets/tmpl/index.html b/admin/views/snippets/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/snippets/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/snippets/view.html.php b/admin/views/snippets/view.html.php new file mode 100644 index 000000000..234248f2f --- /dev/null +++ b/admin/views/snippets/view.html.php @@ -0,0 +1,312 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/template/submitbutton.js b/admin/views/template/submitbutton.js new file mode 100644 index 000000000..720f8ed7a --- /dev/null +++ b/admin/views/template/submitbutton.js @@ -0,0 +1,50 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/template/tmpl/edit.php b/admin/views/template/tmpl/edit.php new file mode 100644 index 000000000..b47bc9605 --- /dev/null +++ b/admin/views/template/tmpl/edit.php @@ -0,0 +1,188 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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 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 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_VeAOEdd function +jQuery('#jform_add_php_view').on('keyup',function() +{ + var add_php_view_VeAOEdd = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + VeAOEdd(add_php_view_VeAOEdd); + +}); +jQuery('#adminForm').on('change', '#jform_add_php_view',function (e) +{ + e.preventDefault(); + var add_php_view_VeAOEdd = jQuery("#jform_add_php_view input[type='radio']:checked").val(); + VeAOEdd(add_php_view_VeAOEdd); + +}); + + +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/views/template/tmpl/index.html b/admin/views/template/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/template/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/template/view.html.php b/admin/views/template/view.html.php new file mode 100644 index 000000000..703f7dd51 --- /dev/null +++ b/admin/views/template/view.html.php @@ -0,0 +1,203 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/templates/index.html b/admin/views/templates/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/templates/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/templates/tmpl/default.php b/admin/views/templates/tmpl/default.php new file mode 100644 index 000000000..9f2285ba2 --- /dev/null +++ b/admin/views/templates/tmpl/default.php @@ -0,0 +1,100 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/templates/tmpl/default_batch_body.php b/admin/views/templates/tmpl/default_batch_body.php new file mode 100644 index 000000000..538fbab05 --- /dev/null +++ b/admin/views/templates/tmpl/default_batch_body.php @@ -0,0 +1,33 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/templates/tmpl/default_batch_footer.php b/admin/views/templates/tmpl/default_batch_footer.php new file mode 100644 index 000000000..619a5c618 --- /dev/null +++ b/admin/views/templates/tmpl/default_batch_footer.php @@ -0,0 +1,38 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/templates/tmpl/default_body.php b/admin/views/templates/tmpl/default_body.php new file mode 100644 index 000000000..f4d152ec7 --- /dev/null +++ b/admin/views/templates/tmpl/default_body.php @@ -0,0 +1,118 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/templates/tmpl/default_foot.php b/admin/views/templates/tmpl/default_foot.php new file mode 100644 index 000000000..039940e09 --- /dev/null +++ b/admin/views/templates/tmpl/default_foot.php @@ -0,0 +1,33 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/templates/tmpl/default_head.php b/admin/views/templates/tmpl/default_head.php new file mode 100644 index 000000000..4f141fbc5 --- /dev/null +++ b/admin/views/templates/tmpl/default_head.php @@ -0,0 +1,71 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/templates/tmpl/default_toolbar.php b/admin/views/templates/tmpl/default_toolbar.php new file mode 100644 index 000000000..8740dce1a --- /dev/null +++ b/admin/views/templates/tmpl/default_toolbar.php @@ -0,0 +1,60 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/views/templates/tmpl/index.html b/admin/views/templates/tmpl/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/admin/views/templates/tmpl/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/admin/views/templates/view.html.php b/admin/views/templates/view.html.php new file mode 100644 index 000000000..f8ef62c68 --- /dev/null +++ b/admin/views/templates/view.html.php @@ -0,0 +1,253 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/componentbuilder.xml b/componentbuilder.xml new file mode 100644 index 000000000..3db33e8cf --- /dev/null +++ b/componentbuilder.xml @@ -0,0 +1,113 @@ +<?xml version="1.0" encoding="utf-8"?> +<extension type="component" version="3.2" method="upgrade"> + <name>COM_COMPONENTBUILDER</name> + <creationDate>30th January, 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.0.8</version> + <description><![CDATA[ + <h1>Component Builder (v.2.0.8)</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_free_update_server.xml</server> + </updateservers> +</extension> \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/media/css/index.html b/media/css/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/media/css/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/media/footable/css/fonts/footable.eot b/media/footable/css/fonts/footable.eot new file mode 100644 index 0000000000000000000000000000000000000000..37229798b1b7a7929fc288fc36129700a42a3636 GIT binary patch literal 4824 zcmds5YiL~85uUmC?%rLktX=I&yNP5+tJOY89ou_X`*4!F-Zr)z8=DF@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x?1N>-DZBDKqf=jyyy zE}H25U%(mfz?Zqm+X&w<X%h$7)b^=H2o2j^wrkfepz5;iYarKtpqjOst%k0Fi)rA@ z#p#={l@(jdF{L9BsZ-ff`daToO-yn(3~IY!%ervEvhZdFTb;C*-r}!_ttkA$f=d!x z_UpF25?@(*THLe(OKt*2`(?w{O>IlZo;HItsGYm1riIxpnf#4%s>=>o+Dn<D+;wr} zjGKskyiK)N3%OLTx;1%cWey3gOhRu;YLR@@aVp%=p*!MbC*F<Qxif$)quUm_wB59A zO4Bz?+rgK}Tc+)!5WQ#Ge(*oUiDD-Rj(nKuwuO)Fe$%$;X}oJ`z5|(8OxuV3`-N%y z!T-bhPxjN()3f6zCnsp_m;2F)GnXdE@d-bozT0ONox!*L1SP4UzTuPf1lntV1<+iN zcGC`33i#0S;2w=kPtA@@&zzY^7Ix;7PbAyWXnMPM?A}qxdyradj@n}Qzz6mQza$)+ zn7MdvdMfGd#OuqasH?kFHfGaDvLk*VVT)~c*vEc$Ilw{g;1GB67VhFON4T4#9OEAD z<v1t!A%2+qxSzN3HhzQ$ILU*Y;vr6R#=SIkZX}=23*Em=J<~53I&5gs(2}8LLo0^v zHuP~rKX2$441LPbeTMEgbVO6n_~99R&)|Co-!u50!S@WlXYf6P?-_j0;Clw&Gx(mt x_YA&g@CydNVDJkCS#3lhE-thrupdHE7a7iM7F<X5gr{O>;XBiwbXNXe@^A6%PIdqQ literal 0 HcmV?d00001 diff --git a/media/footable/css/fonts/footable.svg b/media/footable/css/fonts/footable.svg new file mode 100644 index 000000000..5a6e1fda3 --- /dev/null +++ b/media/footable/css/fonts/footable.svg @@ -0,0 +1,78 @@ +<?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/media/footable/css/fonts/footable.ttf b/media/footable/css/fonts/footable.ttf new file mode 100644 index 0000000000000000000000000000000000000000..2d5c84ab167ac1569175744e0e0a2b25caa51132 GIT binary patch literal 4656 zcmds5YiwLs5uUmC?%rLm<6V30-PTF!^?DyFX_CF`eYh<l3r(CRN<>tu2q^~aq|T%A zV`Do}8bMjA28qXyf-3(&{ICj<P^eI<RE>l{iuwc9NJK(%0jd00e(?AKQKUXVNbK^> zIcL}JBE&!L`kXmu&dhvs9y8}&6BE%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XKfA%txZC2NNSOM z)NwZ4(V;uyWhdT^Te&lUETh{NxwOZ$ZA#HsOxwYi$eX6^qY%Ao+J5lg$BAMm2#$Q1 z>9$2(@L9KQdK&Lqy6r&bHPiNC|9)=Te(?W5=V%tc1)88U_;Q^jIyXDJFmYxIt!L0Z zPnW@-pgD9W&tIOJKw}gNGf)va2Z>2aP@eYT^C>}3plmd$xgL$sURCmt^xz(i&dw~1 z&d!~mOyu|F5>F&r&}e!idq?)>a~`BNnp@-HDPYghJY7^CC16#&pi`4`^A~4l65c*^ zK1N;LrLr;GK9U`oEVkHYhkfj4mjfK+4i0fA@8B*DbA-FOhojufeH`OBKg17nKkwvS zyqh240Z#BBCwYidoOUnITpZ2iazYQUQqT1Bh7KEAFtliB$<VT)BZfY1=%)?+jG<2% zddSejhK_3L89zLO?-_j0;Clw&Gx(mt_YA&g@I8a?8GO&+dj{V#_@2S{41V6==M8>7 mFRP6R#Knb{1olHH>LSCL&4BBup72D1mcKFU30?dDl79oCPds%1 literal 0 HcmV?d00001 diff --git a/media/footable/css/fonts/footable.woff b/media/footable/css/fonts/footable.woff new file mode 100644 index 0000000000000000000000000000000000000000..4864dbb5cc52f22eae9dfa910364d56aa04020d5 GIT binary patch literal 4016 zcma)<WmMG9+s41^E(=IVNJuVANq0&M3(_SW3rkB%H%rP&O9}``3zC8g$O4OiNF%s} z(kT8`k&=*j_8;eY^SpWHoNMM>pP9Mud*;<ls1X8TWNvN*05@6y3V_%I)d0}H#{b*y zA`mbD0FeOzr8NNXZ0&~De?}n84FG`3g}9o9C^pwWRk_-lS_mSGBYJkCV1OwAF)|aA zB(id%*CPrkw!HKU<>TZ}WCWsDCdM^gmEIrsaCIWaq827HQKDoo(n2^rh>*zah@OKe z9tbS}_3#M_BeE!>mm?}y=@UrA$0>{$kNOqSL;o#aW5CzR$Cb!>h<=-xBPV7q!r0$0 zFo<~GDk7sK3I>1yAgpB0I?_LPjsYu2c-&$QTd1}{!2<$@nvjg#nj>{eJVW|-X0!3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^Lcy?cP@+C8l~k9L`SOaiof#%f!UsasiHaj#P-@#5IsounhivM<wGe9s zoGWH;bPgXZMY*oJIRofGw{}_h_p2L)%*>p?TQ*9hC!n1{k^aADi~4;9O5mUegK?@* z82L?g&<ntq9K!tXdFMEQkF9W;9`jmVTr^mX01T3+391FFjkTn!KLR~>0AT`(#GnIe z9ZG6rlrt1S`5~zSu@Ykd;QiPB=nM%%oEnW*89jfT8ktE|#X>yw!v52tQIN0~<}l+` zE8N<_b0gO-0qhU8$>;~kgPB&BgsHSbI-bfoUhPu)zZW9kxF`Qjc0Wyu13vlo8}CEG z$;eHTf+&Q8?p40jJ+Z1~{rYToyFjM!3Hr=zv+%EQF{?e=aDj`*><*#jPI@T`rN?*M ze`-#8*=FRh#@l@6=tdX|O$kZP!%}d@Ic9ZDN0+gu4K{*pJ9!UnUTXjRTk)qNxMqx^ zT{gBdsdMy2qi~}gzwB}y6&v1&HC<{*1pme#|Mx4tN1ovdqy$kq_|HAM^$|bk(E#Ls E0QxaItpET3 literal 0 HcmV?d00001 diff --git a/media/footable/css/fonts/index.html b/media/footable/css/fonts/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/media/footable/css/fonts/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/media/footable/css/footable.core.css b/media/footable/css/footable.core.css new file mode 100644 index 000000000..d8accfb6b --- /dev/null +++ b/media/footable/css/footable.core.css @@ -0,0 +1,178 @@ +@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/media/footable/css/footable.core.min.css b/media/footable/css/footable.core.min.css new file mode 100644 index 000000000..22ad8439f --- /dev/null +++ b/media/footable/css/footable.core.min.css @@ -0,0 +1 @@ +@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/media/footable/css/footable.metro.css b/media/footable/css/footable.metro.css new file mode 100644 index 000000000..8bdb937ad --- /dev/null +++ b/media/footable/css/footable.metro.css @@ -0,0 +1,152 @@ +.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/media/footable/css/footable.metro.min.css b/media/footable/css/footable.metro.min.css new file mode 100644 index 000000000..e603acdb4 --- /dev/null +++ b/media/footable/css/footable.metro.min.css @@ -0,0 +1 @@ +.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/media/footable/css/footable.standalone.css b/media/footable/css/footable.standalone.css new file mode 100644 index 000000000..a6f44814e --- /dev/null +++ b/media/footable/css/footable.standalone.css @@ -0,0 +1,181 @@ +.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/media/footable/css/footable.standalone.min.css b/media/footable/css/footable.standalone.min.css new file mode 100644 index 000000000..5d375a29e --- /dev/null +++ b/media/footable/css/footable.standalone.min.css @@ -0,0 +1 @@ +.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/media/footable/css/index.html b/media/footable/css/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/media/footable/css/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/media/footable/dist/footable.all.min.js b/media/footable/dist/footable.all.min.js new file mode 100644 index 000000000..8c2e30c05 --- /dev/null +++ b/media/footable/dist/footable.all.min.js @@ -0,0 +1,14 @@ +/*! + * 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/media/footable/dist/footable.bookmarkable.min.js b/media/footable/dist/footable.bookmarkable.min.js new file mode 100644 index 000000000..ad2b1276d --- /dev/null +++ b/media/footable/dist/footable.bookmarkable.min.js @@ -0,0 +1 @@ +(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/media/footable/dist/footable.filter.min.js b/media/footable/dist/footable.filter.min.js new file mode 100644 index 000000000..ed3e36228 --- /dev/null +++ b/media/footable/dist/footable.filter.min.js @@ -0,0 +1 @@ +(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/media/footable/dist/footable.grid.min.js b/media/footable/dist/footable.grid.min.js new file mode 100644 index 000000000..7793ff78f --- /dev/null +++ b/media/footable/dist/footable.grid.min.js @@ -0,0 +1 @@ +(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/media/footable/dist/footable.min.js b/media/footable/dist/footable.min.js new file mode 100644 index 000000000..0486c570d --- /dev/null +++ b/media/footable/dist/footable.min.js @@ -0,0 +1,14 @@ +/*! + * 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/media/footable/dist/footable.paginate.min.js b/media/footable/dist/footable.paginate.min.js new file mode 100644 index 000000000..2b1a87ac5 --- /dev/null +++ b/media/footable/dist/footable.paginate.min.js @@ -0,0 +1 @@ +(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/media/footable/dist/footable.sort.min.js b/media/footable/dist/footable.sort.min.js new file mode 100644 index 000000000..917793dee --- /dev/null +++ b/media/footable/dist/footable.sort.min.js @@ -0,0 +1 @@ +(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/media/footable/dist/footable.striping.min.js b/media/footable/dist/footable.striping.min.js new file mode 100644 index 000000000..01161dd17 --- /dev/null +++ b/media/footable/dist/footable.striping.min.js @@ -0,0 +1 @@ +(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/media/footable/dist/index.html b/media/footable/dist/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/media/footable/dist/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/media/footable/icomoon/footable.json b/media/footable/icomoon/footable.json new file mode 100644 index 000000000..dda61384c --- /dev/null +++ b/media/footable/icomoon/footable.json @@ -0,0 +1 @@ +{"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,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t 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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,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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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/media/footable/icomoon/index.html b/media/footable/icomoon/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/media/footable/icomoon/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/media/footable/index.html b/media/footable/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/media/footable/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/media/footable/js/.jshintrc b/media/footable/js/.jshintrc new file mode 100644 index 000000000..6d98f8636 --- /dev/null +++ b/media/footable/js/.jshintrc @@ -0,0 +1,29 @@ +{ + "curly": false, + "eqeqeq": false, + "forin": false, + "indent": false, + "newcap": false, + "plusplus": false, + "quotmark": false, + "undef": false, + "unused": false, + "strict": false, + "trailing": false, + "maxparams": false, + "maxdepth": false, + "maxstatements": false, + "maxcomplexity": false, + "maxlen": false, + + "eqnull": true, + "loopfunc": true, + "smarttabs": true, + "sub": true, + + "browser": true, + "jquery": true, + "node": true, + + "white": false +} \ No newline at end of file diff --git a/media/footable/js/footable.bookmarkable.js b/media/footable/js/footable.bookmarkable.js new file mode 100644 index 000000000..0765cbf8c --- /dev/null +++ b/media/footable/js/footable.bookmarkable.js @@ -0,0 +1,170 @@ +(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/media/footable/js/footable.filter.js b/media/footable/js/footable.filter.js new file mode 100644 index 000000000..718dd7f85 --- /dev/null +++ b/media/footable/js/footable.filter.js @@ -0,0 +1,143 @@ +(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/media/footable/js/footable.grid.js b/media/footable/js/footable.grid.js new file mode 100644 index 000000000..6f6d96022 --- /dev/null +++ b/media/footable/js/footable.grid.js @@ -0,0 +1,373 @@ +(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/media/footable/js/footable.js b/media/footable/js/footable.js new file mode 100644 index 000000000..234e4f4ea --- /dev/null +++ b/media/footable/js/footable.js @@ -0,0 +1,824 @@ +/*! + * 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/media/footable/js/footable.memory.js b/media/footable/js/footable.memory.js new file mode 100644 index 000000000..487ed709f --- /dev/null +++ b/media/footable/js/footable.memory.js @@ -0,0 +1,429 @@ +/** + * 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/media/footable/js/footable.paginate.js b/media/footable/js/footable.paginate.js new file mode 100644 index 000000000..8f21c4534 --- /dev/null +++ b/media/footable/js/footable.paginate.js @@ -0,0 +1,242 @@ +(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/media/footable/js/footable.plugin.template.js b/media/footable/js/footable.plugin.template.js new file mode 100644 index 000000000..381cc5494 --- /dev/null +++ b/media/footable/js/footable.plugin.template.js @@ -0,0 +1,44 @@ +(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/media/footable/js/footable.sort.js b/media/footable/js/footable.sort.js new file mode 100644 index 000000000..ec3c04027 --- /dev/null +++ b/media/footable/js/footable.sort.js @@ -0,0 +1,190 @@ +(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/media/footable/js/footable.striping.js b/media/footable/js/footable.striping.js new file mode 100644 index 000000000..17c505b00 --- /dev/null +++ b/media/footable/js/footable.striping.js @@ -0,0 +1,57 @@ +(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/media/footable/js/index.html b/media/footable/js/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/media/footable/js/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/media/images/index.html b/media/images/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/media/images/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/media/index.html b/media/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/media/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/media/js/index.html b/media/js/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/media/js/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/media/uikit/css/components/accordion.almost-flat.css b/media/uikit/css/components/accordion.almost-flat.css new file mode 100644 index 000000000..f8edc0dd7 --- /dev/null +++ b/media/uikit/css/components/accordion.almost-flat.css @@ -0,0 +1,39 @@ +/*! 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/media/uikit/css/components/accordion.almost-flat.min.css b/media/uikit/css/components/accordion.almost-flat.min.css new file mode 100644 index 000000000..1f1f94130 --- /dev/null +++ b/media/uikit/css/components/accordion.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/accordion.css b/media/uikit/css/components/accordion.css new file mode 100644 index 000000000..fe84c73f9 --- /dev/null +++ b/media/uikit/css/components/accordion.css @@ -0,0 +1,37 @@ +/*! 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/media/uikit/css/components/accordion.gradient.css b/media/uikit/css/components/accordion.gradient.css new file mode 100644 index 000000000..afc5c473d --- /dev/null +++ b/media/uikit/css/components/accordion.gradient.css @@ -0,0 +1,39 @@ +/*! 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/media/uikit/css/components/accordion.gradient.min.css b/media/uikit/css/components/accordion.gradient.min.css new file mode 100644 index 000000000..27b3e73ce --- /dev/null +++ b/media/uikit/css/components/accordion.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/accordion.min.css b/media/uikit/css/components/accordion.min.css new file mode 100644 index 000000000..a1b3a9044 --- /dev/null +++ b/media/uikit/css/components/accordion.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/autocomplete.almost-flat.css b/media/uikit/css/components/autocomplete.almost-flat.css new file mode 100644 index 000000000..8f5176b5b --- /dev/null +++ b/media/uikit/css/components/autocomplete.almost-flat.css @@ -0,0 +1,52 @@ +/*! 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/media/uikit/css/components/autocomplete.almost-flat.min.css b/media/uikit/css/components/autocomplete.almost-flat.min.css new file mode 100644 index 000000000..ee6875b2c --- /dev/null +++ b/media/uikit/css/components/autocomplete.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/autocomplete.css b/media/uikit/css/components/autocomplete.css new file mode 100644 index 000000000..bb71335fb --- /dev/null +++ b/media/uikit/css/components/autocomplete.css @@ -0,0 +1,50 @@ +/*! 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/media/uikit/css/components/autocomplete.gradient.css b/media/uikit/css/components/autocomplete.gradient.css new file mode 100644 index 000000000..06e2c523d --- /dev/null +++ b/media/uikit/css/components/autocomplete.gradient.css @@ -0,0 +1,52 @@ +/*! 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/media/uikit/css/components/autocomplete.gradient.min.css b/media/uikit/css/components/autocomplete.gradient.min.css new file mode 100644 index 000000000..83041378a --- /dev/null +++ b/media/uikit/css/components/autocomplete.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/autocomplete.min.css b/media/uikit/css/components/autocomplete.min.css new file mode 100644 index 000000000..03b1be2fe --- /dev/null +++ b/media/uikit/css/components/autocomplete.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/datepicker.almost-flat.css b/media/uikit/css/components/datepicker.almost-flat.css new file mode 100644 index 000000000..ecc808010 --- /dev/null +++ b/media/uikit/css/components/datepicker.almost-flat.css @@ -0,0 +1,129 @@ +/*! 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/media/uikit/css/components/datepicker.almost-flat.min.css b/media/uikit/css/components/datepicker.almost-flat.min.css new file mode 100644 index 000000000..5f9ab45ee --- /dev/null +++ b/media/uikit/css/components/datepicker.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/datepicker.css b/media/uikit/css/components/datepicker.css new file mode 100644 index 000000000..5414e4f48 --- /dev/null +++ b/media/uikit/css/components/datepicker.css @@ -0,0 +1,123 @@ +/*! 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/media/uikit/css/components/datepicker.gradient.css b/media/uikit/css/components/datepicker.gradient.css new file mode 100644 index 000000000..94366b61c --- /dev/null +++ b/media/uikit/css/components/datepicker.gradient.css @@ -0,0 +1,139 @@ +/*! 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/media/uikit/css/components/datepicker.gradient.min.css b/media/uikit/css/components/datepicker.gradient.min.css new file mode 100644 index 000000000..102458b04 --- /dev/null +++ b/media/uikit/css/components/datepicker.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/datepicker.min.css b/media/uikit/css/components/datepicker.min.css new file mode 100644 index 000000000..7738f9874 --- /dev/null +++ b/media/uikit/css/components/datepicker.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/dotnav.almost-flat.css b/media/uikit/css/components/dotnav.almost-flat.css new file mode 100644 index 000000000..78bf04907 --- /dev/null +++ b/media/uikit/css/components/dotnav.almost-flat.css @@ -0,0 +1,129 @@ +/*! 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/media/uikit/css/components/dotnav.almost-flat.min.css b/media/uikit/css/components/dotnav.almost-flat.min.css new file mode 100644 index 000000000..f1410c48a --- /dev/null +++ b/media/uikit/css/components/dotnav.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/dotnav.css b/media/uikit/css/components/dotnav.css new file mode 100644 index 000000000..57a1771b5 --- /dev/null +++ b/media/uikit/css/components/dotnav.css @@ -0,0 +1,125 @@ +/*! 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/media/uikit/css/components/dotnav.gradient.css b/media/uikit/css/components/dotnav.gradient.css new file mode 100644 index 000000000..78bf04907 --- /dev/null +++ b/media/uikit/css/components/dotnav.gradient.css @@ -0,0 +1,129 @@ +/*! 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/media/uikit/css/components/dotnav.gradient.min.css b/media/uikit/css/components/dotnav.gradient.min.css new file mode 100644 index 000000000..f1410c48a --- /dev/null +++ b/media/uikit/css/components/dotnav.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/dotnav.min.css b/media/uikit/css/components/dotnav.min.css new file mode 100644 index 000000000..8db104ca7 --- /dev/null +++ b/media/uikit/css/components/dotnav.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/form-advanced.almost-flat.css b/media/uikit/css/components/form-advanced.almost-flat.css new file mode 100644 index 000000000..4c8076016 --- /dev/null +++ b/media/uikit/css/components/form-advanced.almost-flat.css @@ -0,0 +1,78 @@ +/*! 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/media/uikit/css/components/form-advanced.almost-flat.min.css b/media/uikit/css/components/form-advanced.almost-flat.min.css new file mode 100644 index 000000000..03d82f0e1 --- /dev/null +++ b/media/uikit/css/components/form-advanced.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/form-advanced.css b/media/uikit/css/components/form-advanced.css new file mode 100644 index 000000000..4c8076016 --- /dev/null +++ b/media/uikit/css/components/form-advanced.css @@ -0,0 +1,78 @@ +/*! 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/media/uikit/css/components/form-advanced.gradient.css b/media/uikit/css/components/form-advanced.gradient.css new file mode 100644 index 000000000..4c8076016 --- /dev/null +++ b/media/uikit/css/components/form-advanced.gradient.css @@ -0,0 +1,78 @@ +/*! 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/media/uikit/css/components/form-advanced.gradient.min.css b/media/uikit/css/components/form-advanced.gradient.min.css new file mode 100644 index 000000000..03d82f0e1 --- /dev/null +++ b/media/uikit/css/components/form-advanced.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/form-advanced.min.css b/media/uikit/css/components/form-advanced.min.css new file mode 100644 index 000000000..03d82f0e1 --- /dev/null +++ b/media/uikit/css/components/form-advanced.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/form-file.almost-flat.css b/media/uikit/css/components/form-file.almost-flat.css new file mode 100644 index 000000000..70fe2c45a --- /dev/null +++ b/media/uikit/css/components/form-file.almost-flat.css @@ -0,0 +1,34 @@ +/*! 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/media/uikit/css/components/form-file.almost-flat.min.css b/media/uikit/css/components/form-file.almost-flat.min.css new file mode 100644 index 000000000..3da0ea636 --- /dev/null +++ b/media/uikit/css/components/form-file.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/form-file.css b/media/uikit/css/components/form-file.css new file mode 100644 index 000000000..70fe2c45a --- /dev/null +++ b/media/uikit/css/components/form-file.css @@ -0,0 +1,34 @@ +/*! 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/media/uikit/css/components/form-file.gradient.css b/media/uikit/css/components/form-file.gradient.css new file mode 100644 index 000000000..70fe2c45a --- /dev/null +++ b/media/uikit/css/components/form-file.gradient.css @@ -0,0 +1,34 @@ +/*! 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/media/uikit/css/components/form-file.gradient.min.css b/media/uikit/css/components/form-file.gradient.min.css new file mode 100644 index 000000000..3da0ea636 --- /dev/null +++ b/media/uikit/css/components/form-file.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/form-file.min.css b/media/uikit/css/components/form-file.min.css new file mode 100644 index 000000000..3da0ea636 --- /dev/null +++ b/media/uikit/css/components/form-file.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/form-password.almost-flat.css b/media/uikit/css/components/form-password.almost-flat.css new file mode 100644 index 000000000..b328f60ff --- /dev/null +++ b/media/uikit/css/components/form-password.almost-flat.css @@ -0,0 +1,34 @@ +/*! 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/media/uikit/css/components/form-password.almost-flat.min.css b/media/uikit/css/components/form-password.almost-flat.min.css new file mode 100644 index 000000000..1f55b7c96 --- /dev/null +++ b/media/uikit/css/components/form-password.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/form-password.css b/media/uikit/css/components/form-password.css new file mode 100644 index 000000000..b328f60ff --- /dev/null +++ b/media/uikit/css/components/form-password.css @@ -0,0 +1,34 @@ +/*! 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/media/uikit/css/components/form-password.gradient.css b/media/uikit/css/components/form-password.gradient.css new file mode 100644 index 000000000..b328f60ff --- /dev/null +++ b/media/uikit/css/components/form-password.gradient.css @@ -0,0 +1,34 @@ +/*! 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/media/uikit/css/components/form-password.gradient.min.css b/media/uikit/css/components/form-password.gradient.min.css new file mode 100644 index 000000000..1f55b7c96 --- /dev/null +++ b/media/uikit/css/components/form-password.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/form-password.min.css b/media/uikit/css/components/form-password.min.css new file mode 100644 index 000000000..1f55b7c96 --- /dev/null +++ b/media/uikit/css/components/form-password.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/form-select.almost-flat.css b/media/uikit/css/components/form-select.almost-flat.css new file mode 100644 index 000000000..178390919 --- /dev/null +++ b/media/uikit/css/components/form-select.almost-flat.css @@ -0,0 +1,35 @@ +/*! 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/media/uikit/css/components/form-select.almost-flat.min.css b/media/uikit/css/components/form-select.almost-flat.min.css new file mode 100644 index 000000000..5a38b0f8a --- /dev/null +++ b/media/uikit/css/components/form-select.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/form-select.css b/media/uikit/css/components/form-select.css new file mode 100644 index 000000000..178390919 --- /dev/null +++ b/media/uikit/css/components/form-select.css @@ -0,0 +1,35 @@ +/*! 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/media/uikit/css/components/form-select.gradient.css b/media/uikit/css/components/form-select.gradient.css new file mode 100644 index 000000000..178390919 --- /dev/null +++ b/media/uikit/css/components/form-select.gradient.css @@ -0,0 +1,35 @@ +/*! 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/media/uikit/css/components/form-select.gradient.min.css b/media/uikit/css/components/form-select.gradient.min.css new file mode 100644 index 000000000..5a38b0f8a --- /dev/null +++ b/media/uikit/css/components/form-select.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/form-select.min.css b/media/uikit/css/components/form-select.min.css new file mode 100644 index 000000000..5a38b0f8a --- /dev/null +++ b/media/uikit/css/components/form-select.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/htmleditor.almost-flat.css b/media/uikit/css/components/htmleditor.almost-flat.css new file mode 100644 index 000000000..c24af888e --- /dev/null +++ b/media/uikit/css/components/htmleditor.almost-flat.css @@ -0,0 +1,225 @@ +/*! 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/media/uikit/css/components/htmleditor.almost-flat.min.css b/media/uikit/css/components/htmleditor.almost-flat.min.css new file mode 100644 index 000000000..e50023d0c --- /dev/null +++ b/media/uikit/css/components/htmleditor.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/htmleditor.css b/media/uikit/css/components/htmleditor.css new file mode 100644 index 000000000..3861baa3a --- /dev/null +++ b/media/uikit/css/components/htmleditor.css @@ -0,0 +1,167 @@ +/*! 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/media/uikit/css/components/htmleditor.gradient.css b/media/uikit/css/components/htmleditor.gradient.css new file mode 100644 index 000000000..9c9624eeb --- /dev/null +++ b/media/uikit/css/components/htmleditor.gradient.css @@ -0,0 +1,232 @@ +/*! 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/media/uikit/css/components/htmleditor.gradient.min.css b/media/uikit/css/components/htmleditor.gradient.min.css new file mode 100644 index 000000000..f71780286 --- /dev/null +++ b/media/uikit/css/components/htmleditor.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/htmleditor.min.css b/media/uikit/css/components/htmleditor.min.css new file mode 100644 index 000000000..074b3d48a --- /dev/null +++ b/media/uikit/css/components/htmleditor.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/index.html b/media/uikit/css/components/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/media/uikit/css/components/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/media/uikit/css/components/nestable.almost-flat.css b/media/uikit/css/components/nestable.almost-flat.css new file mode 100644 index 000000000..4d6f3d4a1 --- /dev/null +++ b/media/uikit/css/components/nestable.almost-flat.css @@ -0,0 +1,135 @@ +/*! 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/media/uikit/css/components/nestable.almost-flat.min.css b/media/uikit/css/components/nestable.almost-flat.min.css new file mode 100644 index 000000000..8d651de10 --- /dev/null +++ b/media/uikit/css/components/nestable.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/nestable.css b/media/uikit/css/components/nestable.css new file mode 100644 index 000000000..aa4c6447f --- /dev/null +++ b/media/uikit/css/components/nestable.css @@ -0,0 +1,132 @@ +/*! 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/media/uikit/css/components/nestable.gradient.css b/media/uikit/css/components/nestable.gradient.css new file mode 100644 index 000000000..26c506043 --- /dev/null +++ b/media/uikit/css/components/nestable.gradient.css @@ -0,0 +1,139 @@ +/*! 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/media/uikit/css/components/nestable.gradient.min.css b/media/uikit/css/components/nestable.gradient.min.css new file mode 100644 index 000000000..58a8f715e --- /dev/null +++ b/media/uikit/css/components/nestable.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/nestable.min.css b/media/uikit/css/components/nestable.min.css new file mode 100644 index 000000000..94941fbe9 --- /dev/null +++ b/media/uikit/css/components/nestable.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/notify.almost-flat.css b/media/uikit/css/components/notify.almost-flat.css new file mode 100644 index 000000000..642111940 --- /dev/null +++ b/media/uikit/css/components/notify.almost-flat.css @@ -0,0 +1,99 @@ +/*! 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/media/uikit/css/components/notify.almost-flat.min.css b/media/uikit/css/components/notify.almost-flat.min.css new file mode 100644 index 000000000..4d33bb376 --- /dev/null +++ b/media/uikit/css/components/notify.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/notify.css b/media/uikit/css/components/notify.css new file mode 100644 index 000000000..42d7bce2e --- /dev/null +++ b/media/uikit/css/components/notify.css @@ -0,0 +1,93 @@ +/*! 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/media/uikit/css/components/notify.gradient.css b/media/uikit/css/components/notify.gradient.css new file mode 100644 index 000000000..642111940 --- /dev/null +++ b/media/uikit/css/components/notify.gradient.css @@ -0,0 +1,99 @@ +/*! 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/media/uikit/css/components/notify.gradient.min.css b/media/uikit/css/components/notify.gradient.min.css new file mode 100644 index 000000000..4d33bb376 --- /dev/null +++ b/media/uikit/css/components/notify.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/notify.min.css b/media/uikit/css/components/notify.min.css new file mode 100644 index 000000000..3aa6b89a1 --- /dev/null +++ b/media/uikit/css/components/notify.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/placeholder.almost-flat.css b/media/uikit/css/components/placeholder.almost-flat.css new file mode 100644 index 000000000..7b72cfe51 --- /dev/null +++ b/media/uikit/css/components/placeholder.almost-flat.css @@ -0,0 +1,29 @@ +/*! 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/media/uikit/css/components/placeholder.almost-flat.min.css b/media/uikit/css/components/placeholder.almost-flat.min.css new file mode 100644 index 000000000..ba4b565ea --- /dev/null +++ b/media/uikit/css/components/placeholder.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/placeholder.css b/media/uikit/css/components/placeholder.css new file mode 100644 index 000000000..7b72cfe51 --- /dev/null +++ b/media/uikit/css/components/placeholder.css @@ -0,0 +1,29 @@ +/*! 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/media/uikit/css/components/placeholder.gradient.css b/media/uikit/css/components/placeholder.gradient.css new file mode 100644 index 000000000..7b72cfe51 --- /dev/null +++ b/media/uikit/css/components/placeholder.gradient.css @@ -0,0 +1,29 @@ +/*! 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/media/uikit/css/components/placeholder.gradient.min.css b/media/uikit/css/components/placeholder.gradient.min.css new file mode 100644 index 000000000..ba4b565ea --- /dev/null +++ b/media/uikit/css/components/placeholder.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/placeholder.min.css b/media/uikit/css/components/placeholder.min.css new file mode 100644 index 000000000..ba4b565ea --- /dev/null +++ b/media/uikit/css/components/placeholder.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/progress.almost-flat.css b/media/uikit/css/components/progress.almost-flat.css new file mode 100644 index 000000000..baf0e6830 --- /dev/null +++ b/media/uikit/css/components/progress.almost-flat.css @@ -0,0 +1,105 @@ +/*! 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/media/uikit/css/components/progress.almost-flat.min.css b/media/uikit/css/components/progress.almost-flat.min.css new file mode 100644 index 000000000..33b060498 --- /dev/null +++ b/media/uikit/css/components/progress.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/progress.css b/media/uikit/css/components/progress.css new file mode 100644 index 000000000..8ae61e53a --- /dev/null +++ b/media/uikit/css/components/progress.css @@ -0,0 +1,95 @@ +/*! 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/media/uikit/css/components/progress.gradient.css b/media/uikit/css/components/progress.gradient.css new file mode 100644 index 000000000..452d8f21d --- /dev/null +++ b/media/uikit/css/components/progress.gradient.css @@ -0,0 +1,113 @@ +/*! 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/media/uikit/css/components/progress.gradient.min.css b/media/uikit/css/components/progress.gradient.min.css new file mode 100644 index 000000000..39137190c --- /dev/null +++ b/media/uikit/css/components/progress.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/progress.min.css b/media/uikit/css/components/progress.min.css new file mode 100644 index 000000000..fec2675ac --- /dev/null +++ b/media/uikit/css/components/progress.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/search.almost-flat.css b/media/uikit/css/components/search.almost-flat.css new file mode 100644 index 000000000..513289bfc --- /dev/null +++ b/media/uikit/css/components/search.almost-flat.css @@ -0,0 +1,192 @@ +/*! 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/media/uikit/css/components/search.almost-flat.min.css b/media/uikit/css/components/search.almost-flat.min.css new file mode 100644 index 000000000..bdbc0b78c --- /dev/null +++ b/media/uikit/css/components/search.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/search.css b/media/uikit/css/components/search.css new file mode 100644 index 000000000..5cb3071c5 --- /dev/null +++ b/media/uikit/css/components/search.css @@ -0,0 +1,190 @@ +/*! 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/media/uikit/css/components/search.gradient.css b/media/uikit/css/components/search.gradient.css new file mode 100644 index 000000000..b5853b07e --- /dev/null +++ b/media/uikit/css/components/search.gradient.css @@ -0,0 +1,192 @@ +/*! 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/media/uikit/css/components/search.gradient.min.css b/media/uikit/css/components/search.gradient.min.css new file mode 100644 index 000000000..166173bc3 --- /dev/null +++ b/media/uikit/css/components/search.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/search.min.css b/media/uikit/css/components/search.min.css new file mode 100644 index 000000000..8e826a42b --- /dev/null +++ b/media/uikit/css/components/search.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/slidenav.almost-flat.css b/media/uikit/css/components/slidenav.almost-flat.css new file mode 100644 index 000000000..7445f255d --- /dev/null +++ b/media/uikit/css/components/slidenav.almost-flat.css @@ -0,0 +1,99 @@ +/*! 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/media/uikit/css/components/slidenav.almost-flat.min.css b/media/uikit/css/components/slidenav.almost-flat.min.css new file mode 100644 index 000000000..31445f0e6 --- /dev/null +++ b/media/uikit/css/components/slidenav.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/slidenav.css b/media/uikit/css/components/slidenav.css new file mode 100644 index 000000000..7445f255d --- /dev/null +++ b/media/uikit/css/components/slidenav.css @@ -0,0 +1,99 @@ +/*! 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/media/uikit/css/components/slidenav.gradient.css b/media/uikit/css/components/slidenav.gradient.css new file mode 100644 index 000000000..7445f255d --- /dev/null +++ b/media/uikit/css/components/slidenav.gradient.css @@ -0,0 +1,99 @@ +/*! 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/media/uikit/css/components/slidenav.gradient.min.css b/media/uikit/css/components/slidenav.gradient.min.css new file mode 100644 index 000000000..31445f0e6 --- /dev/null +++ b/media/uikit/css/components/slidenav.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/slidenav.min.css b/media/uikit/css/components/slidenav.min.css new file mode 100644 index 000000000..31445f0e6 --- /dev/null +++ b/media/uikit/css/components/slidenav.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/slider.almost-flat.css b/media/uikit/css/components/slider.almost-flat.css new file mode 100644 index 000000000..2f16434be --- /dev/null +++ b/media/uikit/css/components/slider.almost-flat.css @@ -0,0 +1,85 @@ +/*! 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/media/uikit/css/components/slider.almost-flat.min.css b/media/uikit/css/components/slider.almost-flat.min.css new file mode 100644 index 000000000..4b177be63 --- /dev/null +++ b/media/uikit/css/components/slider.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/slider.css b/media/uikit/css/components/slider.css new file mode 100644 index 000000000..2f16434be --- /dev/null +++ b/media/uikit/css/components/slider.css @@ -0,0 +1,85 @@ +/*! 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/media/uikit/css/components/slider.gradient.css b/media/uikit/css/components/slider.gradient.css new file mode 100644 index 000000000..2f16434be --- /dev/null +++ b/media/uikit/css/components/slider.gradient.css @@ -0,0 +1,85 @@ +/*! 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/media/uikit/css/components/slider.gradient.min.css b/media/uikit/css/components/slider.gradient.min.css new file mode 100644 index 000000000..4b177be63 --- /dev/null +++ b/media/uikit/css/components/slider.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/slider.min.css b/media/uikit/css/components/slider.min.css new file mode 100644 index 000000000..4b177be63 --- /dev/null +++ b/media/uikit/css/components/slider.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/slideshow.almost-flat.css b/media/uikit/css/components/slideshow.almost-flat.css new file mode 100644 index 000000000..8b6d69c04 --- /dev/null +++ b/media/uikit/css/components/slideshow.almost-flat.css @@ -0,0 +1,140 @@ +/*! 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/media/uikit/css/components/slideshow.almost-flat.min.css b/media/uikit/css/components/slideshow.almost-flat.min.css new file mode 100644 index 000000000..e9348e0b6 --- /dev/null +++ b/media/uikit/css/components/slideshow.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/slideshow.css b/media/uikit/css/components/slideshow.css new file mode 100644 index 000000000..8b6d69c04 --- /dev/null +++ b/media/uikit/css/components/slideshow.css @@ -0,0 +1,140 @@ +/*! 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/media/uikit/css/components/slideshow.gradient.css b/media/uikit/css/components/slideshow.gradient.css new file mode 100644 index 000000000..8b6d69c04 --- /dev/null +++ b/media/uikit/css/components/slideshow.gradient.css @@ -0,0 +1,140 @@ +/*! 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/media/uikit/css/components/slideshow.gradient.min.css b/media/uikit/css/components/slideshow.gradient.min.css new file mode 100644 index 000000000..e9348e0b6 --- /dev/null +++ b/media/uikit/css/components/slideshow.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/slideshow.min.css b/media/uikit/css/components/slideshow.min.css new file mode 100644 index 000000000..e9348e0b6 --- /dev/null +++ b/media/uikit/css/components/slideshow.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/sortable.almost-flat.css b/media/uikit/css/components/sortable.almost-flat.css new file mode 100644 index 000000000..862682c7d --- /dev/null +++ b/media/uikit/css/components/sortable.almost-flat.css @@ -0,0 +1,62 @@ +/*! 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/media/uikit/css/components/sortable.almost-flat.min.css b/media/uikit/css/components/sortable.almost-flat.min.css new file mode 100644 index 000000000..d1b6a9d28 --- /dev/null +++ b/media/uikit/css/components/sortable.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/sortable.css b/media/uikit/css/components/sortable.css new file mode 100644 index 000000000..862682c7d --- /dev/null +++ b/media/uikit/css/components/sortable.css @@ -0,0 +1,62 @@ +/*! 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/media/uikit/css/components/sortable.gradient.css b/media/uikit/css/components/sortable.gradient.css new file mode 100644 index 000000000..862682c7d --- /dev/null +++ b/media/uikit/css/components/sortable.gradient.css @@ -0,0 +1,62 @@ +/*! 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/media/uikit/css/components/sortable.gradient.min.css b/media/uikit/css/components/sortable.gradient.min.css new file mode 100644 index 000000000..d1b6a9d28 --- /dev/null +++ b/media/uikit/css/components/sortable.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/sortable.min.css b/media/uikit/css/components/sortable.min.css new file mode 100644 index 000000000..d1b6a9d28 --- /dev/null +++ b/media/uikit/css/components/sortable.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/sticky.almost-flat.css b/media/uikit/css/components/sticky.almost-flat.css new file mode 100644 index 000000000..a6dd3c480 --- /dev/null +++ b/media/uikit/css/components/sticky.almost-flat.css @@ -0,0 +1,32 @@ +/*! 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/media/uikit/css/components/sticky.almost-flat.min.css b/media/uikit/css/components/sticky.almost-flat.min.css new file mode 100644 index 000000000..01857ab39 --- /dev/null +++ b/media/uikit/css/components/sticky.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/sticky.css b/media/uikit/css/components/sticky.css new file mode 100644 index 000000000..a6dd3c480 --- /dev/null +++ b/media/uikit/css/components/sticky.css @@ -0,0 +1,32 @@ +/*! 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/media/uikit/css/components/sticky.gradient.css b/media/uikit/css/components/sticky.gradient.css new file mode 100644 index 000000000..a6dd3c480 --- /dev/null +++ b/media/uikit/css/components/sticky.gradient.css @@ -0,0 +1,32 @@ +/*! 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/media/uikit/css/components/sticky.gradient.min.css b/media/uikit/css/components/sticky.gradient.min.css new file mode 100644 index 000000000..01857ab39 --- /dev/null +++ b/media/uikit/css/components/sticky.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/sticky.min.css b/media/uikit/css/components/sticky.min.css new file mode 100644 index 000000000..01857ab39 --- /dev/null +++ b/media/uikit/css/components/sticky.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/tooltip.almost-flat.css b/media/uikit/css/components/tooltip.almost-flat.css new file mode 100644 index 000000000..27d920089 --- /dev/null +++ b/media/uikit/css/components/tooltip.almost-flat.css @@ -0,0 +1,120 @@ +/*! 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/media/uikit/css/components/tooltip.almost-flat.min.css b/media/uikit/css/components/tooltip.almost-flat.min.css new file mode 100644 index 000000000..1660ddc8a --- /dev/null +++ b/media/uikit/css/components/tooltip.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/tooltip.css b/media/uikit/css/components/tooltip.css new file mode 100644 index 000000000..7ec0df084 --- /dev/null +++ b/media/uikit/css/components/tooltip.css @@ -0,0 +1,118 @@ +/*! 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/media/uikit/css/components/tooltip.gradient.css b/media/uikit/css/components/tooltip.gradient.css new file mode 100644 index 000000000..27d920089 --- /dev/null +++ b/media/uikit/css/components/tooltip.gradient.css @@ -0,0 +1,120 @@ +/*! 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/media/uikit/css/components/tooltip.gradient.min.css b/media/uikit/css/components/tooltip.gradient.min.css new file mode 100644 index 000000000..1660ddc8a --- /dev/null +++ b/media/uikit/css/components/tooltip.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/tooltip.min.css b/media/uikit/css/components/tooltip.min.css new file mode 100644 index 000000000..07e31dc9e --- /dev/null +++ b/media/uikit/css/components/tooltip.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/upload.almost-flat.css b/media/uikit/css/components/upload.almost-flat.css new file mode 100644 index 000000000..ab07f2b15 --- /dev/null +++ b/media/uikit/css/components/upload.almost-flat.css @@ -0,0 +1,10 @@ +/*! 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/media/uikit/css/components/upload.almost-flat.min.css b/media/uikit/css/components/upload.almost-flat.min.css new file mode 100644 index 000000000..f1d2c795e --- /dev/null +++ b/media/uikit/css/components/upload.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/upload.css b/media/uikit/css/components/upload.css new file mode 100644 index 000000000..ab07f2b15 --- /dev/null +++ b/media/uikit/css/components/upload.css @@ -0,0 +1,10 @@ +/*! 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/media/uikit/css/components/upload.gradient.css b/media/uikit/css/components/upload.gradient.css new file mode 100644 index 000000000..ab07f2b15 --- /dev/null +++ b/media/uikit/css/components/upload.gradient.css @@ -0,0 +1,10 @@ +/*! 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/media/uikit/css/components/upload.gradient.min.css b/media/uikit/css/components/upload.gradient.min.css new file mode 100644 index 000000000..f1d2c795e --- /dev/null +++ b/media/uikit/css/components/upload.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/components/upload.min.css b/media/uikit/css/components/upload.min.css new file mode 100644 index 000000000..f1d2c795e --- /dev/null +++ b/media/uikit/css/components/upload.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/index.html b/media/uikit/css/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/media/uikit/css/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/media/uikit/css/uikit.almost-flat.css b/media/uikit/css/uikit.almost-flat.css new file mode 100644 index 000000000..5dd95df4a --- /dev/null +++ b/media/uikit/css/uikit.almost-flat.css @@ -0,0 +1,8355 @@ +/*! 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/media/uikit/css/uikit.almost-flat.min.css b/media/uikit/css/uikit.almost-flat.min.css new file mode 100644 index 000000000..7f70f78bd --- /dev/null +++ b/media/uikit/css/uikit.almost-flat.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/uikit.css b/media/uikit/css/uikit.css new file mode 100644 index 000000000..a9637cec7 --- /dev/null +++ b/media/uikit/css/uikit.css @@ -0,0 +1,8057 @@ +/*! 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/media/uikit/css/uikit.gradient.css b/media/uikit/css/uikit.gradient.css new file mode 100644 index 000000000..4284f44fb --- /dev/null +++ b/media/uikit/css/uikit.gradient.css @@ -0,0 +1,8417 @@ +/*! 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/media/uikit/css/uikit.gradient.min.css b/media/uikit/css/uikit.gradient.min.css new file mode 100644 index 000000000..219d52335 --- /dev/null +++ b/media/uikit/css/uikit.gradient.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/css/uikit.min.css b/media/uikit/css/uikit.min.css new file mode 100644 index 000000000..f6ef1f633 --- /dev/null +++ b/media/uikit/css/uikit.min.css @@ -0,0 +1,2 @@ +/*! 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/media/uikit/fonts/FontAwesome.otf b/media/uikit/fonts/FontAwesome.otf new file mode 100644 index 0000000000000000000000000000000000000000..f7936cc1e789eea5438d576d6b12de20191da09d GIT binary patch literal 93888 zcmd42d0dmn)&M*q$&>IrNkAnE2~UDcwN|Yni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z-rq|oPxv!mt>Q%2vq`+`Ssy-fPw&ZD0rHK(13Wfj2zCJKe*D@~ex*<s(pn|I+vo9^ zJfvT+SBOuSf|Ze~a2;eWUHl7ad-u|XaXlGV+Y=dc8$U$G9Jb4;=-oaQW-8IPMI>g0 z0%gmZof4fu`GiG5M8ooJ#tVdnUzkH|J=CL!n18MtmFy%;RGppxHt*(OGe5bq>CAbI zq1D8+m3JvoFRdQ+(q?KIRH`IP_<}e*@X-gbnVfPaQS~RqhT;&J`+zLKdJ;NKbrP`Q zQ!vaDTd0iE#qc**5qlUJWT|9yNnlGQeKBy;Ot42ho0KUsfw43jnjdcI#0HC}6Tyh% z5BCCwlL@J&2DsRbB*8?C({3Q(W{ASDNPWh>6ZE-^P$!}Fz@K)l$57LXhyKUR!dcUe zp`KpWYIcF!N*D~%-hK`F3om`uafOo7!B6w0CtVk5V0d_dz>&>>g9?ucUSlV2GvTMd E0UHWiZ2$lO literal 0 HcmV?d00001 diff --git a/media/uikit/fonts/fontawesome-webfont.eot b/media/uikit/fonts/fontawesome-webfont.eot new file mode 100644 index 0000000000000000000000000000000000000000..33b2bb80055cc480e797de704925acaba4ba7d7d GIT binary patch literal 60767 zcmZ^KRZt~7(B;J)F79w~9o+Te?(XjH&fxCu?l25GxVsF4ySuv$FtFcl?ZaQSwVg^% z=TxUFPpR~&#OMkD@VNv4ApdL7fd6R_fFuaOf1JGX|78ES{~!H-3{trm=l{C@18@M6 z04IPWz#Sk0@B&x>-2R(6{D%MlDnRu=v;uel>;WbK*Z&wwfaZUU>whse|7Q&dzyV+a zu>aRt03ZO{e<Le^^S?Oi|4&ZP|C12_5LJ`<e|8K7QJ@aEbOBs?00!u>exJqtnMc<t z6-QJ!k|Y6mXBU+THRNvRZ{q?1qlt7npNM#e>t)u@3*s3?X{FA#mos?(EHiB~!|8@P zHSlRJs7(;#_>C{=bF-qE5ypoWCp8a4ibb~`lhZnsG|vfL7aUvoGS2-d*~C|XaoBvh z)O~O54lz6Cpp#=U3+W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mH(Vl9HJBV%=Jz~~i%nDGIF9ncTET-AQ=fv{L11&K_<cvtPj0KcSJ zqHGrQcbxIF-!%7A9gu^H_1}qa$)EsV25=Zlwv;ml`17G-=5A8~V@Cyp78UF`SCFAx z5v?-bmG+t539aexV#>;ei!iht(!De;ym|y7ksL|^5Ko~B-vSh80++s?unD}bZaYa@ zPH4M$&fw;xEGN3_H1vHW><%-+dg7dfW)F8$bB+h7sThoOtteO(v{&-+iK}r$%G))# z*Nhx^!ZMj1VeG?EkWg+0CYQSX1t96fV9^3c+9C393LU&CHsFCa1q99$`zTMsEWwLc zxsw1|A?k8-m8HCrk6;K7dhNDJN3R9iws%6vTq_}PtR2CZ8TG;ltZ4<jHrnMp8#XOc zmJK*YX~mYy4EVnTS1tvpiqxTi4NA<Nfuts_IIP*;p$5w0Y{80vN-srDhr7*1GK?Wm zpc7{Vxs4*qJPbv)k!=J@$XqyN2<nGsklwVJyGU<ZOx>I}sU+^s8`P3F5QxrypG1-{ zGlr^7$Wsy(lo=xfC~BpKfg<2z4OEeEF@~x{Pi7O#CvqMJy+f+}=CB_$&IuEslB@s# J000000038FvZ??8 literal 0 HcmV?d00001 diff --git a/media/uikit/fonts/fontawesome-webfont.ttf b/media/uikit/fonts/fontawesome-webfont.ttf new file mode 100644 index 0000000000000000000000000000000000000000..ed9372f8ea0fbaa04f42630a48887e4b38945345 GIT binary patch literal 122092 zcmd4434B!5**|{Ix!dgfl1wJaOfpLr43K1!03i%vhk$H~0%AZ>1W{BF#BEfHg1Dg~ zwN;~5E8SkZ*k5bKH{JB@BDJlxn{VIPR@=8#3)a_G$lUzD&$%<nB!IU4y`SIb51D(< zx%b?2&+?q-Jo}ZHBuOqQC&^Op?Agl~ZstGPhAVI37o9V6)@&)wTO^5Dkgqy(+4$z$ z+IHdzR)>7=1)JAy`JUYOIplAXB>t_7*Iu<{Xb3e)N)PT^F23}di`1q$<B?x3u`j;0 zVg1?*t#1Y&kl0tVxZkz`7hE6M>X6@od}71qtve>K^L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_WkwQkG@#PUO{{Nj@EIhcxLRx0v@P$hX0>c}P>s@&vcrB4BUsI5wD^eLiGF?~wt zBbIHI`6KdB*Y<q4loC*B0a*#Clz>VJsFZ+838=JGUsaeVAgaj(h{8N1Q<x_fi<S8! z5m8|tfC}>fRG0^#!aM@X&!Z3d<`Ymp0p%l^!h9rCm`@P-1d&e=`C8sai6v@f{wRX8 z5}cLbtOREzI4i+f3C>DzR!XUWQYs(_aLM9B5CvNHMr#p{7Hi(h{Lvx=ffi^<juxw3 z_=wdmbc(!?;wYq43n|q?O0`gU5NM$WdMPDrql9e~t&M<e1Y{#18v)q}$VNam%4!io z6cI!bK@<^0k(Sj;;YUD4#b}Z`;YUEl<WWpO#RODL9>tVQF(m`eZ3M0%6D3nj5G4dr zLJ))(g@hM{gcpT`7lniug@hM{gcpS+1W`&5r367pQ3#~Kr%+#K70n2wfJt}|1R;eD zNP!O^Y=jgxLJC_R(y-+r4I5#EjWEJS7-7pRHO!GgOJO9Guu)t#LJ1q8gpE+bMkrw; zl&}#>*zze6D<xtj2to!MA%l&O!A8hnBV@1<GS~<iY=jIpLIxWl1K8T=Ll8v1@JbMU W2%>->3J9Wr?l-V&_Su?ry8j2p&Q&b{ literal 0 HcmV?d00001 diff --git a/media/uikit/fonts/fontawesome-webfont.woff b/media/uikit/fonts/fontawesome-webfont.woff new file mode 100644 index 0000000000000000000000000000000000000000..8b280b98fa2fa261aa4b0f8fd061f772073ef83e GIT binary patch literal 71508 zcmZ5nV|4D$*R5?Ex4gZzZQR<n?e?k7Tidp6+qP}nc>DW*e6!Y`lf83hk~Nu?WKPbw z$cl;r0RsU60b?owA^c}IF8;@VcK`n-Dyk&?;~@N_<NXI~kU3{DVG+?EP49;j{0|f$ zOtOk}j6a(159j@XUMQ<Ou%WfS-H+Du0|g);kiJpSoC;HY#~%$8?Z*e|KYV`!ftp&m znfz!!?SIJw0oPuD(~8lV8S5JX0R#W|0x|u775WH0+3ZLB(F%Sz@efE5USTNBtesqc zw2`0o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Qz&5yB}}1&DU>kVvPnla=?Fr|U<w&b zA%iJoFog`Jkiir(m_i0q$Y2T?Od*3QWH2RtnO#A21<@6RaKP*i{|k~Z-=Y8kRKYcE F003Px<E8)r literal 0 HcmV?d00001 diff --git a/media/uikit/fonts/fontawesome-webfont.woff2 b/media/uikit/fonts/fontawesome-webfont.woff2 new file mode 100644 index 0000000000000000000000000000000000000000..3311d585145b1cc1b9581e914acbb32d8542b4f5 GIT binary patch literal 56780 zcmV(|K+(T<Pew8T0RR910Nu<04gdfE0o>#O0Nrc=1OUYV00000000000000000000 z0000#Mn+Uk92y=5U;u?e5eN!~<79=jS^+i!Bm<Eu3y53*1Rw>600*lcKX+wfW(HdY zfN_R#dm&NLolxqx_tG1O83no>L_x*xw{C^(d@;VG{rRcc|NsBLAX$vz?hm|2KvZ=) zOIuYlvYz^cEXd)e6i3QlvtuZ5)HY)BifjsIEo;AS{=hCrH3#ONR4X&pisNaE6`o9R zCg{jzY$xUj)qIF1h0WrhL?M}8W@&a!Gh9<Cy-}D4O#J4JPG9D>f-773A;`E>=NG$e zQTTn4msXK)xyWnukjC7{D2KVM!UQovQoLP36Ms;#ZSl^uAEd?X=VDINb45_R3pZqZ zIDSR`c&6ED?Z#`2le(q2iuYd=Deu&3#!ySRI&|~R$j+|tJ$mAaCVzKi3FX+15)CaK z?^A^5Yb|>{jf(*U2|VQkK$fsP2p<{aQXcs3gg)c<56{o7w;~tKHezFpF`~wZ++PsA zQ6Zy3Qd-?4S|ue6Kn!eDRIr#CC}$KHb!MG6|39a_XFm_-F+9N)48sVKRv;92e@dZq z3YA@yv1(m6ZfXYr57K@4GMS(GyWsVkN_>l!YT+WE#05TdA*wOmxw#-Y7h}V%1=M-B z1r&~@FDu>7ms9_LB*#grv5IN>kYK=2N({OLNe$YJ?$SDcr;!Xv(Mb$RN&zgv<=hSw zHtpvfQMYB4sWI4hAGuziRDN$t2H7T-1ref;Esy{I{hwOWEKA8^>;Pf`_)03Lsb>q6 z0y+9I{Q1R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eMZ21vp@?WiQ_)?En7g1;_K`qj1ViefL zNIM|*PmT+YCgX<=hW%0!gG)3!1vib=wIY!#%r&UrLR9-!*3a~N--mFDzd(Hzs?})> zqtulG`JJ(`-u^Zu(8Vf!Q`*RJD3DW(=ti(-?)fq~>(@_ua&+SBSpD^ehQ=zYIOHm~ zr>XnDMS6RHY*G<0wdUotw6dz;j7;Llr-lo~$3hnp0?O!FrcscM89^Zk0=r?j$QTwI z8ZZmrSgry4Gt}5Pxh-ra<}s33uu=Xq+SET>u#8^b{v*R@(0XO{gEF=uAE3i$7>)tn zFHcg4%v4ucp9yzpBw5MhK9ws<RR<rJR}wap**HXv=mYEA&*L<Mc*ioi5f&HQ>6kFA zfDthN@4&-wMn!xYE#$sLme2$9Xhu4c6c7-oKC4<`n!r4cV+>^f9{T<+h643J$naE} literal 0 HcmV?d00001 diff --git a/media/uikit/fonts/index.html b/media/uikit/fonts/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/media/uikit/fonts/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/media/uikit/index.html b/media/uikit/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/media/uikit/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/media/uikit/js/components/accordion.js b/media/uikit/js/components/accordion.js new file mode 100644 index 000000000..d8a62c625 --- /dev/null +++ b/media/uikit/js/components/accordion.js @@ -0,0 +1,172 @@ +/*! 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/media/uikit/js/components/accordion.min.js b/media/uikit/js/components/accordion.min.js new file mode 100644 index 000000000..7da072430 --- /dev/null +++ b/media/uikit/js/components/accordion.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/components/autocomplete.js b/media/uikit/js/components/autocomplete.js new file mode 100644 index 000000000..7031f9454 --- /dev/null +++ b/media/uikit/js/components/autocomplete.js @@ -0,0 +1,336 @@ +/*! 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/media/uikit/js/components/autocomplete.min.js b/media/uikit/js/components/autocomplete.min.js new file mode 100644 index 000000000..2752df499 --- /dev/null +++ b/media/uikit/js/components/autocomplete.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/components/datepicker.js b/media/uikit/js/components/datepicker.js new file mode 100644 index 000000000..6a260e1e5 --- /dev/null +++ b/media/uikit/js/components/datepicker.js @@ -0,0 +1,3168 @@ +/*! 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/media/uikit/js/components/datepicker.min.js b/media/uikit/js/components/datepicker.min.js new file mode 100644 index 000000000..9a30a1f2a --- /dev/null +++ b/media/uikit/js/components/datepicker.min.js @@ -0,0 +1,3 @@ +/*! 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/media/uikit/js/components/form-password.js b/media/uikit/js/components/form-password.js new file mode 100644 index 000000000..38d0549e3 --- /dev/null +++ b/media/uikit/js/components/form-password.js @@ -0,0 +1,66 @@ +/*! 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/media/uikit/js/components/form-password.min.js b/media/uikit/js/components/form-password.min.js new file mode 100644 index 000000000..a57ba5082 --- /dev/null +++ b/media/uikit/js/components/form-password.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/components/form-select.js b/media/uikit/js/components/form-select.js new file mode 100644 index 000000000..ddafff856 --- /dev/null +++ b/media/uikit/js/components/form-select.js @@ -0,0 +1,70 @@ +/*! 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/media/uikit/js/components/form-select.min.js b/media/uikit/js/components/form-select.min.js new file mode 100644 index 000000000..fc09bfb3a --- /dev/null +++ b/media/uikit/js/components/form-select.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/components/grid.js b/media/uikit/js/components/grid.js new file mode 100644 index 000000000..3a7ae7a33 --- /dev/null +++ b/media/uikit/js/components/grid.js @@ -0,0 +1,524 @@ +/*! 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/media/uikit/js/components/grid.min.js b/media/uikit/js/components/grid.min.js new file mode 100644 index 000000000..ce3bbdea2 --- /dev/null +++ b/media/uikit/js/components/grid.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/components/htmleditor.js b/media/uikit/js/components/htmleditor.js new file mode 100644 index 000000000..08586bd60 --- /dev/null +++ b/media/uikit/js/components/htmleditor.js @@ -0,0 +1,621 @@ +/*! 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/media/uikit/js/components/htmleditor.min.js b/media/uikit/js/components/htmleditor.min.js new file mode 100644 index 000000000..a33d65fbf --- /dev/null +++ b/media/uikit/js/components/htmleditor.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/components/index.html b/media/uikit/js/components/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/media/uikit/js/components/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/media/uikit/js/components/lightbox.js b/media/uikit/js/components/lightbox.js new file mode 100644 index 000000000..1abb1a541 --- /dev/null +++ b/media/uikit/js/components/lightbox.js @@ -0,0 +1,544 @@ +/*! 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/media/uikit/js/components/lightbox.min.js b/media/uikit/js/components/lightbox.min.js new file mode 100644 index 000000000..a6aeeb4e7 --- /dev/null +++ b/media/uikit/js/components/lightbox.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/components/nestable.js b/media/uikit/js/components/nestable.js new file mode 100644 index 000000000..a7f423f15 --- /dev/null +++ b/media/uikit/js/components/nestable.js @@ -0,0 +1,625 @@ +/*! 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/media/uikit/js/components/nestable.min.js b/media/uikit/js/components/nestable.min.js new file mode 100644 index 000000000..30629de95 --- /dev/null +++ b/media/uikit/js/components/nestable.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/components/notify.js b/media/uikit/js/components/notify.js new file mode 100644 index 000000000..b4fba057a --- /dev/null +++ b/media/uikit/js/components/notify.js @@ -0,0 +1,191 @@ +/*! 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/media/uikit/js/components/notify.min.js b/media/uikit/js/components/notify.min.js new file mode 100644 index 000000000..12891160d --- /dev/null +++ b/media/uikit/js/components/notify.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/components/pagination.js b/media/uikit/js/components/pagination.js new file mode 100644 index 000000000..fa01908f1 --- /dev/null +++ b/media/uikit/js/components/pagination.js @@ -0,0 +1,148 @@ +/*! 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/media/uikit/js/components/pagination.min.js b/media/uikit/js/components/pagination.min.js new file mode 100644 index 000000000..220310b63 --- /dev/null +++ b/media/uikit/js/components/pagination.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/components/parallax.js b/media/uikit/js/components/parallax.js new file mode 100644 index 000000000..31750270b --- /dev/null +++ b/media/uikit/js/components/parallax.js @@ -0,0 +1,417 @@ +/*! 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/media/uikit/js/components/parallax.min.js b/media/uikit/js/components/parallax.min.js new file mode 100644 index 000000000..9964ffaf2 --- /dev/null +++ b/media/uikit/js/components/parallax.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/components/search.js b/media/uikit/js/components/search.js new file mode 100644 index 000000000..8de251c50 --- /dev/null +++ b/media/uikit/js/components/search.js @@ -0,0 +1,92 @@ +/*! 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/media/uikit/js/components/search.min.js b/media/uikit/js/components/search.min.js new file mode 100644 index 000000000..09fedd7fe --- /dev/null +++ b/media/uikit/js/components/search.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/components/slider.js b/media/uikit/js/components/slider.js new file mode 100644 index 000000000..dc77cd481 --- /dev/null +++ b/media/uikit/js/components/slider.js @@ -0,0 +1,482 @@ +/*! 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/media/uikit/js/components/slider.min.js b/media/uikit/js/components/slider.min.js new file mode 100644 index 000000000..5159096e5 --- /dev/null +++ b/media/uikit/js/components/slider.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/components/slideset.js b/media/uikit/js/components/slideset.js new file mode 100644 index 000000000..b6693d751 --- /dev/null +++ b/media/uikit/js/components/slideset.js @@ -0,0 +1,503 @@ +/*! 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/media/uikit/js/components/slideset.min.js b/media/uikit/js/components/slideset.min.js new file mode 100644 index 000000000..0117b1a61 --- /dev/null +++ b/media/uikit/js/components/slideset.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/components/slideshow-fx.js b/media/uikit/js/components/slideshow-fx.js new file mode 100644 index 000000000..78ed16130 --- /dev/null +++ b/media/uikit/js/components/slideshow-fx.js @@ -0,0 +1,377 @@ +/*! 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/media/uikit/js/components/slideshow-fx.min.js b/media/uikit/js/components/slideshow-fx.min.js new file mode 100644 index 000000000..cb1857711 --- /dev/null +++ b/media/uikit/js/components/slideshow-fx.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/components/slideshow.js b/media/uikit/js/components/slideshow.js new file mode 100644 index 000000000..d897bc95e --- /dev/null +++ b/media/uikit/js/components/slideshow.js @@ -0,0 +1,545 @@ +/*! 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/media/uikit/js/components/slideshow.min.js b/media/uikit/js/components/slideshow.min.js new file mode 100644 index 000000000..e7af4f056 --- /dev/null +++ b/media/uikit/js/components/slideshow.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/components/sortable.js b/media/uikit/js/components/sortable.js new file mode 100644 index 000000000..37a369ba3 --- /dev/null +++ b/media/uikit/js/components/sortable.js @@ -0,0 +1,643 @@ +/*! 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/media/uikit/js/components/sortable.min.js b/media/uikit/js/components/sortable.min.js new file mode 100644 index 000000000..7bd90d726 --- /dev/null +++ b/media/uikit/js/components/sortable.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/components/sticky.js b/media/uikit/js/components/sticky.js new file mode 100644 index 000000000..a335a5ee8 --- /dev/null +++ b/media/uikit/js/components/sticky.js @@ -0,0 +1,298 @@ +/*! 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/media/uikit/js/components/sticky.min.js b/media/uikit/js/components/sticky.min.js new file mode 100644 index 000000000..a0f318e2b --- /dev/null +++ b/media/uikit/js/components/sticky.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/components/timepicker.js b/media/uikit/js/components/timepicker.js new file mode 100644 index 000000000..4f48c3ffe --- /dev/null +++ b/media/uikit/js/components/timepicker.js @@ -0,0 +1,192 @@ +/*! 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/media/uikit/js/components/timepicker.min.js b/media/uikit/js/components/timepicker.min.js new file mode 100644 index 000000000..f11f4a8eb --- /dev/null +++ b/media/uikit/js/components/timepicker.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/components/tooltip.js b/media/uikit/js/components/tooltip.js new file mode 100644 index 000000000..8e704f78d --- /dev/null +++ b/media/uikit/js/components/tooltip.js @@ -0,0 +1,234 @@ +/*! 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/media/uikit/js/components/tooltip.min.js b/media/uikit/js/components/tooltip.min.js new file mode 100644 index 000000000..80a1f052b --- /dev/null +++ b/media/uikit/js/components/tooltip.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/components/upload.js b/media/uikit/js/components/upload.js new file mode 100644 index 000000000..21699b012 --- /dev/null +++ b/media/uikit/js/components/upload.js @@ -0,0 +1,256 @@ +/*! 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/media/uikit/js/components/upload.min.js b/media/uikit/js/components/upload.min.js new file mode 100644 index 000000000..e9b475957 --- /dev/null +++ b/media/uikit/js/components/upload.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/core/alert.js b/media/uikit/js/core/alert.js new file mode 100644 index 000000000..25ea2adc9 --- /dev/null +++ b/media/uikit/js/core/alert.js @@ -0,0 +1,66 @@ +/*! 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/media/uikit/js/core/alert.min.js b/media/uikit/js/core/alert.min.js new file mode 100644 index 000000000..224b4e15f --- /dev/null +++ b/media/uikit/js/core/alert.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/core/button.js b/media/uikit/js/core/button.js new file mode 100644 index 000000000..6256e551c --- /dev/null +++ b/media/uikit/js/core/button.js @@ -0,0 +1,154 @@ +/*! 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/media/uikit/js/core/button.min.js b/media/uikit/js/core/button.min.js new file mode 100644 index 000000000..bac71eec1 --- /dev/null +++ b/media/uikit/js/core/button.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/core/core.js b/media/uikit/js/core/core.js new file mode 100644 index 000000000..096ff4941 --- /dev/null +++ b/media/uikit/js/core/core.js @@ -0,0 +1,722 @@ +/*! 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/media/uikit/js/core/core.min.js b/media/uikit/js/core/core.min.js new file mode 100644 index 000000000..42c051f05 --- /dev/null +++ b/media/uikit/js/core/core.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/core/cover.js b/media/uikit/js/core/cover.js new file mode 100644 index 000000000..a505b78a8 --- /dev/null +++ b/media/uikit/js/core/cover.js @@ -0,0 +1,95 @@ +/*! 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/media/uikit/js/core/cover.min.js b/media/uikit/js/core/cover.min.js new file mode 100644 index 000000000..70bdffd39 --- /dev/null +++ b/media/uikit/js/core/cover.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/core/dropdown.js b/media/uikit/js/core/dropdown.js new file mode 100644 index 000000000..bb9318447 --- /dev/null +++ b/media/uikit/js/core/dropdown.js @@ -0,0 +1,296 @@ +/*! 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/media/uikit/js/core/dropdown.min.js b/media/uikit/js/core/dropdown.min.js new file mode 100644 index 000000000..4a72cc39c --- /dev/null +++ b/media/uikit/js/core/dropdown.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/core/grid.js b/media/uikit/js/core/grid.js new file mode 100644 index 000000000..f1e45f48a --- /dev/null +++ b/media/uikit/js/core/grid.js @@ -0,0 +1,114 @@ +/*! 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/media/uikit/js/core/grid.min.js b/media/uikit/js/core/grid.min.js new file mode 100644 index 000000000..465d413ab --- /dev/null +++ b/media/uikit/js/core/grid.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/core/index.html b/media/uikit/js/core/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/media/uikit/js/core/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/media/uikit/js/core/modal.js b/media/uikit/js/core/modal.js new file mode 100644 index 000000000..4bfb3fd61 --- /dev/null +++ b/media/uikit/js/core/modal.js @@ -0,0 +1,373 @@ +/*! 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/media/uikit/js/core/modal.min.js b/media/uikit/js/core/modal.min.js new file mode 100644 index 000000000..92429536c --- /dev/null +++ b/media/uikit/js/core/modal.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/core/nav.js b/media/uikit/js/core/nav.js new file mode 100644 index 000000000..020a2331a --- /dev/null +++ b/media/uikit/js/core/nav.js @@ -0,0 +1,136 @@ +/*! 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/media/uikit/js/core/nav.min.js b/media/uikit/js/core/nav.min.js new file mode 100644 index 000000000..e5dfc8885 --- /dev/null +++ b/media/uikit/js/core/nav.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/core/offcanvas.js b/media/uikit/js/core/offcanvas.js new file mode 100644 index 000000000..68de1979e --- /dev/null +++ b/media/uikit/js/core/offcanvas.js @@ -0,0 +1,178 @@ +/*! 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/media/uikit/js/core/offcanvas.min.js b/media/uikit/js/core/offcanvas.min.js new file mode 100644 index 000000000..480906eb0 --- /dev/null +++ b/media/uikit/js/core/offcanvas.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/core/scrollspy.js b/media/uikit/js/core/scrollspy.js new file mode 100644 index 000000000..9b8349ed1 --- /dev/null +++ b/media/uikit/js/core/scrollspy.js @@ -0,0 +1,208 @@ +/*! 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/media/uikit/js/core/scrollspy.min.js b/media/uikit/js/core/scrollspy.min.js new file mode 100644 index 000000000..ade68908d --- /dev/null +++ b/media/uikit/js/core/scrollspy.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/core/smooth-scroll.js b/media/uikit/js/core/smooth-scroll.js new file mode 100644 index 000000000..a7ebce0e7 --- /dev/null +++ b/media/uikit/js/core/smooth-scroll.js @@ -0,0 +1,62 @@ +/*! 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/media/uikit/js/core/smooth-scroll.min.js b/media/uikit/js/core/smooth-scroll.min.js new file mode 100644 index 000000000..0c09be5d9 --- /dev/null +++ b/media/uikit/js/core/smooth-scroll.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/core/switcher.js b/media/uikit/js/core/switcher.js new file mode 100644 index 000000000..4d4cfcbbd --- /dev/null +++ b/media/uikit/js/core/switcher.js @@ -0,0 +1,298 @@ +/*! 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/media/uikit/js/core/switcher.min.js b/media/uikit/js/core/switcher.min.js new file mode 100644 index 000000000..d06a3a00f --- /dev/null +++ b/media/uikit/js/core/switcher.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/core/tab.js b/media/uikit/js/core/tab.js new file mode 100644 index 000000000..6040e7fc5 --- /dev/null +++ b/media/uikit/js/core/tab.js @@ -0,0 +1,165 @@ +/*! 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/media/uikit/js/core/tab.min.js b/media/uikit/js/core/tab.min.js new file mode 100644 index 000000000..3447bc664 --- /dev/null +++ b/media/uikit/js/core/tab.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/core/toggle.js b/media/uikit/js/core/toggle.js new file mode 100644 index 000000000..29badf02e --- /dev/null +++ b/media/uikit/js/core/toggle.js @@ -0,0 +1,117 @@ +/*! 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/media/uikit/js/core/toggle.min.js b/media/uikit/js/core/toggle.min.js new file mode 100644 index 000000000..c2cf33258 --- /dev/null +++ b/media/uikit/js/core/toggle.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/core/touch.js b/media/uikit/js/core/touch.js new file mode 100644 index 000000000..9afbce168 --- /dev/null +++ b/media/uikit/js/core/touch.js @@ -0,0 +1,173 @@ +/*! 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/media/uikit/js/core/touch.min.js b/media/uikit/js/core/touch.min.js new file mode 100644 index 000000000..a2ef7ded7 --- /dev/null +++ b/media/uikit/js/core/touch.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/core/utility.js b/media/uikit/js/core/utility.js new file mode 100644 index 000000000..0d423a648 --- /dev/null +++ b/media/uikit/js/core/utility.js @@ -0,0 +1,243 @@ +/*! 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/media/uikit/js/core/utility.min.js b/media/uikit/js/core/utility.min.js new file mode 100644 index 000000000..708970907 --- /dev/null +++ b/media/uikit/js/core/utility.min.js @@ -0,0 +1,2 @@ +/*! 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/media/uikit/js/index.html b/media/uikit/js/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/media/uikit/js/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/media/uikit/js/uikit.js b/media/uikit/js/uikit.js new file mode 100644 index 000000000..bce6f80a7 --- /dev/null +++ b/media/uikit/js/uikit.js @@ -0,0 +1,3400 @@ +/*! 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/media/uikit/js/uikit.min.js b/media/uikit/js/uikit.min.js new file mode 100644 index 000000000..1702ac2af --- /dev/null +++ b/media/uikit/js/uikit.min.js @@ -0,0 +1,3 @@ +/*! 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/script.php b/script.php new file mode 100644 index 000000000..8e7229c41 --- /dev/null +++ b/script.php @@ -0,0 +1,1440 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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","description":"description","debug_linenr":"debug_linenr","bom":"bom","image":"image","add_css":"add_css","add_admin_event":"add_admin_event","number":"number","add_site_event":"add_site_event","addreadme":"addreadme","adduikit":"adduikit","name":"name","add_php_helper_admin":"add_php_helper_admin","email":"email","add_php_helper_site":"add_php_helper_site","website":"website","add_sql":"add_sql","copyright":"copyright","add_license":"add_license","license_type":"license_type","emptycontributors":"emptycontributors","whmcs_key":"whmcs_key","whmcs_url":"whmcs_url","license":"license","creatuserhelper":"creatuserhelper","addfootable":"addfootable","css":"css","php_helper_admin":"php_helper_admin","php_admin_event":"php_admin_event","php_helper_site":"php_helper_site","php_site_event":"php_site_event","sql":"sql","readme":"readme","not_required":"not_required"}}'; + $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","add_css","add_admin_event","number","add_site_event","addreadme","adduikit","add_php_helper_admin","add_php_helper_site","add_sql","add_license","license_type","emptycontributors","creatuserhelper","addfootable","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"}]}'; + + // Insert the object into the content types table. + $componentInserted = $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"}]}'; + + // Insert the object into the content types table. + $admin_viewInserted = $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"}]}'; + + // Insert the object into the content types table. + $custom_admin_viewInserted = $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"}]}'; + + // Insert the object into the content types table. + $site_viewInserted = $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"}]}'; + + // Insert the object into the content types table. + $templateInserted = $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"}]}'; + + // Insert the object into the content types table. + $layoutInserted = $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": ""}]}'; + + // Insert the object into the content types table. + $dynamic_getInserted = $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"}]}'; + + // Insert the object into the content types table. + $snippetInserted = $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"}]}'; + + // Insert the object into the content types table. + $fieldInserted = $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"}]}'; + + // Insert the object into the content types table. + $field_catagoryInserted = $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"}]}'; + + // Insert the object into the content types table. + $fieldtypeInserted = $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"}]}'; + + // Insert the object into the content types table. + $fieldtype_catagoryInserted = $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"}]}'; + + // Insert the object into the content types table. + $help_documentInserted = $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_componentbuilder') + ); + + $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_componentbuilder/assets/images/component-300.jpg"/> + </a>'; + } + // do any updates needed + if ($type == 'update') + { + echo '<a target="_blank" href="https://www.vdm.io/joomla-component-builder" title="Component Builder"> + <img src="components/com_componentbuilder/assets/images/component-300.jpg"/> + </a> + <h3>Upgrade to Version 2.0.8 Was Successful! Let us know if anything is not working as expected.</h3>'; + } + } +} diff --git a/site/assets/css/index.html b/site/assets/css/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/site/assets/css/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/site/assets/css/site.css b/site/assets/css/site.css new file mode 100644 index 000000000..9e265a86b --- /dev/null +++ b/site/assets/css/site.css @@ -0,0 +1,32 @@ +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/site/assets/images/index.html b/site/assets/images/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/site/assets/images/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/site/assets/index.html b/site/assets/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/site/assets/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/site/assets/js/index.html b/site/assets/js/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/site/assets/js/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/site/assets/js/site.js b/site/assets/js/site.js new file mode 100644 index 000000000..e69de29bb diff --git a/site/componentbuilder.php b/site/componentbuilder.php new file mode 100644 index 000000000..06e7dc747 --- /dev/null +++ b/site/componentbuilder.php @@ -0,0 +1,50 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/site/controller.php b/site/controller.php new file mode 100644 index 000000000..94198177d --- /dev/null +++ b/site/controller.php @@ -0,0 +1,102 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/site/controllers/help.php b/site/controllers/help.php new file mode 100644 index 000000000..fef22ba94 --- /dev/null +++ b/site/controllers/help.php @@ -0,0 +1,131 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/site/controllers/index.html b/site/controllers/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/site/controllers/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/site/helpers/componentbuilder.php b/site/helpers/componentbuilder.php new file mode 100644 index 000000000..cf34bd30a --- /dev/null +++ b/site/helpers/componentbuilder.php @@ -0,0 +1,999 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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 + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = 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 + $allow = false; + } + else + { + $result->set($action->name, false); + // set not to use component default + $allow = false; + } + } + } + } + } + } + // if allowed then fall back on component global settings + if ($allow) + { + $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/site/helpers/headercheck.php b/site/helpers/headercheck.php new file mode 100644 index 000000000..329ceec82 --- /dev/null +++ b/site/helpers/headercheck.php @@ -0,0 +1,86 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/site/helpers/index.html b/site/helpers/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/site/helpers/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/site/helpers/route.php b/site/helpers/route.php new file mode 100644 index 000000000..93c9d3def --- /dev/null +++ b/site/helpers/route.php @@ -0,0 +1,222 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/site/index.html b/site/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/site/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/site/language/en-GB/en-GB.com_componentbuilder.ini b/site/language/en-GB/en-GB.com_componentbuilder.ini new file mode 100644 index 000000000..d158447d7 --- /dev/null +++ b/site/language/en-GB/en-GB.com_componentbuilder.ini @@ -0,0 +1,14 @@ +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/site/language/en-GB/en-GB.com_componentbuilder.sys.ini b/site/language/en-GB/en-GB.com_componentbuilder.sys.ini new file mode 100644 index 000000000..d00ef7909 --- /dev/null +++ b/site/language/en-GB/en-GB.com_componentbuilder.sys.ini @@ -0,0 +1 @@ +COM_COMPONENTBUILDER="Component Builder" diff --git a/site/language/en-GB/index.html b/site/language/en-GB/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/site/language/en-GB/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/site/language/index.html b/site/language/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/site/language/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/site/layouts/index.html b/site/layouts/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/site/layouts/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/site/models/index.html b/site/models/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/site/models/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file diff --git a/site/router.php b/site/router.php new file mode 100644 index 000000000..c0803c0ce --- /dev/null +++ b/site/router.php @@ -0,0 +1,200 @@ +<?php +/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/ + __ __ _ _____ _ _ __ __ _ _ _ + \ \ / / | | | __ \ | | | | | \/ | | | | | | | + \ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| | + \ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` | + \ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| | + \/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_| + | | + |_| +/-------------------------------------------------------------------------------------------------------------------------------/ + + @version 2.0.8 + @build 30th January, 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/site/views/index.html b/site/views/index.html new file mode 100644 index 000000000..fa6d84e80 --- /dev/null +++ b/site/views/index.html @@ -0,0 +1 @@ +<html><body bgcolor="#FFFFFF"></body></html> \ No newline at end of file

$(6ok5HdkBvuh72Wo%f`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?WjVPRroVq;@tWMpJz zWo2e&W@l$-XlQ6@X=!R|YHMq2Y;0_8ZEbFDZf|dIaBy&OadC2Ta&vQYbaZreb#-=j zc6WDoczAeud3kzzdV70&e0+R;eSLm@et&;|fPjF3fq{a8f`fyDgoK2Jg@uNOhKGlT zh=_=ZiHVAeii?YjjEszpjg5|uj*pLzkdTm(k&%*;l9Q8@l$4Z}m6ev3mY0{8n3$NE znVFiJnwy)OoSdAUot>VZo}ZteprD|kp`oIpqNAguq@<*!rKP5(rl+T;sHmu^si~@} zs;jH3tgNi9t*x%EuCK4Ju&}VPv9YqUva_?Zw6wIfwY9dkwzs#pxVX5vxw*Q!y1To( zyu7@dCU$jHda$;ryf%FD~k%*@Qq z&CSlv&d<-!(9qD)(b3Y<($mw^)YR0~)z#M4*4Nk9*x1lt)=I7_<=;-L_>FMg~>g((4?Ck9A?d|UF?(gsK z@bK{Q@$vHV^7Hfa^z`)g_4W4l_V@Sq`1ttw`T6?#`uqF){QUg={r&#_{{R2~_5NW^ z0000XNklU`7=n0RR910RR6308Zv&5E8XYJ^%m!07*qo IM6N<$g69OdNB{r; literal 0 HcmV?d00001 diff --git a/admin/assets/images/icons/admin_view_add.png b/admin/assets/images/icons/admin_view_add.png new file mode 100644 index 0000000000000000000000000000000000000000..38b7209f5343bcd0914424bb5332c7341031d458 GIT binary patch literal 15481 zcmb80<69-%*MK|Ob+U1?ZQHhO+s0%!*)`d&$)0Sx$(-!p^Zp6%hmC80-uv2X-RoY_ z%8F7*@ObcGU|>ix(&DQBt-=2{V4?q;hXhR~|66d~CA8huoGjhFOk6F%M9iH`El6Y> zOsp(aElkXPTqZ2|!NB$bN0wePqQ zh<(Y{|J61N_P!|yaq0Aq*wAe)c-zcUF2U@Fu#j7i+)ib=wMJ*gendelVg|xK%i_ z5PF+W>|a`1dcrYwaRD0o-${&{vkI{z_TLsvJ1{HIr2(R%vMD3*hx(>S``%LbC_+ve zlU5JsJ_&uSgZL1eG7wQcw`XvI#d-{Pdm-m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h~fYM literal 0 HcmV?d00001 diff --git a/admin/assets/images/icons/admin_views.png b/admin/assets/images/icons/admin_views.png new file mode 100644 index 0000000000000000000000000000000000000000..586fa0bbb17b35a8fc3fecd76b0726d36a62ee0e GIT binary patch literal 13176 zcmb7LQ)3+rusrdJZKF|R+icj_wr%IcP8wTH(in|x+qTv4#P_@Z;NFMXdEcjP1VuD&C}S$93X1uXktz#Yj136 zu3~O%=IuOYE&u?q6Ua)4s(Gzn`de2~X?rZUB_+Mx-Ce!u$Z0!9EJv}9yfP3+`=1Hk^Xhc@^t2Z`K05cc;B(GRmFD|P?I%&rF!gPI%R*P} z=K@^+2ncU?I#wFdI~6fBVS z6!1quN-@e(kH*BoG%smxVK_e0Ivn^{{6i|5MRx4EOu7d5^Gm?zK7rslRRxq!Lj|5; zhf|c2(GFjy3n`QJxA(jmmrG}W61(9VC-JWy={n(uFD~upnUhpw{UCeeXyt~G zaUwbaQHcC&Dui=gwS6VQ{78^It`7<_%~sXL6UI(L!TkX0m6MKEfvNCB6bV+;x^;Z#p0q1mLMwO}<9lh#OIBO!(cETsTx=8sEAimHf-)NHB?LzdO#4*~${ zTL)9g1nE?yZO_ucSx%OGV58qD>nR$s-Wpsi%uPjn$M0Cy0K!y3c(oHNqWx=6YG^Xh zkm_%himFAMrIvrQYHFJMu#XrE6eQyyOlcGCd|;K}R-+EVF`?80hJ+S8%P^x?xMO$} zz29m*Me2|6M18Py-}mUcHW7l;p9CzbF42h1@=h1fT5bm4x@E{iT(={P$z72yHoF|lRO#_)1L71zVNB`i5&f2S@U-?~_ zOyC!9`eugSX6+PKxu{aORy`1sTODaqz@E3{MXGOJB+sfz_pErC#^uX6A+$yg+#;HDZLu}H!PH1eUX z0d|N8czPFqI~yG%5|k}|Gd>i|P>H9VGdHsAsU%JY6B3+Zc1TF%Epe@IS%PQhcFdnI zM8sb-rb0Eg?^gt*LO3`zZqJ!#_~7q7w=tT_D=S|Uj$g};Uus<0;9^lb2p=u`iH6s# z5Jow0!|~b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|MNvBBX6hByK zk>>^37P{iQ(MHOU$VXS5W;};p$@je=z@P|vr^S%1pnq88pfuvQa<{9Dap5H*k^X7B}h1qVdM%@%d5k?L)(7L~I4-3Sr%7J23GE zD9!rHe63|jDza0rhUoXP-UD_oCn6pgemyrLGE(lizlAn>#0Qf=i~Qsy32fdEAYCT~ z0S0$_1l=Lg@)02L{ut5b&4thSrHJcOd_iYg3r{f;%-O}YA1d*R#Hh`Pk*HRUzG+RE2$_^BW4uxKfHl0$^ZZW literal 0 HcmV?d00001 diff --git a/admin/assets/images/icons/compiler.png b/admin/assets/images/icons/compiler.png new file mode 100644 index 0000000000000000000000000000000000000000..7d383b428bb2d19d2b208d165088779ce3922787 GIT binary patch literal 20445 zcmV)$K#sqOP)Ji z0T>=0u7R-@78{XZ6RJ2{O1bI4$o`?N_uY51kio}4^fT|@_QO8U7XzKt04qSJ6v7LF6b+L6W!CcJ zAAJ8ckG~M-{$eHZ!#;sSh|mMDTFyru1EnYez;M<<8v|_(GHsA%x@ z|M7Fz{`Dt6`Tx8ioLmA>U+e=d&nhu9;wXe5Ku8IxB&3ue2w3M}tc5nl3qqpHI&&XD zsJ{N1E3d4c;H!91(a9wMgudl}m=OjMlmMiZ5JEtZ^umz;%*A6e=ARWQl|^2F4gzYr*Wmmf@TO6Ts{MK!7oHqR#%sNGF*9EZ+n$ zGgJ^lN`YFf16dd#%QTG9$TIDBys`e#GME7(0$DS7A}`>@MkkE`9N52KfO*+YAmFos z>=>OLRoHTjBuSBF8L~7(rZu!S&^m)P7RDH`W4J(`dIB%wMMo!%08C6y#QpvKJ+#c+ z6tj2!oH2-k2vKJzl4cWWk|Ir0q*rK3*|zf5xa`IlaL<@AaA-WP&S8UYYe_JbjoTb^Qg0SJ`B%+v%ZcP2UiPXdq> zAc_=9VT3e}(M%J>QB-x-^#Ry-yw@;taF=o-{BM$?KUlGn%EJeq`p~^wZ~aq8_8%^} zR2s^gGHW{{MKq7tSiC%{KcC@};B5hSW%30;*Mdb_(-x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RP^5+jq&<~6ONyxEKwTkm7 zRbPjKv66B{`Y}Mb1d~R6F#qe(*MshtJ*FO(Ct?v9g3q|VgERY$=8@A75QM0*)fltE zbcdvI3l!{@vyRIBJZck4(q}=BhfOFJYBuqIQ#h1YL|(ZlI7$ybhsJ9sGPNG$diiG} zt@Nh;>P~S&h{7Wo@e8|as7=p^KGxd+{h2t~Ho~orjnJ7Atf9e(@E0O@^8Ad+*^fLk z@@HG_H_jUUawfT{1DzL_7E?oD2<5jRSIm`@33Yab5lFvlDnH22IOnIQ-nQ3u0r~@W zOpl+mqC~J=zC_>Naraf+LDFIuj;K|ZUz7A}NO><5qHqmYo3RMQ=ETH^hdEae_aO|@ z>y&=BZ4IdD{(Ia)T9Y(8<&a4h)6<;tw*C z?JUoIpE`!FE-q^f92^({Y=JX3!{9W!Jy*$M=Tgg(bVMZJCRqkE=W*N9GC#oVn=Iz&a5ubUX>_H z#&sW;r+ib}+uOG{o+jPeml>2th)+H}t(z|$c2qco7}a%zfQ9|BKGl$th7Or-Ww(dz zYEc(xG*UN+{p7PGb|sn@7uP+;C&>D8A|a_w^_Ees)e`$U*7FiYD>2;VG!BFUxMNMh zx<77(HQnFe!*_(PS;w&^1R=Y{iBG!!hGV+X#@60c-?nIkwe~fIO?z8s=L;!@;$xUd z2N^_IqL0Mm)aR-QUlkQ7JoH{l#wP#JkL{ee@OXdTAojc-rBYR-5^Uf&gnF*OS->*L?RZUl4lsl_dj zKt5NNmP=8{C0PcFFSN2}$COAY&A4MgEzPIf64~>>5B7N6>@N|&UlCh{r$yEMh!#WR z_Bm*M3@gdDYqOZ6VgTC2ongQ>07A0+O~u8_EGI$DA1gdJAVCzkdYU?TRK#iXIkD zaV8>f+UNO)Zx+qf+r<|Rp0MU=r;{X5v literal 0 HcmV?d00001 diff --git a/admin/assets/images/icons/components.png b/admin/assets/images/icons/components.png new file mode 100644 index 0000000000000000000000000000000000000000..3917f1e456ca102b58f1e46f4afdc5f587d06650 GIT binary patch literal 11043 zcm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e(Uc_bR(Za=>-I7LEeZ;aMIT}a8rT=#rv5kM@nJN?Er^KiMlLTgKrO=hH#90` zmjQmd7+?zp!>AINpkX5VY?=YK74%@FxYmyA1F?Fu?Bmzqk1A7VI*>?%HL5-L=aAyK9#LcGv&E^}hlP0BTDe4kA^A Qu>b%707*qoM6N<$g4vCIOaK4? literal 0 HcmV?d00001 diff --git a/admin/assets/images/icons/custom_admin_views.png b/admin/assets/images/icons/custom_admin_views.png new file mode 100644 index 0000000000000000000000000000000000000000..950ed0120825d3ce5e3e92167d74b195228f31d2 GIT binary patch literal 22174 zcmV)dK&QWnP)2)PtEhNYuLN?{@3?agZc08|L1w~BTYl^e)_38r|MMg z{jGPc^}gS?zO@CMJYLs_aJ*08HQgmUy|UTWyX}tIEN606 zyVKsZAXg2e+ayD`TlHG&-QV16{^T>8rBXVVpuhW&KN7xSXeE>2r4_*+@e6jZ)Nqc)FwLQxcXXkt)km`J+m=ZGahD_4Wal4PCu~PAvn|>_C*9FeqFb zMhCT0fd)ndMFLby8OW*&hTf&0b!1mkaJW5a5fB==A{2)rXr%@y&s(RQz8cLMdHdcL zD)gFV0)s=N@P+zO$)v1`UPLOjB6Ljyp+37Mik)3rt?{0Z-kCdiyvFo|0l;0KJ>A=? z)h@NE@-2a|Z~V-w-YT>U1z~Cb9Q0NbLRZJY>H#IDrP0qV`ndzcve2q)V0lBU)?g`i=*{^Py{o(mrz`3AvQDyz0$(S^m>XcU5fZ7bg_#)+kTD3Oa_BfLFnzO z;czOqIXvEvy!Sf?&EqkyCj*;DBkg$orcV1w=A@8=XduzQqo$ zoa2$8Nl~ENqDW9KpjN9vwcF7#ER@n&`n?Xt?Lsk`gVXPWB#ZEd2wbKHyElkNp+c{< zAU7rWWBmvQ`cPP2MzFsR1_7c&AXqpshh%vPeIpL~J}XNAyztuF=Jy|uu{|LG@V#rt zNlu0T*3?_?UUTLtVj)#V`e2H@ZxntSbk*rZwX%%V%mU)00~p!dkI-qC)74qr@G$9- z!n|o1{J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V54eDnlvr_hJnT?M$q+g$~?!`od2xWn6B1-Qf8T?M$q+g$~? l!`od2xWn6B1-Qf8e*+8|SNC-{xS#+4002ovPDHLkV1fx`^uYiC literal 0 HcmV?d00001 diff --git a/admin/assets/images/icons/dynamic_get_add.png b/admin/assets/images/icons/dynamic_get_add.png new file mode 100644 index 0000000000000000000000000000000000000000..8af8c927e2ec6f0bea497086e73d75dc55dd0c54 GIT binary patch literal 15024 zcmbum1yo$kwk_N=?hxD?NpN>}cXxMpcP9{nLvZ&X!Ciy9yF;+xuKn|!bM77YjbFz2 z-|Mk^ch|19X02K^XZ33Ps-z%^jDU{-005AsrNmS|9)te5!@+!<`vr{0001aMYc(x5 zEqOT}Q%8FSV>3q+a|SPar;mOBfKSlN$=KA^+zn)6ZfWhnPj=DXO$M?y<0sQ(muHf9 z5;eE7mhy2iSM^a)Gxf1Gq=i~W5ml?@G z|1xp2>NBSoS^^Q$OI5Td@g1dJSt)m{~7F~#ZPAC=H|r1$mr?m$>7P#;OJt>$jr^n{SOEW z3;l-$y{or_o3R(YgDd$z5dX#yGj}z0v37E^c60#!gK2Ey=L%{-0rH=K{vSPD)x4d|8CA?(9o=0_&BZ;; z9o)$OC&WiG|GxqLW&B|!FVCaoV(x10;$dzkVQpuwU~F&BPiAlK>S}ChPH*Dq=4NM3 zZ*A)6z~JOy`9GYb9bDav9Zb!o#rVlSU>K~e&3MGwB*d5`IGDuQ#3jVpn3=g)xJ5;o z#hAre+1c5JMcDs`yO^V?yZuMd|K)D>|Ib~~#rlI=#&-WFFg)@fv@$bxGZr&;`UMS|(;5CZ>NaHi+-vxstMWb#rv_{%8IF!vIxt=YO~UO$a;d ze|3RC|5`*IW7B`A!B6ID{E^>(FVKH=S^w{5@MGkEgL_(;e?b4g2mZfA;_7JO=4tF= zE^PUc_W#n5h>NwEr8!7cl>)Nx=VSc8C5Z1|2LD4LAAbM7_MyBF$us`9=06($y=#~|d<^FDu_vUNv5Fx23IQSg3%G0ST!vKyTJ(E0Xex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