From 2d8e703419d6c5c7fe340ed7b6f5d2593edea23d Mon Sep 17 00:00:00 2001 From: yin5th <541304803@qq.com> Date: Tue, 25 Jul 2023 17:22:32 +0800 Subject: [PATCH] feat: init --- .gitignore | 14 + .htaccess | 0 LICENSE.txt | 32 + README.md | 18 + app/.htaccess | 1 + app/common.php | 497 + app/controller/About.php | 33 + app/controller/Base.php | 131 + app/controller/BaseController.php | 241 + app/controller/Contact.php | 17 + app/controller/Djqt.php | 79 + app/controller/Download.php | 56 + app/controller/Error.php | 64 + app/controller/Index.php | 87 + app/controller/Info.php | 173 + app/controller/Links.php | 28 + app/controller/Ljct.php | 79 + app/controller/Msg.php | 8 + app/controller/News.php | 79 + app/controller/Page.php | 76 + app/controller/Product.php | 130 + app/controller/Search.php | 71 + app/controller/Upload.php | 9 + app/controller/manager/Article.php | 509 + app/controller/manager/Backup.php | 153 + app/controller/manager/Base.php | 89 + app/controller/manager/Category.php | 325 + app/controller/manager/Config.php | 95 + app/controller/manager/Content.php | 273 + app/controller/manager/Download.php | 182 + app/controller/manager/Error.php | 33 + app/controller/manager/File.php | 146 + app/controller/manager/Group.php | 146 + app/controller/manager/History.php | 346 + app/controller/manager/Honour.php | 164 + app/controller/manager/Index.php | 42 + app/controller/manager/Link.php | 177 + app/controller/manager/LinkProduct.php | 179 + app/controller/manager/Login.php | 75 + app/controller/manager/Logout.php | 13 + app/controller/manager/Member.php | 181 + app/controller/manager/Message.php | 141 + app/controller/manager/Model.php | 184 + app/controller/manager/Notice.php | 148 + app/controller/manager/Page.php | 672 + app/controller/manager/Position.php | 145 + app/controller/manager/Product.php | 167 + app/controller/manager/Rule.php | 181 + app/controller/manager/Safe.php | 65 + app/controller/manager/Slide.php | 198 + app/controller/manager/System.php | 63 + app/controller/manager/Tag.php | 64 + app/controller/manager/Upload.php | 222 + app/controller/manager/VisitLog.php | 147 + app/controller/manager/Wechat.php | 27 + app/event.php | 17 + app/middleware.php | 10 + app/middleware/Auth.php | 65 + app/middleware/Csrf.php | 55 + app/model/Article.php | 542 + app/model/ArticleTags.php | 84 + app/model/AuthGroup.php | 54 + app/model/AuthRule.php | 271 + app/model/Base.php | 51 + app/model/Block.php | 170 + app/model/Category.php | 448 + app/model/ConfigSetting.php | 115 + app/model/DownloadModel.php | 96 + app/model/File.php | 96 + app/model/History.php | 47 + app/model/HistoryInfo.php | 52 + app/model/Honour.php | 32 + app/model/Link.php | 52 + app/model/LinkProduct.php | 51 + app/model/Log.php | 20 + app/model/LoginLog.php | 6 + app/model/Member.php | 72 + app/model/Message.php | 60 + app/model/Model.php | 27 + app/model/NoticeModel.php | 90 + app/model/PositionModel.php | 96 + app/model/ProductModel.php | 94 + app/model/Slide.php | 43 + app/model/SmsLog.php | 30 + app/model/SpecialRoute.php | 23 + app/model/System.php | 59 + app/model/VisitLogoModel.php | 11 + app/provider.php | 5 + app/service/File.php | 188 + app/service/Http.php | 168 + app/service/Image.php | 140 + app/service/Tool.php | 102 + app/service/driver/SessionFile.php | 66 + app/validate/Article.php | 74 + app/validate/AuthGroup.php | 17 + app/validate/AuthRule.php | 19 + app/validate/Block.php | 16 + app/validate/Category.php | 79 + app/validate/DownloadValidate.php | 20 + app/validate/History.php | 21 + app/validate/HistoryInfo.php | 19 + app/validate/HonourValidate.php | 20 + app/validate/Link.php | 16 + app/validate/LinkProduct.php | 17 + app/validate/Login.php | 73 + app/validate/Member.php | 17 + app/validate/Message.php | 21 + app/validate/Model.php | 16 + app/validate/NoticeValidate.php | 11 + app/validate/PositionValidate.php | 17 + app/validate/ProductValidate.php | 18 + app/validate/Slide.php | 16 + app/validate/Upload.php | 60 + app/widget/Common.php | 76 + app/widget/Menu.php | 98 + app/widget/Slide.php | 17 + app/widget/manager/Crumbs.php | 43 + app/widget/manager/Menu.php | 91 + app/widget/manager/Upload.php | 144 + build.example.php | 26 + composer.json | 47 + composer.lock | 1717 +++ config/app.php | 40 + config/cache.php | 30 + config/captcha.php | 39 + config/console.php | 9 + config/cookie.php | 18 + config/database.php | 63 + config/extra/base.php | 27 + config/filesystem.php | 52 + config/lang.php | 27 + config/log.php | 46 + config/middleware.php | 11 + config/route.php | 51 + config/session.php | 19 + config/trace.php | 10 + config/view.php | 34 + extend/dxtc/Bootstrap.php | 268 + extend/page/DxtcPageA.php | 246 + package-lock.json | 5 + package.json | 16 + public/.htaccess | 9 + public/.htaccess.bak | 8 + public/404.html | 34 + public/index.php | 24 + public/static/common/404.css | 42 + public/static/common/common.css | 244 + public/static/common/jquery-3.4.1.min.js | 2 + public/static/css/animate.css | 6372 +++++++++ public/static/css/animate.min.css | 6 + public/static/css/base.css | 181 + public/static/css/media.css | 850 ++ public/static/css/style.css | 5370 ++++++++ public/static/css/swiper.min.css | 12 + public/static/js/bdmap.js | 150 + public/static/js/javascript.js | 500 + public/static/js/jquery.SuperSlide.2.1.3.js | 14 + public/static/js/jquery.js | 10881 ++++++++++++++++ public/static/js/jquery.min.js | 3652 ++++++ public/static/js/jquery1.8.3.min.js | 2 + public/static/js/snow.js | 8 + public/static/js/swiper.animate1.0.3.min.js | 3 + public/static/js/swiper.min.js | 13 + .../js/tinymce5/icons/default/icons.min.js | 1 + .../static/js/tinymce5/jquery.tinymce.min.js | 91 + public/static/js/tinymce5/langs/README.md | 3 + public/static/js/tinymce5/langs/zh_CN.js | 414 + public/static/js/tinymce5/license.txt | 504 + .../js/tinymce5/plugins/advlist/plugin.min.js | 9 + .../js/tinymce5/plugins/anchor/plugin.min.js | 9 + .../tinymce5/plugins/autolink/plugin.min.js | 9 + .../tinymce5/plugins/autoresize/plugin.min.js | 9 + .../tinymce5/plugins/autosave/plugin.min.js | 9 + .../js/tinymce5/plugins/axupimgs/loading.gif | Bin 0 -> 19215 bytes .../js/tinymce5/plugins/axupimgs/plugin.js | 75 + .../tinymce5/plugins/axupimgs/plugin.min.js | 75 + .../js/tinymce5/plugins/axupimgs/upfiles.html | 203 + .../js/tinymce5/plugins/bbcode/plugin.min.js | 9 + .../js/tinymce5/plugins/charmap/plugin.min.js | 9 + .../js/tinymce5/plugins/code/plugin.min.js | 9 + .../tinymce5/plugins/codesample/plugin.min.js | 9 + .../plugins/colorpicker/plugin.min.js | 9 + .../plugins/contextmenu/plugin.min.js | 9 + .../plugins/directionality/plugin.min.js | 9 + .../plugins/emoticons/js/emojiimages.js | 9424 +++++++++++++ .../plugins/emoticons/js/emojiimages.min.js | 3 + .../tinymce5/plugins/emoticons/js/emojis.js | 9423 +++++++++++++ .../plugins/emoticons/js/emojis.min.js | 2 + .../tinymce5/plugins/emoticons/plugin.min.js | 9 + .../plugins/formatpainter/plugin.min.js | 1025 ++ .../tinymce5/plugins/fullpage/plugin.min.js | 9 + .../tinymce5/plugins/fullscreen/plugin.min.js | 9 + .../js/tinymce5/plugins/help/plugin.min.js | 9 + .../js/tinymce5/plugins/hr/plugin.min.js | 9 + .../js/tinymce5/plugins/image/plugin.min.js | 9 + .../tinymce5/plugins/imagetools/plugin.min.js | 9 + .../tinymce5/plugins/importcss/plugin.min.js | 9 + .../js/tinymce5/plugins/importword/index.js | 1 + .../js/tinymce5/plugins/importword/plugin.js | 754 ++ .../tinymce5/plugins/importword/plugin.min.js | 764 ++ .../plugins/insertdatetime/plugin.min.js | 9 + .../plugins/legacyoutput/plugin.min.js | 9 + .../js/tinymce5/plugins/link/plugin.min.js | 9 + .../js/tinymce5/plugins/lists/plugin.min.js | 9 + .../js/tinymce5/plugins/media/plugin.min.js | 9 + .../plugins/nonbreaking/plugin.min.js | 9 + .../plugins/noneditable/plugin.min.js | 9 + .../tinymce5/plugins/pagebreak/plugin.min.js | 9 + .../js/tinymce5/plugins/paste/plugin.min.js | 9 + .../js/tinymce5/plugins/preview/plugin.min.js | 9 + .../js/tinymce5/plugins/print/plugin.min.js | 9 + .../tinymce5/plugins/quickbars/plugin.min.js | 9 + .../js/tinymce5/plugins/save/plugin.min.js | 9 + .../plugins/searchreplace/plugin.min.js | 9 + .../plugins/spellchecker/plugin.min.js | 9 + .../tinymce5/plugins/tabfocus/plugin.min.js | 9 + .../js/tinymce5/plugins/table/plugin.min.js | 9 + .../tinymce5/plugins/template/plugin.min.js | 9 + .../tinymce5/plugins/textcolor/plugin.min.js | 9 + .../plugins/textpattern/plugin.min.js | 9 + .../js/tinymce5/plugins/toc/plugin.min.js | 9 + .../plugins/visualblocks/plugin.min.js | 9 + .../plugins/visualchars/plugin.min.js | 9 + .../tinymce5/plugins/wordcount/plugin.min.js | 9 + .../skins/content/dark/content.min.css | 7 + .../skins/content/default/content.min.css | 7 + .../skins/content/document/content.min.css | 7 + .../skins/content/writer/content.min.css | 7 + .../ui/oxide-dark/content.inline.min.css | 7 + .../skins/ui/oxide-dark/content.min.css | 7 + .../ui/oxide-dark/content.mobile.min.css | 7 + .../ui/oxide-dark/fonts/tinymce-mobile.woff | Bin 0 -> 4624 bytes .../tinymce5/skins/ui/oxide-dark/skin.min.css | 7 + .../skins/ui/oxide-dark/skin.mobile.min.css | 7 + .../ui/oxide-dark/skin.shadowdom.min.css | 7 + .../skins/ui/oxide/content.inline.min.css | 7 + .../tinymce5/skins/ui/oxide/content.min.css | 7 + .../skins/ui/oxide/content.mobile.min.css | 7 + .../skins/ui/oxide/fonts/tinymce-mobile.woff | Bin 0 -> 4624 bytes .../js/tinymce5/skins/ui/oxide/skin.min.css | 7 + .../skins/ui/oxide/skin.mobile.min.css | 7 + .../skins/ui/oxide/skin.shadowdom.min.css | 7 + .../js/tinymce5/themes/mobile/theme.min.js | 9 + .../js/tinymce5/themes/silver/theme.min.js | 9 + public/static/js/tinymce5/tinymce.d.ts | 3036 +++++ public/static/js/tinymce5/tinymce.min.js | 9 + public/static/js/wow.js | 2 + .../static/manager/codemirror/codemirror.css | 349 + .../static/manager/codemirror/codemirror.js | 9844 ++++++++++++++ public/static/manager/codemirror/css.js | 860 ++ public/static/manager/codemirror/htmlmixed.js | 152 + .../static/manager/codemirror/javascript.js | 933 ++ public/static/manager/codemirror/xml.js | 413 + public/static/manager/css/ocms.css | 348 + public/static/manager/extend/echarts.min.js | 22 + public/static/manager/extend/iconPicker.js | 400 + public/static/manager/extend/jquery-ui.js | 1419 ++ public/static/manager/image/del.svg | 1 + public/static/manager/image/file.png | Bin 0 -> 1286 bytes public/static/manager/image/ico_401.png | Bin 0 -> 11683 bytes public/static/manager/image/ico_403.png | Bin 0 -> 14333 bytes public/static/manager/image/ico_404.png | Bin 0 -> 21017 bytes public/static/manager/image/ico_404_init.png | Bin 0 -> 13124 bytes public/static/manager/image/ico_500.png | Bin 0 -> 20129 bytes public/static/manager/image/ico_500_init.png | Bin 0 -> 18484 bytes public/static/manager/image/ico_501.png | Bin 0 -> 12238 bytes public/static/manager/image/ico_add.png | Bin 0 -> 1222 bytes public/static/manager/image/ico_all.png | Bin 0 -> 1581 bytes public/static/manager/image/ico_arrow1.png | Bin 0 -> 1961 bytes public/static/manager/image/ico_arrow1_1.png | Bin 0 -> 2198 bytes public/static/manager/image/ico_arrow2.png | Bin 0 -> 1853 bytes public/static/manager/image/ico_arrow2_1.png | Bin 0 -> 2123 bytes public/static/manager/image/ico_arrow3.png | Bin 0 -> 2003 bytes public/static/manager/image/ico_arrow3_1.png | Bin 0 -> 2254 bytes public/static/manager/image/ico_arrow4.png | Bin 0 -> 989 bytes public/static/manager/image/ico_arrow5.png | Bin 0 -> 948 bytes public/static/manager/image/ico_arrow6.png | Bin 0 -> 2168 bytes public/static/manager/image/ico_arrow7.png | Bin 0 -> 1395 bytes public/static/manager/image/ico_arrow8.png | Bin 0 -> 2066 bytes public/static/manager/image/ico_close.png | Bin 0 -> 1861 bytes public/static/manager/image/ico_close2.png | Bin 0 -> 1049 bytes public/static/manager/image/ico_close3.png | Bin 0 -> 2917 bytes public/static/manager/image/ico_close4.png | Bin 0 -> 365 bytes public/static/manager/image/ico_csd.png | Bin 0 -> 2306 bytes public/static/manager/image/ico_csd2.png | Bin 0 -> 2492 bytes public/static/manager/image/ico_ok.png | Bin 0 -> 984 bytes public/static/manager/image/ico_upload.png | Bin 0 -> 1849 bytes public/static/manager/image/icon_head.png | Bin 0 -> 2423 bytes .../static/manager/image/icon_img_change.png | Bin 0 -> 1132 bytes .../manager/image/icon_img_change_2.png | Bin 0 -> 2751 bytes public/static/manager/image/login_img.png | Bin 0 -> 68094 bytes public/static/manager/image/next.svg | 1 + public/static/manager/image/prev.svg | 1 + public/static/manager/js/ocms.js | 1853 +++ public/static/manager/js/upload.js | 48 + public/static/manager/js/upload_group.js | 46 + public/static/manager/layui/css/layui.css | 2 + .../static/manager/layui/css/layui.mobile.css | 2 + .../static/manager/layui/css/modules/code.css | 2 + .../css/modules/laydate/default/laydate.css | 2 + .../css/modules/layer/default/icon-ext.png | Bin 0 -> 5911 bytes .../layui/css/modules/layer/default/icon.png | Bin 0 -> 11021 bytes .../layui/css/modules/layer/default/layer.css | 2 + .../css/modules/layer/default/loading-0.gif | Bin 0 -> 5793 bytes .../css/modules/layer/default/loading-1.gif | Bin 0 -> 701 bytes .../css/modules/layer/default/loading-2.gif | Bin 0 -> 1787 bytes public/static/manager/layui/font/iconfont.eot | Bin 0 -> 46684 bytes public/static/manager/layui/font/iconfont.svg | 554 + public/static/manager/layui/font/iconfont.ttf | Bin 0 -> 46508 bytes .../static/manager/layui/font/iconfont.woff | Bin 0 -> 30628 bytes .../static/manager/layui/font/iconfont.woff2 | Bin 0 -> 25964 bytes public/static/manager/layui/images/face/0.gif | Bin 0 -> 2689 bytes public/static/manager/layui/images/face/1.gif | Bin 0 -> 5514 bytes .../static/manager/layui/images/face/10.gif | Bin 0 -> 2797 bytes .../static/manager/layui/images/face/11.gif | Bin 0 -> 4121 bytes .../static/manager/layui/images/face/12.gif | Bin 0 -> 3361 bytes .../static/manager/layui/images/face/13.gif | Bin 0 -> 7425 bytes .../static/manager/layui/images/face/14.gif | Bin 0 -> 2375 bytes .../static/manager/layui/images/face/15.gif | Bin 0 -> 1793 bytes .../static/manager/layui/images/face/16.gif | Bin 0 -> 6721 bytes .../static/manager/layui/images/face/17.gif | Bin 0 -> 4439 bytes .../static/manager/layui/images/face/18.gif | Bin 0 -> 3017 bytes .../static/manager/layui/images/face/19.gif | Bin 0 -> 3040 bytes public/static/manager/layui/images/face/2.gif | Bin 0 -> 3222 bytes .../static/manager/layui/images/face/20.gif | Bin 0 -> 5144 bytes .../static/manager/layui/images/face/21.gif | Bin 0 -> 5191 bytes .../static/manager/layui/images/face/22.gif | Bin 0 -> 9823 bytes .../static/manager/layui/images/face/23.gif | Bin 0 -> 3792 bytes .../static/manager/layui/images/face/24.gif | Bin 0 -> 8096 bytes .../static/manager/layui/images/face/25.gif | Bin 0 -> 3127 bytes .../static/manager/layui/images/face/26.gif | Bin 0 -> 3291 bytes .../static/manager/layui/images/face/27.gif | Bin 0 -> 4377 bytes .../static/manager/layui/images/face/28.gif | Bin 0 -> 2793 bytes .../static/manager/layui/images/face/29.gif | Bin 0 -> 4854 bytes public/static/manager/layui/images/face/3.gif | Bin 0 -> 4017 bytes .../static/manager/layui/images/face/30.gif | Bin 0 -> 2555 bytes .../static/manager/layui/images/face/31.gif | Bin 0 -> 2002 bytes .../static/manager/layui/images/face/32.gif | Bin 0 -> 3481 bytes .../static/manager/layui/images/face/33.gif | Bin 0 -> 2454 bytes .../static/manager/layui/images/face/34.gif | Bin 0 -> 3700 bytes .../static/manager/layui/images/face/35.gif | Bin 0 -> 1800 bytes .../static/manager/layui/images/face/36.gif | Bin 0 -> 2331 bytes .../static/manager/layui/images/face/37.gif | Bin 0 -> 1513 bytes .../static/manager/layui/images/face/38.gif | Bin 0 -> 3615 bytes .../static/manager/layui/images/face/39.gif | Bin 0 -> 6495 bytes public/static/manager/layui/images/face/4.gif | Bin 0 -> 5689 bytes .../static/manager/layui/images/face/40.gif | Bin 0 -> 3154 bytes .../static/manager/layui/images/face/41.gif | Bin 0 -> 3644 bytes .../static/manager/layui/images/face/42.gif | Bin 0 -> 5305 bytes .../static/manager/layui/images/face/43.gif | Bin 0 -> 2674 bytes .../static/manager/layui/images/face/44.gif | Bin 0 -> 4126 bytes .../static/manager/layui/images/face/45.gif | Bin 0 -> 3417 bytes .../static/manager/layui/images/face/46.gif | Bin 0 -> 3007 bytes .../static/manager/layui/images/face/47.gif | Bin 0 -> 2333 bytes .../static/manager/layui/images/face/48.gif | Bin 0 -> 2689 bytes .../static/manager/layui/images/face/49.gif | Bin 0 -> 2315 bytes public/static/manager/layui/images/face/5.gif | Bin 0 -> 4567 bytes .../static/manager/layui/images/face/50.gif | Bin 0 -> 5866 bytes .../static/manager/layui/images/face/51.gif | Bin 0 -> 2785 bytes .../static/manager/layui/images/face/52.gif | Bin 0 -> 777 bytes .../static/manager/layui/images/face/53.gif | Bin 0 -> 2127 bytes .../static/manager/layui/images/face/54.gif | Bin 0 -> 2196 bytes .../static/manager/layui/images/face/55.gif | Bin 0 -> 1971 bytes .../static/manager/layui/images/face/56.gif | Bin 0 -> 2034 bytes .../static/manager/layui/images/face/57.gif | Bin 0 -> 2705 bytes .../static/manager/layui/images/face/58.gif | Bin 0 -> 2258 bytes .../static/manager/layui/images/face/59.gif | Bin 0 -> 10311 bytes public/static/manager/layui/images/face/6.gif | Bin 0 -> 2213 bytes .../static/manager/layui/images/face/60.gif | Bin 0 -> 3245 bytes .../static/manager/layui/images/face/61.gif | Bin 0 -> 2495 bytes .../static/manager/layui/images/face/62.gif | Bin 0 -> 2017 bytes .../static/manager/layui/images/face/63.gif | Bin 0 -> 5871 bytes .../static/manager/layui/images/face/64.gif | Bin 0 -> 6448 bytes .../static/manager/layui/images/face/65.gif | Bin 0 -> 3576 bytes .../static/manager/layui/images/face/66.gif | Bin 0 -> 3029 bytes .../static/manager/layui/images/face/67.gif | Bin 0 -> 2701 bytes .../static/manager/layui/images/face/68.gif | Bin 0 -> 1424 bytes .../static/manager/layui/images/face/69.gif | Bin 0 -> 2431 bytes public/static/manager/layui/images/face/7.gif | Bin 0 -> 3398 bytes .../static/manager/layui/images/face/70.gif | Bin 0 -> 4590 bytes .../static/manager/layui/images/face/71.gif | Bin 0 -> 5304 bytes public/static/manager/layui/images/face/8.gif | Bin 0 -> 4050 bytes public/static/manager/layui/images/face/9.gif | Bin 0 -> 4221 bytes .../manager/layui/lay/modules/carousel.js | 2 + .../static/manager/layui/lay/modules/code.js | 2 + .../manager/layui/lay/modules/colorpicker.js | 2 + .../manager/layui/lay/modules/element.js | 2 + .../static/manager/layui/lay/modules/flow.js | 2 + .../static/manager/layui/lay/modules/form.js | 2 + .../manager/layui/lay/modules/jquery.js | 5 + .../manager/layui/lay/modules/laydate.js | 2 + .../manager/layui/lay/modules/layedit.js | 2 + .../static/manager/layui/lay/modules/layer.js | 2 + .../manager/layui/lay/modules/laypage.js | 2 + .../manager/layui/lay/modules/laytpl.js | 2 + .../manager/layui/lay/modules/mobile.js | 2 + .../static/manager/layui/lay/modules/rate.js | 2 + .../manager/layui/lay/modules/slider.js | 2 + .../static/manager/layui/lay/modules/table.js | 2 + .../manager/layui/lay/modules/transfer.js | 2 + .../static/manager/layui/lay/modules/tree.js | 2 + .../manager/layui/lay/modules/upload.js | 2 + .../static/manager/layui/lay/modules/util.js | 2 + public/static/manager/layui/layui.all.js | 5 + public/static/manager/layui/layui.js | 2 + .../style.scssc | Bin 0 -> 658290 bytes .../style.scssc | Bin 0 -> 468527 bytes .../style.scssc | Bin 0 -> 849514 bytes .../style.scssc | Bin 0 -> 1377564 bytes .../style.scssc20220426-2540-sj922y | Bin 0 -> 933852 bytes .../style.scssc20220427-812-ctcrob | Bin 0 -> 1025386 bytes public/static/web/css/animate.css | 2744 ++++ public/static/web/css/animate.min.css | 6 + public/static/web/css/common.css | 487 + public/static/web/css/expanded | 23 + public/static/web/css/hamburgers.css | 557 + public/static/web/css/style.css | 3205 +++++ public/static/web/css/style.css.map | 7 + public/static/web/css/style.min.css | 1 + public/static/web/css/style.scss | 2400 ++++ public/static/web/css/swiper-bundle.css | 613 + public/static/web/css/swiper.min.css | 13 + public/static/web/font/Regular.TTF | Bin 0 -> 50584 bytes public/static/web/images/about-img.jpg | Bin 0 -> 102423 bytes public/static/web/images/banner-dj.jpg | Bin 0 -> 182137 bytes public/static/web/images/banner-gy.jpg | Bin 0 -> 175680 bytes public/static/web/images/banner-gz.jpg | Bin 0 -> 109286 bytes public/static/web/images/banner-hz.jpg | Bin 0 -> 77686 bytes public/static/web/images/banner-jt.jpg | Bin 0 -> 183739 bytes public/static/web/images/banner-jy.jpg | Bin 0 -> 58536 bytes public/static/web/images/banner-jz.jpg | Bin 0 -> 172612 bytes public/static/web/images/banner-lj.jpg | Bin 0 -> 126268 bytes public/static/web/images/banner-lx.jpg | Bin 0 -> 207300 bytes public/static/web/images/banner-mt.jpg | Bin 0 -> 174471 bytes public/static/web/images/banner-ny.jpg | Bin 0 -> 165848 bytes public/static/web/images/banner-wl.jpg | Bin 0 -> 169717 bytes public/static/web/images/banner-zc.jpg | Bin 0 -> 233576 bytes public/static/web/images/banner-zgs.jpg | Bin 0 -> 59516 bytes public/static/web/images/banner-zj.jpg | Bin 0 -> 172277 bytes public/static/web/images/banner-zx.jpg | Bin 0 -> 119968 bytes public/static/web/images/banner.jpg | Bin 0 -> 203579 bytes public/static/web/images/business-img1.jpg | Bin 0 -> 155299 bytes public/static/web/images/business-img2.jpg | Bin 0 -> 42993 bytes public/static/web/images/business-img3.jpg | Bin 0 -> 24500 bytes public/static/web/images/business-img4.jpg | Bin 0 -> 28683 bytes public/static/web/images/business-img5.jpg | Bin 0 -> 41742 bytes public/static/web/images/grow-img.jpg | Bin 0 -> 272811 bytes public/static/web/images/honor-img.jpg | Bin 0 -> 40832 bytes public/static/web/images/leader-img.jpg | Bin 0 -> 46578 bytes public/static/web/images/locate-img.jpg | Bin 0 -> 257560 bytes public/static/web/images/mission-img.jpg | Bin 0 -> 309089 bytes public/static/web/images/mission-img2.jpg | Bin 0 -> 8934 bytes public/static/web/images/mission-img3.jpg | Bin 0 -> 6220 bytes public/static/web/images/mission-img4.jpg | Bin 0 -> 8960 bytes public/static/web/images/mission-img5.jpg | Bin 0 -> 5849 bytes public/static/web/images/news-img.jpg | Bin 0 -> 100917 bytes public/static/web/images/party-img.jpg | Bin 0 -> 20069 bytes public/static/web/images/zc-img.jpg | Bin 0 -> 65879 bytes public/static/web/img/about-icon.png | Bin 0 -> 1143 bytes public/static/web/img/arrow.png | Bin 0 -> 1535 bytes public/static/web/img/back.png | Bin 0 -> 1451 bytes public/static/web/img/business-icon1.png | Bin 0 -> 3899 bytes public/static/web/img/business-icon2.png | Bin 0 -> 3466 bytes public/static/web/img/business-icon3.png | Bin 0 -> 3304 bytes public/static/web/img/business-icon4.png | Bin 0 -> 2838 bytes public/static/web/img/business-icon5.png | Bin 0 -> 2580 bytes public/static/web/img/download-img1.jpg | Bin 0 -> 9007 bytes public/static/web/img/download-img2.jpg | Bin 0 -> 15480 bytes public/static/web/img/download-img3.jpg | Bin 0 -> 12579 bytes public/static/web/img/download-img4.jpg | Bin 0 -> 20524 bytes public/static/web/img/email.png | Bin 0 -> 1747 bytes public/static/web/img/home.png | Bin 0 -> 1171 bytes public/static/web/img/logo.png | Bin 0 -> 15914 bytes public/static/web/img/plan-img.jpg | Bin 0 -> 171809 bytes public/static/web/img/plan-text.jpg | Bin 0 -> 8430 bytes public/static/web/img/search.png | Bin 0 -> 1806 bytes public/static/web/img/time.jpg | Bin 0 -> 1293 bytes public/static/web/img/zj-img.jpg | Bin 0 -> 57542 bytes public/static/web/img/zj-img2.jpg | Bin 0 -> 277445 bytes public/static/web/img/zj-img3.jpg | Bin 0 -> 277618 bytes public/static/web/js/jquery-2.1.1.min.js | 5 + .../static/web/js/jquery.SuperSlide.2.1.1.js | 15 + public/static/web/js/style.js | 95 + public/static/web/js/swiper-bundle.min.js | 14 + public/static/web/js/swiper.min.js | 14 + public/static/web/js/wow.min.js | 2 + public/static/web/layui/css/layui.css | 1 + public/static/web/layui/css/modules/code.css | 1 + .../css/modules/laydate/default/laydate.css | 1 + .../css/modules/layer/default/icon-ext.png | Bin 0 -> 5911 bytes .../layui/css/modules/layer/default/icon.png | Bin 0 -> 11493 bytes .../layui/css/modules/layer/default/layer.css | 1 + .../css/modules/layer/default/loading-0.gif | Bin 0 -> 5793 bytes .../css/modules/layer/default/loading-1.gif | Bin 0 -> 701 bytes .../css/modules/layer/default/loading-2.gif | Bin 0 -> 1787 bytes public/static/web/layui/font/iconfont.eot | Bin 0 -> 46684 bytes public/static/web/layui/font/iconfont.svg | 554 + public/static/web/layui/font/iconfont.ttf | Bin 0 -> 46508 bytes public/static/web/layui/font/iconfont.woff | Bin 0 -> 30628 bytes public/static/web/layui/font/iconfont.woff2 | Bin 0 -> 25964 bytes public/static/web/layui/layui.js | 5 + robots.txt | 2 + route/app.php | 72 + route/manager.php | 124 + router.php | 17 + runtime/.gitignore | 2 + template.env | 19 + think | 19 + vendor/.gitignore | 0 vendor/autoload.php | 7 + vendor/bin/var-dump-server | 63 + vendor/composer/ClassLoader.php | 479 + vendor/composer/InstalledVersions.php | 537 + vendor/composer/LICENSE | 21 + vendor/composer/autoload_classmap.php | 13 + vendor/composer/autoload_files.php | 75 + vendor/composer/autoload_namespaces.php | 11 + vendor/composer/autoload_psr4.php | 32 + vendor/composer/autoload_real.php | 75 + vendor/composer/autoload_static.php | 263 + vendor/composer/installed.json | 1789 +++ vendor/composer/installed.php | 276 + vendor/composer/platform_check.php | 26 + vendor/ezyang/htmlpurifier/CREDITS | 9 + vendor/ezyang/htmlpurifier/LICENSE | 504 + vendor/ezyang/htmlpurifier/README.md | 29 + vendor/ezyang/htmlpurifier/VERSION | 1 + vendor/ezyang/htmlpurifier/composer.json | 28 + .../library/HTMLPurifier.auto.php | 11 + .../library/HTMLPurifier.autoload-legacy.php | 15 + .../library/HTMLPurifier.autoload.php | 24 + .../library/HTMLPurifier.composer.php | 4 + .../library/HTMLPurifier.func.php | 25 + .../library/HTMLPurifier.includes.php | 234 + .../library/HTMLPurifier.kses.php | 30 + .../library/HTMLPurifier.path.php | 11 + .../htmlpurifier/library/HTMLPurifier.php | 297 + .../library/HTMLPurifier.safe-includes.php | 228 + .../library/HTMLPurifier/Arborize.php | 71 + .../library/HTMLPurifier/AttrCollections.php | 148 + .../library/HTMLPurifier/AttrDef.php | 144 + .../library/HTMLPurifier/AttrDef/CSS.php | 136 + .../HTMLPurifier/AttrDef/CSS/AlphaValue.php | 34 + .../HTMLPurifier/AttrDef/CSS/Background.php | 111 + .../AttrDef/CSS/BackgroundPosition.php | 157 + .../HTMLPurifier/AttrDef/CSS/Border.php | 56 + .../HTMLPurifier/AttrDef/CSS/Color.php | 161 + .../HTMLPurifier/AttrDef/CSS/Composite.php | 48 + .../AttrDef/CSS/DenyElementDecorator.php | 44 + .../HTMLPurifier/AttrDef/CSS/Filter.php | 77 + .../library/HTMLPurifier/AttrDef/CSS/Font.php | 176 + .../HTMLPurifier/AttrDef/CSS/FontFamily.php | 219 + .../HTMLPurifier/AttrDef/CSS/Ident.php | 32 + .../AttrDef/CSS/ImportantDecorator.php | 56 + .../HTMLPurifier/AttrDef/CSS/Length.php | 77 + .../HTMLPurifier/AttrDef/CSS/ListStyle.php | 112 + .../HTMLPurifier/AttrDef/CSS/Multiple.php | 71 + .../HTMLPurifier/AttrDef/CSS/Number.php | 90 + .../HTMLPurifier/AttrDef/CSS/Percentage.php | 54 + .../AttrDef/CSS/TextDecoration.php | 46 + .../library/HTMLPurifier/AttrDef/CSS/URI.php | 77 + .../library/HTMLPurifier/AttrDef/Clone.php | 44 + .../library/HTMLPurifier/AttrDef/Enum.php | 73 + .../HTMLPurifier/AttrDef/HTML/Bool.php | 48 + .../HTMLPurifier/AttrDef/HTML/Class.php | 48 + .../HTMLPurifier/AttrDef/HTML/Color.php | 51 + .../HTMLPurifier/AttrDef/HTML/FrameTarget.php | 38 + .../library/HTMLPurifier/AttrDef/HTML/ID.php | 113 + .../HTMLPurifier/AttrDef/HTML/Length.php | 56 + .../HTMLPurifier/AttrDef/HTML/LinkTypes.php | 72 + .../HTMLPurifier/AttrDef/HTML/MultiLength.php | 60 + .../HTMLPurifier/AttrDef/HTML/Nmtokens.php | 70 + .../HTMLPurifier/AttrDef/HTML/Pixels.php | 76 + .../library/HTMLPurifier/AttrDef/Integer.php | 91 + .../library/HTMLPurifier/AttrDef/Lang.php | 86 + .../library/HTMLPurifier/AttrDef/Switch.php | 53 + .../library/HTMLPurifier/AttrDef/Text.php | 21 + .../library/HTMLPurifier/AttrDef/URI.php | 111 + .../HTMLPurifier/AttrDef/URI/Email.php | 20 + .../AttrDef/URI/Email/SimpleCheck.php | 29 + .../library/HTMLPurifier/AttrDef/URI/Host.php | 142 + .../library/HTMLPurifier/AttrDef/URI/IPv4.php | 45 + .../library/HTMLPurifier/AttrDef/URI/IPv6.php | 89 + .../library/HTMLPurifier/AttrTransform.php | 60 + .../HTMLPurifier/AttrTransform/Background.php | 28 + .../HTMLPurifier/AttrTransform/BdoDir.php | 27 + .../HTMLPurifier/AttrTransform/BgColor.php | 28 + .../HTMLPurifier/AttrTransform/BoolToCSS.php | 47 + .../HTMLPurifier/AttrTransform/Border.php | 26 + .../HTMLPurifier/AttrTransform/EnumToCSS.php | 68 + .../AttrTransform/ImgRequired.php | 47 + .../HTMLPurifier/AttrTransform/ImgSpace.php | 61 + .../HTMLPurifier/AttrTransform/Input.php | 56 + .../HTMLPurifier/AttrTransform/Lang.php | 31 + .../HTMLPurifier/AttrTransform/Length.php | 45 + .../HTMLPurifier/AttrTransform/Name.php | 33 + .../HTMLPurifier/AttrTransform/NameSync.php | 41 + .../HTMLPurifier/AttrTransform/Nofollow.php | 52 + .../HTMLPurifier/AttrTransform/SafeEmbed.php | 25 + .../HTMLPurifier/AttrTransform/SafeObject.php | 28 + .../HTMLPurifier/AttrTransform/SafeParam.php | 79 + .../AttrTransform/ScriptRequired.php | 23 + .../AttrTransform/TargetBlank.php | 45 + .../AttrTransform/TargetNoopener.php | 37 + .../AttrTransform/TargetNoreferrer.php | 37 + .../HTMLPurifier/AttrTransform/Textarea.php | 27 + .../library/HTMLPurifier/AttrTypes.php | 96 + .../library/HTMLPurifier/AttrValidator.php | 178 + .../library/HTMLPurifier/Bootstrap.php | 124 + .../library/HTMLPurifier/CSSDefinition.php | 533 + .../library/HTMLPurifier/ChildDef.php | 52 + .../HTMLPurifier/ChildDef/Chameleon.php | 67 + .../library/HTMLPurifier/ChildDef/Custom.php | 102 + .../library/HTMLPurifier/ChildDef/Empty.php | 38 + .../library/HTMLPurifier/ChildDef/List.php | 92 + .../HTMLPurifier/ChildDef/Optional.php | 45 + .../HTMLPurifier/ChildDef/Required.php | 118 + .../ChildDef/StrictBlockquote.php | 110 + .../library/HTMLPurifier/ChildDef/Table.php | 224 + .../library/HTMLPurifier/Config.php | 920 ++ .../library/HTMLPurifier/ConfigSchema.php | 176 + .../ConfigSchema/Builder/ConfigSchema.php | 48 + .../HTMLPurifier/ConfigSchema/Builder/Xml.php | 144 + .../HTMLPurifier/ConfigSchema/Exception.php | 11 + .../HTMLPurifier/ConfigSchema/Interchange.php | 47 + .../ConfigSchema/Interchange/Directive.php | 89 + .../ConfigSchema/Interchange/Id.php | 58 + .../ConfigSchema/InterchangeBuilder.php | 226 + .../HTMLPurifier/ConfigSchema/Validator.php | 248 + .../ConfigSchema/ValidatorAtom.php | 130 + .../HTMLPurifier/ConfigSchema/schema.ser | 1 + .../schema/Attr.AllowedClasses.txt | 8 + .../schema/Attr.AllowedFrameTargets.txt | 12 + .../ConfigSchema/schema/Attr.AllowedRel.txt | 9 + .../ConfigSchema/schema/Attr.AllowedRev.txt | 9 + .../schema/Attr.ClassUseCDATA.txt | 19 + .../schema/Attr.DefaultImageAlt.txt | 11 + .../schema/Attr.DefaultInvalidImage.txt | 9 + .../schema/Attr.DefaultInvalidImageAlt.txt | 8 + .../schema/Attr.DefaultTextDir.txt | 10 + .../ConfigSchema/schema/Attr.EnableID.txt | 16 + .../schema/Attr.ForbiddenClasses.txt | 8 + .../ConfigSchema/schema/Attr.ID.HTML5.txt | 10 + .../ConfigSchema/schema/Attr.IDBlacklist.txt | 5 + .../schema/Attr.IDBlacklistRegexp.txt | 9 + .../ConfigSchema/schema/Attr.IDPrefix.txt | 12 + .../schema/Attr.IDPrefixLocal.txt | 14 + .../schema/AutoFormat.AutoParagraph.txt | 31 + .../ConfigSchema/schema/AutoFormat.Custom.txt | 12 + .../schema/AutoFormat.DisplayLinkURI.txt | 11 + .../schema/AutoFormat.Linkify.txt | 12 + .../AutoFormat.PurifierLinkify.DocURL.txt | 12 + .../schema/AutoFormat.PurifierLinkify.txt | 12 + .../AutoFormat.RemoveEmpty.Predicate.txt | 14 + ...rmat.RemoveEmpty.RemoveNbsp.Exceptions.txt | 11 + .../AutoFormat.RemoveEmpty.RemoveNbsp.txt | 15 + .../schema/AutoFormat.RemoveEmpty.txt | 46 + ...utoFormat.RemoveSpansWithoutAttributes.txt | 11 + .../schema/CSS.AllowDuplicates.txt | 11 + .../schema/CSS.AllowImportant.txt | 8 + .../ConfigSchema/schema/CSS.AllowTricky.txt | 11 + .../ConfigSchema/schema/CSS.AllowedFonts.txt | 12 + .../schema/CSS.AllowedProperties.txt | 18 + .../ConfigSchema/schema/CSS.DefinitionRev.txt | 11 + .../schema/CSS.ForbiddenProperties.txt | 13 + .../ConfigSchema/schema/CSS.MaxImgLength.txt | 16 + .../ConfigSchema/schema/CSS.Proprietary.txt | 10 + .../ConfigSchema/schema/CSS.Trusted.txt | 9 + .../schema/Cache.DefinitionImpl.txt | 14 + .../schema/Cache.SerializerPath.txt | 13 + .../schema/Cache.SerializerPermissions.txt | 16 + .../schema/Core.AggressivelyFixLt.txt | 18 + .../schema/Core.AggressivelyRemoveScript.txt | 16 + .../schema/Core.AllowHostnameUnderscore.txt | 16 + .../schema/Core.AllowParseManyTags.txt | 12 + .../schema/Core.CollectErrors.txt | 12 + .../schema/Core.ColorKeywords.txt | 160 + .../schema/Core.ConvertDocumentToFragment.txt | 14 + .../Core.DirectLexLineNumberSyncInterval.txt | 17 + .../schema/Core.DisableExcludes.txt | 14 + .../ConfigSchema/schema/Core.EnableIDNA.txt | 9 + .../ConfigSchema/schema/Core.Encoding.txt | 15 + .../schema/Core.EscapeInvalidChildren.txt | 12 + .../schema/Core.EscapeInvalidTags.txt | 7 + .../schema/Core.EscapeNonASCIICharacters.txt | 13 + .../schema/Core.HiddenElements.txt | 19 + .../ConfigSchema/schema/Core.Language.txt | 10 + .../schema/Core.LegacyEntityDecoder.txt | 36 + .../ConfigSchema/schema/Core.LexerImpl.txt | 34 + .../schema/Core.MaintainLineNumbers.txt | 16 + .../schema/Core.NormalizeNewlines.txt | 11 + .../schema/Core.RemoveInvalidImg.txt | 12 + .../Core.RemoveProcessingInstructions.txt | 11 + .../schema/Core.RemoveScriptContents.txt | 12 + .../ConfigSchema/schema/Filter.Custom.txt | 11 + .../Filter.ExtractStyleBlocks.Escaping.txt | 14 + .../Filter.ExtractStyleBlocks.Scope.txt | 29 + .../Filter.ExtractStyleBlocks.TidyImpl.txt | 16 + .../schema/Filter.ExtractStyleBlocks.txt | 74 + .../ConfigSchema/schema/Filter.YouTube.txt | 16 + .../ConfigSchema/schema/HTML.Allowed.txt | 25 + .../schema/HTML.AllowedAttributes.txt | 19 + .../schema/HTML.AllowedComments.txt | 10 + .../schema/HTML.AllowedCommentsRegexp.txt | 15 + .../schema/HTML.AllowedElements.txt | 23 + .../schema/HTML.AllowedModules.txt | 20 + .../schema/HTML.Attr.Name.UseCDATA.txt | 11 + .../ConfigSchema/schema/HTML.BlockWrapper.txt | 18 + .../ConfigSchema/schema/HTML.CoreModules.txt | 23 + .../schema/HTML.CustomDoctype.txt | 9 + .../ConfigSchema/schema/HTML.DefinitionID.txt | 33 + .../schema/HTML.DefinitionRev.txt | 16 + .../ConfigSchema/schema/HTML.Doctype.txt | 11 + .../schema/HTML.FlashAllowFullScreen.txt | 11 + .../schema/HTML.ForbiddenAttributes.txt | 21 + .../schema/HTML.ForbiddenElements.txt | 20 + .../ConfigSchema/schema/HTML.Forms.txt | 11 + .../ConfigSchema/schema/HTML.MaxImgLength.txt | 14 + .../ConfigSchema/schema/HTML.Nofollow.txt | 7 + .../ConfigSchema/schema/HTML.Parent.txt | 12 + .../ConfigSchema/schema/HTML.Proprietary.txt | 12 + .../ConfigSchema/schema/HTML.SafeEmbed.txt | 13 + .../ConfigSchema/schema/HTML.SafeIframe.txt | 13 + .../ConfigSchema/schema/HTML.SafeObject.txt | 13 + .../schema/HTML.SafeScripting.txt | 10 + .../ConfigSchema/schema/HTML.Strict.txt | 9 + .../ConfigSchema/schema/HTML.TargetBlank.txt | 8 + .../schema/HTML.TargetNoopener.txt | 10 + .../schema/HTML.TargetNoreferrer.txt | 9 + .../ConfigSchema/schema/HTML.TidyAdd.txt | 8 + .../ConfigSchema/schema/HTML.TidyLevel.txt | 24 + .../ConfigSchema/schema/HTML.TidyRemove.txt | 8 + .../ConfigSchema/schema/HTML.Trusted.txt | 9 + .../ConfigSchema/schema/HTML.XHTML.txt | 11 + .../schema/Output.CommentScriptContents.txt | 10 + .../schema/Output.FixInnerHTML.txt | 15 + .../schema/Output.FlashCompat.txt | 11 + .../ConfigSchema/schema/Output.Newline.txt | 13 + .../ConfigSchema/schema/Output.SortAttr.txt | 14 + .../ConfigSchema/schema/Output.TidyFormat.txt | 25 + .../ConfigSchema/schema/Test.ForceNoIconv.txt | 7 + .../schema/URI.AllowedSchemes.txt | 18 + .../ConfigSchema/schema/URI.Base.txt | 17 + .../ConfigSchema/schema/URI.DefaultScheme.txt | 15 + .../ConfigSchema/schema/URI.DefinitionID.txt | 11 + .../ConfigSchema/schema/URI.DefinitionRev.txt | 11 + .../ConfigSchema/schema/URI.Disable.txt | 14 + .../schema/URI.DisableExternal.txt | 11 + .../schema/URI.DisableExternalResources.txt | 13 + .../schema/URI.DisableResources.txt | 15 + .../ConfigSchema/schema/URI.Host.txt | 19 + .../ConfigSchema/schema/URI.HostBlacklist.txt | 9 + .../ConfigSchema/schema/URI.MakeAbsolute.txt | 13 + .../ConfigSchema/schema/URI.Munge.txt | 83 + .../schema/URI.MungeResources.txt | 17 + .../schema/URI.MungeSecretKey.txt | 30 + .../schema/URI.OverrideAllowedSchemes.txt | 9 + .../schema/URI.SafeIframeRegexp.txt | 22 + .../HTMLPurifier/ConfigSchema/schema/info.ini | 3 + .../library/HTMLPurifier/ContentSets.php | 170 + .../library/HTMLPurifier/Context.php | 95 + .../library/HTMLPurifier/Definition.php | 55 + .../library/HTMLPurifier/DefinitionCache.php | 129 + .../DefinitionCache/Decorator.php | 112 + .../DefinitionCache/Decorator/Cleanup.php | 78 + .../DefinitionCache/Decorator/Memory.php | 85 + .../DefinitionCache/Decorator/Template.php.in | 82 + .../HTMLPurifier/DefinitionCache/Null.php | 76 + .../DefinitionCache/Serializer.php | 311 + .../DefinitionCache/Serializer/README | 3 + .../HTMLPurifier/DefinitionCacheFactory.php | 106 + .../library/HTMLPurifier/Doctype.php | 73 + .../library/HTMLPurifier/DoctypeRegistry.php | 142 + .../library/HTMLPurifier/ElementDef.php | 216 + .../library/HTMLPurifier/Encoder.php | 617 + .../library/HTMLPurifier/EntityLookup.php | 48 + .../HTMLPurifier/EntityLookup/entities.ser | 1 + .../library/HTMLPurifier/EntityParser.php | 285 + .../library/HTMLPurifier/ErrorCollector.php | 244 + .../library/HTMLPurifier/ErrorStruct.php | 74 + .../library/HTMLPurifier/Exception.php | 12 + .../library/HTMLPurifier/Filter.php | 56 + .../Filter/ExtractStyleBlocks.php | 341 + .../library/HTMLPurifier/Filter/YouTube.php | 65 + .../library/HTMLPurifier/Generator.php | 286 + .../library/HTMLPurifier/HTMLDefinition.php | 493 + .../library/HTMLPurifier/HTMLModule.php | 284 + .../library/HTMLPurifier/HTMLModule/Bdo.php | 44 + .../HTMLModule/CommonAttributes.php | 31 + .../library/HTMLPurifier/HTMLModule/Edit.php | 55 + .../library/HTMLPurifier/HTMLModule/Forms.php | 194 + .../HTMLPurifier/HTMLModule/Hypertext.php | 40 + .../HTMLPurifier/HTMLModule/Iframe.php | 51 + .../library/HTMLPurifier/HTMLModule/Image.php | 49 + .../HTMLPurifier/HTMLModule/Legacy.php | 186 + .../library/HTMLPurifier/HTMLModule/List.php | 51 + .../library/HTMLPurifier/HTMLModule/Name.php | 26 + .../HTMLPurifier/HTMLModule/Nofollow.php | 25 + .../HTMLModule/NonXMLCommonAttributes.php | 20 + .../HTMLPurifier/HTMLModule/Object.php | 62 + .../HTMLPurifier/HTMLModule/Presentation.php | 42 + .../HTMLPurifier/HTMLModule/Proprietary.php | 40 + .../library/HTMLPurifier/HTMLModule/Ruby.php | 36 + .../HTMLPurifier/HTMLModule/SafeEmbed.php | 40 + .../HTMLPurifier/HTMLModule/SafeObject.php | 62 + .../HTMLPurifier/HTMLModule/SafeScripting.php | 40 + .../HTMLPurifier/HTMLModule/Scripting.php | 73 + .../HTMLModule/StyleAttribute.php | 33 + .../HTMLPurifier/HTMLModule/Tables.php | 75 + .../HTMLPurifier/HTMLModule/Target.php | 28 + .../HTMLPurifier/HTMLModule/TargetBlank.php | 24 + .../HTMLModule/TargetNoopener.php | 21 + .../HTMLModule/TargetNoreferrer.php | 21 + .../library/HTMLPurifier/HTMLModule/Text.php | 87 + .../library/HTMLPurifier/HTMLModule/Tidy.php | 230 + .../HTMLPurifier/HTMLModule/Tidy/Name.php | 33 + .../HTMLModule/Tidy/Proprietary.php | 34 + .../HTMLPurifier/HTMLModule/Tidy/Strict.php | 43 + .../HTMLModule/Tidy/Transitional.php | 16 + .../HTMLPurifier/HTMLModule/Tidy/XHTML.php | 26 + .../HTMLModule/Tidy/XHTMLAndHTML4.php | 180 + .../HTMLModule/XMLCommonAttributes.php | 20 + .../HTMLPurifier/HTMLModuleManager.php | 467 + .../library/HTMLPurifier/IDAccumulator.php | 57 + .../library/HTMLPurifier/Injector.php | 283 + .../HTMLPurifier/Injector/AutoParagraph.php | 356 + .../HTMLPurifier/Injector/DisplayLinkURI.php | 40 + .../library/HTMLPurifier/Injector/Linkify.php | 64 + .../HTMLPurifier/Injector/PurifierLinkify.php | 71 + .../HTMLPurifier/Injector/RemoveEmpty.php | 112 + .../Injector/RemoveSpansWithoutAttributes.php | 84 + .../HTMLPurifier/Injector/SafeObject.php | 124 + .../library/HTMLPurifier/Language.php | 204 + .../HTMLPurifier/Language/messages/en.php | 55 + .../library/HTMLPurifier/LanguageFactory.php | 209 + .../library/HTMLPurifier/Length.php | 162 + .../library/HTMLPurifier/Lexer.php | 382 + .../library/HTMLPurifier/Lexer/DOMLex.php | 338 + .../library/HTMLPurifier/Lexer/DirectLex.php | 539 + .../library/HTMLPurifier/Lexer/PH5P.php | 4788 +++++++ .../library/HTMLPurifier/Node.php | 49 + .../library/HTMLPurifier/Node/Comment.php | 36 + .../library/HTMLPurifier/Node/Element.php | 59 + .../library/HTMLPurifier/Node/Text.php | 54 + .../library/HTMLPurifier/PercentEncoder.php | 111 + .../library/HTMLPurifier/Printer.php | 218 + .../HTMLPurifier/Printer/CSSDefinition.php | 44 + .../HTMLPurifier/Printer/ConfigForm.css | 10 + .../HTMLPurifier/Printer/ConfigForm.js | 5 + .../HTMLPurifier/Printer/ConfigForm.php | 451 + .../HTMLPurifier/Printer/HTMLDefinition.php | 324 + .../library/HTMLPurifier/PropertyList.php | 122 + .../HTMLPurifier/PropertyListIterator.php | 42 + .../library/HTMLPurifier/Queue.php | 56 + .../library/HTMLPurifier/Strategy.php | 26 + .../HTMLPurifier/Strategy/Composite.php | 30 + .../library/HTMLPurifier/Strategy/Core.php | 17 + .../HTMLPurifier/Strategy/FixNesting.php | 181 + .../HTMLPurifier/Strategy/MakeWellFormed.php | 659 + .../Strategy/RemoveForeignElements.php | 207 + .../Strategy/ValidateAttributes.php | 45 + .../library/HTMLPurifier/StringHash.php | 47 + .../library/HTMLPurifier/StringHashParser.php | 136 + .../library/HTMLPurifier/TagTransform.php | 37 + .../HTMLPurifier/TagTransform/Font.php | 114 + .../HTMLPurifier/TagTransform/Simple.php | 44 + .../library/HTMLPurifier/Token.php | 100 + .../library/HTMLPurifier/Token/Comment.php | 38 + .../library/HTMLPurifier/Token/Empty.php | 15 + .../library/HTMLPurifier/Token/End.php | 24 + .../library/HTMLPurifier/Token/Start.php | 10 + .../library/HTMLPurifier/Token/Tag.php | 68 + .../library/HTMLPurifier/Token/Text.php | 53 + .../library/HTMLPurifier/TokenFactory.php | 118 + .../htmlpurifier/library/HTMLPurifier/URI.php | 316 + .../library/HTMLPurifier/URIDefinition.php | 112 + .../library/HTMLPurifier/URIFilter.php | 74 + .../URIFilter/DisableExternal.php | 54 + .../URIFilter/DisableExternalResources.php | 25 + .../URIFilter/DisableResources.php | 22 + .../HTMLPurifier/URIFilter/HostBlacklist.php | 46 + .../HTMLPurifier/URIFilter/MakeAbsolute.php | 158 + .../library/HTMLPurifier/URIFilter/Munge.php | 115 + .../HTMLPurifier/URIFilter/SafeIframe.php | 68 + .../library/HTMLPurifier/URIParser.php | 71 + .../library/HTMLPurifier/URIScheme.php | 102 + .../library/HTMLPurifier/URIScheme/data.php | 136 + .../library/HTMLPurifier/URIScheme/file.php | 44 + .../library/HTMLPurifier/URIScheme/ftp.php | 58 + .../library/HTMLPurifier/URIScheme/http.php | 36 + .../library/HTMLPurifier/URIScheme/https.php | 18 + .../library/HTMLPurifier/URIScheme/mailto.php | 40 + .../library/HTMLPurifier/URIScheme/news.php | 35 + .../library/HTMLPurifier/URIScheme/nntp.php | 32 + .../library/HTMLPurifier/URIScheme/tel.php | 46 + .../HTMLPurifier/URISchemeRegistry.php | 81 + .../library/HTMLPurifier/UnitConverter.php | 307 + .../library/HTMLPurifier/VarParser.php | 198 + .../HTMLPurifier/VarParser/Flexible.php | 130 + .../library/HTMLPurifier/VarParser/Native.php | 38 + .../HTMLPurifier/VarParserException.php | 11 + .../library/HTMLPurifier/Zipper.php | 157 + .../flysystem-cached-adapter/.editorconfig | 10 + .../flysystem-cached-adapter/.gitignore | 4 + .../league/flysystem-cached-adapter/.php_cs | 7 + .../flysystem-cached-adapter/.scrutinizer.yml | 34 + .../flysystem-cached-adapter/.travis.yml | 29 + .../league/flysystem-cached-adapter/LICENSE | 19 + .../clover/.gitignore | 2 + .../flysystem-cached-adapter/composer.json | 30 + .../flysystem-cached-adapter/phpspec.yml | 6 + .../flysystem-cached-adapter/phpunit.php | 3 + .../flysystem-cached-adapter/phpunit.xml | 29 + .../league/flysystem-cached-adapter/readme.md | 20 + .../spec/CachedAdapterSpec.php | 435 + .../src/CacheInterface.php | 101 + .../src/CachedAdapter.php | 346 + .../src/Storage/AbstractCache.php | 418 + .../src/Storage/Adapter.php | 115 + .../src/Storage/Memcached.php | 59 + .../src/Storage/Memory.php | 22 + .../src/Storage/Noop.php | 171 + .../src/Storage/PhpRedis.php | 62 + .../src/Storage/Predis.php | 75 + .../src/Storage/Psr6Cache.php | 59 + .../src/Storage/Stash.php | 60 + .../tests/AdapterCacheTests.php | 104 + .../tests/InspectionTests.php | 16 + .../tests/MemcachedTests.php | 35 + .../tests/MemoryCacheTests.php | 255 + .../tests/NoopCacheTests.php | 35 + .../tests/PhpRedisTests.php | 45 + .../tests/PredisTests.php | 55 + .../tests/Psr6CacheTest.php | 45 + .../tests/StashTest.php | 43 + vendor/league/flysystem/LICENSE | 19 + vendor/league/flysystem/SECURITY.md | 16 + vendor/league/flysystem/composer.json | 71 + vendor/league/flysystem/deprecations.md | 19 + .../flysystem/src/Adapter/AbstractAdapter.php | 72 + .../src/Adapter/AbstractFtpAdapter.php | 697 + .../src/Adapter/CanOverwriteFiles.php | 12 + vendor/league/flysystem/src/Adapter/Ftp.php | 574 + vendor/league/flysystem/src/Adapter/Ftpd.php | 45 + vendor/league/flysystem/src/Adapter/Local.php | 533 + .../flysystem/src/Adapter/NullAdapter.php | 144 + .../Polyfill/NotSupportingVisibilityTrait.php | 33 + .../Adapter/Polyfill/StreamedCopyTrait.php | 51 + .../Adapter/Polyfill/StreamedReadingTrait.php | 44 + .../src/Adapter/Polyfill/StreamedTrait.php | 9 + .../Adapter/Polyfill/StreamedWritingTrait.php | 60 + .../flysystem/src/Adapter/SynologyFtp.php | 8 + .../league/flysystem/src/AdapterInterface.php | 118 + vendor/league/flysystem/src/Config.php | 107 + .../league/flysystem/src/ConfigAwareTrait.php | 49 + .../src/ConnectionErrorException.php | 9 + .../src/ConnectionRuntimeException.php | 9 + vendor/league/flysystem/src/Directory.php | 31 + vendor/league/flysystem/src/Exception.php | 8 + vendor/league/flysystem/src/File.php | 205 + .../flysystem/src/FileExistsException.php | 37 + .../flysystem/src/FileNotFoundException.php | 37 + vendor/league/flysystem/src/Filesystem.php | 408 + .../flysystem/src/FilesystemException.php | 7 + .../flysystem/src/FilesystemInterface.php | 284 + .../src/FilesystemNotFoundException.php | 12 + vendor/league/flysystem/src/Handler.php | 137 + .../flysystem/src/InvalidRootException.php | 9 + vendor/league/flysystem/src/MountManager.php | 650 + .../flysystem/src/NotSupportedException.php | 37 + .../flysystem/src/Plugin/AbstractPlugin.php | 24 + .../league/flysystem/src/Plugin/EmptyDir.php | 34 + .../flysystem/src/Plugin/ForcedCopy.php | 44 + .../flysystem/src/Plugin/ForcedRename.php | 44 + .../flysystem/src/Plugin/GetWithMetadata.php | 51 + .../league/flysystem/src/Plugin/ListFiles.php | 35 + .../league/flysystem/src/Plugin/ListPaths.php | 36 + .../league/flysystem/src/Plugin/ListWith.php | 60 + .../flysystem/src/Plugin/PluggableTrait.php | 97 + .../src/Plugin/PluginNotFoundException.php | 10 + .../league/flysystem/src/PluginInterface.php | 20 + vendor/league/flysystem/src/ReadInterface.php | 88 + .../flysystem/src/RootViolationException.php | 10 + vendor/league/flysystem/src/SafeStorage.php | 39 + .../flysystem/src/UnreadableFileException.php | 18 + vendor/league/flysystem/src/Util.php | 353 + .../src/Util/ContentListingFormatter.php | 122 + vendor/league/flysystem/src/Util/MimeType.php | 249 + .../flysystem/src/Util/StreamHasher.php | 36 + .../zipstream-php/.github/FUNDING.yml | 1 + .../zipstream-php/.github/ISSUE_TEMPLATE.md | 12 + vendor/maennchen/zipstream-php/.gitignore | 6 + vendor/maennchen/zipstream-php/.travis.yml | 12 + vendor/maennchen/zipstream-php/CHANGELOG.md | 51 + .../maennchen/zipstream-php/CONTRIBUTING.md | 25 + vendor/maennchen/zipstream-php/LICENSE | 24 + vendor/maennchen/zipstream-php/README.md | 123 + vendor/maennchen/zipstream-php/composer.json | 41 + .../maennchen/zipstream-php/phpunit.xml.dist | 17 + vendor/maennchen/zipstream-php/psalm.xml | 55 + vendor/maennchen/zipstream-php/src/Bigint.php | 172 + .../zipstream-php/src/DeflateStream.php | 70 + .../maennchen/zipstream-php/src/Exception.php | 11 + .../src/Exception/EncodingException.php | 13 + .../src/Exception/FileNotFoundException.php | 22 + .../Exception/FileNotReadableException.php | 22 + .../IncompatibleOptionsException.php | 13 + .../src/Exception/OverflowException.php | 17 + .../Exception/StreamNotReadableException.php | 22 + vendor/maennchen/zipstream-php/src/File.php | 477 + .../zipstream-php/src/Option/Archive.php | 261 + .../zipstream-php/src/Option/File.php | 116 + .../zipstream-php/src/Option/Method.php | 19 + .../zipstream-php/src/Option/Version.php | 22 + vendor/maennchen/zipstream-php/src/Stream.php | 253 + .../maennchen/zipstream-php/src/ZipStream.php | 599 + .../zipstream-php/test/BigintTest.php | 65 + .../zipstream-php/test/ZipStreamTest.php | 586 + .../zipstream-php/test/bootstrap.php | 6 + .../test/bug/BugHonorFileTimeTest.php | 39 + vendor/markbaker/complex/README.md | 156 + .../markbaker/complex/classes/Autoloader.php | 53 + .../markbaker/complex/classes/Bootstrap.php | 38 + .../markbaker/complex/classes/src/Complex.php | 390 + .../complex/classes/src/Exception.php | 13 + .../complex/classes/src/functions/abs.php | 29 + .../complex/classes/src/functions/acos.php | 38 + .../complex/classes/src/functions/acosh.php | 34 + .../complex/classes/src/functions/acot.php | 25 + .../complex/classes/src/functions/acoth.php | 25 + .../complex/classes/src/functions/acsc.php | 29 + .../complex/classes/src/functions/acsch.php | 29 + .../classes/src/functions/argument.php | 28 + .../complex/classes/src/functions/asec.php | 29 + .../complex/classes/src/functions/asech.php | 29 + .../complex/classes/src/functions/asin.php | 37 + .../complex/classes/src/functions/asinh.php | 33 + .../complex/classes/src/functions/atan.php | 45 + .../complex/classes/src/functions/atanh.php | 38 + .../classes/src/functions/conjugate.php | 28 + .../complex/classes/src/functions/cos.php | 34 + .../complex/classes/src/functions/cosh.php | 32 + .../complex/classes/src/functions/cot.php | 29 + .../complex/classes/src/functions/coth.php | 24 + .../complex/classes/src/functions/csc.php | 29 + .../complex/classes/src/functions/csch.php | 29 + .../complex/classes/src/functions/exp.php | 34 + .../complex/classes/src/functions/inverse.php | 29 + .../complex/classes/src/functions/ln.php | 33 + .../complex/classes/src/functions/log10.php | 32 + .../complex/classes/src/functions/log2.php | 32 + .../classes/src/functions/negative.php | 31 + .../complex/classes/src/functions/pow.php | 40 + .../complex/classes/src/functions/rho.php | 28 + .../complex/classes/src/functions/sec.php | 25 + .../complex/classes/src/functions/sech.php | 25 + .../complex/classes/src/functions/sin.php | 32 + .../complex/classes/src/functions/sinh.php | 32 + .../complex/classes/src/functions/sqrt.php | 29 + .../complex/classes/src/functions/tan.php | 40 + .../complex/classes/src/functions/tanh.php | 35 + .../complex/classes/src/functions/theta.php | 38 + .../complex/classes/src/operations/add.php | 46 + .../classes/src/operations/divideby.php | 56 + .../classes/src/operations/divideinto.php | 56 + .../classes/src/operations/multiply.php | 48 + .../classes/src/operations/subtract.php | 46 + vendor/markbaker/complex/composer.json | 84 + .../complex/examples/complexTest.php | 154 + .../complex/examples/testFunctions.php | 52 + .../complex/examples/testOperations.php | 34 + vendor/markbaker/complex/license.md | 25 + .../matrix/.github/workflows/main.yaml | 118 + vendor/markbaker/matrix/README.md | 207 + vendor/markbaker/matrix/buildPhar.php | 62 + .../markbaker/matrix/classes/src/Builder.php | 70 + .../src/Decomposition/Decomposition.php | 27 + .../matrix/classes/src/Decomposition/LU.php | 260 + .../matrix/classes/src/Decomposition/QR.php | 191 + .../matrix/classes/src/Exception.php | 13 + .../matrix/classes/src/Functions.php | 337 + .../matrix/classes/src/Functions/adjoint.php | 30 + .../classes/src/Functions/antidiagonal.php | 29 + .../classes/src/Functions/cofactors.php | 30 + .../classes/src/Functions/determinant.php | 30 + .../matrix/classes/src/Functions/diagonal.php | 30 + .../matrix/classes/src/Functions/identity.php | 30 + .../matrix/classes/src/Functions/inverse.php | 30 + .../matrix/classes/src/Functions/minors.php | 30 + .../matrix/classes/src/Functions/trace.php | 30 + .../classes/src/Functions/transpose.php | 30 + .../markbaker/matrix/classes/src/Matrix.php | 423 + .../matrix/classes/src/Operations/add.php | 44 + .../classes/src/Operations/directsum.php | 44 + .../classes/src/Operations/divideby.php | 44 + .../classes/src/Operations/divideinto.php | 45 + .../classes/src/Operations/multiply.php | 44 + .../classes/src/Operations/subtract.php | 44 + .../matrix/classes/src/Operators/Addition.php | 68 + .../classes/src/Operators/DirectSum.php | 64 + .../matrix/classes/src/Operators/Division.php | 38 + .../classes/src/Operators/Multiplication.php | 77 + .../matrix/classes/src/Operators/Operator.php | 78 + .../classes/src/Operators/Subtraction.php | 68 + vendor/markbaker/matrix/composer.json | 83 + vendor/markbaker/matrix/examples/test.php | 33 + vendor/markbaker/matrix/infection.json.dist | 17 + vendor/markbaker/matrix/license.md | 25 + vendor/markbaker/matrix/phpstan.neon | 6 + vendor/myclabs/php-enum/LICENSE | 18 + vendor/myclabs/php-enum/README.md | 138 + vendor/myclabs/php-enum/SECURITY.md | 11 + vendor/myclabs/php-enum/composer.json | 33 + vendor/myclabs/php-enum/psalm.xml | 35 + vendor/myclabs/php-enum/src/Enum.php | 305 + .../php-enum/src/PHPUnit/Comparator.php | 54 + .../opis/closure/.github/workflows/tests.yml | 43 + vendor/opis/closure/CHANGELOG.md | 239 + vendor/opis/closure/LICENSE | 20 + vendor/opis/closure/NOTICE | 9 + vendor/opis/closure/README.md | 92 + vendor/opis/closure/autoload.php | 39 + vendor/opis/closure/composer.json | 40 + vendor/opis/closure/functions.php | 43 + vendor/opis/closure/src/Analyzer.php | 62 + vendor/opis/closure/src/ClosureContext.php | 34 + vendor/opis/closure/src/ClosureScope.php | 25 + vendor/opis/closure/src/ClosureStream.php | 99 + vendor/opis/closure/src/ISecurityProvider.php | 25 + vendor/opis/closure/src/ReflectionClosure.php | 1022 ++ vendor/opis/closure/src/SecurityException.php | 18 + vendor/opis/closure/src/SecurityProvider.php | 42 + vendor/opis/closure/src/SelfReference.php | 31 + .../opis/closure/src/SerializableClosure.php | 666 + .../phpoffice/phpspreadsheet/.phpcs.xml.dist | 22 + vendor/phpoffice/phpspreadsheet/CHANGELOG.md | 700 + .../phpoffice/phpspreadsheet/CONTRIBUTING.md | 11 + vendor/phpoffice/phpspreadsheet/LICENSE | 21 + vendor/phpoffice/phpspreadsheet/README.md | 30 + vendor/phpoffice/phpspreadsheet/composer.json | 90 + .../Calculation/Calculation.php | 5338 ++++++++ .../PhpSpreadsheet/Calculation/Category.php | 20 + .../PhpSpreadsheet/Calculation/Database.php | 428 + .../Calculation/Database/DAverage.php | 45 + .../Calculation/Database/DCount.php | 43 + .../Calculation/Database/DCountA.php | 42 + .../Calculation/Database/DGet.php | 51 + .../Calculation/Database/DMax.php | 46 + .../Calculation/Database/DMin.php | 46 + .../Calculation/Database/DProduct.php | 45 + .../Calculation/Database/DStDev.php | 46 + .../Calculation/Database/DStDevP.php | 46 + .../Calculation/Database/DSum.php | 45 + .../Calculation/Database/DVar.php | 46 + .../Calculation/Database/DVarP.php | 46 + .../Calculation/Database/DatabaseAbstract.php | 174 + .../PhpSpreadsheet/Calculation/DateTime.php | 1677 +++ .../Engine/CyclicReferenceStack.php | 73 + .../Calculation/Engine/Logger.php | 140 + .../Calculation/Engineering.php | 1460 +++ .../Calculation/Engineering/BesselI.php | 72 + .../Calculation/Engineering/BesselJ.php | 71 + .../Calculation/Engineering/BesselK.php | 104 + .../Calculation/Engineering/BesselY.php | 104 + .../Calculation/Engineering/BitWise.php | 170 + .../Calculation/Engineering/Compare.php | 63 + .../Calculation/Engineering/ConvertBase.php | 63 + .../Calculation/Engineering/ConvertBinary.php | 132 + .../Engineering/ConvertDecimal.php | 158 + .../Calculation/Engineering/ConvertHex.php | 147 + .../Calculation/Engineering/ConvertOctal.php | 143 + .../Calculation/Engineering/ConvertUOM.php | 684 + .../Calculation/Engineering/Erf.php | 91 + .../Calculation/Engineering/ErfC.php | 68 + .../PhpSpreadsheet/Calculation/Exception.php | 26 + .../Calculation/ExceptionHandler.php | 22 + .../PhpSpreadsheet/Calculation/Financial.php | 2492 ++++ .../Calculation/FormulaParser.php | 631 + .../Calculation/FormulaToken.php | 150 + .../PhpSpreadsheet/Calculation/Functions.php | 683 + .../Calculation/Internal/MakeMatrix.php | 11 + .../Calculation/Internal/WildcardMatch.php | 39 + .../PhpSpreadsheet/Calculation/Logical.php | 314 + .../Calculation/Logical/Boolean.php | 36 + .../Calculation/Logical/Conditional.php | 181 + .../Calculation/Logical/Operations.php | 198 + .../PhpSpreadsheet/Calculation/LookupRef.php | 968 ++ .../PhpSpreadsheet/Calculation/MathTrig.php | 2103 +++ .../Calculation/MathTrig/Ceiling.php | 68 + .../Calculation/MathTrig/CeilingMath.php | 55 + .../Calculation/MathTrig/CeilingPrecise.php | 39 + .../Calculation/MathTrig/Floor.php | 71 + .../Calculation/MathTrig/FloorMath.php | 68 + .../Calculation/MathTrig/FloorPrecise.php | 51 + .../Calculation/MathTrig/IntClass.php | 31 + .../Calculation/MathTrig/Mround.php | 42 + .../Calculation/MathTrig/Roman.php | 853 ++ .../Calculation/MathTrig/Round.php | 30 + .../Calculation/MathTrig/RoundDown.php | 39 + .../Calculation/MathTrig/RoundUp.php | 39 + .../Calculation/MathTrig/Trunc.php | 40 + .../Calculation/Statistical.php | 3350 +++++ .../Calculation/Statistical/AggregateBase.php | 50 + .../Calculation/Statistical/Averages.php | 137 + .../Calculation/Statistical/Conditional.php | 304 + .../Calculation/Statistical/Counts.php | 95 + .../Calculation/Statistical/MaxMinBase.php | 17 + .../Calculation/Statistical/Maximum.php | 78 + .../Calculation/Statistical/Minimum.php | 78 + .../Calculation/Statistical/Permutations.php | 69 + .../Statistical/StandardDeviations.php | 181 + .../Calculation/Statistical/VarianceBase.php | 26 + .../Calculation/Statistical/Variances.php | 183 + .../PhpSpreadsheet/Calculation/TextData.php | 697 + .../Calculation/Token/Stack.php | 149 + .../src/PhpSpreadsheet/Calculation/Web.php | 53 + .../Calculation/functionlist.txt | 398 + .../Calculation/locale/bg/config | 27 + .../Calculation/locale/bg/functions | 417 + .../Calculation/locale/cs/config | 23 + .../Calculation/locale/cs/functions | 416 + .../Calculation/locale/da/config | 25 + .../Calculation/locale/da/functions | 416 + .../Calculation/locale/de/config | 24 + .../Calculation/locale/de/functions | 416 + .../Calculation/locale/en/uk/config | 8 + .../Calculation/locale/es/config | 24 + .../Calculation/locale/es/functions | 416 + .../Calculation/locale/fi/config | 24 + .../Calculation/locale/fi/functions | 416 + .../Calculation/locale/fr/config | 24 + .../Calculation/locale/fr/functions | 416 + .../Calculation/locale/hu/config | 23 + .../Calculation/locale/hu/functions | 416 + .../Calculation/locale/it/config | 24 + .../Calculation/locale/it/functions | 416 + .../Calculation/locale/nl/config | 24 + .../Calculation/locale/nl/functions | 416 + .../Calculation/locale/no/config | 24 + .../Calculation/locale/no/functions | 416 + .../Calculation/locale/pl/config | 24 + .../Calculation/locale/pl/functions | 416 + .../Calculation/locale/pt/br/config | 24 + .../Calculation/locale/pt/br/functions | 408 + .../Calculation/locale/pt/config | 24 + .../Calculation/locale/pt/functions | 408 + .../Calculation/locale/ru/config | 24 + .../Calculation/locale/ru/functions | 416 + .../Calculation/locale/sv/config | 24 + .../Calculation/locale/sv/functions | 408 + .../Calculation/locale/tr/config | 24 + .../Calculation/locale/tr/functions | 416 + .../src/PhpSpreadsheet/Cell/AddressHelper.php | 134 + .../Cell/AdvancedValueBinder.php | 205 + .../src/PhpSpreadsheet/Cell/Cell.php | 680 + .../src/PhpSpreadsheet/Cell/Coordinate.php | 549 + .../src/PhpSpreadsheet/Cell/DataType.php | 85 + .../PhpSpreadsheet/Cell/DataValidation.php | 481 + .../src/PhpSpreadsheet/Cell/DataValidator.php | 77 + .../Cell/DefaultValueBinder.php | 82 + .../src/PhpSpreadsheet/Cell/Hyperlink.php | 113 + .../src/PhpSpreadsheet/Cell/IValueBinder.php | 16 + .../PhpSpreadsheet/Cell/StringValueBinder.php | 29 + .../src/PhpSpreadsheet/Chart/Axis.php | 556 + .../src/PhpSpreadsheet/Chart/Chart.php | 663 + .../src/PhpSpreadsheet/Chart/DataSeries.php | 394 + .../PhpSpreadsheet/Chart/DataSeriesValues.php | 397 + .../src/PhpSpreadsheet/Chart/Exception.php | 9 + .../src/PhpSpreadsheet/Chart/GridLines.php | 454 + .../src/PhpSpreadsheet/Chart/Layout.php | 481 + .../src/PhpSpreadsheet/Chart/Legend.php | 157 + .../src/PhpSpreadsheet/Chart/PlotArea.php | 111 + .../src/PhpSpreadsheet/Chart/Properties.php | 369 + .../Chart/Renderer/IRenderer.php | 22 + .../PhpSpreadsheet/Chart/Renderer/JpGraph.php | 870 ++ .../Chart/Renderer/PHP Charting Libraries.txt | 20 + .../src/PhpSpreadsheet/Chart/Title.php | 65 + .../src/PhpSpreadsheet/Collection/Cells.php | 498 + .../Collection/CellsFactory.php | 21 + .../src/PhpSpreadsheet/Collection/Memory.php | 79 + .../src/PhpSpreadsheet/Comment.php | 329 + .../src/PhpSpreadsheet/DefinedName.php | 263 + .../PhpSpreadsheet/Document/Properties.php | 632 + .../src/PhpSpreadsheet/Document/Security.php | 205 + .../src/PhpSpreadsheet/DocumentGenerator.php | 97 + .../src/PhpSpreadsheet/Exception.php | 7 + .../src/PhpSpreadsheet/HashTable.php | 175 + .../src/PhpSpreadsheet/Helper/Html.php | 839 ++ .../src/PhpSpreadsheet/Helper/Sample.php | 229 + .../src/PhpSpreadsheet/IComparable.php | 13 + .../src/PhpSpreadsheet/IOFactory.php | 217 + .../src/PhpSpreadsheet/NamedFormula.php | 45 + .../src/PhpSpreadsheet/NamedRange.php | 55 + .../src/PhpSpreadsheet/Reader/BaseReader.php | 161 + .../src/PhpSpreadsheet/Reader/Csv.php | 607 + .../Reader/DefaultReadFilter.php | 20 + .../src/PhpSpreadsheet/Reader/Exception.php | 9 + .../src/PhpSpreadsheet/Reader/Gnumeric.php | 831 ++ .../Reader/Gnumeric/PageSetup.php | 143 + .../src/PhpSpreadsheet/Reader/Html.php | 1026 ++ .../src/PhpSpreadsheet/Reader/IReadFilter.php | 17 + .../src/PhpSpreadsheet/Reader/IReader.php | 133 + .../src/PhpSpreadsheet/Reader/Ods.php | 795 ++ .../Reader/Ods/PageSettings.php | 139 + .../PhpSpreadsheet/Reader/Ods/Properties.php | 132 + .../Reader/Security/XmlScanner.php | 150 + .../src/PhpSpreadsheet/Reader/Slk.php | 591 + .../src/PhpSpreadsheet/Reader/Xls.php | 7978 +++++++++++ .../src/PhpSpreadsheet/Reader/Xls/Color.php | 36 + .../PhpSpreadsheet/Reader/Xls/Color/BIFF5.php | 81 + .../PhpSpreadsheet/Reader/Xls/Color/BIFF8.php | 81 + .../Reader/Xls/Color/BuiltIn.php | 35 + .../PhpSpreadsheet/Reader/Xls/ErrorCode.php | 32 + .../src/PhpSpreadsheet/Reader/Xls/Escher.php | 677 + .../src/PhpSpreadsheet/Reader/Xls/MD5.php | 184 + .../src/PhpSpreadsheet/Reader/Xls/RC4.php | 61 + .../Reader/Xls/Style/Border.php | 42 + .../Reader/Xls/Style/FillPattern.php | 47 + .../src/PhpSpreadsheet/Reader/Xlsx.php | 2090 +++ .../PhpSpreadsheet/Reader/Xlsx/AutoFilter.php | 146 + .../Reader/Xlsx/BaseParserClass.php | 19 + .../src/PhpSpreadsheet/Reader/Xlsx/Chart.php | 606 + .../Reader/Xlsx/ColumnAndRowAttributes.php | 209 + .../Reader/Xlsx/ConditionalStyles.php | 156 + .../Reader/Xlsx/DataValidations.php | 51 + .../PhpSpreadsheet/Reader/Xlsx/Hyperlinks.php | 61 + .../PhpSpreadsheet/Reader/Xlsx/PageSetup.php | 164 + .../PhpSpreadsheet/Reader/Xlsx/Properties.php | 92 + .../Reader/Xlsx/SheetViewOptions.php | 135 + .../PhpSpreadsheet/Reader/Xlsx/SheetViews.php | 138 + .../src/PhpSpreadsheet/Reader/Xlsx/Styles.php | 282 + .../src/PhpSpreadsheet/Reader/Xlsx/Theme.php | 93 + .../src/PhpSpreadsheet/Reader/Xml.php | 908 ++ .../Reader/Xml/PageSettings.php | 130 + .../src/PhpSpreadsheet/ReferenceHelper.php | 1038 ++ .../PhpSpreadsheet/RichText/ITextElement.php | 36 + .../src/PhpSpreadsheet/RichText/RichText.php | 170 + .../src/PhpSpreadsheet/RichText/Run.php | 65 + .../PhpSpreadsheet/RichText/TextElement.php | 86 + .../src/PhpSpreadsheet/Settings.php | 218 + .../src/PhpSpreadsheet/Shared/CodePage.php | 99 + .../src/PhpSpreadsheet/Shared/Date.php | 492 + .../src/PhpSpreadsheet/Shared/Drawing.php | 251 + .../src/PhpSpreadsheet/Shared/Escher.php | 64 + .../Shared/Escher/DgContainer.php | 52 + .../Escher/DgContainer/SpgrContainer.php | 79 + .../DgContainer/SpgrContainer/SpContainer.php | 369 + .../Shared/Escher/DggContainer.php | 175 + .../Escher/DggContainer/BstoreContainer.php | 34 + .../DggContainer/BstoreContainer/BSE.php | 89 + .../DggContainer/BstoreContainer/BSE/Blip.php | 60 + .../src/PhpSpreadsheet/Shared/File.php | 142 + .../src/PhpSpreadsheet/Shared/Font.php | 764 ++ .../PhpSpreadsheet/Shared/JAMA/CHANGELOG.TXT | 16 + .../Shared/JAMA/CholeskyDecomposition.php | 147 + .../Shared/JAMA/EigenvalueDecomposition.php | 863 ++ .../Shared/JAMA/LUDecomposition.php | 282 + .../src/PhpSpreadsheet/Shared/JAMA/Matrix.php | 1202 ++ .../Shared/JAMA/QRDecomposition.php | 249 + .../JAMA/SingularValueDecomposition.php | 528 + .../Shared/JAMA/utils/Maths.php | 31 + .../src/PhpSpreadsheet/Shared/OLE.php | 567 + .../Shared/OLE/ChainedBlockStream.php | 196 + .../src/PhpSpreadsheet/Shared/OLE/PPS.php | 237 + .../PhpSpreadsheet/Shared/OLE/PPS/File.php | 64 + .../PhpSpreadsheet/Shared/OLE/PPS/Root.php | 426 + .../src/PhpSpreadsheet/Shared/OLERead.php | 350 + .../PhpSpreadsheet/Shared/PasswordHasher.php | 100 + .../PhpSpreadsheet/Shared/StringHelper.php | 722 + .../src/PhpSpreadsheet/Shared/TimeZone.php | 81 + .../PhpSpreadsheet/Shared/Trend/BestFit.php | 463 + .../Shared/Trend/ExponentialBestFit.php | 122 + .../Shared/Trend/LinearBestFit.php | 81 + .../Shared/Trend/LogarithmicBestFit.php | 90 + .../Shared/Trend/PolynomialBestFit.php | 200 + .../Shared/Trend/PowerBestFit.php | 114 + .../src/PhpSpreadsheet/Shared/Trend/Trend.php | 120 + .../src/PhpSpreadsheet/Shared/XMLWriter.php | 92 + .../src/PhpSpreadsheet/Shared/Xls.php | 279 + .../src/PhpSpreadsheet/Spreadsheet.php | 1593 +++ .../src/PhpSpreadsheet/Style/Alignment.php | 482 + .../src/PhpSpreadsheet/Style/Border.php | 234 + .../src/PhpSpreadsheet/Style/Borders.php | 424 + .../src/PhpSpreadsheet/Style/Color.php | 400 + .../src/PhpSpreadsheet/Style/Conditional.php | 303 + .../ConditionalDataBar.php | 102 + .../ConditionalDataBarExtension.php | 290 + .../ConditionalFormatValueObject.php | 80 + .../ConditionalFormattingRuleExtension.php | 197 + .../src/PhpSpreadsheet/Style/Fill.php | 325 + .../src/PhpSpreadsheet/Style/Font.php | 558 + .../src/PhpSpreadsheet/Style/NumberFormat.php | 893 ++ .../src/PhpSpreadsheet/Style/Protection.php | 195 + .../src/PhpSpreadsheet/Style/Style.php | 659 + .../src/PhpSpreadsheet/Style/Supervisor.php | 158 + .../PhpSpreadsheet/Worksheet/AutoFilter.php | 873 ++ .../Worksheet/AutoFilter/Column.php | 380 + .../Worksheet/AutoFilter/Column/Rule.php | 449 + .../PhpSpreadsheet/Worksheet/BaseDrawing.php | 532 + .../PhpSpreadsheet/Worksheet/CellIterator.php | 53 + .../src/PhpSpreadsheet/Worksheet/Column.php | 62 + .../Worksheet/ColumnCellIterator.php | 187 + .../Worksheet/ColumnDimension.php | 103 + .../Worksheet/ColumnIterator.php | 172 + .../PhpSpreadsheet/Worksheet/Dimension.php | 149 + .../src/PhpSpreadsheet/Worksheet/Drawing.php | 114 + .../Worksheet/Drawing/Shadow.php | 289 + .../PhpSpreadsheet/Worksheet/HeaderFooter.php | 490 + .../Worksheet/HeaderFooterDrawing.php | 24 + .../src/PhpSpreadsheet/Worksheet/Iterator.php | 81 + .../Worksheet/MemoryDrawing.php | 171 + .../PhpSpreadsheet/Worksheet/PageMargins.php | 244 + .../PhpSpreadsheet/Worksheet/PageSetup.php | 857 ++ .../PhpSpreadsheet/Worksheet/Protection.php | 691 + .../src/PhpSpreadsheet/Worksheet/Row.php | 70 + .../Worksheet/RowCellIterator.php | 186 + .../PhpSpreadsheet/Worksheet/RowDimension.php | 107 + .../PhpSpreadsheet/Worksheet/RowIterator.php | 165 + .../PhpSpreadsheet/Worksheet/SheetView.php | 193 + .../PhpSpreadsheet/Worksheet/Worksheet.php | 3044 +++++ .../src/PhpSpreadsheet/Writer/BaseWriter.php | 131 + .../src/PhpSpreadsheet/Writer/Csv.php | 352 + .../src/PhpSpreadsheet/Writer/Exception.php | 9 + .../src/PhpSpreadsheet/Writer/Html.php | 1869 +++ .../src/PhpSpreadsheet/Writer/IWriter.php | 87 + .../src/PhpSpreadsheet/Writer/Ods.php | 156 + .../Writer/Ods/Cell/Comment.php | 30 + .../PhpSpreadsheet/Writer/Ods/Cell/Style.php | 178 + .../src/PhpSpreadsheet/Writer/Ods/Content.php | 301 + .../src/PhpSpreadsheet/Writer/Ods/Formula.php | 119 + .../src/PhpSpreadsheet/Writer/Ods/Meta.php | 75 + .../src/PhpSpreadsheet/Writer/Ods/MetaInf.php | 60 + .../PhpSpreadsheet/Writer/Ods/Mimetype.php | 20 + .../Writer/Ods/NamedExpressions.php | 126 + .../PhpSpreadsheet/Writer/Ods/Settings.php | 52 + .../src/PhpSpreadsheet/Writer/Ods/Styles.php | 68 + .../PhpSpreadsheet/Writer/Ods/Thumbnails.php | 20 + .../PhpSpreadsheet/Writer/Ods/WriterPart.php | 33 + .../src/PhpSpreadsheet/Writer/Pdf.php | 253 + .../src/PhpSpreadsheet/Writer/Pdf/Dompdf.php | 72 + .../src/PhpSpreadsheet/Writer/Pdf/Mpdf.php | 106 + .../src/PhpSpreadsheet/Writer/Pdf/Tcpdf.php | 104 + .../src/PhpSpreadsheet/Writer/Xls.php | 901 ++ .../PhpSpreadsheet/Writer/Xls/BIFFwriter.php | 224 + .../src/PhpSpreadsheet/Writer/Xls/Escher.php | 510 + .../src/PhpSpreadsheet/Writer/Xls/Font.php | 147 + .../src/PhpSpreadsheet/Writer/Xls/Parser.php | 1483 +++ .../PhpSpreadsheet/Writer/Xls/Workbook.php | 1191 ++ .../PhpSpreadsheet/Writer/Xls/Worksheet.php | 4489 +++++++ .../src/PhpSpreadsheet/Writer/Xls/Xf.php | 527 + .../src/PhpSpreadsheet/Writer/Xlsx.php | 548 + .../src/PhpSpreadsheet/Writer/Xlsx/Chart.php | 1516 +++ .../PhpSpreadsheet/Writer/Xlsx/Comments.php | 232 + .../Writer/Xlsx/ContentTypes.php | 240 + .../Writer/Xlsx/DefinedNames.php | 223 + .../PhpSpreadsheet/Writer/Xlsx/DocProps.php | 239 + .../PhpSpreadsheet/Writer/Xlsx/Drawing.php | 505 + .../src/PhpSpreadsheet/Writer/Xlsx/Rels.php | 451 + .../PhpSpreadsheet/Writer/Xlsx/RelsRibbon.php | 45 + .../PhpSpreadsheet/Writer/Xlsx/RelsVBA.php | 40 + .../Writer/Xlsx/StringTable.php | 282 + .../src/PhpSpreadsheet/Writer/Xlsx/Style.php | 676 + .../src/PhpSpreadsheet/Writer/Xlsx/Theme.php | 837 ++ .../PhpSpreadsheet/Writer/Xlsx/Workbook.php | 225 + .../PhpSpreadsheet/Writer/Xlsx/Worksheet.php | 1419 ++ .../PhpSpreadsheet/Writer/Xlsx/WriterPart.php | 33 + .../src/PhpSpreadsheet/Writer/Xlsx/Xlfn.php | 166 + vendor/psr/cache/CHANGELOG.md | 16 + vendor/psr/cache/LICENSE.txt | 19 + vendor/psr/cache/README.md | 9 + vendor/psr/cache/composer.json | 25 + vendor/psr/cache/src/CacheException.php | 10 + vendor/psr/cache/src/CacheItemInterface.php | 105 + .../psr/cache/src/CacheItemPoolInterface.php | 138 + .../cache/src/InvalidArgumentException.php | 13 + vendor/psr/container/.gitignore | 3 + vendor/psr/container/LICENSE | 21 + vendor/psr/container/README.md | 5 + vendor/psr/container/composer.json | 27 + .../src/ContainerExceptionInterface.php | 13 + .../psr/container/src/ContainerInterface.php | 37 + .../src/NotFoundExceptionInterface.php | 13 + vendor/psr/http-client/CHANGELOG.md | 23 + vendor/psr/http-client/LICENSE | 19 + vendor/psr/http-client/README.md | 12 + vendor/psr/http-client/composer.json | 27 + .../src/ClientExceptionInterface.php | 10 + .../psr/http-client/src/ClientInterface.php | 20 + .../src/NetworkExceptionInterface.php | 24 + .../src/RequestExceptionInterface.php | 24 + vendor/psr/http-factory/.gitignore | 2 + vendor/psr/http-factory/.pullapprove.yml | 7 + vendor/psr/http-factory/LICENSE | 21 + vendor/psr/http-factory/README.md | 10 + vendor/psr/http-factory/composer.json | 35 + .../src/RequestFactoryInterface.php | 18 + .../src/ResponseFactoryInterface.php | 18 + .../src/ServerRequestFactoryInterface.php | 24 + .../src/StreamFactoryInterface.php | 45 + .../src/UploadedFileFactoryInterface.php | 34 + .../http-factory/src/UriFactoryInterface.php | 17 + vendor/psr/http-message/CHANGELOG.md | 36 + vendor/psr/http-message/LICENSE | 19 + vendor/psr/http-message/README.md | 13 + vendor/psr/http-message/composer.json | 26 + .../psr/http-message/src/MessageInterface.php | 187 + .../psr/http-message/src/RequestInterface.php | 129 + .../http-message/src/ResponseInterface.php | 68 + .../src/ServerRequestInterface.php | 261 + .../psr/http-message/src/StreamInterface.php | 158 + .../src/UploadedFileInterface.php | 123 + vendor/psr/http-message/src/UriInterface.php | 323 + vendor/psr/log/LICENSE | 19 + vendor/psr/log/Psr/Log/AbstractLogger.php | 128 + .../log/Psr/Log/InvalidArgumentException.php | 7 + vendor/psr/log/Psr/Log/LogLevel.php | 18 + .../psr/log/Psr/Log/LoggerAwareInterface.php | 18 + vendor/psr/log/Psr/Log/LoggerAwareTrait.php | 26 + vendor/psr/log/Psr/Log/LoggerInterface.php | 125 + vendor/psr/log/Psr/Log/LoggerTrait.php | 142 + vendor/psr/log/Psr/Log/NullLogger.php | 30 + vendor/psr/log/Psr/Log/Test/DummyTest.php | 18 + .../log/Psr/Log/Test/LoggerInterfaceTest.php | 138 + vendor/psr/log/Psr/Log/Test/TestLogger.php | 147 + vendor/psr/log/README.md | 58 + vendor/psr/log/composer.json | 26 + vendor/psr/simple-cache/.editorconfig | 12 + vendor/psr/simple-cache/LICENSE.md | 21 + vendor/psr/simple-cache/README.md | 8 + vendor/psr/simple-cache/composer.json | 25 + .../psr/simple-cache/src/CacheException.php | 10 + .../psr/simple-cache/src/CacheInterface.php | 114 + .../src/InvalidArgumentException.php | 13 + vendor/services.php | 5 + vendor/symfony/polyfill-mbstring/LICENSE | 19 + vendor/symfony/polyfill-mbstring/Mbstring.php | 847 ++ vendor/symfony/polyfill-mbstring/README.md | 13 + .../Resources/unidata/lowerCase.php | 1397 ++ .../Resources/unidata/titleCaseRegexp.php | 5 + .../Resources/unidata/upperCase.php | 1414 ++ .../symfony/polyfill-mbstring/bootstrap.php | 141 + .../symfony/polyfill-mbstring/composer.json | 38 + vendor/symfony/polyfill-php72/LICENSE | 19 + vendor/symfony/polyfill-php72/Php72.php | 217 + vendor/symfony/polyfill-php72/README.md | 28 + vendor/symfony/polyfill-php72/bootstrap.php | 57 + vendor/symfony/polyfill-php72/composer.json | 35 + vendor/symfony/polyfill-php80/LICENSE | 19 + vendor/symfony/polyfill-php80/Php80.php | 105 + vendor/symfony/polyfill-php80/README.md | 24 + .../Resources/stubs/Stringable.php | 9 + .../Resources/stubs/UnhandledMatchError.php | 5 + .../Resources/stubs/ValueError.php | 5 + vendor/symfony/polyfill-php80/bootstrap.php | 42 + vendor/symfony/polyfill-php80/composer.json | 40 + vendor/symfony/var-dumper/CHANGELOG.md | 53 + .../symfony/var-dumper/Caster/AmqpCaster.php | 212 + vendor/symfony/var-dumper/Caster/ArgsStub.php | 80 + vendor/symfony/var-dumper/Caster/Caster.php | 175 + .../symfony/var-dumper/Caster/ClassStub.php | 106 + .../symfony/var-dumper/Caster/ConstStub.php | 36 + .../var-dumper/Caster/CutArrayStub.php | 30 + vendor/symfony/var-dumper/Caster/CutStub.php | 64 + .../symfony/var-dumper/Caster/DOMCaster.php | 304 + .../symfony/var-dumper/Caster/DateCaster.php | 128 + .../var-dumper/Caster/DoctrineCaster.php | 62 + vendor/symfony/var-dumper/Caster/DsCaster.php | 70 + .../symfony/var-dumper/Caster/DsPairStub.php | 28 + vendor/symfony/var-dumper/Caster/EnumStub.php | 30 + .../var-dumper/Caster/ExceptionCaster.php | 382 + .../symfony/var-dumper/Caster/FrameStub.php | 30 + .../symfony/var-dumper/Caster/GmpCaster.php | 32 + .../var-dumper/Caster/ImagineCaster.php | 37 + vendor/symfony/var-dumper/Caster/ImgStub.php | 26 + .../symfony/var-dumper/Caster/IntlCaster.php | 172 + vendor/symfony/var-dumper/Caster/LinkStub.php | 108 + .../var-dumper/Caster/MemcachedCaster.php | 81 + .../symfony/var-dumper/Caster/PdoCaster.php | 122 + .../symfony/var-dumper/Caster/PgSqlCaster.php | 156 + .../var-dumper/Caster/ProxyManagerCaster.php | 33 + .../symfony/var-dumper/Caster/RedisCaster.php | 152 + .../var-dumper/Caster/ReflectionCaster.php | 392 + .../var-dumper/Caster/ResourceCaster.php | 105 + .../symfony/var-dumper/Caster/SplCaster.php | 223 + .../symfony/var-dumper/Caster/StubCaster.php | 84 + .../var-dumper/Caster/SymfonyCaster.php | 69 + .../symfony/var-dumper/Caster/TraceStub.php | 36 + .../symfony/var-dumper/Caster/UuidCaster.php | 30 + .../var-dumper/Caster/XmlReaderCaster.php | 79 + .../var-dumper/Caster/XmlResourceCaster.php | 63 + .../var-dumper/Cloner/AbstractCloner.php | 367 + .../var-dumper/Cloner/ClonerInterface.php | 27 + vendor/symfony/var-dumper/Cloner/Cursor.php | 43 + vendor/symfony/var-dumper/Cloner/Data.php | 455 + .../var-dumper/Cloner/DumperInterface.php | 56 + vendor/symfony/var-dumper/Cloner/Stub.php | 67 + .../symfony/var-dumper/Cloner/VarCloner.php | 302 + .../Command/Descriptor/CliDescriptor.php | 88 + .../Descriptor/DumpDescriptorInterface.php | 23 + .../Command/Descriptor/HtmlDescriptor.php | 119 + .../var-dumper/Command/ServerDumpCommand.php | 99 + .../var-dumper/Dumper/AbstractDumper.php | 212 + .../symfony/var-dumper/Dumper/CliDumper.php | 651 + .../ContextProvider/CliContextProvider.php | 32 + .../ContextProviderInterface.php | 25 + .../RequestContextProvider.php | 51 + .../ContextProvider/SourceContextProvider.php | 126 + .../Dumper/ContextualizedDumper.php | 43 + .../var-dumper/Dumper/DataDumperInterface.php | 24 + .../symfony/var-dumper/Dumper/HtmlDumper.php | 1004 ++ .../var-dumper/Dumper/ServerDumper.php | 53 + .../Exception/ThrowingCasterException.php | 26 + vendor/symfony/var-dumper/LICENSE | 19 + vendor/symfony/var-dumper/README.md | 15 + .../var-dumper/Resources/bin/var-dump-server | 63 + .../Resources/css/htmlDescriptor.css | 130 + .../var-dumper/Resources/functions/dump.php | 43 + .../var-dumper/Resources/js/htmlDescriptor.js | 10 + .../symfony/var-dumper/Server/Connection.php | 95 + .../symfony/var-dumper/Server/DumpServer.php | 107 + .../var-dumper/Test/VarDumperTestTrait.php | 87 + vendor/symfony/var-dumper/VarDumper.php | 60 + vendor/symfony/var-dumper/composer.json | 55 + vendor/topthink/framework/.gitignore | 7 + vendor/topthink/framework/.travis.yml | 34 + vendor/topthink/framework/CONTRIBUTING.md | 119 + vendor/topthink/framework/LICENSE.txt | 32 + vendor/topthink/framework/README.md | 86 + vendor/topthink/framework/composer.json | 55 + vendor/topthink/framework/logo.png | Bin 0 -> 6995 bytes vendor/topthink/framework/phpunit.xml.dist | 25 + vendor/topthink/framework/src/helper.php | 663 + vendor/topthink/framework/src/lang/zh-cn.php | 148 + vendor/topthink/framework/src/think/App.php | 608 + vendor/topthink/framework/src/think/Cache.php | 197 + .../topthink/framework/src/think/Config.php | 193 + .../topthink/framework/src/think/Console.php | 732 ++ .../framework/src/think/Container.php | 551 + .../topthink/framework/src/think/Cookie.php | 230 + vendor/topthink/framework/src/think/Db.php | 117 + vendor/topthink/framework/src/think/Env.php | 181 + vendor/topthink/framework/src/think/Event.php | 263 + .../framework/src/think/Exception.php | 60 + .../topthink/framework/src/think/Facade.php | 98 + vendor/topthink/framework/src/think/File.php | 187 + .../framework/src/think/Filesystem.php | 89 + vendor/topthink/framework/src/think/Http.php | 282 + vendor/topthink/framework/src/think/Lang.php | 282 + vendor/topthink/framework/src/think/Log.php | 342 + .../topthink/framework/src/think/Manager.php | 176 + .../framework/src/think/Middleware.php | 257 + .../topthink/framework/src/think/Pipeline.php | 106 + .../topthink/framework/src/think/Request.php | 2148 +++ .../topthink/framework/src/think/Response.php | 410 + vendor/topthink/framework/src/think/Route.php | 914 ++ .../topthink/framework/src/think/Service.php | 66 + .../topthink/framework/src/think/Session.php | 65 + .../topthink/framework/src/think/Validate.php | 1681 +++ vendor/topthink/framework/src/think/View.php | 187 + .../framework/src/think/cache/Driver.php | 347 + .../framework/src/think/cache/TagSet.php | 130 + .../framework/src/think/cache/driver/File.php | 304 + .../src/think/cache/driver/Memcache.php | 209 + .../src/think/cache/driver/Memcached.php | 221 + .../src/think/cache/driver/Redis.php | 248 + .../src/think/cache/driver/Wincache.php | 175 + .../framework/src/think/console/Command.php | 504 + .../framework/src/think/console/Input.php | 465 + .../framework/src/think/console/LICENSE | 19 + .../framework/src/think/console/Output.php | 231 + .../framework/src/think/console/Table.php | 300 + .../framework/src/think/console/bin/README.md | 1 + .../src/think/console/bin/hiddeninput.exe | Bin 0 -> 9216 bytes .../src/think/console/command/Clear.php | 85 + .../src/think/console/command/Help.php | 69 + .../src/think/console/command/Lists.php | 73 + .../src/think/console/command/Make.php | 99 + .../src/think/console/command/RouteList.php | 129 + .../src/think/console/command/RunServer.php | 57 + .../think/console/command/ServiceDiscover.php | 48 + .../think/console/command/VendorPublish.php | 66 + .../src/think/console/command/Version.php | 33 + .../think/console/command/make/Command.php | 55 + .../think/console/command/make/Controller.php | 56 + .../src/think/console/command/make/Event.php | 35 + .../think/console/command/make/Listener.php | 35 + .../think/console/command/make/Middleware.php | 36 + .../src/think/console/command/make/Model.php | 36 + .../think/console/command/make/Service.php | 36 + .../think/console/command/make/Subscribe.php | 35 + .../think/console/command/make/Validate.php | 39 + .../console/command/make/stubs/command.stub | 26 + .../command/make/stubs/controller.api.stub | 64 + .../command/make/stubs/controller.plain.stub | 9 + .../command/make/stubs/controller.stub | 85 + .../console/command/make/stubs/event.stub | 8 + .../console/command/make/stubs/listener.stub | 17 + .../command/make/stubs/middleware.stub | 19 + .../console/command/make/stubs/model.stub | 14 + .../console/command/make/stubs/service.stub | 29 + .../console/command/make/stubs/subscribe.stub | 8 + .../console/command/make/stubs/validate.stub | 25 + .../think/console/command/optimize/Route.php | 67 + .../think/console/command/optimize/Schema.php | 99 + .../src/think/console/input/Argument.php | 115 + .../src/think/console/input/Definition.php | 375 + .../src/think/console/input/Option.php | 190 + .../src/think/console/output/Ask.php | 336 + .../src/think/console/output/Descriptor.php | 323 + .../src/think/console/output/Formatter.php | 198 + .../src/think/console/output/Question.php | 211 + .../console/output/descriptor/Console.php | 153 + .../think/console/output/driver/Buffer.php | 52 + .../think/console/output/driver/Console.php | 368 + .../think/console/output/driver/Nothing.php | 33 + .../think/console/output/formatter/Stack.php | 116 + .../think/console/output/formatter/Style.php | 190 + .../think/console/output/question/Choice.php | 163 + .../console/output/question/Confirmation.php | 57 + .../think/contract/CacheHandlerInterface.php | 88 + .../think/contract/LogHandlerInterface.php | 28 + .../think/contract/ModelRelationInterface.php | 99 + .../contract/SessionHandlerInterface.php | 23 + .../contract/TemplateHandlerInterface.php | 61 + .../framework/src/think/event/AppInit.php | 19 + .../framework/src/think/event/HttpEnd.php | 19 + .../framework/src/think/event/HttpRun.php | 19 + .../framework/src/think/event/LogWrite.php | 31 + .../framework/src/think/event/RouteLoaded.php | 21 + .../exception/ClassNotFoundException.php | 39 + .../src/think/exception/ErrorException.php | 57 + .../src/think/exception/FileException.php | 17 + .../think/exception/FuncNotFoundException.php | 30 + .../framework/src/think/exception/Handle.php | 332 + .../src/think/exception/HttpException.php | 42 + .../think/exception/HttpResponseException.php | 37 + .../exception/InvalidArgumentException.php | 22 + .../exception/RouteNotFoundException.php | 26 + .../src/think/exception/ValidateException.php | 37 + .../framework/src/think/facade/App.php | 59 + .../framework/src/think/facade/Cache.php | 48 + .../framework/src/think/facade/Config.php | 37 + .../framework/src/think/facade/Console.php | 56 + .../framework/src/think/facade/Cookie.php | 40 + .../framework/src/think/facade/Env.php | 44 + .../framework/src/think/facade/Event.php | 42 + .../framework/src/think/facade/Filesystem.php | 33 + .../framework/src/think/facade/Lang.php | 41 + .../framework/src/think/facade/Log.php | 58 + .../framework/src/think/facade/Middleware.php | 42 + .../framework/src/think/facade/Request.php | 134 + .../framework/src/think/facade/Route.php | 83 + .../framework/src/think/facade/Session.php | 35 + .../framework/src/think/facade/Validate.php | 95 + .../framework/src/think/facade/View.php | 42 + .../framework/src/think/file/UploadedFile.php | 143 + .../src/think/filesystem/CacheStore.php | 54 + .../framework/src/think/filesystem/Driver.php | 133 + .../src/think/filesystem/driver/Local.php | 41 + .../src/think/initializer/BootService.php | 26 + .../framework/src/think/initializer/Error.php | 117 + .../src/think/initializer/RegisterService.php | 48 + .../framework/src/think/log/Channel.php | 282 + .../framework/src/think/log/ChannelSet.php | 39 + .../framework/src/think/log/driver/File.php | 205 + .../framework/src/think/log/driver/Socket.php | 306 + .../src/think/middleware/AllowCrossDomain.php | 63 + .../think/middleware/CheckRequestCache.php | 163 + .../src/think/middleware/FormTokenCheck.php | 45 + .../src/think/middleware/LoadLangPack.php | 61 + .../src/think/middleware/SessionInit.php | 80 + .../framework/src/think/response/File.php | 158 + .../framework/src/think/response/Html.php | 34 + .../framework/src/think/response/Json.php | 62 + .../framework/src/think/response/Jsonp.php | 74 + .../framework/src/think/response/Redirect.php | 98 + .../framework/src/think/response/View.php | 149 + .../framework/src/think/response/Xml.php | 127 + .../framework/src/think/route/Dispatch.php | 257 + .../framework/src/think/route/Domain.php | 183 + .../framework/src/think/route/Resource.php | 251 + .../framework/src/think/route/Rule.php | 893 ++ .../framework/src/think/route/RuleGroup.php | 511 + .../framework/src/think/route/RuleItem.php | 330 + .../framework/src/think/route/RuleName.php | 195 + .../framework/src/think/route/Url.php | 512 + .../src/think/route/dispatch/Callback.php | 30 + .../src/think/route/dispatch/Controller.php | 183 + .../src/think/route/dispatch/Url.php | 118 + .../src/think/service/ModelService.php | 47 + .../src/think/service/PaginatorService.php | 52 + .../src/think/service/ValidateService.php | 31 + .../framework/src/think/session/Store.php | 340 + .../src/think/session/driver/Cache.php | 50 + .../src/think/session/driver/File.php | 249 + .../src/think/validate/ValidateRule.php | 172 + .../framework/src/think/view/driver/Php.php | 191 + .../framework/src/tpl/think_exception.tpl | 502 + vendor/topthink/framework/tests/AppTest.php | 215 + vendor/topthink/framework/tests/CacheTest.php | 149 + .../topthink/framework/tests/ConfigTest.php | 46 + .../framework/tests/ContainerTest.php | 313 + vendor/topthink/framework/tests/DbTest.php | 49 + vendor/topthink/framework/tests/EnvTest.php | 82 + vendor/topthink/framework/tests/EventTest.php | 134 + .../framework/tests/FilesystemTest.php | 131 + vendor/topthink/framework/tests/HttpTest.php | 154 + .../framework/tests/InteractsWithApp.php | 30 + vendor/topthink/framework/tests/LogTest.php | 130 + .../framework/tests/MiddlewareTest.php | 108 + vendor/topthink/framework/tests/RouteTest.php | 285 + .../topthink/framework/tests/SessionTest.php | 225 + vendor/topthink/framework/tests/ViewTest.php | 127 + vendor/topthink/framework/tests/bootstrap.php | 3 + vendor/topthink/think-captcha/.gitignore | 3 + vendor/topthink/think-captcha/LICENSE | 32 + vendor/topthink/think-captcha/README.md | 57 + .../topthink/think-captcha/assets/bgs/1.jpg | Bin 0 -> 30428 bytes .../topthink/think-captcha/assets/bgs/2.jpg | Bin 0 -> 29677 bytes .../topthink/think-captcha/assets/bgs/3.jpg | Bin 0 -> 32109 bytes .../topthink/think-captcha/assets/bgs/4.jpg | Bin 0 -> 29081 bytes .../topthink/think-captcha/assets/bgs/5.jpg | Bin 0 -> 27940 bytes .../topthink/think-captcha/assets/bgs/6.jpg | Bin 0 -> 31381 bytes .../topthink/think-captcha/assets/bgs/7.jpg | Bin 0 -> 30234 bytes .../topthink/think-captcha/assets/bgs/8.jpg | Bin 0 -> 30188 bytes .../topthink/think-captcha/assets/ttfs/1.ttf | Bin 0 -> 46124 bytes .../topthink/think-captcha/assets/ttfs/2.ttf | Bin 0 -> 30352 bytes .../topthink/think-captcha/assets/ttfs/3.ttf | Bin 0 -> 319636 bytes .../topthink/think-captcha/assets/ttfs/4.ttf | Bin 0 -> 217360 bytes .../topthink/think-captcha/assets/ttfs/5.ttf | Bin 0 -> 162876 bytes .../topthink/think-captcha/assets/ttfs/6.ttf | Bin 0 -> 353824 bytes .../think-captcha/assets/zhttfs/1.ttf | Bin 0 -> 2183628 bytes vendor/topthink/think-captcha/composer.json | 32 + vendor/topthink/think-captcha/src/Captcha.php | 340 + .../think-captcha/src/CaptchaController.php | 20 + .../think-captcha/src/CaptchaService.php | 23 + vendor/topthink/think-captcha/src/config.php | 39 + .../think-captcha/src/facade/Captcha.php | 18 + vendor/topthink/think-captcha/src/helper.php | 54 + vendor/topthink/think-helper/.gitignore | 3 + vendor/topthink/think-helper/LICENSE | 201 + vendor/topthink/think-helper/README.md | 33 + vendor/topthink/think-helper/composer.json | 22 + .../topthink/think-helper/src/Collection.php | 651 + .../think-helper/src/contract/Arrayable.php | 8 + .../think-helper/src/contract/Jsonable.php | 8 + vendor/topthink/think-helper/src/helper.php | 279 + .../topthink/think-helper/src/helper/Arr.php | 634 + .../topthink/think-helper/src/helper/Str.php | 234 + vendor/topthink/think-image/.gitignore | 4 + vendor/topthink/think-image/.travis.yml | 22 + vendor/topthink/think-image/LICENSE | 201 + vendor/topthink/think-image/README.md | 29 + vendor/topthink/think-image/composer.json | 26 + vendor/topthink/think-image/phpunit.xml | 20 + vendor/topthink/think-image/src/Image.php | 610 + .../think-image/src/image/Exception.php | 18 + .../think-image/src/image/gif/Decoder.php | 207 + .../think-image/src/image/gif/Encoder.php | 222 + .../think-image/src/image/gif/Gif.php | 88 + .../topthink/think-image/tests/CropTest.php | 67 + .../topthink/think-image/tests/FlipTest.php | 43 + .../topthink/think-image/tests/InfoTest.php | 60 + .../topthink/think-image/tests/RotateTest.php | 42 + .../topthink/think-image/tests/TestCase.php | 33 + .../topthink/think-image/tests/TextTest.php | 58 + .../topthink/think-image/tests/ThumbTest.php | 284 + .../topthink/think-image/tests/WaterTest.php | 58 + .../topthink/think-image/tests/autoload.php | 15 + .../think-image/tests/images/test.bmp | 0 .../think-image/tests/images/test.gif | Bin 0 -> 238584 bytes .../think-image/tests/images/test.jpg | Bin 0 -> 9183 bytes .../think-image/tests/images/test.png | Bin 0 -> 107147 bytes .../think-image/tests/images/test.ttf | Bin 0 -> 109084 bytes .../topthink/think-image/tests/tmp/.gitignore | 2 + vendor/topthink/think-orm/.gitignore | 3 + vendor/topthink/think-orm/LICENSE | 201 + vendor/topthink/think-orm/README.md | 27 + vendor/topthink/think-orm/composer.json | 28 + vendor/topthink/think-orm/src/DbManager.php | 396 + vendor/topthink/think-orm/src/Model.php | 1060 ++ vendor/topthink/think-orm/src/Paginator.php | 518 + .../topthink/think-orm/src/db/BaseQuery.php | 1282 ++ vendor/topthink/think-orm/src/db/Builder.php | 1303 ++ .../topthink/think-orm/src/db/CacheItem.php | 209 + .../topthink/think-orm/src/db/Connection.php | 332 + .../think-orm/src/db/ConnectionInterface.php | 190 + vendor/topthink/think-orm/src/db/Fetch.php | 494 + vendor/topthink/think-orm/src/db/Mongo.php | 712 + .../think-orm/src/db/PDOConnection.php | 1746 +++ vendor/topthink/think-orm/src/db/Query.php | 451 + vendor/topthink/think-orm/src/db/Raw.php | 71 + vendor/topthink/think-orm/src/db/Where.php | 182 + .../think-orm/src/db/builder/Mongo.php | 675 + .../think-orm/src/db/builder/Mysql.php | 421 + .../think-orm/src/db/builder/Oracle.php | 95 + .../think-orm/src/db/builder/Pgsql.php | 118 + .../think-orm/src/db/builder/Sqlite.php | 97 + .../think-orm/src/db/builder/Sqlsrv.php | 184 + .../src/db/concern/AggregateQuery.php | 107 + .../src/db/concern/JoinAndViewQuery.php | 229 + .../src/db/concern/ModelRelationQuery.php | 524 + .../think-orm/src/db/concern/ParamsBind.php | 106 + .../src/db/concern/ResultOperation.php | 247 + .../src/db/concern/TableFieldInfo.php | 99 + .../src/db/concern/TimeFieldQuery.php | 214 + .../think-orm/src/db/concern/Transaction.php | 117 + .../think-orm/src/db/concern/WhereQuery.php | 532 + .../think-orm/src/db/connector/Mongo.php | 1167 ++ .../think-orm/src/db/connector/Mysql.php | 162 + .../think-orm/src/db/connector/Oracle.php | 117 + .../think-orm/src/db/connector/Pgsql.php | 108 + .../think-orm/src/db/connector/Sqlite.php | 96 + .../think-orm/src/db/connector/Sqlsrv.php | 122 + .../think-orm/src/db/connector/pgsql.sql | 117 + .../src/db/exception/BindParamException.php | 35 + .../db/exception/DataNotFoundException.php | 43 + .../src/db/exception/DbException.php | 81 + .../db/exception/InvalidArgumentException.php | 21 + .../src/db/exception/ModelEventException.php | 19 + .../db/exception/ModelNotFoundException.php | 44 + .../src/db/exception/PDOException.php | 41 + vendor/topthink/think-orm/src/facade/Db.php | 86 + .../think-orm/src/model/Collection.php | 250 + vendor/topthink/think-orm/src/model/Pivot.php | 53 + .../topthink/think-orm/src/model/Relation.php | 258 + .../think-orm/src/model/concern/Attribute.php | 651 + .../src/model/concern/Conversion.php | 278 + .../src/model/concern/ModelEvent.php | 88 + .../think-orm/src/model/concern/OptimLock.php | 85 + .../src/model/concern/RelationShip.php | 841 ++ .../src/model/concern/SoftDelete.php | 248 + .../think-orm/src/model/concern/TimeStamp.php | 208 + .../src/model/relation/BelongsTo.php | 331 + .../src/model/relation/BelongsToMany.php | 677 + .../think-orm/src/model/relation/HasMany.php | 367 + .../src/model/relation/HasManyThrough.php | 382 + .../think-orm/src/model/relation/HasOne.php | 300 + .../src/model/relation/HasOneThrough.php | 163 + .../src/model/relation/MorphMany.php | 353 + .../think-orm/src/model/relation/MorphOne.php | 280 + .../think-orm/src/model/relation/MorphTo.php | 332 + .../src/model/relation/MorphToMany.php | 458 + .../think-orm/src/model/relation/OneToOne.php | 332 + .../src/paginator/driver/Bootstrap.php | 209 + vendor/topthink/think-template/.gitignore | 1 + vendor/topthink/think-template/LICENSE | 201 + vendor/topthink/think-template/README.md | 70 + vendor/topthink/think-template/composer.json | 20 + .../topthink/think-template/src/Template.php | 1320 ++ .../think-template/src/facade/Template.php | 83 + .../think-template/src/template/TagLib.php | 349 + .../src/template/driver/File.php | 83 + .../exception/TemplateNotFoundException.php | 33 + .../think-template/src/template/taglib/Cx.php | 715 + vendor/topthink/think-trace/.gitignore | 1 + vendor/topthink/think-trace/LICENSE | 201 + vendor/topthink/think-trace/README.md | 15 + vendor/topthink/think-trace/composer.json | 31 + vendor/topthink/think-trace/src/Console.php | 170 + vendor/topthink/think-trace/src/Html.php | 125 + vendor/topthink/think-trace/src/Service.php | 21 + .../topthink/think-trace/src/TraceDebug.php | 109 + vendor/topthink/think-trace/src/config.php | 10 + .../think-trace/src/tpl/page_trace.tpl | 71 + vendor/topthink/think-view/.gitignore | 1 + vendor/topthink/think-view/LICENSE | 201 + vendor/topthink/think-view/README.md | 36 + vendor/topthink/think-view/composer.json | 20 + vendor/topthink/think-view/src/Think.php | 259 + view/about/index.html | 217 + view/article/cases_detail.html | 51 + view/article/cases_list.html | 49 + view/article/detail.html | 17 + view/article/index.html | 150 + view/article/news_detail.html | 42 + view/article/news_list.html | 75 + view/article/scheme_detail.html | 36 + view/article/scheme_list.html | 73 + view/contact/index.html | 59 + view/djqt/detail.html | 40 + view/djqt/index.html | 61 + view/download/index.html | 47 + view/error/400.html | 46 + view/error/404.html | 15 + view/error/500.html | 8 + view/error/jump.html | 54 + view/index/index.html | 376 + view/info/detail.html | 40 + view/info/index.html | 61 + view/info/job.html | 59 + view/info/platform.html | 102 + view/layout.html | 47 + view/layout_bak.html | 41 + view/links/index.html | 36 + view/ljct/detail.html | 40 + view/ljct/index.html | 66 + view/manager/article/add.html | 294 + view/manager/article/edit.html | 299 + view/manager/backup/index.html | 41 + view/manager/category/add.html | 243 + view/manager/category/edit.html | 260 + view/manager/category/index.html | 203 + view/manager/config/base.html | 268 + view/manager/config/slide.html | 60 + view/manager/config/statute.html | 32 + view/manager/content/article.html | 128 + view/manager/content/download.html | 56 + view/manager/content/history.html | 59 + view/manager/content/honour.html | 56 + view/manager/content/notice.html | 53 + view/manager/content/page.html | 174 + view/manager/content/position.html | 58 + view/manager/content/product.html | 56 + view/manager/download/add.html | 47 + view/manager/download/edit.html | 47 + view/manager/error/jump.html | 53 + view/manager/file/index.html | 41 + view/manager/file/unuse.html | 96 + view/manager/group/add.html | 25 + view/manager/group/edit.html | 30 + view/manager/group/index.html | 41 + view/manager/group/rule.html | 50 + view/manager/history/add.html | 41 + view/manager/history/add_info.html | 37 + view/manager/history/edit.html | 41 + view/manager/history/edit_info.html | 38 + view/manager/history/info.html | 78 + view/manager/honour/add.html | 46 + view/manager/honour/edit.html | 48 + view/manager/index/index.html | 248 + view/manager/index/index_bak.html | 125 + view/manager/layout.html | 61 + view/manager/link/add.html | 30 + view/manager/link/edit.html | 31 + view/manager/link/index.html | 60 + view/manager/link_product/add.html | 39 + view/manager/link_product/edit.html | 40 + view/manager/link_product/index.html | 61 + view/manager/login/index.html | 35 + view/manager/map_plugin/baidu.html | 100 + view/manager/map_plugin/gaode.html | 167 + view/manager/map_plugin/tengxun.html | 144 + view/manager/member/add.html | 34 + view/manager/member/edit.html | 35 + view/manager/member/index.html | 49 + view/manager/member/menu_alloter.html | 146 + view/manager/message/index.html | 76 + view/manager/model/add.html | 30 + view/manager/model/edit.html | 35 + view/manager/model/index.html | 48 + view/manager/notice/add.html | 79 + view/manager/notice/edit.html | 78 + view/manager/page/audios.html | 45 + view/manager/page/block.html | 42 + view/manager/page/code.html | 36 + view/manager/page/group.html | 64 + view/manager/page/img.html | 73 + view/manager/page/map.html | 104 + view/manager/page/text.html | 40 + view/manager/page/video.html | 66 + view/manager/page/videos.html | 45 + view/manager/position/add.html | 59 + view/manager/position/edit.html | 57 + view/manager/product/add.html | 92 + view/manager/product/edit.html | 93 + view/manager/rule/add.html | 45 + view/manager/rule/edit.html | 53 + view/manager/rule/index.html | 90 + view/manager/safe/index.html | 51 + view/manager/slide/add.html | 57 + view/manager/slide/edit.html | 60 + view/manager/slide/index.html | 58 + view/manager/system/index.html | 217 + view/manager/system/other.html | 12 + view/manager/tag/edit.html | 38 + view/manager/tag/index.html | 41 + view/manager/visit_log/index.html | 81 + view/manager/visit_log/index_ss.html | 61 + view/manager/widget/crumbs.html | 12 + view/manager/widget/file.html | 193 + view/manager/widget/image.html | 193 + view/manager/widget/left.html | 115 + view/manager/widget/mark.html | 28 + view/manager/widget/multi.html | 260 + view/manager/widget/multi_audio.html | 230 + view/manager/widget/multi_video.html | 230 + view/manager/widget/video.html | 188 + view/news/detail.html | 40 + view/news/index.html | 61 + view/news/list.html | 68 + view/page/about.html | 291 + view/page/about_us.html | 121 + view/page/career.html | 133 + view/page/contact.html | 92 + view/page/course.html | 104 + view/page/course_base.html | 158 + view/page/course_other.html | 49 + view/page/service.html | 49 + view/page/teacher.html | 148 + view/product/detail.html | 82 + view/product/index.html | 67 + view/public/block/more_course.html | 16 + view/public/block/simple_course.html | 18 + view/public/block/trial.html | 10 + view/public/footer.html | 111 + view/public/footer2.html | 127 + view/public/menu.html | 49 + view/public/menu2.html | 212 + view/public/menu_simple.html | 1 + view/public/search.html | 4 + view/search/index.html | 24 + 2112 files changed, 360352 insertions(+) create mode 100755 .gitignore create mode 100755 .htaccess create mode 100755 LICENSE.txt create mode 100755 README.md create mode 100755 app/.htaccess create mode 100755 app/common.php create mode 100755 app/controller/About.php create mode 100755 app/controller/Base.php create mode 100755 app/controller/BaseController.php create mode 100755 app/controller/Contact.php create mode 100755 app/controller/Djqt.php create mode 100755 app/controller/Download.php create mode 100755 app/controller/Error.php create mode 100755 app/controller/Index.php create mode 100755 app/controller/Info.php create mode 100755 app/controller/Links.php create mode 100755 app/controller/Ljct.php create mode 100755 app/controller/Msg.php create mode 100755 app/controller/News.php create mode 100755 app/controller/Page.php create mode 100755 app/controller/Product.php create mode 100755 app/controller/Search.php create mode 100755 app/controller/Upload.php create mode 100755 app/controller/manager/Article.php create mode 100755 app/controller/manager/Backup.php create mode 100755 app/controller/manager/Base.php create mode 100755 app/controller/manager/Category.php create mode 100755 app/controller/manager/Config.php create mode 100755 app/controller/manager/Content.php create mode 100755 app/controller/manager/Download.php create mode 100755 app/controller/manager/Error.php create mode 100755 app/controller/manager/File.php create mode 100755 app/controller/manager/Group.php create mode 100755 app/controller/manager/History.php create mode 100755 app/controller/manager/Honour.php create mode 100755 app/controller/manager/Index.php create mode 100755 app/controller/manager/Link.php create mode 100755 app/controller/manager/LinkProduct.php create mode 100755 app/controller/manager/Login.php create mode 100755 app/controller/manager/Logout.php create mode 100755 app/controller/manager/Member.php create mode 100755 app/controller/manager/Message.php create mode 100755 app/controller/manager/Model.php create mode 100755 app/controller/manager/Notice.php create mode 100755 app/controller/manager/Page.php create mode 100755 app/controller/manager/Position.php create mode 100755 app/controller/manager/Product.php create mode 100755 app/controller/manager/Rule.php create mode 100755 app/controller/manager/Safe.php create mode 100755 app/controller/manager/Slide.php create mode 100755 app/controller/manager/System.php create mode 100755 app/controller/manager/Tag.php create mode 100755 app/controller/manager/Upload.php create mode 100755 app/controller/manager/VisitLog.php create mode 100755 app/controller/manager/Wechat.php create mode 100755 app/event.php create mode 100755 app/middleware.php create mode 100755 app/middleware/Auth.php create mode 100755 app/middleware/Csrf.php create mode 100755 app/model/Article.php create mode 100755 app/model/ArticleTags.php create mode 100755 app/model/AuthGroup.php create mode 100755 app/model/AuthRule.php create mode 100755 app/model/Base.php create mode 100755 app/model/Block.php create mode 100755 app/model/Category.php create mode 100755 app/model/ConfigSetting.php create mode 100755 app/model/DownloadModel.php create mode 100755 app/model/File.php create mode 100755 app/model/History.php create mode 100755 app/model/HistoryInfo.php create mode 100755 app/model/Honour.php create mode 100755 app/model/Link.php create mode 100755 app/model/LinkProduct.php create mode 100755 app/model/Log.php create mode 100755 app/model/LoginLog.php create mode 100755 app/model/Member.php create mode 100755 app/model/Message.php create mode 100755 app/model/Model.php create mode 100755 app/model/NoticeModel.php create mode 100755 app/model/PositionModel.php create mode 100755 app/model/ProductModel.php create mode 100755 app/model/Slide.php create mode 100755 app/model/SmsLog.php create mode 100644 app/model/SpecialRoute.php create mode 100755 app/model/System.php create mode 100755 app/model/VisitLogoModel.php create mode 100755 app/provider.php create mode 100755 app/service/File.php create mode 100755 app/service/Http.php create mode 100755 app/service/Image.php create mode 100755 app/service/Tool.php create mode 100755 app/service/driver/SessionFile.php create mode 100755 app/validate/Article.php create mode 100755 app/validate/AuthGroup.php create mode 100755 app/validate/AuthRule.php create mode 100755 app/validate/Block.php create mode 100755 app/validate/Category.php create mode 100755 app/validate/DownloadValidate.php create mode 100755 app/validate/History.php create mode 100755 app/validate/HistoryInfo.php create mode 100755 app/validate/HonourValidate.php create mode 100755 app/validate/Link.php create mode 100755 app/validate/LinkProduct.php create mode 100755 app/validate/Login.php create mode 100755 app/validate/Member.php create mode 100755 app/validate/Message.php create mode 100755 app/validate/Model.php create mode 100755 app/validate/NoticeValidate.php create mode 100755 app/validate/PositionValidate.php create mode 100755 app/validate/ProductValidate.php create mode 100755 app/validate/Slide.php create mode 100755 app/validate/Upload.php create mode 100755 app/widget/Common.php create mode 100755 app/widget/Menu.php create mode 100755 app/widget/Slide.php create mode 100755 app/widget/manager/Crumbs.php create mode 100755 app/widget/manager/Menu.php create mode 100755 app/widget/manager/Upload.php create mode 100755 build.example.php create mode 100755 composer.json create mode 100755 composer.lock create mode 100755 config/app.php create mode 100755 config/cache.php create mode 100755 config/captcha.php create mode 100755 config/console.php create mode 100755 config/cookie.php create mode 100755 config/database.php create mode 100755 config/extra/base.php create mode 100755 config/filesystem.php create mode 100755 config/lang.php create mode 100755 config/log.php create mode 100755 config/middleware.php create mode 100755 config/route.php create mode 100755 config/session.php create mode 100755 config/trace.php create mode 100755 config/view.php create mode 100755 extend/dxtc/Bootstrap.php create mode 100755 extend/page/DxtcPageA.php create mode 100755 package-lock.json create mode 100755 package.json create mode 100755 public/.htaccess create mode 100755 public/.htaccess.bak create mode 100755 public/404.html create mode 100755 public/index.php create mode 100755 public/static/common/404.css create mode 100755 public/static/common/common.css create mode 100755 public/static/common/jquery-3.4.1.min.js create mode 100755 public/static/css/animate.css create mode 100755 public/static/css/animate.min.css create mode 100755 public/static/css/base.css create mode 100755 public/static/css/media.css create mode 100755 public/static/css/style.css create mode 100755 public/static/css/swiper.min.css create mode 100755 public/static/js/bdmap.js create mode 100755 public/static/js/javascript.js create mode 100755 public/static/js/jquery.SuperSlide.2.1.3.js create mode 100755 public/static/js/jquery.js create mode 100755 public/static/js/jquery.min.js create mode 100755 public/static/js/jquery1.8.3.min.js create mode 100755 public/static/js/snow.js create mode 100755 public/static/js/swiper.animate1.0.3.min.js create mode 100755 public/static/js/swiper.min.js create mode 100755 public/static/js/tinymce5/icons/default/icons.min.js create mode 100755 public/static/js/tinymce5/jquery.tinymce.min.js create mode 100755 public/static/js/tinymce5/langs/README.md create mode 100755 public/static/js/tinymce5/langs/zh_CN.js create mode 100755 public/static/js/tinymce5/license.txt create mode 100755 public/static/js/tinymce5/plugins/advlist/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/anchor/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/autolink/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/autoresize/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/autosave/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/axupimgs/loading.gif create mode 100755 public/static/js/tinymce5/plugins/axupimgs/plugin.js create mode 100755 public/static/js/tinymce5/plugins/axupimgs/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/axupimgs/upfiles.html create mode 100755 public/static/js/tinymce5/plugins/bbcode/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/charmap/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/code/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/codesample/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/colorpicker/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/contextmenu/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/directionality/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/emoticons/js/emojiimages.js create mode 100755 public/static/js/tinymce5/plugins/emoticons/js/emojiimages.min.js create mode 100755 public/static/js/tinymce5/plugins/emoticons/js/emojis.js create mode 100755 public/static/js/tinymce5/plugins/emoticons/js/emojis.min.js create mode 100755 public/static/js/tinymce5/plugins/emoticons/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/formatpainter/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/fullpage/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/fullscreen/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/help/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/hr/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/image/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/imagetools/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/importcss/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/importword/index.js create mode 100755 public/static/js/tinymce5/plugins/importword/plugin.js create mode 100755 public/static/js/tinymce5/plugins/importword/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/insertdatetime/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/legacyoutput/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/link/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/lists/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/media/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/nonbreaking/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/noneditable/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/pagebreak/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/paste/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/preview/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/print/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/quickbars/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/save/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/searchreplace/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/spellchecker/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/tabfocus/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/table/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/template/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/textcolor/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/textpattern/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/toc/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/visualblocks/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/visualchars/plugin.min.js create mode 100755 public/static/js/tinymce5/plugins/wordcount/plugin.min.js create mode 100755 public/static/js/tinymce5/skins/content/dark/content.min.css create mode 100755 public/static/js/tinymce5/skins/content/default/content.min.css create mode 100755 public/static/js/tinymce5/skins/content/document/content.min.css create mode 100755 public/static/js/tinymce5/skins/content/writer/content.min.css create mode 100755 public/static/js/tinymce5/skins/ui/oxide-dark/content.inline.min.css create mode 100755 public/static/js/tinymce5/skins/ui/oxide-dark/content.min.css create mode 100755 public/static/js/tinymce5/skins/ui/oxide-dark/content.mobile.min.css create mode 100755 public/static/js/tinymce5/skins/ui/oxide-dark/fonts/tinymce-mobile.woff create mode 100755 public/static/js/tinymce5/skins/ui/oxide-dark/skin.min.css create mode 100755 public/static/js/tinymce5/skins/ui/oxide-dark/skin.mobile.min.css create mode 100755 public/static/js/tinymce5/skins/ui/oxide-dark/skin.shadowdom.min.css create mode 100755 public/static/js/tinymce5/skins/ui/oxide/content.inline.min.css create mode 100755 public/static/js/tinymce5/skins/ui/oxide/content.min.css create mode 100755 public/static/js/tinymce5/skins/ui/oxide/content.mobile.min.css create mode 100755 public/static/js/tinymce5/skins/ui/oxide/fonts/tinymce-mobile.woff create mode 100755 public/static/js/tinymce5/skins/ui/oxide/skin.min.css create mode 100755 public/static/js/tinymce5/skins/ui/oxide/skin.mobile.min.css create mode 100755 public/static/js/tinymce5/skins/ui/oxide/skin.shadowdom.min.css create mode 100755 public/static/js/tinymce5/themes/mobile/theme.min.js create mode 100755 public/static/js/tinymce5/themes/silver/theme.min.js create mode 100755 public/static/js/tinymce5/tinymce.d.ts create mode 100755 public/static/js/tinymce5/tinymce.min.js create mode 100755 public/static/js/wow.js create mode 100755 public/static/manager/codemirror/codemirror.css create mode 100755 public/static/manager/codemirror/codemirror.js create mode 100755 public/static/manager/codemirror/css.js create mode 100755 public/static/manager/codemirror/htmlmixed.js create mode 100755 public/static/manager/codemirror/javascript.js create mode 100755 public/static/manager/codemirror/xml.js create mode 100755 public/static/manager/css/ocms.css create mode 100755 public/static/manager/extend/echarts.min.js create mode 100755 public/static/manager/extend/iconPicker.js create mode 100755 public/static/manager/extend/jquery-ui.js create mode 100755 public/static/manager/image/del.svg create mode 100755 public/static/manager/image/file.png create mode 100755 public/static/manager/image/ico_401.png create mode 100755 public/static/manager/image/ico_403.png create mode 100755 public/static/manager/image/ico_404.png create mode 100755 public/static/manager/image/ico_404_init.png create mode 100755 public/static/manager/image/ico_500.png create mode 100755 public/static/manager/image/ico_500_init.png create mode 100755 public/static/manager/image/ico_501.png create mode 100755 public/static/manager/image/ico_add.png create mode 100755 public/static/manager/image/ico_all.png create mode 100755 public/static/manager/image/ico_arrow1.png create mode 100755 public/static/manager/image/ico_arrow1_1.png create mode 100755 public/static/manager/image/ico_arrow2.png create mode 100755 public/static/manager/image/ico_arrow2_1.png create mode 100755 public/static/manager/image/ico_arrow3.png create mode 100755 public/static/manager/image/ico_arrow3_1.png create mode 100755 public/static/manager/image/ico_arrow4.png create mode 100755 public/static/manager/image/ico_arrow5.png create mode 100755 public/static/manager/image/ico_arrow6.png create mode 100755 public/static/manager/image/ico_arrow7.png create mode 100755 public/static/manager/image/ico_arrow8.png create mode 100755 public/static/manager/image/ico_close.png create mode 100755 public/static/manager/image/ico_close2.png create mode 100755 public/static/manager/image/ico_close3.png create mode 100755 public/static/manager/image/ico_close4.png create mode 100755 public/static/manager/image/ico_csd.png create mode 100755 public/static/manager/image/ico_csd2.png create mode 100755 public/static/manager/image/ico_ok.png create mode 100755 public/static/manager/image/ico_upload.png create mode 100755 public/static/manager/image/icon_head.png create mode 100755 public/static/manager/image/icon_img_change.png create mode 100755 public/static/manager/image/icon_img_change_2.png create mode 100755 public/static/manager/image/login_img.png create mode 100755 public/static/manager/image/next.svg create mode 100755 public/static/manager/image/prev.svg create mode 100755 public/static/manager/js/ocms.js create mode 100755 public/static/manager/js/upload.js create mode 100755 public/static/manager/js/upload_group.js create mode 100755 public/static/manager/layui/css/layui.css create mode 100755 public/static/manager/layui/css/layui.mobile.css create mode 100755 public/static/manager/layui/css/modules/code.css create mode 100755 public/static/manager/layui/css/modules/laydate/default/laydate.css create mode 100755 public/static/manager/layui/css/modules/layer/default/icon-ext.png create mode 100755 public/static/manager/layui/css/modules/layer/default/icon.png create mode 100755 public/static/manager/layui/css/modules/layer/default/layer.css create mode 100755 public/static/manager/layui/css/modules/layer/default/loading-0.gif create mode 100755 public/static/manager/layui/css/modules/layer/default/loading-1.gif create mode 100755 public/static/manager/layui/css/modules/layer/default/loading-2.gif create mode 100755 public/static/manager/layui/font/iconfont.eot create mode 100755 public/static/manager/layui/font/iconfont.svg create mode 100755 public/static/manager/layui/font/iconfont.ttf create mode 100755 public/static/manager/layui/font/iconfont.woff create mode 100755 public/static/manager/layui/font/iconfont.woff2 create mode 100755 public/static/manager/layui/images/face/0.gif create mode 100755 public/static/manager/layui/images/face/1.gif create mode 100755 public/static/manager/layui/images/face/10.gif create mode 100755 public/static/manager/layui/images/face/11.gif create mode 100755 public/static/manager/layui/images/face/12.gif create mode 100755 public/static/manager/layui/images/face/13.gif create mode 100755 public/static/manager/layui/images/face/14.gif create mode 100755 public/static/manager/layui/images/face/15.gif create mode 100755 public/static/manager/layui/images/face/16.gif create mode 100755 public/static/manager/layui/images/face/17.gif create mode 100755 public/static/manager/layui/images/face/18.gif create mode 100755 public/static/manager/layui/images/face/19.gif create mode 100755 public/static/manager/layui/images/face/2.gif create mode 100755 public/static/manager/layui/images/face/20.gif create mode 100755 public/static/manager/layui/images/face/21.gif create mode 100755 public/static/manager/layui/images/face/22.gif create mode 100755 public/static/manager/layui/images/face/23.gif create mode 100755 public/static/manager/layui/images/face/24.gif create mode 100755 public/static/manager/layui/images/face/25.gif create mode 100755 public/static/manager/layui/images/face/26.gif create mode 100755 public/static/manager/layui/images/face/27.gif create mode 100755 public/static/manager/layui/images/face/28.gif create mode 100755 public/static/manager/layui/images/face/29.gif create mode 100755 public/static/manager/layui/images/face/3.gif create mode 100755 public/static/manager/layui/images/face/30.gif create mode 100755 public/static/manager/layui/images/face/31.gif create mode 100755 public/static/manager/layui/images/face/32.gif create mode 100755 public/static/manager/layui/images/face/33.gif create mode 100755 public/static/manager/layui/images/face/34.gif create mode 100755 public/static/manager/layui/images/face/35.gif create mode 100755 public/static/manager/layui/images/face/36.gif create mode 100755 public/static/manager/layui/images/face/37.gif create mode 100755 public/static/manager/layui/images/face/38.gif create mode 100755 public/static/manager/layui/images/face/39.gif create mode 100755 public/static/manager/layui/images/face/4.gif create mode 100755 public/static/manager/layui/images/face/40.gif create mode 100755 public/static/manager/layui/images/face/41.gif create mode 100755 public/static/manager/layui/images/face/42.gif create mode 100755 public/static/manager/layui/images/face/43.gif create mode 100755 public/static/manager/layui/images/face/44.gif create mode 100755 public/static/manager/layui/images/face/45.gif create mode 100755 public/static/manager/layui/images/face/46.gif create mode 100755 public/static/manager/layui/images/face/47.gif create mode 100755 public/static/manager/layui/images/face/48.gif create mode 100755 public/static/manager/layui/images/face/49.gif create mode 100755 public/static/manager/layui/images/face/5.gif create mode 100755 public/static/manager/layui/images/face/50.gif create mode 100755 public/static/manager/layui/images/face/51.gif create mode 100755 public/static/manager/layui/images/face/52.gif create mode 100755 public/static/manager/layui/images/face/53.gif create mode 100755 public/static/manager/layui/images/face/54.gif create mode 100755 public/static/manager/layui/images/face/55.gif create mode 100755 public/static/manager/layui/images/face/56.gif create mode 100755 public/static/manager/layui/images/face/57.gif create mode 100755 public/static/manager/layui/images/face/58.gif create mode 100755 public/static/manager/layui/images/face/59.gif create mode 100755 public/static/manager/layui/images/face/6.gif create mode 100755 public/static/manager/layui/images/face/60.gif create mode 100755 public/static/manager/layui/images/face/61.gif create mode 100755 public/static/manager/layui/images/face/62.gif create mode 100755 public/static/manager/layui/images/face/63.gif create mode 100755 public/static/manager/layui/images/face/64.gif create mode 100755 public/static/manager/layui/images/face/65.gif create mode 100755 public/static/manager/layui/images/face/66.gif create mode 100755 public/static/manager/layui/images/face/67.gif create mode 100755 public/static/manager/layui/images/face/68.gif create mode 100755 public/static/manager/layui/images/face/69.gif create mode 100755 public/static/manager/layui/images/face/7.gif create mode 100755 public/static/manager/layui/images/face/70.gif create mode 100755 public/static/manager/layui/images/face/71.gif create mode 100755 public/static/manager/layui/images/face/8.gif create mode 100755 public/static/manager/layui/images/face/9.gif create mode 100755 public/static/manager/layui/lay/modules/carousel.js create mode 100755 public/static/manager/layui/lay/modules/code.js create mode 100755 public/static/manager/layui/lay/modules/colorpicker.js create mode 100755 public/static/manager/layui/lay/modules/element.js create mode 100755 public/static/manager/layui/lay/modules/flow.js create mode 100755 public/static/manager/layui/lay/modules/form.js create mode 100755 public/static/manager/layui/lay/modules/jquery.js create mode 100755 public/static/manager/layui/lay/modules/laydate.js create mode 100755 public/static/manager/layui/lay/modules/layedit.js create mode 100755 public/static/manager/layui/lay/modules/layer.js create mode 100755 public/static/manager/layui/lay/modules/laypage.js create mode 100755 public/static/manager/layui/lay/modules/laytpl.js create mode 100755 public/static/manager/layui/lay/modules/mobile.js create mode 100755 public/static/manager/layui/lay/modules/rate.js create mode 100755 public/static/manager/layui/lay/modules/slider.js create mode 100755 public/static/manager/layui/lay/modules/table.js create mode 100755 public/static/manager/layui/lay/modules/transfer.js create mode 100755 public/static/manager/layui/lay/modules/tree.js create mode 100755 public/static/manager/layui/lay/modules/upload.js create mode 100755 public/static/manager/layui/lay/modules/util.js create mode 100755 public/static/manager/layui/layui.all.js create mode 100755 public/static/manager/layui/layui.js create mode 100644 public/static/web/css/.sass-cache/ad07d0f6f84a660c1e9e1ee3dc7321915c4758cc/style.scssc create mode 100644 public/static/web/css/.sass-cache/b62ca7060a82806b4676f49b806e0554298459d3/style.scssc create mode 100644 public/static/web/css/.sass-cache/b62ec781df56cf24119418fcd1b3d4cc6701fe90/style.scssc create mode 100644 public/static/web/css/.sass-cache/de92de7b5c0cad72be38543c5c5d8e0498ffb735/style.scssc create mode 100644 public/static/web/css/.sass-cache/de92de7b5c0cad72be38543c5c5d8e0498ffb735/style.scssc20220426-2540-sj922y create mode 100644 public/static/web/css/.sass-cache/de92de7b5c0cad72be38543c5c5d8e0498ffb735/style.scssc20220427-812-ctcrob create mode 100644 public/static/web/css/animate.css create mode 100644 public/static/web/css/animate.min.css create mode 100644 public/static/web/css/common.css create mode 100644 public/static/web/css/expanded create mode 100644 public/static/web/css/hamburgers.css create mode 100644 public/static/web/css/style.css create mode 100644 public/static/web/css/style.css.map create mode 100644 public/static/web/css/style.min.css create mode 100644 public/static/web/css/style.scss create mode 100644 public/static/web/css/swiper-bundle.css create mode 100644 public/static/web/css/swiper.min.css create mode 100644 public/static/web/font/Regular.TTF create mode 100644 public/static/web/images/about-img.jpg create mode 100644 public/static/web/images/banner-dj.jpg create mode 100644 public/static/web/images/banner-gy.jpg create mode 100644 public/static/web/images/banner-gz.jpg create mode 100644 public/static/web/images/banner-hz.jpg create mode 100644 public/static/web/images/banner-jt.jpg create mode 100644 public/static/web/images/banner-jy.jpg create mode 100644 public/static/web/images/banner-jz.jpg create mode 100644 public/static/web/images/banner-lj.jpg create mode 100644 public/static/web/images/banner-lx.jpg create mode 100644 public/static/web/images/banner-mt.jpg create mode 100644 public/static/web/images/banner-ny.jpg create mode 100644 public/static/web/images/banner-wl.jpg create mode 100644 public/static/web/images/banner-zc.jpg create mode 100644 public/static/web/images/banner-zgs.jpg create mode 100644 public/static/web/images/banner-zj.jpg create mode 100644 public/static/web/images/banner-zx.jpg create mode 100644 public/static/web/images/banner.jpg create mode 100644 public/static/web/images/business-img1.jpg create mode 100644 public/static/web/images/business-img2.jpg create mode 100644 public/static/web/images/business-img3.jpg create mode 100644 public/static/web/images/business-img4.jpg create mode 100644 public/static/web/images/business-img5.jpg create mode 100644 public/static/web/images/grow-img.jpg create mode 100644 public/static/web/images/honor-img.jpg create mode 100644 public/static/web/images/leader-img.jpg create mode 100644 public/static/web/images/locate-img.jpg create mode 100644 public/static/web/images/mission-img.jpg create mode 100644 public/static/web/images/mission-img2.jpg create mode 100644 public/static/web/images/mission-img3.jpg create mode 100644 public/static/web/images/mission-img4.jpg create mode 100644 public/static/web/images/mission-img5.jpg create mode 100644 public/static/web/images/news-img.jpg create mode 100644 public/static/web/images/party-img.jpg create mode 100644 public/static/web/images/zc-img.jpg create mode 100644 public/static/web/img/about-icon.png create mode 100644 public/static/web/img/arrow.png create mode 100644 public/static/web/img/back.png create mode 100644 public/static/web/img/business-icon1.png create mode 100644 public/static/web/img/business-icon2.png create mode 100644 public/static/web/img/business-icon3.png create mode 100644 public/static/web/img/business-icon4.png create mode 100644 public/static/web/img/business-icon5.png create mode 100644 public/static/web/img/download-img1.jpg create mode 100644 public/static/web/img/download-img2.jpg create mode 100644 public/static/web/img/download-img3.jpg create mode 100644 public/static/web/img/download-img4.jpg create mode 100644 public/static/web/img/email.png create mode 100644 public/static/web/img/home.png create mode 100644 public/static/web/img/logo.png create mode 100644 public/static/web/img/plan-img.jpg create mode 100644 public/static/web/img/plan-text.jpg create mode 100644 public/static/web/img/search.png create mode 100644 public/static/web/img/time.jpg create mode 100644 public/static/web/img/zj-img.jpg create mode 100644 public/static/web/img/zj-img2.jpg create mode 100644 public/static/web/img/zj-img3.jpg create mode 100644 public/static/web/js/jquery-2.1.1.min.js create mode 100644 public/static/web/js/jquery.SuperSlide.2.1.1.js create mode 100644 public/static/web/js/style.js create mode 100644 public/static/web/js/swiper-bundle.min.js create mode 100644 public/static/web/js/swiper.min.js create mode 100644 public/static/web/js/wow.min.js create mode 100644 public/static/web/layui/css/layui.css create mode 100644 public/static/web/layui/css/modules/code.css create mode 100644 public/static/web/layui/css/modules/laydate/default/laydate.css create mode 100644 public/static/web/layui/css/modules/layer/default/icon-ext.png create mode 100644 public/static/web/layui/css/modules/layer/default/icon.png create mode 100644 public/static/web/layui/css/modules/layer/default/layer.css create mode 100644 public/static/web/layui/css/modules/layer/default/loading-0.gif create mode 100644 public/static/web/layui/css/modules/layer/default/loading-1.gif create mode 100644 public/static/web/layui/css/modules/layer/default/loading-2.gif create mode 100644 public/static/web/layui/font/iconfont.eot create mode 100644 public/static/web/layui/font/iconfont.svg create mode 100644 public/static/web/layui/font/iconfont.ttf create mode 100644 public/static/web/layui/font/iconfont.woff create mode 100644 public/static/web/layui/font/iconfont.woff2 create mode 100644 public/static/web/layui/layui.js create mode 100755 robots.txt create mode 100755 route/app.php create mode 100755 route/manager.php create mode 100755 router.php create mode 100755 runtime/.gitignore create mode 100755 template.env create mode 100755 think create mode 100755 vendor/.gitignore create mode 100755 vendor/autoload.php create mode 100755 vendor/bin/var-dump-server create mode 100755 vendor/composer/ClassLoader.php create mode 100755 vendor/composer/InstalledVersions.php create mode 100755 vendor/composer/LICENSE create mode 100755 vendor/composer/autoload_classmap.php create mode 100755 vendor/composer/autoload_files.php create mode 100755 vendor/composer/autoload_namespaces.php create mode 100755 vendor/composer/autoload_psr4.php create mode 100755 vendor/composer/autoload_real.php create mode 100755 vendor/composer/autoload_static.php create mode 100755 vendor/composer/installed.json create mode 100755 vendor/composer/installed.php create mode 100755 vendor/composer/platform_check.php create mode 100755 vendor/ezyang/htmlpurifier/CREDITS create mode 100755 vendor/ezyang/htmlpurifier/LICENSE create mode 100755 vendor/ezyang/htmlpurifier/README.md create mode 100755 vendor/ezyang/htmlpurifier/VERSION create mode 100755 vendor/ezyang/htmlpurifier/composer.json create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier.auto.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier.autoload-legacy.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier.autoload.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier.composer.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier.func.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier.includes.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier.kses.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier.path.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier.safe-includes.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Arborize.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrCollections.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/AlphaValue.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Background.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/BackgroundPosition.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Border.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Color.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Composite.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/DenyElementDecorator.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Filter.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Font.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/FontFamily.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Ident.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/ImportantDecorator.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Length.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/ListStyle.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Multiple.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Number.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Percentage.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/TextDecoration.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/URI.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/Clone.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/Enum.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Bool.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Class.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Color.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/FrameTarget.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/ID.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Length.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/LinkTypes.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/MultiLength.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Nmtokens.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/HTML/Pixels.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/Integer.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/Lang.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/Switch.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/Text.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI/Email.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI/Email/SimpleCheck.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI/Host.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI/IPv4.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/URI/IPv6.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/Background.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/BdoDir.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/BgColor.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/BoolToCSS.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/Border.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/EnumToCSS.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/ImgRequired.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/ImgSpace.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/Input.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/Lang.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/Length.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/Name.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/NameSync.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/Nofollow.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/SafeEmbed.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/SafeObject.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/SafeParam.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/ScriptRequired.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/TargetBlank.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/TargetNoopener.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/TargetNoreferrer.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTransform/Textarea.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrTypes.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrValidator.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Bootstrap.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/CSSDefinition.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Chameleon.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Custom.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Empty.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/List.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Optional.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Required.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/StrictBlockquote.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ChildDef/Table.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Config.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/Builder/ConfigSchema.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/Builder/Xml.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/Exception.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/Interchange.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/Interchange/Directive.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/Interchange/Id.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/InterchangeBuilder.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/Validator.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/ValidatorAtom.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema.ser create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedClasses.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedFrameTargets.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRel.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.AllowedRev.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.ClassUseCDATA.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultImageAlt.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImage.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultInvalidImageAlt.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.DefaultTextDir.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.EnableID.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.ForbiddenClasses.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.ID.HTML5.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklist.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.IDBlacklistRegexp.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefix.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Attr.IDPrefixLocal.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.AutoParagraph.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.Custom.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.DisplayLinkURI.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.Linkify.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.DocURL.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.PurifierLinkify.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.Predicate.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.RemoveNbsp.Exceptions.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.RemoveNbsp.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveEmpty.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/AutoFormat.RemoveSpansWithoutAttributes.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowDuplicates.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowImportant.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowTricky.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowedFonts.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.AllowedProperties.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.DefinitionRev.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.ForbiddenProperties.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.MaxImgLength.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.Proprietary.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/CSS.Trusted.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Cache.DefinitionImpl.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPath.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Cache.SerializerPermissions.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.AggressivelyFixLt.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.AggressivelyRemoveScript.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.AllowHostnameUnderscore.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.AllowParseManyTags.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.CollectErrors.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.ColorKeywords.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.ConvertDocumentToFragment.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.DirectLexLineNumberSyncInterval.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.DisableExcludes.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.EnableIDNA.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.Encoding.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidChildren.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeInvalidTags.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.EscapeNonASCIICharacters.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.HiddenElements.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.Language.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.LegacyEntityDecoder.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.LexerImpl.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.MaintainLineNumbers.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.NormalizeNewlines.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.RemoveInvalidImg.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.RemoveProcessingInstructions.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Core.RemoveScriptContents.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.Custom.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Escaping.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.Scope.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.TidyImpl.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.ExtractStyleBlocks.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Filter.YouTube.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Allowed.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedAttributes.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedComments.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedCommentsRegexp.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedElements.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.AllowedModules.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Attr.Name.UseCDATA.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.BlockWrapper.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.CoreModules.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.CustomDoctype.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionID.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.DefinitionRev.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Doctype.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.FlashAllowFullScreen.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenAttributes.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.ForbiddenElements.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Forms.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.MaxImgLength.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Nofollow.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Parent.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Proprietary.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeEmbed.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeIframe.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeObject.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.SafeScripting.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Strict.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TargetBlank.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TargetNoopener.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TargetNoreferrer.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyAdd.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyLevel.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.TidyRemove.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.Trusted.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/HTML.XHTML.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Output.CommentScriptContents.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Output.FixInnerHTML.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Output.FlashCompat.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Output.Newline.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Output.SortAttr.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Output.TidyFormat.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/Test.ForceNoIconv.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.AllowedSchemes.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.Base.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DefaultScheme.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DefinitionID.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DefinitionRev.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.Disable.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DisableExternal.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DisableExternalResources.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.DisableResources.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.Host.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.HostBlacklist.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.MakeAbsolute.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.Munge.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.MungeResources.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.MungeSecretKey.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.OverrideAllowedSchemes.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/URI.SafeIframeRegexp.txt create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ConfigSchema/schema/info.ini create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ContentSets.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Context.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Definition.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Decorator.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Decorator/Cleanup.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Decorator/Memory.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Decorator/Template.php.in create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Null.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer/README create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCacheFactory.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Doctype.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/DoctypeRegistry.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ElementDef.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Encoder.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/EntityLookup.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/EntityLookup/entities.ser create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/EntityParser.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ErrorCollector.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/ErrorStruct.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Exception.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Filter.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Filter/ExtractStyleBlocks.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Filter/YouTube.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Generator.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLDefinition.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Bdo.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/CommonAttributes.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Edit.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Forms.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Hypertext.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Iframe.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Image.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Legacy.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/List.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Name.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Nofollow.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/NonXMLCommonAttributes.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Object.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Presentation.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Proprietary.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Ruby.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/SafeEmbed.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/SafeObject.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/SafeScripting.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Scripting.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/StyleAttribute.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Tables.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Target.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/TargetBlank.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/TargetNoopener.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/TargetNoreferrer.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Text.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Tidy.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Tidy/Name.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Tidy/Proprietary.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Tidy/Strict.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Tidy/Transitional.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Tidy/XHTML.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/Tidy/XHTMLAndHTML4.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModule/XMLCommonAttributes.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/HTMLModuleManager.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/IDAccumulator.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Injector.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Injector/AutoParagraph.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Injector/DisplayLinkURI.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Injector/Linkify.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Injector/PurifierLinkify.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Injector/RemoveEmpty.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Injector/RemoveSpansWithoutAttributes.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Injector/SafeObject.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Language.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Language/messages/en.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/LanguageFactory.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Length.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer/DOMLex.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer/DirectLex.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer/PH5P.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Node.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Node/Comment.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Node/Element.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Node/Text.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/PercentEncoder.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/CSSDefinition.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/ConfigForm.css create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/ConfigForm.js create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/ConfigForm.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/HTMLDefinition.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/PropertyList.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/PropertyListIterator.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Queue.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/Composite.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/Core.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/FixNesting.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/MakeWellFormed.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/RemoveForeignElements.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/ValidateAttributes.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/StringHash.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/StringHashParser.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/TagTransform.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/TagTransform/Font.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/TagTransform/Simple.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Token.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Token/Comment.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Token/Empty.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Token/End.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Token/Start.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Token/Tag.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Token/Text.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/TokenFactory.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/URI.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIDefinition.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIFilter.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIFilter/DisableExternal.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIFilter/DisableExternalResources.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIFilter/DisableResources.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIFilter/HostBlacklist.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIFilter/MakeAbsolute.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIFilter/Munge.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIFilter/SafeIframe.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIParser.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/data.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/file.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/ftp.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/http.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/https.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/mailto.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/news.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/nntp.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/URIScheme/tel.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/URISchemeRegistry.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/UnitConverter.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/VarParser.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/VarParser/Flexible.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/VarParser/Native.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/VarParserException.php create mode 100755 vendor/ezyang/htmlpurifier/library/HTMLPurifier/Zipper.php create mode 100755 vendor/league/flysystem-cached-adapter/.editorconfig create mode 100755 vendor/league/flysystem-cached-adapter/.gitignore create mode 100755 vendor/league/flysystem-cached-adapter/.php_cs create mode 100755 vendor/league/flysystem-cached-adapter/.scrutinizer.yml create mode 100755 vendor/league/flysystem-cached-adapter/.travis.yml create mode 100755 vendor/league/flysystem-cached-adapter/LICENSE create mode 100755 vendor/league/flysystem-cached-adapter/clover/.gitignore create mode 100755 vendor/league/flysystem-cached-adapter/composer.json create mode 100755 vendor/league/flysystem-cached-adapter/phpspec.yml create mode 100755 vendor/league/flysystem-cached-adapter/phpunit.php create mode 100755 vendor/league/flysystem-cached-adapter/phpunit.xml create mode 100755 vendor/league/flysystem-cached-adapter/readme.md create mode 100755 vendor/league/flysystem-cached-adapter/spec/CachedAdapterSpec.php create mode 100755 vendor/league/flysystem-cached-adapter/src/CacheInterface.php create mode 100755 vendor/league/flysystem-cached-adapter/src/CachedAdapter.php create mode 100755 vendor/league/flysystem-cached-adapter/src/Storage/AbstractCache.php create mode 100755 vendor/league/flysystem-cached-adapter/src/Storage/Adapter.php create mode 100755 vendor/league/flysystem-cached-adapter/src/Storage/Memcached.php create mode 100755 vendor/league/flysystem-cached-adapter/src/Storage/Memory.php create mode 100755 vendor/league/flysystem-cached-adapter/src/Storage/Noop.php create mode 100755 vendor/league/flysystem-cached-adapter/src/Storage/PhpRedis.php create mode 100755 vendor/league/flysystem-cached-adapter/src/Storage/Predis.php create mode 100755 vendor/league/flysystem-cached-adapter/src/Storage/Psr6Cache.php create mode 100755 vendor/league/flysystem-cached-adapter/src/Storage/Stash.php create mode 100755 vendor/league/flysystem-cached-adapter/tests/AdapterCacheTests.php create mode 100755 vendor/league/flysystem-cached-adapter/tests/InspectionTests.php create mode 100755 vendor/league/flysystem-cached-adapter/tests/MemcachedTests.php create mode 100755 vendor/league/flysystem-cached-adapter/tests/MemoryCacheTests.php create mode 100755 vendor/league/flysystem-cached-adapter/tests/NoopCacheTests.php create mode 100755 vendor/league/flysystem-cached-adapter/tests/PhpRedisTests.php create mode 100755 vendor/league/flysystem-cached-adapter/tests/PredisTests.php create mode 100755 vendor/league/flysystem-cached-adapter/tests/Psr6CacheTest.php create mode 100755 vendor/league/flysystem-cached-adapter/tests/StashTest.php create mode 100755 vendor/league/flysystem/LICENSE create mode 100755 vendor/league/flysystem/SECURITY.md create mode 100755 vendor/league/flysystem/composer.json create mode 100755 vendor/league/flysystem/deprecations.md create mode 100755 vendor/league/flysystem/src/Adapter/AbstractAdapter.php create mode 100755 vendor/league/flysystem/src/Adapter/AbstractFtpAdapter.php create mode 100755 vendor/league/flysystem/src/Adapter/CanOverwriteFiles.php create mode 100755 vendor/league/flysystem/src/Adapter/Ftp.php create mode 100755 vendor/league/flysystem/src/Adapter/Ftpd.php create mode 100755 vendor/league/flysystem/src/Adapter/Local.php create mode 100755 vendor/league/flysystem/src/Adapter/NullAdapter.php create mode 100755 vendor/league/flysystem/src/Adapter/Polyfill/NotSupportingVisibilityTrait.php create mode 100755 vendor/league/flysystem/src/Adapter/Polyfill/StreamedCopyTrait.php create mode 100755 vendor/league/flysystem/src/Adapter/Polyfill/StreamedReadingTrait.php create mode 100755 vendor/league/flysystem/src/Adapter/Polyfill/StreamedTrait.php create mode 100755 vendor/league/flysystem/src/Adapter/Polyfill/StreamedWritingTrait.php create mode 100755 vendor/league/flysystem/src/Adapter/SynologyFtp.php create mode 100755 vendor/league/flysystem/src/AdapterInterface.php create mode 100755 vendor/league/flysystem/src/Config.php create mode 100755 vendor/league/flysystem/src/ConfigAwareTrait.php create mode 100755 vendor/league/flysystem/src/ConnectionErrorException.php create mode 100755 vendor/league/flysystem/src/ConnectionRuntimeException.php create mode 100755 vendor/league/flysystem/src/Directory.php create mode 100755 vendor/league/flysystem/src/Exception.php create mode 100755 vendor/league/flysystem/src/File.php create mode 100755 vendor/league/flysystem/src/FileExistsException.php create mode 100755 vendor/league/flysystem/src/FileNotFoundException.php create mode 100755 vendor/league/flysystem/src/Filesystem.php create mode 100755 vendor/league/flysystem/src/FilesystemException.php create mode 100755 vendor/league/flysystem/src/FilesystemInterface.php create mode 100755 vendor/league/flysystem/src/FilesystemNotFoundException.php create mode 100755 vendor/league/flysystem/src/Handler.php create mode 100755 vendor/league/flysystem/src/InvalidRootException.php create mode 100755 vendor/league/flysystem/src/MountManager.php create mode 100755 vendor/league/flysystem/src/NotSupportedException.php create mode 100755 vendor/league/flysystem/src/Plugin/AbstractPlugin.php create mode 100755 vendor/league/flysystem/src/Plugin/EmptyDir.php create mode 100755 vendor/league/flysystem/src/Plugin/ForcedCopy.php create mode 100755 vendor/league/flysystem/src/Plugin/ForcedRename.php create mode 100755 vendor/league/flysystem/src/Plugin/GetWithMetadata.php create mode 100755 vendor/league/flysystem/src/Plugin/ListFiles.php create mode 100755 vendor/league/flysystem/src/Plugin/ListPaths.php create mode 100755 vendor/league/flysystem/src/Plugin/ListWith.php create mode 100755 vendor/league/flysystem/src/Plugin/PluggableTrait.php create mode 100755 vendor/league/flysystem/src/Plugin/PluginNotFoundException.php create mode 100755 vendor/league/flysystem/src/PluginInterface.php create mode 100755 vendor/league/flysystem/src/ReadInterface.php create mode 100755 vendor/league/flysystem/src/RootViolationException.php create mode 100755 vendor/league/flysystem/src/SafeStorage.php create mode 100755 vendor/league/flysystem/src/UnreadableFileException.php create mode 100755 vendor/league/flysystem/src/Util.php create mode 100755 vendor/league/flysystem/src/Util/ContentListingFormatter.php create mode 100755 vendor/league/flysystem/src/Util/MimeType.php create mode 100755 vendor/league/flysystem/src/Util/StreamHasher.php create mode 100755 vendor/maennchen/zipstream-php/.github/FUNDING.yml create mode 100755 vendor/maennchen/zipstream-php/.github/ISSUE_TEMPLATE.md create mode 100755 vendor/maennchen/zipstream-php/.gitignore create mode 100755 vendor/maennchen/zipstream-php/.travis.yml create mode 100755 vendor/maennchen/zipstream-php/CHANGELOG.md create mode 100755 vendor/maennchen/zipstream-php/CONTRIBUTING.md create mode 100755 vendor/maennchen/zipstream-php/LICENSE create mode 100755 vendor/maennchen/zipstream-php/README.md create mode 100755 vendor/maennchen/zipstream-php/composer.json create mode 100755 vendor/maennchen/zipstream-php/phpunit.xml.dist create mode 100755 vendor/maennchen/zipstream-php/psalm.xml create mode 100755 vendor/maennchen/zipstream-php/src/Bigint.php create mode 100755 vendor/maennchen/zipstream-php/src/DeflateStream.php create mode 100755 vendor/maennchen/zipstream-php/src/Exception.php create mode 100755 vendor/maennchen/zipstream-php/src/Exception/EncodingException.php create mode 100755 vendor/maennchen/zipstream-php/src/Exception/FileNotFoundException.php create mode 100755 vendor/maennchen/zipstream-php/src/Exception/FileNotReadableException.php create mode 100755 vendor/maennchen/zipstream-php/src/Exception/IncompatibleOptionsException.php create mode 100755 vendor/maennchen/zipstream-php/src/Exception/OverflowException.php create mode 100755 vendor/maennchen/zipstream-php/src/Exception/StreamNotReadableException.php create mode 100755 vendor/maennchen/zipstream-php/src/File.php create mode 100755 vendor/maennchen/zipstream-php/src/Option/Archive.php create mode 100755 vendor/maennchen/zipstream-php/src/Option/File.php create mode 100755 vendor/maennchen/zipstream-php/src/Option/Method.php create mode 100755 vendor/maennchen/zipstream-php/src/Option/Version.php create mode 100755 vendor/maennchen/zipstream-php/src/Stream.php create mode 100755 vendor/maennchen/zipstream-php/src/ZipStream.php create mode 100755 vendor/maennchen/zipstream-php/test/BigintTest.php create mode 100755 vendor/maennchen/zipstream-php/test/ZipStreamTest.php create mode 100755 vendor/maennchen/zipstream-php/test/bootstrap.php create mode 100755 vendor/maennchen/zipstream-php/test/bug/BugHonorFileTimeTest.php create mode 100755 vendor/markbaker/complex/README.md create mode 100755 vendor/markbaker/complex/classes/Autoloader.php create mode 100755 vendor/markbaker/complex/classes/Bootstrap.php create mode 100755 vendor/markbaker/complex/classes/src/Complex.php create mode 100755 vendor/markbaker/complex/classes/src/Exception.php create mode 100755 vendor/markbaker/complex/classes/src/functions/abs.php create mode 100755 vendor/markbaker/complex/classes/src/functions/acos.php create mode 100755 vendor/markbaker/complex/classes/src/functions/acosh.php create mode 100755 vendor/markbaker/complex/classes/src/functions/acot.php create mode 100755 vendor/markbaker/complex/classes/src/functions/acoth.php create mode 100755 vendor/markbaker/complex/classes/src/functions/acsc.php create mode 100755 vendor/markbaker/complex/classes/src/functions/acsch.php create mode 100755 vendor/markbaker/complex/classes/src/functions/argument.php create mode 100755 vendor/markbaker/complex/classes/src/functions/asec.php create mode 100755 vendor/markbaker/complex/classes/src/functions/asech.php create mode 100755 vendor/markbaker/complex/classes/src/functions/asin.php create mode 100755 vendor/markbaker/complex/classes/src/functions/asinh.php create mode 100755 vendor/markbaker/complex/classes/src/functions/atan.php create mode 100755 vendor/markbaker/complex/classes/src/functions/atanh.php create mode 100755 vendor/markbaker/complex/classes/src/functions/conjugate.php create mode 100755 vendor/markbaker/complex/classes/src/functions/cos.php create mode 100755 vendor/markbaker/complex/classes/src/functions/cosh.php create mode 100755 vendor/markbaker/complex/classes/src/functions/cot.php create mode 100755 vendor/markbaker/complex/classes/src/functions/coth.php create mode 100755 vendor/markbaker/complex/classes/src/functions/csc.php create mode 100755 vendor/markbaker/complex/classes/src/functions/csch.php create mode 100755 vendor/markbaker/complex/classes/src/functions/exp.php create mode 100755 vendor/markbaker/complex/classes/src/functions/inverse.php create mode 100755 vendor/markbaker/complex/classes/src/functions/ln.php create mode 100755 vendor/markbaker/complex/classes/src/functions/log10.php create mode 100755 vendor/markbaker/complex/classes/src/functions/log2.php create mode 100755 vendor/markbaker/complex/classes/src/functions/negative.php create mode 100755 vendor/markbaker/complex/classes/src/functions/pow.php create mode 100755 vendor/markbaker/complex/classes/src/functions/rho.php create mode 100755 vendor/markbaker/complex/classes/src/functions/sec.php create mode 100755 vendor/markbaker/complex/classes/src/functions/sech.php create mode 100755 vendor/markbaker/complex/classes/src/functions/sin.php create mode 100755 vendor/markbaker/complex/classes/src/functions/sinh.php create mode 100755 vendor/markbaker/complex/classes/src/functions/sqrt.php create mode 100755 vendor/markbaker/complex/classes/src/functions/tan.php create mode 100755 vendor/markbaker/complex/classes/src/functions/tanh.php create mode 100755 vendor/markbaker/complex/classes/src/functions/theta.php create mode 100755 vendor/markbaker/complex/classes/src/operations/add.php create mode 100755 vendor/markbaker/complex/classes/src/operations/divideby.php create mode 100755 vendor/markbaker/complex/classes/src/operations/divideinto.php create mode 100755 vendor/markbaker/complex/classes/src/operations/multiply.php create mode 100755 vendor/markbaker/complex/classes/src/operations/subtract.php create mode 100755 vendor/markbaker/complex/composer.json create mode 100755 vendor/markbaker/complex/examples/complexTest.php create mode 100755 vendor/markbaker/complex/examples/testFunctions.php create mode 100755 vendor/markbaker/complex/examples/testOperations.php create mode 100755 vendor/markbaker/complex/license.md create mode 100755 vendor/markbaker/matrix/.github/workflows/main.yaml create mode 100755 vendor/markbaker/matrix/README.md create mode 100755 vendor/markbaker/matrix/buildPhar.php create mode 100755 vendor/markbaker/matrix/classes/src/Builder.php create mode 100755 vendor/markbaker/matrix/classes/src/Decomposition/Decomposition.php create mode 100755 vendor/markbaker/matrix/classes/src/Decomposition/LU.php create mode 100755 vendor/markbaker/matrix/classes/src/Decomposition/QR.php create mode 100755 vendor/markbaker/matrix/classes/src/Exception.php create mode 100755 vendor/markbaker/matrix/classes/src/Functions.php create mode 100755 vendor/markbaker/matrix/classes/src/Functions/adjoint.php create mode 100755 vendor/markbaker/matrix/classes/src/Functions/antidiagonal.php create mode 100755 vendor/markbaker/matrix/classes/src/Functions/cofactors.php create mode 100755 vendor/markbaker/matrix/classes/src/Functions/determinant.php create mode 100755 vendor/markbaker/matrix/classes/src/Functions/diagonal.php create mode 100755 vendor/markbaker/matrix/classes/src/Functions/identity.php create mode 100755 vendor/markbaker/matrix/classes/src/Functions/inverse.php create mode 100755 vendor/markbaker/matrix/classes/src/Functions/minors.php create mode 100755 vendor/markbaker/matrix/classes/src/Functions/trace.php create mode 100755 vendor/markbaker/matrix/classes/src/Functions/transpose.php create mode 100755 vendor/markbaker/matrix/classes/src/Matrix.php create mode 100755 vendor/markbaker/matrix/classes/src/Operations/add.php create mode 100755 vendor/markbaker/matrix/classes/src/Operations/directsum.php create mode 100755 vendor/markbaker/matrix/classes/src/Operations/divideby.php create mode 100755 vendor/markbaker/matrix/classes/src/Operations/divideinto.php create mode 100755 vendor/markbaker/matrix/classes/src/Operations/multiply.php create mode 100755 vendor/markbaker/matrix/classes/src/Operations/subtract.php create mode 100755 vendor/markbaker/matrix/classes/src/Operators/Addition.php create mode 100755 vendor/markbaker/matrix/classes/src/Operators/DirectSum.php create mode 100755 vendor/markbaker/matrix/classes/src/Operators/Division.php create mode 100755 vendor/markbaker/matrix/classes/src/Operators/Multiplication.php create mode 100755 vendor/markbaker/matrix/classes/src/Operators/Operator.php create mode 100755 vendor/markbaker/matrix/classes/src/Operators/Subtraction.php create mode 100755 vendor/markbaker/matrix/composer.json create mode 100755 vendor/markbaker/matrix/examples/test.php create mode 100755 vendor/markbaker/matrix/infection.json.dist create mode 100755 vendor/markbaker/matrix/license.md create mode 100755 vendor/markbaker/matrix/phpstan.neon create mode 100755 vendor/myclabs/php-enum/LICENSE create mode 100755 vendor/myclabs/php-enum/README.md create mode 100755 vendor/myclabs/php-enum/SECURITY.md create mode 100755 vendor/myclabs/php-enum/composer.json create mode 100755 vendor/myclabs/php-enum/psalm.xml create mode 100755 vendor/myclabs/php-enum/src/Enum.php create mode 100755 vendor/myclabs/php-enum/src/PHPUnit/Comparator.php create mode 100755 vendor/opis/closure/.github/workflows/tests.yml create mode 100755 vendor/opis/closure/CHANGELOG.md create mode 100755 vendor/opis/closure/LICENSE create mode 100755 vendor/opis/closure/NOTICE create mode 100755 vendor/opis/closure/README.md create mode 100755 vendor/opis/closure/autoload.php create mode 100755 vendor/opis/closure/composer.json create mode 100755 vendor/opis/closure/functions.php create mode 100755 vendor/opis/closure/src/Analyzer.php create mode 100755 vendor/opis/closure/src/ClosureContext.php create mode 100755 vendor/opis/closure/src/ClosureScope.php create mode 100755 vendor/opis/closure/src/ClosureStream.php create mode 100755 vendor/opis/closure/src/ISecurityProvider.php create mode 100755 vendor/opis/closure/src/ReflectionClosure.php create mode 100755 vendor/opis/closure/src/SecurityException.php create mode 100755 vendor/opis/closure/src/SecurityProvider.php create mode 100755 vendor/opis/closure/src/SelfReference.php create mode 100755 vendor/opis/closure/src/SerializableClosure.php create mode 100755 vendor/phpoffice/phpspreadsheet/.phpcs.xml.dist create mode 100755 vendor/phpoffice/phpspreadsheet/CHANGELOG.md create mode 100755 vendor/phpoffice/phpspreadsheet/CONTRIBUTING.md create mode 100755 vendor/phpoffice/phpspreadsheet/LICENSE create mode 100755 vendor/phpoffice/phpspreadsheet/README.md create mode 100755 vendor/phpoffice/phpspreadsheet/composer.json create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Calculation.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Category.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DAverage.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DCount.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DCountA.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DGet.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DMax.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DMin.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DProduct.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DStDev.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DStDevP.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DSum.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DVar.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DVarP.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Database/DatabaseAbstract.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/DateTime.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/CyclicReferenceStack.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engine/Logger.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselI.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselJ.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselK.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BesselY.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/BitWise.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/Compare.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertBase.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertBinary.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertDecimal.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertHex.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertOctal.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ConvertUOM.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/Erf.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Engineering/ErfC.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Exception.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/ExceptionHandler.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Financial.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/FormulaParser.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/FormulaToken.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Functions.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Internal/MakeMatrix.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Internal/WildcardMatch.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Logical.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Logical/Boolean.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Logical/Conditional.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Logical/Operations.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/LookupRef.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Ceiling.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/CeilingMath.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/CeilingPrecise.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Floor.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/FloorMath.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/FloorPrecise.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/IntClass.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Mround.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Roman.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Round.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/RoundDown.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/RoundUp.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/MathTrig/Trunc.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/AggregateBase.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Averages.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Conditional.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Counts.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/MaxMinBase.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Maximum.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Minimum.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Permutations.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/StandardDeviations.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/VarianceBase.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Statistical/Variances.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/TextData.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Token/Stack.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/Web.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/functionlist.txt create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/bg/config create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/bg/functions create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/cs/config create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/cs/functions create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/da/config create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/da/functions create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/de/config create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/de/functions create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/en/uk/config create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/es/config create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/es/functions create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/fi/config create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/fi/functions create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/fr/config create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/fr/functions create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/hu/config create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/hu/functions create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/it/config create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/it/functions create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/nl/config create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/nl/functions create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/no/config create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/no/functions create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/pl/config create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/pl/functions create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/pt/br/config create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/pt/br/functions create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/pt/config create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/pt/functions create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/ru/config create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/ru/functions create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/sv/config create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/sv/functions create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/tr/config create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Calculation/locale/tr/functions create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/AddressHelper.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/AdvancedValueBinder.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/Cell.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/Coordinate.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/DataType.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/DataValidation.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/DataValidator.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/DefaultValueBinder.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/Hyperlink.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/IValueBinder.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Cell/StringValueBinder.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Axis.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Chart.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/DataSeries.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/DataSeriesValues.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Exception.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/GridLines.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Layout.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Legend.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/PlotArea.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Properties.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Renderer/IRenderer.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Renderer/JpGraph.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Renderer/PHP Charting Libraries.txt create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Chart/Title.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Collection/Cells.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Collection/CellsFactory.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Collection/Memory.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Comment.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/DefinedName.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Document/Properties.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Document/Security.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/DocumentGenerator.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Exception.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/HashTable.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Helper/Html.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Helper/Sample.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/IComparable.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/IOFactory.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/NamedFormula.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/NamedRange.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/BaseReader.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Csv.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/DefaultReadFilter.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Exception.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Gnumeric.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Gnumeric/PageSetup.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Html.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/IReadFilter.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/IReader.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Ods.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Ods/PageSettings.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Ods/Properties.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Security/XmlScanner.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Slk.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/Color.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/Color/BIFF5.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/Color/BIFF8.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/Color/BuiltIn.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/ErrorCode.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/Escher.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/MD5.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/RC4.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/Style/Border.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xls/Style/FillPattern.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/AutoFilter.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/BaseParserClass.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/Chart.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/ColumnAndRowAttributes.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/ConditionalStyles.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/DataValidations.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/Hyperlinks.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/PageSetup.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/Properties.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/SheetViewOptions.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/SheetViews.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/Styles.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xlsx/Theme.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xml.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Reader/Xml/PageSettings.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/ReferenceHelper.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/RichText/ITextElement.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/RichText/RichText.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/RichText/Run.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/RichText/TextElement.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Settings.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/CodePage.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Date.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Drawing.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Escher.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Escher/DgContainer.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Escher/DgContainer/SpgrContainer.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Escher/DgContainer/SpgrContainer/SpContainer.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Escher/DggContainer.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Escher/DggContainer/BstoreContainer.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Escher/DggContainer/BstoreContainer/BSE.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Escher/DggContainer/BstoreContainer/BSE/Blip.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/File.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Font.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/JAMA/CHANGELOG.TXT create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/JAMA/CholeskyDecomposition.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/JAMA/EigenvalueDecomposition.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/JAMA/LUDecomposition.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/JAMA/Matrix.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/JAMA/QRDecomposition.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/JAMA/SingularValueDecomposition.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/JAMA/utils/Maths.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/OLE.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/OLE/ChainedBlockStream.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/OLE/PPS.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/OLE/PPS/File.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/OLE/PPS/Root.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/OLERead.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/PasswordHasher.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/StringHelper.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/TimeZone.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/BestFit.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/ExponentialBestFit.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/LinearBestFit.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/LogarithmicBestFit.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/PolynomialBestFit.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/PowerBestFit.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Trend/Trend.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/XMLWriter.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Shared/Xls.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Spreadsheet.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Alignment.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Border.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Borders.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Color.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Conditional.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/ConditionalFormatting/ConditionalDataBar.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/ConditionalFormatting/ConditionalDataBarExtension.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/ConditionalFormatting/ConditionalFormatValueObject.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/ConditionalFormatting/ConditionalFormattingRuleExtension.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Fill.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Font.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/NumberFormat.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Protection.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Style.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Style/Supervisor.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/AutoFilter.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/AutoFilter/Column.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/AutoFilter/Column/Rule.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/BaseDrawing.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/CellIterator.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Column.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/ColumnCellIterator.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/ColumnDimension.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/ColumnIterator.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Dimension.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Drawing.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Drawing/Shadow.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/HeaderFooter.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/HeaderFooterDrawing.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Iterator.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/MemoryDrawing.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/PageMargins.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/PageSetup.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Protection.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Row.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/RowCellIterator.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/RowDimension.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/RowIterator.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/SheetView.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Worksheet/Worksheet.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/BaseWriter.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Csv.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Exception.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Html.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/IWriter.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/Cell/Comment.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/Cell/Style.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/Content.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/Formula.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/Meta.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/MetaInf.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/Mimetype.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/NamedExpressions.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/Settings.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/Styles.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/Thumbnails.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Ods/WriterPart.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf/Dompdf.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf/Mpdf.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Pdf/Tcpdf.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls/BIFFwriter.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls/Escher.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls/Font.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls/Parser.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls/Workbook.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls/Worksheet.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xls/Xf.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Chart.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Comments.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/ContentTypes.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/DefinedNames.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/DocProps.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Drawing.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Rels.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/RelsRibbon.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/RelsVBA.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/StringTable.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Style.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Theme.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Workbook.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Worksheet.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/WriterPart.php create mode 100755 vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/Writer/Xlsx/Xlfn.php create mode 100755 vendor/psr/cache/CHANGELOG.md create mode 100755 vendor/psr/cache/LICENSE.txt create mode 100755 vendor/psr/cache/README.md create mode 100755 vendor/psr/cache/composer.json create mode 100755 vendor/psr/cache/src/CacheException.php create mode 100755 vendor/psr/cache/src/CacheItemInterface.php create mode 100755 vendor/psr/cache/src/CacheItemPoolInterface.php create mode 100755 vendor/psr/cache/src/InvalidArgumentException.php create mode 100755 vendor/psr/container/.gitignore create mode 100755 vendor/psr/container/LICENSE create mode 100755 vendor/psr/container/README.md create mode 100755 vendor/psr/container/composer.json create mode 100755 vendor/psr/container/src/ContainerExceptionInterface.php create mode 100755 vendor/psr/container/src/ContainerInterface.php create mode 100755 vendor/psr/container/src/NotFoundExceptionInterface.php create mode 100755 vendor/psr/http-client/CHANGELOG.md create mode 100755 vendor/psr/http-client/LICENSE create mode 100755 vendor/psr/http-client/README.md create mode 100755 vendor/psr/http-client/composer.json create mode 100755 vendor/psr/http-client/src/ClientExceptionInterface.php create mode 100755 vendor/psr/http-client/src/ClientInterface.php create mode 100755 vendor/psr/http-client/src/NetworkExceptionInterface.php create mode 100755 vendor/psr/http-client/src/RequestExceptionInterface.php create mode 100755 vendor/psr/http-factory/.gitignore create mode 100755 vendor/psr/http-factory/.pullapprove.yml create mode 100755 vendor/psr/http-factory/LICENSE create mode 100755 vendor/psr/http-factory/README.md create mode 100755 vendor/psr/http-factory/composer.json create mode 100755 vendor/psr/http-factory/src/RequestFactoryInterface.php create mode 100755 vendor/psr/http-factory/src/ResponseFactoryInterface.php create mode 100755 vendor/psr/http-factory/src/ServerRequestFactoryInterface.php create mode 100755 vendor/psr/http-factory/src/StreamFactoryInterface.php create mode 100755 vendor/psr/http-factory/src/UploadedFileFactoryInterface.php create mode 100755 vendor/psr/http-factory/src/UriFactoryInterface.php create mode 100755 vendor/psr/http-message/CHANGELOG.md create mode 100755 vendor/psr/http-message/LICENSE create mode 100755 vendor/psr/http-message/README.md create mode 100755 vendor/psr/http-message/composer.json create mode 100755 vendor/psr/http-message/src/MessageInterface.php create mode 100755 vendor/psr/http-message/src/RequestInterface.php create mode 100755 vendor/psr/http-message/src/ResponseInterface.php create mode 100755 vendor/psr/http-message/src/ServerRequestInterface.php create mode 100755 vendor/psr/http-message/src/StreamInterface.php create mode 100755 vendor/psr/http-message/src/UploadedFileInterface.php create mode 100755 vendor/psr/http-message/src/UriInterface.php create mode 100755 vendor/psr/log/LICENSE create mode 100755 vendor/psr/log/Psr/Log/AbstractLogger.php create mode 100755 vendor/psr/log/Psr/Log/InvalidArgumentException.php create mode 100755 vendor/psr/log/Psr/Log/LogLevel.php create mode 100755 vendor/psr/log/Psr/Log/LoggerAwareInterface.php create mode 100755 vendor/psr/log/Psr/Log/LoggerAwareTrait.php create mode 100755 vendor/psr/log/Psr/Log/LoggerInterface.php create mode 100755 vendor/psr/log/Psr/Log/LoggerTrait.php create mode 100755 vendor/psr/log/Psr/Log/NullLogger.php create mode 100755 vendor/psr/log/Psr/Log/Test/DummyTest.php create mode 100755 vendor/psr/log/Psr/Log/Test/LoggerInterfaceTest.php create mode 100755 vendor/psr/log/Psr/Log/Test/TestLogger.php create mode 100755 vendor/psr/log/README.md create mode 100755 vendor/psr/log/composer.json create mode 100755 vendor/psr/simple-cache/.editorconfig create mode 100755 vendor/psr/simple-cache/LICENSE.md create mode 100755 vendor/psr/simple-cache/README.md create mode 100755 vendor/psr/simple-cache/composer.json create mode 100755 vendor/psr/simple-cache/src/CacheException.php create mode 100755 vendor/psr/simple-cache/src/CacheInterface.php create mode 100755 vendor/psr/simple-cache/src/InvalidArgumentException.php create mode 100755 vendor/services.php create mode 100755 vendor/symfony/polyfill-mbstring/LICENSE create mode 100755 vendor/symfony/polyfill-mbstring/Mbstring.php create mode 100755 vendor/symfony/polyfill-mbstring/README.md create mode 100755 vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php create mode 100755 vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php create mode 100755 vendor/symfony/polyfill-mbstring/Resources/unidata/upperCase.php create mode 100755 vendor/symfony/polyfill-mbstring/bootstrap.php create mode 100755 vendor/symfony/polyfill-mbstring/composer.json create mode 100755 vendor/symfony/polyfill-php72/LICENSE create mode 100755 vendor/symfony/polyfill-php72/Php72.php create mode 100755 vendor/symfony/polyfill-php72/README.md create mode 100755 vendor/symfony/polyfill-php72/bootstrap.php create mode 100755 vendor/symfony/polyfill-php72/composer.json create mode 100755 vendor/symfony/polyfill-php80/LICENSE create mode 100755 vendor/symfony/polyfill-php80/Php80.php create mode 100755 vendor/symfony/polyfill-php80/README.md create mode 100755 vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php create mode 100755 vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php create mode 100755 vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php create mode 100755 vendor/symfony/polyfill-php80/bootstrap.php create mode 100755 vendor/symfony/polyfill-php80/composer.json create mode 100755 vendor/symfony/var-dumper/CHANGELOG.md create mode 100755 vendor/symfony/var-dumper/Caster/AmqpCaster.php create mode 100755 vendor/symfony/var-dumper/Caster/ArgsStub.php create mode 100755 vendor/symfony/var-dumper/Caster/Caster.php create mode 100755 vendor/symfony/var-dumper/Caster/ClassStub.php create mode 100755 vendor/symfony/var-dumper/Caster/ConstStub.php create mode 100755 vendor/symfony/var-dumper/Caster/CutArrayStub.php create mode 100755 vendor/symfony/var-dumper/Caster/CutStub.php create mode 100755 vendor/symfony/var-dumper/Caster/DOMCaster.php create mode 100755 vendor/symfony/var-dumper/Caster/DateCaster.php create mode 100755 vendor/symfony/var-dumper/Caster/DoctrineCaster.php create mode 100755 vendor/symfony/var-dumper/Caster/DsCaster.php create mode 100755 vendor/symfony/var-dumper/Caster/DsPairStub.php create mode 100755 vendor/symfony/var-dumper/Caster/EnumStub.php create mode 100755 vendor/symfony/var-dumper/Caster/ExceptionCaster.php create mode 100755 vendor/symfony/var-dumper/Caster/FrameStub.php create mode 100755 vendor/symfony/var-dumper/Caster/GmpCaster.php create mode 100755 vendor/symfony/var-dumper/Caster/ImagineCaster.php create mode 100755 vendor/symfony/var-dumper/Caster/ImgStub.php create mode 100755 vendor/symfony/var-dumper/Caster/IntlCaster.php create mode 100755 vendor/symfony/var-dumper/Caster/LinkStub.php create mode 100755 vendor/symfony/var-dumper/Caster/MemcachedCaster.php create mode 100755 vendor/symfony/var-dumper/Caster/PdoCaster.php create mode 100755 vendor/symfony/var-dumper/Caster/PgSqlCaster.php create mode 100755 vendor/symfony/var-dumper/Caster/ProxyManagerCaster.php create mode 100755 vendor/symfony/var-dumper/Caster/RedisCaster.php create mode 100755 vendor/symfony/var-dumper/Caster/ReflectionCaster.php create mode 100755 vendor/symfony/var-dumper/Caster/ResourceCaster.php create mode 100755 vendor/symfony/var-dumper/Caster/SplCaster.php create mode 100755 vendor/symfony/var-dumper/Caster/StubCaster.php create mode 100755 vendor/symfony/var-dumper/Caster/SymfonyCaster.php create mode 100755 vendor/symfony/var-dumper/Caster/TraceStub.php create mode 100755 vendor/symfony/var-dumper/Caster/UuidCaster.php create mode 100755 vendor/symfony/var-dumper/Caster/XmlReaderCaster.php create mode 100755 vendor/symfony/var-dumper/Caster/XmlResourceCaster.php create mode 100755 vendor/symfony/var-dumper/Cloner/AbstractCloner.php create mode 100755 vendor/symfony/var-dumper/Cloner/ClonerInterface.php create mode 100755 vendor/symfony/var-dumper/Cloner/Cursor.php create mode 100755 vendor/symfony/var-dumper/Cloner/Data.php create mode 100755 vendor/symfony/var-dumper/Cloner/DumperInterface.php create mode 100755 vendor/symfony/var-dumper/Cloner/Stub.php create mode 100755 vendor/symfony/var-dumper/Cloner/VarCloner.php create mode 100755 vendor/symfony/var-dumper/Command/Descriptor/CliDescriptor.php create mode 100755 vendor/symfony/var-dumper/Command/Descriptor/DumpDescriptorInterface.php create mode 100755 vendor/symfony/var-dumper/Command/Descriptor/HtmlDescriptor.php create mode 100755 vendor/symfony/var-dumper/Command/ServerDumpCommand.php create mode 100755 vendor/symfony/var-dumper/Dumper/AbstractDumper.php create mode 100755 vendor/symfony/var-dumper/Dumper/CliDumper.php create mode 100755 vendor/symfony/var-dumper/Dumper/ContextProvider/CliContextProvider.php create mode 100755 vendor/symfony/var-dumper/Dumper/ContextProvider/ContextProviderInterface.php create mode 100755 vendor/symfony/var-dumper/Dumper/ContextProvider/RequestContextProvider.php create mode 100755 vendor/symfony/var-dumper/Dumper/ContextProvider/SourceContextProvider.php create mode 100755 vendor/symfony/var-dumper/Dumper/ContextualizedDumper.php create mode 100755 vendor/symfony/var-dumper/Dumper/DataDumperInterface.php create mode 100755 vendor/symfony/var-dumper/Dumper/HtmlDumper.php create mode 100755 vendor/symfony/var-dumper/Dumper/ServerDumper.php create mode 100755 vendor/symfony/var-dumper/Exception/ThrowingCasterException.php create mode 100755 vendor/symfony/var-dumper/LICENSE create mode 100755 vendor/symfony/var-dumper/README.md create mode 100755 vendor/symfony/var-dumper/Resources/bin/var-dump-server create mode 100755 vendor/symfony/var-dumper/Resources/css/htmlDescriptor.css create mode 100755 vendor/symfony/var-dumper/Resources/functions/dump.php create mode 100755 vendor/symfony/var-dumper/Resources/js/htmlDescriptor.js create mode 100755 vendor/symfony/var-dumper/Server/Connection.php create mode 100755 vendor/symfony/var-dumper/Server/DumpServer.php create mode 100755 vendor/symfony/var-dumper/Test/VarDumperTestTrait.php create mode 100755 vendor/symfony/var-dumper/VarDumper.php create mode 100755 vendor/symfony/var-dumper/composer.json create mode 100755 vendor/topthink/framework/.gitignore create mode 100755 vendor/topthink/framework/.travis.yml create mode 100755 vendor/topthink/framework/CONTRIBUTING.md create mode 100755 vendor/topthink/framework/LICENSE.txt create mode 100755 vendor/topthink/framework/README.md create mode 100755 vendor/topthink/framework/composer.json create mode 100755 vendor/topthink/framework/logo.png create mode 100755 vendor/topthink/framework/phpunit.xml.dist create mode 100755 vendor/topthink/framework/src/helper.php create mode 100755 vendor/topthink/framework/src/lang/zh-cn.php create mode 100755 vendor/topthink/framework/src/think/App.php create mode 100755 vendor/topthink/framework/src/think/Cache.php create mode 100755 vendor/topthink/framework/src/think/Config.php create mode 100755 vendor/topthink/framework/src/think/Console.php create mode 100755 vendor/topthink/framework/src/think/Container.php create mode 100755 vendor/topthink/framework/src/think/Cookie.php create mode 100755 vendor/topthink/framework/src/think/Db.php create mode 100755 vendor/topthink/framework/src/think/Env.php create mode 100755 vendor/topthink/framework/src/think/Event.php create mode 100755 vendor/topthink/framework/src/think/Exception.php create mode 100755 vendor/topthink/framework/src/think/Facade.php create mode 100755 vendor/topthink/framework/src/think/File.php create mode 100755 vendor/topthink/framework/src/think/Filesystem.php create mode 100755 vendor/topthink/framework/src/think/Http.php create mode 100755 vendor/topthink/framework/src/think/Lang.php create mode 100755 vendor/topthink/framework/src/think/Log.php create mode 100755 vendor/topthink/framework/src/think/Manager.php create mode 100755 vendor/topthink/framework/src/think/Middleware.php create mode 100755 vendor/topthink/framework/src/think/Pipeline.php create mode 100755 vendor/topthink/framework/src/think/Request.php create mode 100755 vendor/topthink/framework/src/think/Response.php create mode 100755 vendor/topthink/framework/src/think/Route.php create mode 100755 vendor/topthink/framework/src/think/Service.php create mode 100755 vendor/topthink/framework/src/think/Session.php create mode 100755 vendor/topthink/framework/src/think/Validate.php create mode 100755 vendor/topthink/framework/src/think/View.php create mode 100755 vendor/topthink/framework/src/think/cache/Driver.php create mode 100755 vendor/topthink/framework/src/think/cache/TagSet.php create mode 100755 vendor/topthink/framework/src/think/cache/driver/File.php create mode 100755 vendor/topthink/framework/src/think/cache/driver/Memcache.php create mode 100755 vendor/topthink/framework/src/think/cache/driver/Memcached.php create mode 100755 vendor/topthink/framework/src/think/cache/driver/Redis.php create mode 100755 vendor/topthink/framework/src/think/cache/driver/Wincache.php create mode 100755 vendor/topthink/framework/src/think/console/Command.php create mode 100755 vendor/topthink/framework/src/think/console/Input.php create mode 100755 vendor/topthink/framework/src/think/console/LICENSE create mode 100755 vendor/topthink/framework/src/think/console/Output.php create mode 100755 vendor/topthink/framework/src/think/console/Table.php create mode 100755 vendor/topthink/framework/src/think/console/bin/README.md create mode 100755 vendor/topthink/framework/src/think/console/bin/hiddeninput.exe create mode 100755 vendor/topthink/framework/src/think/console/command/Clear.php create mode 100755 vendor/topthink/framework/src/think/console/command/Help.php create mode 100755 vendor/topthink/framework/src/think/console/command/Lists.php create mode 100755 vendor/topthink/framework/src/think/console/command/Make.php create mode 100755 vendor/topthink/framework/src/think/console/command/RouteList.php create mode 100755 vendor/topthink/framework/src/think/console/command/RunServer.php create mode 100755 vendor/topthink/framework/src/think/console/command/ServiceDiscover.php create mode 100755 vendor/topthink/framework/src/think/console/command/VendorPublish.php create mode 100755 vendor/topthink/framework/src/think/console/command/Version.php create mode 100755 vendor/topthink/framework/src/think/console/command/make/Command.php create mode 100755 vendor/topthink/framework/src/think/console/command/make/Controller.php create mode 100755 vendor/topthink/framework/src/think/console/command/make/Event.php create mode 100755 vendor/topthink/framework/src/think/console/command/make/Listener.php create mode 100755 vendor/topthink/framework/src/think/console/command/make/Middleware.php create mode 100755 vendor/topthink/framework/src/think/console/command/make/Model.php create mode 100755 vendor/topthink/framework/src/think/console/command/make/Service.php create mode 100755 vendor/topthink/framework/src/think/console/command/make/Subscribe.php create mode 100755 vendor/topthink/framework/src/think/console/command/make/Validate.php create mode 100755 vendor/topthink/framework/src/think/console/command/make/stubs/command.stub create mode 100755 vendor/topthink/framework/src/think/console/command/make/stubs/controller.api.stub create mode 100755 vendor/topthink/framework/src/think/console/command/make/stubs/controller.plain.stub create mode 100755 vendor/topthink/framework/src/think/console/command/make/stubs/controller.stub create mode 100755 vendor/topthink/framework/src/think/console/command/make/stubs/event.stub create mode 100755 vendor/topthink/framework/src/think/console/command/make/stubs/listener.stub create mode 100755 vendor/topthink/framework/src/think/console/command/make/stubs/middleware.stub create mode 100755 vendor/topthink/framework/src/think/console/command/make/stubs/model.stub create mode 100755 vendor/topthink/framework/src/think/console/command/make/stubs/service.stub create mode 100755 vendor/topthink/framework/src/think/console/command/make/stubs/subscribe.stub create mode 100755 vendor/topthink/framework/src/think/console/command/make/stubs/validate.stub create mode 100755 vendor/topthink/framework/src/think/console/command/optimize/Route.php create mode 100755 vendor/topthink/framework/src/think/console/command/optimize/Schema.php create mode 100755 vendor/topthink/framework/src/think/console/input/Argument.php create mode 100755 vendor/topthink/framework/src/think/console/input/Definition.php create mode 100755 vendor/topthink/framework/src/think/console/input/Option.php create mode 100755 vendor/topthink/framework/src/think/console/output/Ask.php create mode 100755 vendor/topthink/framework/src/think/console/output/Descriptor.php create mode 100755 vendor/topthink/framework/src/think/console/output/Formatter.php create mode 100755 vendor/topthink/framework/src/think/console/output/Question.php create mode 100755 vendor/topthink/framework/src/think/console/output/descriptor/Console.php create mode 100755 vendor/topthink/framework/src/think/console/output/driver/Buffer.php create mode 100755 vendor/topthink/framework/src/think/console/output/driver/Console.php create mode 100755 vendor/topthink/framework/src/think/console/output/driver/Nothing.php create mode 100755 vendor/topthink/framework/src/think/console/output/formatter/Stack.php create mode 100755 vendor/topthink/framework/src/think/console/output/formatter/Style.php create mode 100755 vendor/topthink/framework/src/think/console/output/question/Choice.php create mode 100755 vendor/topthink/framework/src/think/console/output/question/Confirmation.php create mode 100755 vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php create mode 100755 vendor/topthink/framework/src/think/contract/LogHandlerInterface.php create mode 100755 vendor/topthink/framework/src/think/contract/ModelRelationInterface.php create mode 100755 vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php create mode 100755 vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php create mode 100755 vendor/topthink/framework/src/think/event/AppInit.php create mode 100755 vendor/topthink/framework/src/think/event/HttpEnd.php create mode 100755 vendor/topthink/framework/src/think/event/HttpRun.php create mode 100755 vendor/topthink/framework/src/think/event/LogWrite.php create mode 100755 vendor/topthink/framework/src/think/event/RouteLoaded.php create mode 100755 vendor/topthink/framework/src/think/exception/ClassNotFoundException.php create mode 100755 vendor/topthink/framework/src/think/exception/ErrorException.php create mode 100755 vendor/topthink/framework/src/think/exception/FileException.php create mode 100755 vendor/topthink/framework/src/think/exception/FuncNotFoundException.php create mode 100755 vendor/topthink/framework/src/think/exception/Handle.php create mode 100755 vendor/topthink/framework/src/think/exception/HttpException.php create mode 100755 vendor/topthink/framework/src/think/exception/HttpResponseException.php create mode 100755 vendor/topthink/framework/src/think/exception/InvalidArgumentException.php create mode 100755 vendor/topthink/framework/src/think/exception/RouteNotFoundException.php create mode 100755 vendor/topthink/framework/src/think/exception/ValidateException.php create mode 100755 vendor/topthink/framework/src/think/facade/App.php create mode 100755 vendor/topthink/framework/src/think/facade/Cache.php create mode 100755 vendor/topthink/framework/src/think/facade/Config.php create mode 100755 vendor/topthink/framework/src/think/facade/Console.php create mode 100755 vendor/topthink/framework/src/think/facade/Cookie.php create mode 100755 vendor/topthink/framework/src/think/facade/Env.php create mode 100755 vendor/topthink/framework/src/think/facade/Event.php create mode 100755 vendor/topthink/framework/src/think/facade/Filesystem.php create mode 100755 vendor/topthink/framework/src/think/facade/Lang.php create mode 100755 vendor/topthink/framework/src/think/facade/Log.php create mode 100755 vendor/topthink/framework/src/think/facade/Middleware.php create mode 100755 vendor/topthink/framework/src/think/facade/Request.php create mode 100755 vendor/topthink/framework/src/think/facade/Route.php create mode 100755 vendor/topthink/framework/src/think/facade/Session.php create mode 100755 vendor/topthink/framework/src/think/facade/Validate.php create mode 100755 vendor/topthink/framework/src/think/facade/View.php create mode 100755 vendor/topthink/framework/src/think/file/UploadedFile.php create mode 100755 vendor/topthink/framework/src/think/filesystem/CacheStore.php create mode 100755 vendor/topthink/framework/src/think/filesystem/Driver.php create mode 100755 vendor/topthink/framework/src/think/filesystem/driver/Local.php create mode 100755 vendor/topthink/framework/src/think/initializer/BootService.php create mode 100755 vendor/topthink/framework/src/think/initializer/Error.php create mode 100755 vendor/topthink/framework/src/think/initializer/RegisterService.php create mode 100755 vendor/topthink/framework/src/think/log/Channel.php create mode 100755 vendor/topthink/framework/src/think/log/ChannelSet.php create mode 100755 vendor/topthink/framework/src/think/log/driver/File.php create mode 100755 vendor/topthink/framework/src/think/log/driver/Socket.php create mode 100755 vendor/topthink/framework/src/think/middleware/AllowCrossDomain.php create mode 100755 vendor/topthink/framework/src/think/middleware/CheckRequestCache.php create mode 100755 vendor/topthink/framework/src/think/middleware/FormTokenCheck.php create mode 100755 vendor/topthink/framework/src/think/middleware/LoadLangPack.php create mode 100755 vendor/topthink/framework/src/think/middleware/SessionInit.php create mode 100755 vendor/topthink/framework/src/think/response/File.php create mode 100755 vendor/topthink/framework/src/think/response/Html.php create mode 100755 vendor/topthink/framework/src/think/response/Json.php create mode 100755 vendor/topthink/framework/src/think/response/Jsonp.php create mode 100755 vendor/topthink/framework/src/think/response/Redirect.php create mode 100755 vendor/topthink/framework/src/think/response/View.php create mode 100755 vendor/topthink/framework/src/think/response/Xml.php create mode 100755 vendor/topthink/framework/src/think/route/Dispatch.php create mode 100755 vendor/topthink/framework/src/think/route/Domain.php create mode 100755 vendor/topthink/framework/src/think/route/Resource.php create mode 100755 vendor/topthink/framework/src/think/route/Rule.php create mode 100755 vendor/topthink/framework/src/think/route/RuleGroup.php create mode 100755 vendor/topthink/framework/src/think/route/RuleItem.php create mode 100755 vendor/topthink/framework/src/think/route/RuleName.php create mode 100755 vendor/topthink/framework/src/think/route/Url.php create mode 100755 vendor/topthink/framework/src/think/route/dispatch/Callback.php create mode 100755 vendor/topthink/framework/src/think/route/dispatch/Controller.php create mode 100755 vendor/topthink/framework/src/think/route/dispatch/Url.php create mode 100755 vendor/topthink/framework/src/think/service/ModelService.php create mode 100755 vendor/topthink/framework/src/think/service/PaginatorService.php create mode 100755 vendor/topthink/framework/src/think/service/ValidateService.php create mode 100755 vendor/topthink/framework/src/think/session/Store.php create mode 100755 vendor/topthink/framework/src/think/session/driver/Cache.php create mode 100755 vendor/topthink/framework/src/think/session/driver/File.php create mode 100755 vendor/topthink/framework/src/think/validate/ValidateRule.php create mode 100755 vendor/topthink/framework/src/think/view/driver/Php.php create mode 100755 vendor/topthink/framework/src/tpl/think_exception.tpl create mode 100755 vendor/topthink/framework/tests/AppTest.php create mode 100755 vendor/topthink/framework/tests/CacheTest.php create mode 100755 vendor/topthink/framework/tests/ConfigTest.php create mode 100755 vendor/topthink/framework/tests/ContainerTest.php create mode 100755 vendor/topthink/framework/tests/DbTest.php create mode 100755 vendor/topthink/framework/tests/EnvTest.php create mode 100755 vendor/topthink/framework/tests/EventTest.php create mode 100755 vendor/topthink/framework/tests/FilesystemTest.php create mode 100755 vendor/topthink/framework/tests/HttpTest.php create mode 100755 vendor/topthink/framework/tests/InteractsWithApp.php create mode 100755 vendor/topthink/framework/tests/LogTest.php create mode 100755 vendor/topthink/framework/tests/MiddlewareTest.php create mode 100755 vendor/topthink/framework/tests/RouteTest.php create mode 100755 vendor/topthink/framework/tests/SessionTest.php create mode 100755 vendor/topthink/framework/tests/ViewTest.php create mode 100755 vendor/topthink/framework/tests/bootstrap.php create mode 100755 vendor/topthink/think-captcha/.gitignore create mode 100755 vendor/topthink/think-captcha/LICENSE create mode 100755 vendor/topthink/think-captcha/README.md create mode 100755 vendor/topthink/think-captcha/assets/bgs/1.jpg create mode 100755 vendor/topthink/think-captcha/assets/bgs/2.jpg create mode 100755 vendor/topthink/think-captcha/assets/bgs/3.jpg create mode 100755 vendor/topthink/think-captcha/assets/bgs/4.jpg create mode 100755 vendor/topthink/think-captcha/assets/bgs/5.jpg create mode 100755 vendor/topthink/think-captcha/assets/bgs/6.jpg create mode 100755 vendor/topthink/think-captcha/assets/bgs/7.jpg create mode 100755 vendor/topthink/think-captcha/assets/bgs/8.jpg create mode 100755 vendor/topthink/think-captcha/assets/ttfs/1.ttf create mode 100755 vendor/topthink/think-captcha/assets/ttfs/2.ttf create mode 100755 vendor/topthink/think-captcha/assets/ttfs/3.ttf create mode 100755 vendor/topthink/think-captcha/assets/ttfs/4.ttf create mode 100755 vendor/topthink/think-captcha/assets/ttfs/5.ttf create mode 100755 vendor/topthink/think-captcha/assets/ttfs/6.ttf create mode 100755 vendor/topthink/think-captcha/assets/zhttfs/1.ttf create mode 100755 vendor/topthink/think-captcha/composer.json create mode 100755 vendor/topthink/think-captcha/src/Captcha.php create mode 100755 vendor/topthink/think-captcha/src/CaptchaController.php create mode 100755 vendor/topthink/think-captcha/src/CaptchaService.php create mode 100755 vendor/topthink/think-captcha/src/config.php create mode 100755 vendor/topthink/think-captcha/src/facade/Captcha.php create mode 100755 vendor/topthink/think-captcha/src/helper.php create mode 100755 vendor/topthink/think-helper/.gitignore create mode 100755 vendor/topthink/think-helper/LICENSE create mode 100755 vendor/topthink/think-helper/README.md create mode 100755 vendor/topthink/think-helper/composer.json create mode 100755 vendor/topthink/think-helper/src/Collection.php create mode 100755 vendor/topthink/think-helper/src/contract/Arrayable.php create mode 100755 vendor/topthink/think-helper/src/contract/Jsonable.php create mode 100755 vendor/topthink/think-helper/src/helper.php create mode 100755 vendor/topthink/think-helper/src/helper/Arr.php create mode 100755 vendor/topthink/think-helper/src/helper/Str.php create mode 100755 vendor/topthink/think-image/.gitignore create mode 100755 vendor/topthink/think-image/.travis.yml create mode 100755 vendor/topthink/think-image/LICENSE create mode 100755 vendor/topthink/think-image/README.md create mode 100755 vendor/topthink/think-image/composer.json create mode 100755 vendor/topthink/think-image/phpunit.xml create mode 100755 vendor/topthink/think-image/src/Image.php create mode 100755 vendor/topthink/think-image/src/image/Exception.php create mode 100755 vendor/topthink/think-image/src/image/gif/Decoder.php create mode 100755 vendor/topthink/think-image/src/image/gif/Encoder.php create mode 100755 vendor/topthink/think-image/src/image/gif/Gif.php create mode 100755 vendor/topthink/think-image/tests/CropTest.php create mode 100755 vendor/topthink/think-image/tests/FlipTest.php create mode 100755 vendor/topthink/think-image/tests/InfoTest.php create mode 100755 vendor/topthink/think-image/tests/RotateTest.php create mode 100755 vendor/topthink/think-image/tests/TestCase.php create mode 100755 vendor/topthink/think-image/tests/TextTest.php create mode 100755 vendor/topthink/think-image/tests/ThumbTest.php create mode 100755 vendor/topthink/think-image/tests/WaterTest.php create mode 100755 vendor/topthink/think-image/tests/autoload.php create mode 100755 vendor/topthink/think-image/tests/images/test.bmp create mode 100755 vendor/topthink/think-image/tests/images/test.gif create mode 100755 vendor/topthink/think-image/tests/images/test.jpg create mode 100755 vendor/topthink/think-image/tests/images/test.png create mode 100755 vendor/topthink/think-image/tests/images/test.ttf create mode 100755 vendor/topthink/think-image/tests/tmp/.gitignore create mode 100755 vendor/topthink/think-orm/.gitignore create mode 100755 vendor/topthink/think-orm/LICENSE create mode 100755 vendor/topthink/think-orm/README.md create mode 100755 vendor/topthink/think-orm/composer.json create mode 100755 vendor/topthink/think-orm/src/DbManager.php create mode 100755 vendor/topthink/think-orm/src/Model.php create mode 100755 vendor/topthink/think-orm/src/Paginator.php create mode 100755 vendor/topthink/think-orm/src/db/BaseQuery.php create mode 100755 vendor/topthink/think-orm/src/db/Builder.php create mode 100755 vendor/topthink/think-orm/src/db/CacheItem.php create mode 100755 vendor/topthink/think-orm/src/db/Connection.php create mode 100755 vendor/topthink/think-orm/src/db/ConnectionInterface.php create mode 100755 vendor/topthink/think-orm/src/db/Fetch.php create mode 100755 vendor/topthink/think-orm/src/db/Mongo.php create mode 100755 vendor/topthink/think-orm/src/db/PDOConnection.php create mode 100755 vendor/topthink/think-orm/src/db/Query.php create mode 100755 vendor/topthink/think-orm/src/db/Raw.php create mode 100755 vendor/topthink/think-orm/src/db/Where.php create mode 100755 vendor/topthink/think-orm/src/db/builder/Mongo.php create mode 100755 vendor/topthink/think-orm/src/db/builder/Mysql.php create mode 100755 vendor/topthink/think-orm/src/db/builder/Oracle.php create mode 100755 vendor/topthink/think-orm/src/db/builder/Pgsql.php create mode 100755 vendor/topthink/think-orm/src/db/builder/Sqlite.php create mode 100755 vendor/topthink/think-orm/src/db/builder/Sqlsrv.php create mode 100755 vendor/topthink/think-orm/src/db/concern/AggregateQuery.php create mode 100755 vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php create mode 100755 vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php create mode 100755 vendor/topthink/think-orm/src/db/concern/ParamsBind.php create mode 100755 vendor/topthink/think-orm/src/db/concern/ResultOperation.php create mode 100755 vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php create mode 100755 vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php create mode 100755 vendor/topthink/think-orm/src/db/concern/Transaction.php create mode 100755 vendor/topthink/think-orm/src/db/concern/WhereQuery.php create mode 100755 vendor/topthink/think-orm/src/db/connector/Mongo.php create mode 100755 vendor/topthink/think-orm/src/db/connector/Mysql.php create mode 100755 vendor/topthink/think-orm/src/db/connector/Oracle.php create mode 100755 vendor/topthink/think-orm/src/db/connector/Pgsql.php create mode 100755 vendor/topthink/think-orm/src/db/connector/Sqlite.php create mode 100755 vendor/topthink/think-orm/src/db/connector/Sqlsrv.php create mode 100755 vendor/topthink/think-orm/src/db/connector/pgsql.sql create mode 100755 vendor/topthink/think-orm/src/db/exception/BindParamException.php create mode 100755 vendor/topthink/think-orm/src/db/exception/DataNotFoundException.php create mode 100755 vendor/topthink/think-orm/src/db/exception/DbException.php create mode 100755 vendor/topthink/think-orm/src/db/exception/InvalidArgumentException.php create mode 100755 vendor/topthink/think-orm/src/db/exception/ModelEventException.php create mode 100755 vendor/topthink/think-orm/src/db/exception/ModelNotFoundException.php create mode 100755 vendor/topthink/think-orm/src/db/exception/PDOException.php create mode 100755 vendor/topthink/think-orm/src/facade/Db.php create mode 100755 vendor/topthink/think-orm/src/model/Collection.php create mode 100755 vendor/topthink/think-orm/src/model/Pivot.php create mode 100755 vendor/topthink/think-orm/src/model/Relation.php create mode 100755 vendor/topthink/think-orm/src/model/concern/Attribute.php create mode 100755 vendor/topthink/think-orm/src/model/concern/Conversion.php create mode 100755 vendor/topthink/think-orm/src/model/concern/ModelEvent.php create mode 100755 vendor/topthink/think-orm/src/model/concern/OptimLock.php create mode 100755 vendor/topthink/think-orm/src/model/concern/RelationShip.php create mode 100755 vendor/topthink/think-orm/src/model/concern/SoftDelete.php create mode 100755 vendor/topthink/think-orm/src/model/concern/TimeStamp.php create mode 100755 vendor/topthink/think-orm/src/model/relation/BelongsTo.php create mode 100755 vendor/topthink/think-orm/src/model/relation/BelongsToMany.php create mode 100755 vendor/topthink/think-orm/src/model/relation/HasMany.php create mode 100755 vendor/topthink/think-orm/src/model/relation/HasManyThrough.php create mode 100755 vendor/topthink/think-orm/src/model/relation/HasOne.php create mode 100755 vendor/topthink/think-orm/src/model/relation/HasOneThrough.php create mode 100755 vendor/topthink/think-orm/src/model/relation/MorphMany.php create mode 100755 vendor/topthink/think-orm/src/model/relation/MorphOne.php create mode 100755 vendor/topthink/think-orm/src/model/relation/MorphTo.php create mode 100755 vendor/topthink/think-orm/src/model/relation/MorphToMany.php create mode 100755 vendor/topthink/think-orm/src/model/relation/OneToOne.php create mode 100755 vendor/topthink/think-orm/src/paginator/driver/Bootstrap.php create mode 100755 vendor/topthink/think-template/.gitignore create mode 100755 vendor/topthink/think-template/LICENSE create mode 100755 vendor/topthink/think-template/README.md create mode 100755 vendor/topthink/think-template/composer.json create mode 100755 vendor/topthink/think-template/src/Template.php create mode 100755 vendor/topthink/think-template/src/facade/Template.php create mode 100755 vendor/topthink/think-template/src/template/TagLib.php create mode 100755 vendor/topthink/think-template/src/template/driver/File.php create mode 100755 vendor/topthink/think-template/src/template/exception/TemplateNotFoundException.php create mode 100755 vendor/topthink/think-template/src/template/taglib/Cx.php create mode 100755 vendor/topthink/think-trace/.gitignore create mode 100755 vendor/topthink/think-trace/LICENSE create mode 100755 vendor/topthink/think-trace/README.md create mode 100755 vendor/topthink/think-trace/composer.json create mode 100755 vendor/topthink/think-trace/src/Console.php create mode 100755 vendor/topthink/think-trace/src/Html.php create mode 100755 vendor/topthink/think-trace/src/Service.php create mode 100755 vendor/topthink/think-trace/src/TraceDebug.php create mode 100755 vendor/topthink/think-trace/src/config.php create mode 100755 vendor/topthink/think-trace/src/tpl/page_trace.tpl create mode 100755 vendor/topthink/think-view/.gitignore create mode 100755 vendor/topthink/think-view/LICENSE create mode 100755 vendor/topthink/think-view/README.md create mode 100755 vendor/topthink/think-view/composer.json create mode 100755 vendor/topthink/think-view/src/Think.php create mode 100755 view/about/index.html create mode 100755 view/article/cases_detail.html create mode 100755 view/article/cases_list.html create mode 100755 view/article/detail.html create mode 100755 view/article/index.html create mode 100755 view/article/news_detail.html create mode 100755 view/article/news_list.html create mode 100755 view/article/scheme_detail.html create mode 100755 view/article/scheme_list.html create mode 100755 view/contact/index.html create mode 100755 view/djqt/detail.html create mode 100755 view/djqt/index.html create mode 100755 view/download/index.html create mode 100755 view/error/400.html create mode 100755 view/error/404.html create mode 100755 view/error/500.html create mode 100755 view/error/jump.html create mode 100755 view/index/index.html create mode 100755 view/info/detail.html create mode 100755 view/info/index.html create mode 100755 view/info/job.html create mode 100755 view/info/platform.html create mode 100755 view/layout.html create mode 100755 view/layout_bak.html create mode 100755 view/links/index.html create mode 100755 view/ljct/detail.html create mode 100755 view/ljct/index.html create mode 100755 view/manager/article/add.html create mode 100755 view/manager/article/edit.html create mode 100755 view/manager/backup/index.html create mode 100755 view/manager/category/add.html create mode 100755 view/manager/category/edit.html create mode 100755 view/manager/category/index.html create mode 100755 view/manager/config/base.html create mode 100755 view/manager/config/slide.html create mode 100755 view/manager/config/statute.html create mode 100755 view/manager/content/article.html create mode 100755 view/manager/content/download.html create mode 100755 view/manager/content/history.html create mode 100755 view/manager/content/honour.html create mode 100755 view/manager/content/notice.html create mode 100755 view/manager/content/page.html create mode 100755 view/manager/content/position.html create mode 100755 view/manager/content/product.html create mode 100755 view/manager/download/add.html create mode 100755 view/manager/download/edit.html create mode 100755 view/manager/error/jump.html create mode 100755 view/manager/file/index.html create mode 100755 view/manager/file/unuse.html create mode 100755 view/manager/group/add.html create mode 100755 view/manager/group/edit.html create mode 100755 view/manager/group/index.html create mode 100755 view/manager/group/rule.html create mode 100755 view/manager/history/add.html create mode 100755 view/manager/history/add_info.html create mode 100755 view/manager/history/edit.html create mode 100755 view/manager/history/edit_info.html create mode 100755 view/manager/history/info.html create mode 100755 view/manager/honour/add.html create mode 100755 view/manager/honour/edit.html create mode 100755 view/manager/index/index.html create mode 100755 view/manager/index/index_bak.html create mode 100755 view/manager/layout.html create mode 100755 view/manager/link/add.html create mode 100755 view/manager/link/edit.html create mode 100755 view/manager/link/index.html create mode 100755 view/manager/link_product/add.html create mode 100755 view/manager/link_product/edit.html create mode 100755 view/manager/link_product/index.html create mode 100755 view/manager/login/index.html create mode 100644 view/manager/map_plugin/baidu.html create mode 100755 view/manager/map_plugin/gaode.html create mode 100644 view/manager/map_plugin/tengxun.html create mode 100755 view/manager/member/add.html create mode 100755 view/manager/member/edit.html create mode 100755 view/manager/member/index.html create mode 100755 view/manager/member/menu_alloter.html create mode 100755 view/manager/message/index.html create mode 100755 view/manager/model/add.html create mode 100755 view/manager/model/edit.html create mode 100755 view/manager/model/index.html create mode 100755 view/manager/notice/add.html create mode 100755 view/manager/notice/edit.html create mode 100755 view/manager/page/audios.html create mode 100755 view/manager/page/block.html create mode 100755 view/manager/page/code.html create mode 100755 view/manager/page/group.html create mode 100755 view/manager/page/img.html create mode 100755 view/manager/page/map.html create mode 100755 view/manager/page/text.html create mode 100755 view/manager/page/video.html create mode 100755 view/manager/page/videos.html create mode 100755 view/manager/position/add.html create mode 100755 view/manager/position/edit.html create mode 100755 view/manager/product/add.html create mode 100755 view/manager/product/edit.html create mode 100755 view/manager/rule/add.html create mode 100755 view/manager/rule/edit.html create mode 100755 view/manager/rule/index.html create mode 100755 view/manager/safe/index.html create mode 100755 view/manager/slide/add.html create mode 100755 view/manager/slide/edit.html create mode 100755 view/manager/slide/index.html create mode 100755 view/manager/system/index.html create mode 100755 view/manager/system/other.html create mode 100755 view/manager/tag/edit.html create mode 100755 view/manager/tag/index.html create mode 100755 view/manager/visit_log/index.html create mode 100755 view/manager/visit_log/index_ss.html create mode 100755 view/manager/widget/crumbs.html create mode 100755 view/manager/widget/file.html create mode 100755 view/manager/widget/image.html create mode 100755 view/manager/widget/left.html create mode 100755 view/manager/widget/mark.html create mode 100755 view/manager/widget/multi.html create mode 100755 view/manager/widget/multi_audio.html create mode 100755 view/manager/widget/multi_video.html create mode 100755 view/manager/widget/video.html create mode 100755 view/news/detail.html create mode 100755 view/news/index.html create mode 100755 view/news/list.html create mode 100755 view/page/about.html create mode 100755 view/page/about_us.html create mode 100755 view/page/career.html create mode 100755 view/page/contact.html create mode 100755 view/page/course.html create mode 100755 view/page/course_base.html create mode 100755 view/page/course_other.html create mode 100755 view/page/service.html create mode 100755 view/page/teacher.html create mode 100755 view/product/detail.html create mode 100755 view/product/index.html create mode 100755 view/public/block/more_course.html create mode 100755 view/public/block/simple_course.html create mode 100755 view/public/block/trial.html create mode 100755 view/public/footer.html create mode 100755 view/public/footer2.html create mode 100755 view/public/menu.html create mode 100755 view/public/menu2.html create mode 100755 view/public/menu_simple.html create mode 100644 view/public/search.html create mode 100755 view/search/index.html diff --git a/.gitignore b/.gitignore new file mode 100755 index 0000000..d8bc52e --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +.env +/.idea +/.vscode +.vs +backup/data/* +/public/html/* +*.log +runtime/* +public/storage/* +public/static/image/case/* +.DS_Store +app/controller/Test.php +nginx.htaccess +dump.rdb \ No newline at end of file diff --git a/.htaccess b/.htaccess new file mode 100755 index 0000000..e69de29 diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100755 index 0000000..574a39c --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,32 @@ + +ThinkPHP遵循Apache2开源协议发布,并提供免费使用。 +版权所有Copyright © 2006-2016 by ThinkPHP (http://thinkphp.cn) +All rights reserved。 +ThinkPHP® 商标和著作权所有者为上海顶想信息科技有限公司。 + +Apache Licence是著名的非盈利开源组织Apache采用的协议。 +该协议和BSD类似,鼓励代码共享和尊重原作者的著作权, +允许代码修改,再作为开源或商业软件发布。需要满足 +的条件: +1. 需要给代码的用户一份Apache Licence ; +2. 如果你修改了代码,需要在被修改的文件中说明; +3. 在延伸的代码中(修改和有源代码衍生的代码中)需要 +带有原来代码中的协议,商标,专利声明和其他原来作者规 +定需要包含的说明; +4. 如果再发布的产品中包含一个Notice文件,则在Notice文 +件中需要带有本协议内容。你可以在Notice中增加自己的 +许可,但不可以表现为对Apache Licence构成更改。 +具体的协议参考:http://www.apache.org/licenses/LICENSE-2.0 + +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. diff --git a/README.md b/README.md new file mode 100755 index 0000000..4414028 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +# 四川大向天诚CMS管理系统 + +## 部署说明 +- 项目目录下是否存在`runtime`文件夹,不存在则创建,存在需要开启都写权限。 +```shell +chmod -R 777 runtime +``` +- public/storage文件夹同上 + +## PHP 扩展 +- fileinfo 文件操作通用扩展 +- exif 图片文件基础信息通用扩展,依赖于mbstring扩展,需要安装在mbstring扩展之后 + +## 使用技术栈 +- [Thinkphp6](https://www.kancloud.cn/manual/thinkphp6_0/1037479) +- php7.1+ ~ 7.4 +- mysql 5.7+ +- 富文本:tinymce5+ diff --git a/app/.htaccess b/app/.htaccess new file mode 100755 index 0000000..3418e55 --- /dev/null +++ b/app/.htaccess @@ -0,0 +1 @@ +deny from all \ No newline at end of file diff --git a/app/common.php b/app/common.php new file mode 100755 index 0000000..e97d3b1 --- /dev/null +++ b/app/common.php @@ -0,0 +1,497 @@ + +// +---------------------------------------------------------------------- + +use think\exception\ClassNotFoundException; +use app\model\Model as ModelModel ; +// 应用公共文件 + +if (!function_exists('widget')) { + /** + * 渲染输出Widget + * @param string $name Widget名称 + * @param array $data 传入的参数 + * @return mixed + * milo 2019-05-08 从TP5.1代码中拿来修改的 + */ + function widget($name, $data = []) + { + return action($name, $data, 'widget'); + } +} +if (!function_exists('action')) { + /** + * 调用模块的操作方法 参数格式 [模块/控制器/]操作 + * @param string $url 调用地址 + * @param string|array $vars 调用参数 支持字符串和数组 + * @param string $layer 要调用的控制层名称 + * @param bool $appendSuffix 是否添加类名后缀 + * @return mixed + * milo 2019-05-08 从TP5.1代码中拿来修改的 + */ + function action($url, $vars = [], $layer = 'controller', $appendSuffix = false) + { + $info = pathinfo($url); + $action = $info['basename']; + $module = '.' != $info['dirname'] ? $info['dirname'] : request()->controller(); + $class = controller($module, $layer); + if (is_scalar($vars)) { + if (strpos($vars, '=')) { + parse_str($vars, $vars); + } else { + $vars = [$vars]; + } + } + return app()->invokeMethod([$class, $action . config('route.action_suffix')], $vars); + } +} +if (!function_exists('controller')) { + /** + * 实例化(分层)控制器 格式:[模块名/]控制器名 + * @access public + * @param string $name 资源地址 + * @param string $layer 控制层名称 + * @param bool $appendSuffix 是否添加类名后缀 + * @param string $empty 空控制器名称 + * @return object + * @throws ClassNotFoundException + * + * milo 2019-05-08 从TP5.1代码中拿来修改的 + */ + function controller($name, $layer = 'controller', $empty = '') + { + $class = parseClass($name, $layer); + if (class_exists($class)) { + return app()->make($class); + } elseif ($empty && class_exists($emptyClass = app()->parseClass($layer, $empty))) { + return app()->make($emptyClass); + } + + throw new ClassNotFoundException('class not exists:' . $class, $class); + } +} + +if (!function_exists('parseClass')) { + /** + * 解析模块和类名 + * @access protected + * @param string $name 资源地址 + * @param string $layer 验证层名称 + * @param bool $appendSuffix 是否添加类名后缀 + * @return array + * + * milo 2019-05-08 从TP5.1代码中拿来修改的 + */ + function parseClass($name, $layer) + { + if (false !== strpos($name, '\\')) { + $class = $name; + } else { + if (strpos($name, '/')) { + $names = explode('/', $name, 2); + $name = $names[1]; + } + $class = app()->parseClass($layer,$name); + } + return $class; + } +} + + +if (!function_exists('randomStr')) { + /** + * 获取随机字符串 + * @param int $type 0:数字(默认);1:全部;2:小写字母;3:大写字母;4:字母; + * @param int $len 字符串长度 + * @return string + */ + function randomStr($type = 0,$len = 5) + { + $strPol = "0123456789"; + if($type == 1) { + $strPol = "ABCDEFGHIJKLMOPQRSTUVWYZ0123456789abcdefghijklmopqrstuvwyz"; + } elseif ($type == 2) { + $strPol = "abcdefghijklmopqrstuvwyz"; + } elseif ($type == 3) { + $strPol = "ABCDEFGHIJKLMOPQRSTUVWYZ"; + } elseif ($type == 4) { + $strPol = "ABCDEFGHIJKLMOPQRSTUVWYZabcdefghijklmopqrstuvwyz"; + } + $max = strlen($strPol) - 1; + $str = ''; + for ($i=0;$i<$len;$i++) { + $str .= $strPol[rand(0,$max)]; + } + return $str; + } +} + +if(!function_exists('isMobile')){ + //判断访问终端是否为移动端 + function isMobile() + { + // 如果有HTTP_X_WAP_PROFILE则一定是移动设备 + if (isset($_SERVER['HTTP_X_WAP_PROFILE'])) { + return true; + } + // 如果via信息含有wap则一定是移动设备,部分服务商会屏蔽该信息 + if (isset($_SERVER['HTTP_VIA'])) { + // 找不到为flase,否则为true + return stristr($_SERVER['HTTP_VIA'], "wap") ? true : false; + } + // 脑残法,判断手机发送的客户端标志,兼容性有待提高。其中'MicroMessenger'是电脑微信 + if (isset($_SERVER['HTTP_USER_AGENT'])) { + $clientkeywords = ['nokia','sony','ericsson','mot','samsung','htc','sgh','lg','sharp','sie-','philips','panasonic','alcatel','lenovo','iphone','ipod','blackberry','meizu','android','netfront','symbian','ucweb','windowsce','palm','operamini','operamobi','openwave','nexusone','cldc','midp','wap','mobile','MicroMessenger']; + // 从HTTP_USER_AGENT中查找手机浏览器的关键字 + if (preg_match("/(" . implode('|', $clientkeywords) . ")/i", strtolower($_SERVER['HTTP_USER_AGENT']))) { + return true; + } + } + // 协议法,因为有可能不准确,放到最后判断 + if (isset ($_SERVER['HTTP_ACCEPT'])) { + // 如果只支持wml并且不支持html那一定是移动设备 + // 如果支持wml和html但是wml在html之前则是移动设备 + if ((strpos($_SERVER['HTTP_ACCEPT'], 'vnd.wap.wml') !== false) && (strpos($_SERVER['HTTP_ACCEPT'], 'text/html') === false || (strpos($_SERVER['HTTP_ACCEPT'], 'vnd.wap.wml') < strpos($_SERVER['HTTP_ACCEPT'], 'text/html')))) { + return true; + } + } + return false; + } +} +//根据栏目获取路径 +if(!function_exists('getUri')){ + function getUri($cate) + { + $url = ''; + if(!empty($cate)){ + if($cate['is_index']){ + return '/'; + } + if(!empty($cate['url'])){ + return $cate['url']; + } + if(!empty($cate['route'])){ + return $cate['route'].".html"; + } + switch ($cate["model_id"]){ + case ModelModel::MODEL_ARTICLE: + return url('/articles/'. $cate['id']); + break; + case ModelModel::MODEL_PAGE: + return url('/page/index', ['categoryId' => $cate['id']]); + break; + case ModelModel::MODEL_PRODUCT: + return url('/product/index', ['categoryId' => $cate['id']]); + break; + default: + return url('/article/index', ['categoryId' => $cate['id']]); + break; + } + } + return $url; + } +} + +//根据栏目获取文章路径 +if (!function_exists('archiveGetUri')) { + function archiveGetUri($archive) + { + if (!empty($archive) &&isset($archive["id"])&& isset($archive->archivesCategory)&&!empty($archive->archivesCategory)) { + + if (empty($archive->archivesCategory->route)) { + switch ($archive->archivesCategory["model_id"]){ + case ModelModel::MODEL_PRODUCT: + return '/product/detail/'.$archive['id'].".html"; + break; + default: + return '/article/detail/'.$archive['id'].".html"; + break; + } + } else { + return $archive->archivesCategory->route."/".$archive['id'] .".html"; + } + } + return ''; + } +} + + +//根据文件大小转换为文字 +if(!function_exists('sizeToStr')){ + function sizeToStr($size) + { + if(!is_numeric($size) || $size <= 0){ + return ''; + } + $size = $size / 1024; + if($size < 1024){ + return sprintf("%.2fK", $size); + } + $size = $size / 1024; + if($size < 1024){ + return sprintf("%.2fM", $size); + } + $size = $size / 1024; + return sprintf("%.2fG", $size); + } +} + +//根据路径获取文件名 +if(!function_exists('getKeyByPath')){ + function getKeyByPath($path) + { + return substr($path, strrpos($path, '/')+1); + } +} + +//富文本中提取图片路径 +if(!function_exists('getImageUrlFromText')){ + function getImageUrlFromText($content) + { + preg_match_all('//is', $content, $imgs); + $data = []; + if(!empty($imgs) && !empty($imgs[1])){ + foreach($imgs[1] as $img){ + if(substr($img, 0, 4) != 'http'){ + $key = getKeyByPath($img); + $data[$key] = $img; + } + } + } + return $data; + } +} + +//富文本中提取视频路径 +if(!function_exists('getVideoUrlFromText')){ + function getVideoUrlFromText($content) + { + preg_match_all('//is', $content, $videos); + $data = []; + if(!empty($videos) && !empty($videos[1])){ + foreach($videos[1] as $video){ + if(substr($video, 0, 4) != 'http'){ + $key = getKeyByPath($video); + $data[$key] = $video; + } + } + } + return $data; + } +} + +//获取目录下的所有文件 +if(!function_exists('getAllFilesByPath')){ + function getAllFilesByPath($path, $rootPath) + { + if(is_dir($path) && file_exists($path)){ + $items = scandir($path); + $files = []; + foreach($items as $item){ + if(substr($item, 0, 1) != '.' && strpos($item, '_') == false){ + $itemPath = $path . '/' . $item; + if(is_file($itemPath)){ + $size = filesize($itemPath); + $files[$item] = [ + 'path' => str_replace($rootPath, '/', $itemPath), + 'realPath' => $itemPath, + 'size' => $size, + 'sizeStr' => sizeToStr($size), + 'suffix' => strtolower(substr($item, strrpos($item, '.')+1)) //后缀 + ]; + }elseif(is_dir($itemPath)){ + $childFiles = getAllFilesByPath($itemPath, $rootPath); + if(!empty($childFiles)){ + $files = array_merge($files, $childFiles); + }else{ + rmdir($itemPath); + } + } + } + } + return $files; + } + return []; + } +} + +//过滤get输入 +if(!function_exists('getFilter')){ + function getFilter($value){ + $getFilter = "'|(and|or)\b.+?(>|<|=|in|like)|\/\*.+?\*\/|<\s*script\b|\bEXEC\b|UNION.+?SELECT|UPDATE.+?SET|INSERT\s+INTO.+?VALUES|(SELECT|DELETE).+?FROM|(CREATE|ALTER|DROP|TRUNCATE)\s+(TABLE|DATABASE)"; + $forArray = false; + if(is_array($value)){ + $forFilter = implode($value); + $forArray = true; + }else{ + $forFilter = $value; + } + if (preg_match("/".$getFilter."/is", $forFilter) == 1){ + $value = $forArray ? [] : ''; + } + return filterExp($value); + } +} + +//过滤post录入 +if(!function_exists('postFilter')){ + function postFilter($value){ + $postFilter = "\b(and|or)\b.{1,6}?(=|>|<|\bin\b|\blike\b)|\/\*.+?\*\/|<\s*script\b|\bEXEC\b|UNION.+?SELECT|UPDATE.+?SET|INSERT\s+INTO.+?VALUES|(SELECT|DELETE).+?FROM|(CREATE|ALTER|DROP|TRUNCATE)\s+(TABLE|DATABASE)"; + $forArray = false; + if(is_array($value)){ + $forFilter = implode($value); + $forArray = true; + }else{ + $forFilter = $value; + } + if (preg_match("/".$postFilter."/is", $forFilter) == 1){ + $value = $forArray ? [] : ''; + } + return filterExp($value); + } +} + +//过滤cookie数据 +if(!function_exists('cookieFilter')){ + function cookieFilter($value){ + $cookieFilter = "\b(and|or)\b.{1,6}?(=|>|<|\bin\b|\blike\b)|\/\*.+?\*\/|<\s*script\b|\bEXEC\b|UNION.+?SELECT|UPDATE.+?SET|INSERT\s+INTO.+?VALUES|(SELECT|DELETE).+?FROM|(CREATE|ALTER|DROP|TRUNCATE)\s+(TABLE|DATABASE)"; + $forArray = false; + if(is_array($value)){ + $forFilter = implode($value); + $forArray = true; + }else{ + $forFilter = $value; + } + if (preg_match("/".$cookieFilter."/is", $forFilter) == 1){ + $value = $forArray ? [] : ''; + } + return filterExp($value); + } +} + +if(!function_exists('filterExp')){ + function filterExp($value){ + $filter = '/^(\s)+(EXP|NEQ|GT|EGT|LT|ELT|OR|XOR|LIKE|NOTLIKE|NOT LIKE|NOT BETWEEN|NOTBETWEEN|BETWEEN|NOTIN|NOT IN|IN)(\s)+$/i'; + $forArray = false; + if(is_array($value)){ + $forFilter = implode($value); + $forArray = true; + }else{ + $forFilter = $value; + } + if (preg_match($filter, $forFilter) == 1){ + $value = $forArray ? [] : ''; + } + return $value; + } +} +if(!function_exists('arrayHtmlFilter')){ + function arrayHtmlFilter($arr) { + foreach ($arr as $k => $one) { + if(is_array($one)) { + $arr[$k] = arrayHtmlFilter($one); + } else { + $one = trim($one); + $arr[$k] = strip_tags($one); + } + } + return $arr; + } +} + +if(!function_exists('getTextareaText')){ + function getTextareaText($content) { + $content = trim($content); + if(!empty($content)) { + $content = str_replace("\r\n", "\n", $content); + $content = str_replace("\r", "\n", $content); + } + return $content; + } +} + +if(!function_exists('getTextNlToList')){ + function getTextNlToList($content) { + $list = []; + $content = getTextareaText($content); + if(!empty($content)) { + $list = explode("\n", $content); + } + return $list; + } +} + +if (!function_exists('checkPathExistWithMake')) { + /** + * 检测文件夹是否存在,不存在时自动创建(需要有写入权限) + * 支持递归创建 + * + * @param string $absolutePath + * @return bool + */ + function checkPathExistWithMake(string $absolutePath): bool + { + try { + $absolutePath = rtrim($absolutePath, '/'); + if (empty($absolutePath)) { + return false; + } + + if (!is_dir($absolutePath)) { + return mkdir($absolutePath, 0777, true); + } + + return true; + } catch (\Exception $e) { + return false; + } + } +} + +if (!function_exists('dateToFormat')) { + /** + * 时间日期格式化 + * + * @param null|string $dateStr + * @param string $format + * @return string + */ + function dateToFormat(?string $dateStr, string $format='Y-m-d'): string + { + if (empty($dateStr)) { + return ''; + } + + $time = strtotime($dateStr); + if (!$time) { + return ''; + } + + return date($format, $time); + } +} + +if (!function_exists('timeToFormat')) { + /** + * 时间日期格式化 + * + * @param int $time + * @param string $format + * @return string + */ + function timeToFormat(int $time, string $format='Y-m-d'): string + { + if ($time <= 0) { + return ''; + } + + return date($format, $time); + } +} \ No newline at end of file diff --git a/app/controller/About.php b/app/controller/About.php new file mode 100755 index 0000000..8ac2c96 --- /dev/null +++ b/app/controller/About.php @@ -0,0 +1,33 @@ +order('sort', 'desc')->column('id,title,content'); + $leaderList = Article::where('category_id', Category::CATEGORY_COMPANY_LEADER)->order('sort', 'desc')->column('id,title,src'); + $honorList = Article::where('category_id', Category::CATEGORY_COMPANY_HONOR)->order('sort', 'desc')->column('id,title,src,summary'); + + $this->data['categoryId'] = $categoryId; + $this->data['blocks'] = Block::convertValue($blocks); + $this->data['category'] = $category; + $this->data['companyList'] = $companyList; + $this->data['leaderList'] = $leaderList; + $this->data['honorList'] = $honorList; + + $this->setSeo($this->system['seo_title'], $this->system['seo_keywords'], $this->system['seo_description']); + return $this->view(); + } +} \ No newline at end of file diff --git a/app/controller/Base.php b/app/controller/Base.php new file mode 100755 index 0000000..be57726 --- /dev/null +++ b/app/controller/Base.php @@ -0,0 +1,131 @@ +system = System::getSystem(); +// $this->data['system'] = $this->system; +// $this->data['links'] = Link::getList(); + if (session('?__token__')) { + $this->data['_token'] = session('__token__'); + } else { + $this->data['_token'] = $this->request->buildToken(); + } + + Config::load('extra/base', 'base'); +// var_dump(config('base'));exit; + $this->system = config('base'); + $this->data['extraBase'] = config('base'); + + $keyword = input('keyword/s', ''); + if (!empty($keyword)) { + $this->data['keyword'] = $keyword; + } + +// $this->nav(); +// $this->logVisit(); +// $this->setNofollowATagNames(); + } + + //设置SEO信息 + protected function setSeo($title, $keywords = '', $description = '') + { + $this->data['seoTitle'] = $title; + $this->data['seoKeywords'] = $keywords; + $this->data['seoDescription'] = $description; + } + + //模板 + protected function view($template = '') + { + return view($template)->assign($this->data); + } + + public function setExtraBaseConfig() + { + $this->data['extraBase'] = ConfigSetting::getConfigContentsByName('extraBase'); + } + + /* + * 重构异常提示页面 + */ + protected function error($msg = '', string $url = null, $data = [], int $code = 404): Redirect + { + switch ($code) { + case 500: + return $this->redirect('/500.html'); + default: + return $this->redirect('/404.html'); + } + } + + // 记录访问日志 + protected function logVisit() + { + $referer = $_SERVER["HTTP_REFERER"] ?? ''; + $domain = $this->request->domain(); + $checkDomain = substr($referer, 0, strlen($domain)); + if (!empty($referer) && $domain !== $checkDomain) { + // session('first_landing_page', $this->request->url(true)); + VisitLogoModel::create([ + 'ip' => request()->ip(), + 'referer' => $referer, + 'visit' => $this->request->url(true), + 'create_time' => time(), + ]); + } + } + + // HTML a标签设置 rel="nofollow" 属性,禁止搜索引擎追踪 + protected function setNofollowATagNames() + { + $this->data['nofollowList'] = [ + + ]; + $this->data['footerAllowFollowList'] = [ + '客户案例', '公司新闻', + ]; + } + + protected function nav() + { + $this->data['menus'] = Category::navList()['menus']; + } + + // 所有下级栏目ID + private function getAllSubordinateIds($items, $curId = 0) + { + $list = []; + foreach ($items as $k => $item) { + if ($item['parent_id'] == $curId) { + $list[] = $item['id']; + unset($items[$k]); + $childrenIds = $this->getAllSubordinateIds($items, $item['id']); + if ($childrenIds) { + $list = array_merge($list, $childrenIds); + } + } + } + return $list; + } +} diff --git a/app/controller/BaseController.php b/app/controller/BaseController.php new file mode 100755 index 0000000..a7ab36c --- /dev/null +++ b/app/controller/BaseController.php @@ -0,0 +1,241 @@ +app = $app; + $this->request = $this->app->request; + + // 控制器初始化 + $this->initialize(); + } + + // 初始化 + protected function initialize() + { + } + + /** + * 验证数据 + * @access protected + * @param array $data 数据 + * @param string|array $validate 验证器名或者验证规则数组 + * @param array $message 提示信息 + * @param bool $batch 是否批量验证 + * @return array|string|true + * @throws ValidateException + */ + protected function validate(array $data, $validate, array $message = [], bool $batch = false) + { + if (is_array($validate)) { + $v = new Validate(); + $v->rule($validate); + } else { + if (strpos($validate, '.')) { + // 支持场景 + list($validate, $scene) = explode('.', $validate); + } + $class = false !== strpos($validate, '\\') ? $validate : $this->app->parseClass('validate', $validate); + $v = new $class(); + if (!empty($scene)) { + $v->scene($scene); + } + } + + $v->message($message); + + // 是否批量验证 + if ($batch || $this->batchValidate) { + $v->batch(true); + } + + return $v->failException(true)->check($data); + } + + /** + * 验证器 + * + * @param array $data + * @param $validate + * @param array $message + * @param bool $batch + * @return Json|bool + * @throws Exception + */ + protected function validateByApi(array $data, $validate, array $message = [], bool $batch = false) + { + try { + $this->validate($data, $validate, $message, $batch); + return true; + } catch (ValidateException $e) { + $msg = $e->getMessage(); + if ($batch) { + $msg = implode(',', $e->getError()); + } + + return $this->json(4000, $msg); + } catch (Exception $e) { + throw $e; + } + } + + /** + * 验证器 + * + * @param array $data + * @param $validate + * @param array $message + * @param bool $batch + * @return Redirect + * @throws Exception + */ + protected function validateByView(array $data, $validate, array $message = [], bool $batch = false): Redirect + { + try { + $this->validate($data, $validate, $message, $batch); + } catch (ValidateException $e) { + $msg = $e->getMessage(); + if ($batch) { + $msg = implode(',', $e->getError()); + } + + return $this->error( $msg); + } catch (Exception $e) { + throw $e; + } + } + + /** + * 操作成功跳转的快捷方法 + * @access protected + * @param mixed $msg 提示信息 + * @param string|null $url 跳转的URL地址 + * @param mixed $data 返回的数据 + * @param integer $wait 跳转等待时间 + * @param array $header 发送的Header信息 + * @return Redirect + */ + protected function success($msg = '', string $url = null, $data = '', int $wait = 3, array $header = []): Redirect + { + if (is_null($url) && isset($_SERVER["HTTP_REFERER"])) { + $url = $_SERVER["HTTP_REFERER"]; + } elseif ($url) { + $url = (strpos($url, '://') || 0 === strpos($url, '/')) ? $url : $this->app->route->buildUrl($url); + } + + $result = [ + 'code' => 1, + 'msg' => $msg, + 'data' => $data, + 'url' => $url, + 'wait' => $wait, + ]; + return $this->redirect((string) url('error/jump', $result)); + } + + /** + * 操作错误跳转的快捷方法 + * @access protected + * @param mixed $msg 提示信息 + * @param string|null $url 跳转的URL地址 + * @param mixed $data 返回的数据 + * @param integer $wait 跳转等待时间 + * @return Redirect + */ + protected function error($msg = '', string $url = null, $data = '', int $wait = 3): Redirect + { + if (is_null($url)) { + $referer = $_SERVER['HTTP_REFERER'] ?? null; + if (empty($referer)) { + $url = $this->request->isAjax() ? '' : '/'; + } else { + $url = $this->request->isAjax() ? '' : 'javascript:history.back(-1);'; + } + } elseif ($url) { + $url = (strpos($url, '://') || 0 === strpos($url, '/')) ? $url : $this->app->route->buildUrl($url); + } + $result = [ + 'code' => 0, + 'msg' => $msg, + 'data' => $data, + 'url' => $url, + 'wait' => $wait, + ]; + + return $this->redirect(url('error/jump', $result)); + } + + /** + * 返回封装后的API数据到客户端 + * 以json格式抛出异常 + * @access protected + * @param mixed $code 返回的code + * @param mixed $msg 提示信息 + * @param mixed $data 要返回的数据 + * @return Json + */ + protected function json($code = 0, $msg = 'ok', $data = []): Json + { + $result = [ + 'code' => $code, + 'msg' => $msg, + 'time' => time(), + 'data' => $data + ]; + return json($result); + } + + /** + * URL重定向 + * @access protected + * @param mixed $url 跳转的URL表达式 + * @return Redirect + */ + protected function redirect($url): Redirect + { + if (!is_string($url)) { + $url = $url->__toString(); + } + return redirect($url); + } +} \ No newline at end of file diff --git a/app/controller/Contact.php b/app/controller/Contact.php new file mode 100755 index 0000000..307d7ae --- /dev/null +++ b/app/controller/Contact.php @@ -0,0 +1,17 @@ +find(); + + $this->data['category'] = $category; + return $this->view(); + } +} \ No newline at end of file diff --git a/app/controller/Djqt.php b/app/controller/Djqt.php new file mode 100755 index 0000000..bfd11bd --- /dev/null +++ b/app/controller/Djqt.php @@ -0,0 +1,79 @@ +find(); + $parentCategory = Category::where('id', $category['parent_id'])->find(); + } else { + $parentCategory = Category::where('id', Category::CATEGORY_DJQT)->find(); + $category = Category::where('parent_id', Category::CATEGORY_DJQT)->order('sort asc')->find(); + } + + $categoryId = $category['id']; + + $categoryChildren = Category::where('parent_id', $parentCategory['id'])->order('sort asc')->field('id,title')->select(); + + $description = $category['seo_description'] ?: $this->system['seo_description']; + $keywords = $category['seo_keywords'] ?: $this->system['seo_keywords']; + $title = $category['seo_title'] ?: $category['title'] . ' | ' . $this->system['seo_title']; + $this->setSeo($title, $keywords, $description); + $listSort = ['a.top' => 'desc', 'a.sort' => 'desc']; + + // 自定义分页驱动 + app('think\App')->bind(Paginator::class, DxtcPageA::class); + + $items = MArticle::getList($categoryId, 6, $keyword, [], 1, $listSort, false); + + $this->data['items'] = MArticle::parseList($items); + $this->data['category'] = $category; + $this->data['parentCategory'] = $parentCategory; + $this->data['categoryChildren'] = $categoryChildren; + $this->data['categoryId'] = $category['id']; + $this->data['bodyClass'] = 'main'; + + return $this->view($category['template_list'] ?? ''); + } + + //详情 + public function detail($id = 0) + { + if ($id <= 0) { + return $this->error('错误页面'); + } + $article = MArticle::getById($id); + if (empty($article)) { + return $this->error('无此文章'); + } + + $category = Category::where('id', $article['category_id'])->find(); + $parentCategory = Category::where('id', $category['parent_id'])->find(); + + $categoryChildren = Category::where('parent_id', $parentCategory['id'])->order('sort asc')->field('id,title')->select(); + + $description = $article['seo_description'] ?: $this->system['seo_description']; + $keywords = $article['seo_keywords'] ?: $this->system['seo_keywords']; + $title = $article['seo_title'] ?: $article['title'] . ' | ' . $this->system['seo_title']; + + $this->setSeo($title, $keywords, $description); + $this->data['item'] = MArticle::parseInfo($article); + $this->data['category'] = $category; + $this->data['parentCategory'] = $parentCategory; + $this->data['categoryChildren'] = $categoryChildren; + $this->data['categoryId'] = $category['id']; + return $this->view(); + } + +} \ No newline at end of file diff --git a/app/controller/Download.php b/app/controller/Download.php new file mode 100755 index 0000000..e898ab7 --- /dev/null +++ b/app/controller/Download.php @@ -0,0 +1,56 @@ +request->param("category_id") : $categoryId; + + $category = Category::getById($categoryId); + + //没有category_id 则通过路由查询 + $category = $category ?: Category::getByRuleAlias($rule); + + $description = $category['seo_description'] ?: $category['title']; + $keywords = $category['seo_keywords'] ?: $category['title']; + $title = $category['seo_title'] ?: $category['title'].' | '.$this->system['seo_title']; + $this->setSeo($title, $keywords, $description); + $listSort = ['a.sort' => 'desc']; + + // 自定义分页驱动 + app('think\App')->bind(Paginator::class, DxtcPageA::class); + + $items = DownloadModel::getList($category['id'], $category['number'], '', [], 1, $listSort, false); + $items->each(function ($item) { + $item->size_text = sizeToStr($item->size); + }); + $this->data['items'] = $items; + $this->data['category'] = $category; + $this->data['categoryId'] = $category['id']; + $this->data['bodyClass'] = 'main'; + + return $this->view(); + } + + public function file() + { + $id = input('id'); + if (!$file = DownloadModel::getById($id)) { + return $this->error('文件不存在'); + } + + if (!file_exists(public_path().$file['file'])) { + return $this->error('文件不存在'); + } + return download(public_path().$file['file'], $file['title'].'.'.$file['suffix']); + } + +} \ No newline at end of file diff --git a/app/controller/Error.php b/app/controller/Error.php new file mode 100755 index 0000000..a70fa94 --- /dev/null +++ b/app/controller/Error.php @@ -0,0 +1,64 @@ +request->baseUrl()); + if(!empty($specialRoute)){ + switch ($specialRoute["type"]){ + case SpecialRoute::type_archives: + return action("article/detail",["id"=>$specialRoute->relation_id]); + break; + case SpecialRoute::type_archives_category: + $category = Category::findInfoById($specialRoute->relation_id); + if(empty($category)){ + break; + } + switch ($category->model_id){ + case Model::MODEL_PRODUCT: + return action("product/index",["id"=>$specialRoute->relation_id]); + break; + case Model::MODEL_ARTICLE: + return action("article/index",["categoryId"=>$specialRoute->relation_id]); + break; + case Model::MODEL_PAGE: + return action("page/index",["categoryId"=>$specialRoute->relation_id]); + break; + } + break; + } + } + $this->data['seoTitle'] = '404'; + return $this->redirect('/404.html'); + } + + public function jump() + { + $param = request()->param(); + return view()->assign($param); + } + + // 404 + public function notFind() + { + $this->data['seoTitle'] = '404'; + return view('error/404')->assign($this->data); + } + + // 500 + public function serviceFail() + { + $this->data['seoTitle'] = '500'; + return view('error/500')->assign($this->data); + } +} \ No newline at end of file diff --git a/app/controller/Index.php b/app/controller/Index.php new file mode 100755 index 0000000..a99e1c1 --- /dev/null +++ b/app/controller/Index.php @@ -0,0 +1,87 @@ +news(3); + $this->slide(); + +// $this->data['categoryId'] = $categoryId; +// $this->data['blocks'] = Block::convertValue($blocks); +// $this->data['category'] = $category; + + $this->data['isIndex'] = true; + $this->setSeo($this->system['seo_title'], $this->system['seo_keywords'], $this->system['seo_description']); + return $this->view(); + } + + // 新闻动态 + private function news($num) + { + $listSort = ['a.top' => 'desc', 'a.sort' => 'desc']; + $items = MArticle::getList(Category::CATEGORY_NEWS, $num, '', [], 1, $listSort, false); + $list = $items->getCollection()->toArray(); + + $this->data['newsList'] = $list; + } + + // 新闻动态 + private function slide() + { + $list = Slide::getList(); + + $this->data['slideList'] = $list; + } + + /** + * 留言 + * + * @throws Exception + */ + public function message() + { + if ($this->request->isPost()) { + $item = input('item/a', [], 'strip_tags'); + $validate = $this->validateByApi($item, [ + 'code|验证码' => 'require', + 'name|姓名' => 'require', + 'email|邮箱' => 'email', + 'tel|联系方式' => 'require|mobile', + 'content|留言内容' => 'require', + ]); + if ($validate !== true) { + return $validate; + } + + if (!captcha_check($item['code'])) { + return $this->json(4001, '验证码错误'); + } + + Message::create([ + 'name' => $item['name'], + 'tel' => $item['tel'], + 'email' => $item['email'], + 'content' => $item['content'], + 'ip' => request()->ip(), + 'create_time' => time(), + ]); + return $this->json(); + } else { + return $this->json('请求错误'); + } + } + +} \ No newline at end of file diff --git a/app/controller/Info.php b/app/controller/Info.php new file mode 100755 index 0000000..5404e73 --- /dev/null +++ b/app/controller/Info.php @@ -0,0 +1,173 @@ +find(); + $parentCategory = Category::where('id', $category['parent_id'])->find(); + } else { + $parentCategory = Category::where('id', Category::CATEGORY_INFO)->find(); + $category = Category::where('parent_id', $parentCategory['id'])->order('sort asc')->find(); + } + + if (!empty($category['template_list'])) { + return $this->redirect($category['template_list']); + } + + $categoryId = $category['id']; + + $categoryChildren = Category::where('parent_id', $parentCategory['id'])->order('sort asc')->field('id,title')->select(); + + $description = $category['seo_description'] ?: $this->system['seo_description']; + $keywords = $category['seo_keywords'] ?: $this->system['seo_keywords']; + $title = $category['seo_title'] ?: $category['title'] . ' | ' . $this->system['seo_title']; + $this->setSeo($title, $keywords, $description); + $listSort = ['a.top' => 'desc', 'a.sort' => 'desc']; + + // 自定义分页驱动 + app('think\App')->bind(Paginator::class, DxtcPageA::class); + + $items = MArticle::getList($categoryId, 6, $keyword, [], 1, $listSort, false); + + $this->data['items'] = MArticle::parseList($items); + $this->data['category'] = $category; + $this->data['parentCategory'] = $parentCategory; + $this->data['categoryChildren'] = $categoryChildren; + $this->data['categoryId'] = $categoryId; + $this->data['bodyClass'] = 'main'; + + return $this->view($category['template_list'] ?? ''); + } + + // 人才招揽 + public function job() + { + $keyword = input('keyword/s', ''); + $categoryId = input("category_id", 0); + if (!empty($categoryId)) { + $category = Category::where('id', $categoryId)->find(); + $parentCategory = Category::where('id', $category['parent_id'])->find(); + } else { + $parentCategory = Category::where('id', Category::CATEGORY_INFO)->find(); + $category = Category::where('parent_id', $parentCategory['id'])->where('template_list', 'info/job')->order('sort asc')->find(); + } + + if (!empty($category['template_list'])) { + $this->redirect($category['template_list']); + } + + $categoryId = $category['id']; + + $categoryChildren = Category::where('parent_id', $parentCategory['id'])->order('sort asc')->field('id,title')->select(); + + $description = $category['seo_description'] ?: $this->system['seo_description']; + $keywords = $category['seo_keywords'] ?: $this->system['seo_keywords']; + $title = $category['seo_title'] ?: $category['title'] . ' | ' . $this->system['seo_title']; + $this->setSeo($title, $keywords, $description); + $listSort = ['a.sort' => 'desc']; + + // 自定义分页驱动 + app('think\App')->bind(Paginator::class, DxtcPageA::class); + + $items = NoticeModel::getList($categoryId, 6, $keyword, [], 1, $listSort, false); + + $this->data['items'] = $items; + $this->data['category'] = $category; + $this->data['parentCategory'] = $parentCategory; + $this->data['categoryChildren'] = $categoryChildren; + $this->data['categoryId'] = $categoryId; + + return $this->view($category['template_list'] ?? ''); + } + + // 招采平台 + public function platform() + { + $keyword = input('keyword/s', ''); + $categoryId = input("category_id", 0); + if (!empty($categoryId)) { + $category = Category::where('id', $categoryId)->find(); + $parentCategory = Category::where('id', $category['parent_id'])->find(); + } else { + $parentCategory = Category::where('id', Category::CATEGORY_INFO)->find(); + $category = Category::where('parent_id', $parentCategory['id'])->where('template_list', 'info/platform')->order('sort asc')->find(); + } + + $categoryId = $category['id']; + + $categoryChildren = Category::where('parent_id', $parentCategory['id'])->order('sort asc')->field('id,title')->select(); + + $description = $category['seo_description'] ?: $this->system['seo_description']; + $keywords = $category['seo_keywords'] ?: $this->system['seo_keywords']; + $title = $category['seo_title'] ?: $category['title'] . ' | ' . $this->system['seo_title']; + $this->setSeo($title, $keywords, $description); + $listSort = ['a.sort' => 'desc']; + + $cateList = Category::where('parent_id', $category['id']) + ->where('model_id', 39)//公式公告 + ->order('sort asc')->column('title,id'); + + // 自定义分页驱动 + app('think\App')->bind(Paginator::class, DxtcPageA::class); + + $list = []; + foreach ($cateList as $cate) { + $list[$cate['id']] = NoticeModel::getList($cate['id'], 2, $keyword, [], 1, $listSort, false); + } + + $downloadList = DownloadModel::where('category_id', Category::CATEGORY_INFO_DOWNLOAD) + ->when(!empty($keyword), function ($q) use ($keyword) { + $q->where('title', 'like', '%'.$keyword.'%'); + }) + ->order('sort desc')->select(); + + $this->data['list'] = $list; + $this->data['cateList'] = $cateList; + $this->data['downloadList'] = $downloadList; + $this->data['category'] = $category; + $this->data['parentCategory'] = $parentCategory; + $this->data['categoryChildren'] = $categoryChildren; + $this->data['categoryId'] = $categoryId; + + return $this->view(); + } + + //详情 + public function detail($id = 0) + { + if ($id <= 0) { + return $this->error('错误页面'); + } + $article = MArticle::getById($id); + if (empty($article)) { + return $this->error('无此文章'); + } + + $category = Category::where('id', $article['category_id'])->find(); + $parentCategory = Category::where('id', $category['parent_id'])->find(); + + $categoryChildren = Category::where('parent_id', $parentCategory['id'])->order('sort asc')->field('id,title')->select(); + + $description = $article['seo_description'] ?: $this->system['seo_description']; + $keywords = $article['seo_keywords'] ?: $this->system['seo_keywords']; + $title = $article['seo_title'] ?: $article['title'] . ' | ' . $this->system['seo_title']; + + $this->setSeo($title, $keywords, $description); + $this->data['item'] = MArticle::parseInfo($article); + $this->data['category'] = $category; + $this->data['parentCategory'] = $parentCategory; + $this->data['categoryChildren'] = $categoryChildren; + $this->data['categoryId'] = $category['id']; + return $this->view(); + } +} \ No newline at end of file diff --git a/app/controller/Links.php b/app/controller/Links.php new file mode 100755 index 0000000..0953e9f --- /dev/null +++ b/app/controller/Links.php @@ -0,0 +1,28 @@ +bind(Paginator::class, DxtcPageA::class); + $items = Link::getListWithPaginate([], 15); + + $this->data['items'] = $items; + + $this->setSeo('友情链接'); + return $this->view(); + } +} \ No newline at end of file diff --git a/app/controller/Ljct.php b/app/controller/Ljct.php new file mode 100755 index 0000000..521c8de --- /dev/null +++ b/app/controller/Ljct.php @@ -0,0 +1,79 @@ +find(); + $parentCategory = Category::where('id', $category['parent_id'])->find(); + } else { + $parentCategory = Category::where('id', Category::CATEGORY_LJCT)->find(); + $category = Category::where('parent_id', Category::CATEGORY_LJCT)->order('sort asc')->find(); + } + + $categoryId = $category['id']; + + $categoryChildren = Category::where('parent_id', $parentCategory['id'])->order('sort asc')->field('id,title')->select(); + + $description = $category['seo_description'] ?: $this->system['seo_description']; + $keywords = $category['seo_keywords'] ?: $this->system['seo_keywords']; + $title = $category['seo_title'] ?: $category['title'] . ' | ' . $this->system['seo_title']; + $this->setSeo($title, $keywords, $description); + $listSort = ['a.top' => 'desc', 'a.sort' => 'desc']; + + // 自定义分页驱动 + app('think\App')->bind(Paginator::class, DxtcPageA::class); + + $items = MArticle::getList($categoryId, 6, $keyword, [], 1, $listSort, false); + + $this->data['items'] = MArticle::parseList($items); + $this->data['category'] = $category; + $this->data['parentCategory'] = $parentCategory; + $this->data['categoryChildren'] = $categoryChildren; + $this->data['categoryId'] = $category['id']; + $this->data['bodyClass'] = 'main'; + + return $this->view($category['template_list'] ?? ''); + } + + //详情 + public function detail($id = 0) + { + if ($id <= 0) { + return $this->error('错误页面'); + } + $article = MArticle::getById($id); + if (empty($article)) { + return $this->error('无此文章'); + } + + $category = Category::where('id', $article['category_id'])->find(); + $parentCategory = Category::where('id', $category['parent_id'])->find(); + + $categoryChildren = Category::where('parent_id', $parentCategory['id'])->order('sort asc')->field('id,title')->select(); + + $description = $article['seo_description'] ?: $this->system['seo_description']; + $keywords = $article['seo_keywords'] ?: $this->system['seo_keywords']; + $title = $article['seo_title'] ?: $article['title'] . ' | ' . $this->system['seo_title']; + + $this->setSeo($title, $keywords, $description); + $this->data['item'] = MArticle::parseInfo($article); + $this->data['category'] = $category; + $this->data['parentCategory'] = $parentCategory; + $this->data['categoryChildren'] = $categoryChildren; + $this->data['categoryId'] = $category['id']; + return $this->view(); + } + +} \ No newline at end of file diff --git a/app/controller/Msg.php b/app/controller/Msg.php new file mode 100755 index 0000000..7986f87 --- /dev/null +++ b/app/controller/Msg.php @@ -0,0 +1,8 @@ +find(); + $parentCategory = Category::where('id', $category['parent_id'])->find(); + } else { + $parentCategory = Category::where('parent_id', Category::CATEGORY_NEWS)->order('sort asc')->find(); + $category = Category::where('parent_id', $parentCategory['id'])->order('sort asc')->find(); + } + + $categoryId = $category['id']; + + $categoryChildren = Category::where('parent_id', $parentCategory['id'])->order('sort asc')->field('id,title')->select(); + + $description = $category['seo_description'] ?: $this->system['seo_description']; + $keywords = $category['seo_keywords'] ?: $this->system['seo_keywords']; + $title = $category['seo_title'] ?: $category['title'] . ' | ' . $this->system['seo_title']; + $this->setSeo($title, $keywords, $description); + $listSort = ['a.top' => 'desc', 'a.sort' => 'desc']; + + // 自定义分页驱动 + app('think\App')->bind(Paginator::class, DxtcPageA::class); + + $items = MArticle::getList($categoryId, 6, $keyword, [], 1, $listSort, false); + + $this->data['items'] = MArticle::parseList($items); + $this->data['category'] = $category; + $this->data['parentCategory'] = $parentCategory; + $this->data['categoryChildren'] = $categoryChildren; + $this->data['categoryId'] = $categoryId; + $this->data['bodyClass'] = 'main'; + + return $this->view($category['template_list'] ?? ''); + } + + //详情 + public function detail($id = 0) + { + if ($id <= 0) { + return $this->error('错误页面'); + } + $article = MArticle::getById($id); + if (empty($article)) { + return $this->error('无此文章'); + } + + $category = Category::where('id', $article['category_id'])->find(); + $parentCategory = Category::where('id', $category['parent_id'])->find(); + + $categoryChildren = Category::where('parent_id', $parentCategory['id'])->order('sort asc')->field('id,title')->select(); + + $description = $article['seo_description'] ?: $this->system['seo_description']; + $keywords = $article['seo_keywords'] ?: $this->system['seo_keywords']; + $title = $article['seo_title'] ?: $article['title'] . ' | ' . $this->system['seo_title']; + + $this->setSeo($title, $keywords, $description); + $this->data['item'] = MArticle::parseInfo($article); + $this->data['category'] = $category; + $this->data['parentCategory'] = $parentCategory; + $this->data['categoryChildren'] = $categoryChildren; + $this->data['categoryId'] = $category['id']; + return $this->view(); + } +} \ No newline at end of file diff --git a/app/controller/Page.php b/app/controller/Page.php new file mode 100755 index 0000000..f23a5c5 --- /dev/null +++ b/app/controller/Page.php @@ -0,0 +1,76 @@ +request->rule(); + $rule = $rule->getRule(); + $category = Category::getById($this->request->param("category_id")); + //没有category_id 则通过路由查询 + $category = $category ? $category : Category::getByRuleAlias($rule); + if ($category) { + $description = $category['seo_description'] ?: $this->system['seo_description']; + $keywords = $category['seo_keywords'] ?: $this->system['seo_keywords']; + $title = $category['seo_title'] ?: $category['title'].' | '.$this->system['seo_title']; + $this->setSeo($title, $keywords, $description); + } else { + $this->redirect('/404.html'); + } + $childCategory = Category::getChildrenByParentId($category['id']); + $parentCategory = Category::getById($category['parent_id']); + $brotherCategory = Category::getChildrenByParentId($category['parent_id']); + $blocks = Block::getByCategoryId($category['id']); + $blocks = Block::convertValue($blocks); + + // 父级单页配置的公共信息 + $parentBlocks = []; + if (!empty($parentCategory) && $parentCategory['model_id'] == MModel::MODEL_PAGE) { + $parentBlocks = Block::getByCategoryId($parentCategory['id']); + $parentBlocks = Block::convertValue($parentBlocks); + } + + $this->handleExtraShow($category); + $this->data['categoryId'] = $category['id']; + $this->data['category'] = $category; + $this->data['childCategory'] = $childCategory; + $this->data['blocks'] = $blocks; + $this->data['parentBlocks'] = $parentBlocks; + $this->data['rule'] = $rule; + $this->data['parentCategory'] = $parentCategory; + $this->data['brotherCategory'] = $brotherCategory; + $this->data['bodyClass'] = 'main'; + $this->setExtraBaseConfig(); + + return $this->view($category['template_detail']); + } + + // 补充显示的信息 + private function handleExtraShow($category) + { + // 关于我们 + if ($category['template_detail'] == 'about') { + // 发展历程 + $this->data['historyList'] = History::order('sort', 'asc')->select(); + // 荣誉资质 + $this->data['honourList'] = Honour::order('sort', 'desc')->select()->toArray(); + } + + // 职位发展 + if ($category['alias'] == 'career') { + // 职位招聘 + $this->data['positionList'] = PositionModel::order('sort', 'desc') + ->where('visible', 1) + ->order('id', 'desc')->select()->toArray(); + } + } + +} \ No newline at end of file diff --git a/app/controller/Product.php b/app/controller/Product.php new file mode 100755 index 0000000..83b9520 --- /dev/null +++ b/app/controller/Product.php @@ -0,0 +1,130 @@ +error('错误页面'); + } + $article = ProductModel::getById($id); + if (empty($article)) { + return $this->error('无此产品'); + } + + $category = Category::getById($article['category_id']); + + $description = $article['seo_description'] ?: $this->system['seo_description']; + $keywords = $article['seo_keywords'] ?: $this->system['seo_keywords']; + $title = $article['seo_title'] ?: $article['title'].' | '.$this->system['seo_title']; + + $pathArr = explode(',', $category['path']); + $secondCategoryId = $pathArr[3] ?: $article['category_id']; + $secondCategory = Category::getById($secondCategoryId); + + $this->data['images'] = json_decode($article['images'], true); + + // 相关推荐 + $recommendList = $this->recommendList($article, 3); + + $this->data['recommendList'] = $recommendList; + $this->setSeo($title, $keywords, $description); + $this->data['item'] = $article; + $this->data['category'] = $category; + $this->data['secondInfo'] = $secondCategory; + $this->data['categoryId'] = $category['id']; + return $this->view($category['template_detail'] ?? ''); + } + + /** + * 相关推荐 + * + * @param $article + * @param $num + * @return array + * @throws DataNotFoundException + * @throws DbException + * @throws ModelNotFoundException + */ + private function recommendList($article, $num) + { + return ProductModel::where('category_id', $article['category_id']) + ->where('visible', 1) + ->order('sort', 'desc') + ->order('id', 'desc') + ->limit($num) + ->select()->toArray(); + } + + //列表页 + public function index() + { + $second = input('second/d', 0); + $third = input('third/d', 0); + + $first = Category::getByRuleAlias(Category::RULE_PRODUCT);//产品顶级分类 + $categoryList = Category::getChildrenByParentId($first['id'], false); + $secondMenus = []; + $secondChildren = []; + foreach ($categoryList as $k => $cate) { + if ($cate['parent_id'] == $first['id']) { + $secondMenus[$cate['id']] = $cate; + unset($categoryList[$k]); + } + } + + foreach ($categoryList as $thirdCate) { + foreach ($secondMenus as $secondCate) { + if (!isset($secondChildren[$secondCate['id']])) { + $secondChildren[$secondCate['id']] = []; + } + if ($thirdCate['parent_id'] == $secondCate['id']) { + $secondChildren[$secondCate['id']][] = $thirdCate; + } + } + } + + $secondInfo = $second == 0 ? array_values($secondMenus)[0] : $secondMenus[$second]; + $thirdMenus = $secondChildren[$secondInfo['id']]; + + $this->data['thirdId'] = $third; + + + $description = $first['seo_description'] ?: $this->system['seo_description']; + $keywords = $first['seo_keywords'] ?: $this->system['seo_keywords']; + $title = $first['seo_title'] ?: $first['title'].' | '.$this->system['seo_title']; + $this->setSeo($title, $keywords, $description); + $listSort = ['a.sort' => 'desc']; + + $this->data['secondInfo'] = $secondInfo; + $this->data['secondMenus'] = $secondMenus; + $this->data['thirdMenus'] = $thirdMenus; + + // 自定义分页驱动 + app('think\App')->bind(Paginator::class, DxtcPageA::class); + + $cateId = $third > 0 ? $third : $secondInfo['id']; + $queryParam = ['second' => $secondInfo['id'], 'third' => $third]; + $items = ProductModel::getList($cateId, $first['number'], '', [], 1, $listSort, false, $queryParam); + + $this->data['items'] = $items; + $this->data['category'] = $first; + $this->data['categoryId'] = $first['id']; + $this->data['bodyClass'] = 'main'; + + return $this->view(); + } +} \ No newline at end of file diff --git a/app/controller/Search.php b/app/controller/Search.php new file mode 100755 index 0000000..18de0e9 --- /dev/null +++ b/app/controller/Search.php @@ -0,0 +1,71 @@ +error('请输入搜索关键词'); + } + + // 自定义分页驱动 + app('think\App')->bind(Paginator::class, DxtcPageA::class); + + $items = []; + $paginate = [ + 'list_rows' => 20, + 'query' => ['keyword' => $keyword, 'type' => $type] + ]; + $orderList = ['sort' => 'desc', 'id' => 'desc']; + $path = ''; + switch ($type) { + case 'product': + $items = ProductModel::where('title|description|content|params', 'like', '%'.$keyword.'%') + ->where('visible', 1) + ->order($orderList) + ->paginate($paginate); + $path = '/product/detail.html'; + break; + case 'news': + $categoryIds = Category::where('template_list', Category::TEMPLATE_NEWS)->column('id'); + $items = \app\model\Article::where('title|summary|content', 'like', '%'.$keyword.'%') + ->whereIn('category_id', $categoryIds) + ->where('status', 1) + ->order($orderList) + ->paginate($paginate); + $path = '/news/detail.html'; + break; + case 'scheme': + $categoryIds = Category::where('template_list', Category::TEMPLATE_SCHEME)->column('id'); + $items = \app\model\Article::where('title|summary|content', 'like', '%'.$keyword.'%') + ->whereIn('category_id', $categoryIds) + ->where('status', 1) + ->order($orderList) + ->paginate($paginate); + $path = '/scheme/detail.html'; + break; + } + + $this->data['items'] = $items; + $this->data['bodyClass'] = 'main'; + $this->data['type'] = $type; + $this->data['keyword'] = $keyword; + $this->data['path'] = $path; + + return $this->view(); + } +} \ No newline at end of file diff --git a/app/controller/Upload.php b/app/controller/Upload.php new file mode 100755 index 0000000..08e5af2 --- /dev/null +++ b/app/controller/Upload.php @@ -0,0 +1,9 @@ +request->isPost()) { + $ids = input('post.id/a'); + if (empty($ids) || !is_array($ids)) { + return $this->json(2, '参数错误,请核对之后再操作!'); + } + $data = []; + foreach (['top', 'hot', 'recommend'] as $key) { + $val = input('post.'.$key, 0); + if (in_array($val, [1, 2])) { + if ($val == 1) { + $data[$key] = 1; + } else { + $data[$key] = 0; + } + } + } + if (!empty($data)) { + MArticle::whereIn('id', $ids)->update($data); + Log::write('article', 'attribute', '批量修改了文章属性,涉及到的文章ID为:'.implode(',', $ids)); + } + return $this->json(); + } + return $this->json(1, '非法请求!'); + } + + //批量删除 + public function batchDel() + { + if ($this->request->isPost()) { + $ids = input('post.ids/a'); + if (empty($ids) || !is_array($ids)) { + return $this->json(2, '参数错误,请核对之后再操作!'); + } + $items = MArticle::getListByIds($ids); + if (empty($items)) { + return $this->json(3, '待删除文章列表为空'); + } + + Db::startTrans(); + try { + $delIds = []; + $cateId = $items[0]['category_id']; + foreach ($items as $item) { + $delIds[] = $item['id']; + } + + MArticle::destroy($delIds); + SpecialRoute::deleteByTypeIds($delIds ,SpecialRoute::type_archives); + Log::write('article', 'betchDel', '批量删除了文章,涉及到的文章ID为:'.implode(',', $delIds)); + Db::commit(); + } catch (\Exception $e) { + Db::rollback(); + return $this->json(5000, '文章删除失败!'); + } + + return $this->json(); + } + return $this->json(1, '非法请求!'); + } + + //删除 + public function del() + { + if ($this->request->isPost()) { + $id = input('post.id/d'); + if (is_numeric($id) && $id > 0) { + $item = MArticle::getById($id); + if (empty($item)) { + return $this->json(3, '待删除文章不存在'); + } + + Db::startTrans(); + try { + MArticle::destroy($id); + Log::write('article', 'del', '删除文章,ID:'.$id.',标题:'.$item['title']); + SpecialRoute::deleteByTypeIds([$id] ,SpecialRoute::type_archives); + Db::commit(); + } catch (\Exception $e) { + Db::rollback(); + return $this->json(5000, '文章删除失败!'); + } + return $this->json(); + } + + return $this->json(2, '参数错误,请核对之后再操作!'); + } + return $this->json(1, '非法请求!'); + } + + //排序 + public function sort() + { + if ($this->request->isPost()) { + $id = input('post.id/d'); + $sort = input('post.sort'); + $num = input('post.num/d', 1); + $categoryId = $this->request->param('category_id/d', 0); // get | post + if ($num <= 0) { + $num = 1; + } + if (!in_array($sort, ['up', 'down'], true)) { + return $this->json(2, '参数错误'); + } + $item = MArticle::getById($id); + if (empty($item)) { + return $this->json(3, '该文章信息不存在'); + } + $whereMap = []; + if (is_numeric($categoryId) && $categoryId > 0) { + $children = Category::getChildrenByParentId($categoryId); + if (!empty($children)) { + $childrenIds = []; + foreach ($children as $child) { + if ($child['model_id'] == 31) { + $childrenIds[] = $child['id']; + } + } + $whereMap[] = ['category_id', 'in', $childrenIds]; + } else { + $whereMap[] = ['category_id', '=', $categoryId]; + } + } else { + $whereMap[] = ['category_id', '=', $item['category_id']]; + } + + if ($sort == 'up') { + $whereMap[] = ['sort', '>', $item['sort']]; + $order = "sort asc"; + } else { + $whereMap[] = ['sort', '<', $item['sort']]; + $order = "sort desc"; + } + $forSortItems = MArticle::getListByWhereAndOrder($whereMap, $order, $num); + if (!empty($forSortItems)) { + $updateData = []; + $forSortCount = count($forSortItems); + for ($i = 0; $i < $forSortCount; $i++) { + if ($i == 0) { + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $item['sort'] + ]; + } else { + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + } + } + $updateData[] = [ + 'id' => $item['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + if (!empty($updateData)) { + $model = new MArticle(); + $model->saveAll($updateData); + $sortStr = $sort == 'up' ? '上移' : '下调'; + Log::write('article', 'sort', "文章排序,ID:{$id} ,标题:{$item['title']},{$sortStr}了{$num}位"); + return $this->json(); + } + } + return $this->json(4, '无须调整排序!'); + } + return $this->json(1, '非法请求!'); + } + + //编辑 + public function edit() + { + if ($this->request->isPost()) { + $item = input('post.item/a'); + $img = input('post.img', ''); + $images = input('post.img_imgs/a', []); + $logo = input('post.img_logo', ''); + $banner = input('post.img_banner', ''); + $video = input('post.video', ''); + $id = input('post.id/d'); + $article = MArticle::getById($id); + if (empty($article)) { + return $this->json(1, '该文章不存在!'); + } + + $item['imgs'] = json_encode(array_values($images), JSON_UNESCAPED_UNICODE); + $item['src'] = $img; + if (!empty($logo)) { + $item['logo'] = $logo; + } + if (!empty($banner)) { + $item['banner'] = $banner; + } + $item['video'] = $video; + + try { + validate(VArticle::class)->scene("edit")->check($item); + $auth = session('auth'); + $item['update_time'] = time(); + $item['updated'] = $auth['userName']; + + cache('articlesForRoute', null); //清理缓存 + + // 默认属性 + $defaultAttributes = ['recommend', 'top', 'hot']; + $item['recommend'] = $item['recommend'] ?? 0; + $item['top'] = $item['top'] ?? 0; + $item['hot'] = $item['hot'] ?? 0; + + // 自定义属性配置(包含默认属性) + $recommendOtherNameStr = input('post.recommend_other_str', ''); + $recommendOtherList = []; + if (!empty($recommendOtherNameStr)) { + $recommendOtherNameList = explode(',', $recommendOtherNameStr); + $attributeList = MArticle::getAttributeList([$article['category_id']]); + $attributeKeyList = array_flip($attributeList); + + foreach ($recommendOtherNameList as $recommendOtherName) { + $attributeKey = $attributeKeyList[$recommendOtherName] ?? ''; + if (!empty($attributeKey)) { + $recommendOtherList[] = $attributeKey; + + // 默认属性配置,适用于排序 + if (in_array($attributeKey, $defaultAttributes)) { + $item[$attributeKey] = 1; + } + } + } + } + $item['recommend_other'] = empty($recommendOtherList) ? '' : implode(',', $recommendOtherList); + + // 标签 + $item['tag'] = trim($item['tag'] ?? ''); + $item['tag'] = str_replace(',', ',', $item['tag']); + if (!empty($tagSaveCheck) && ($article['status'] == MArticle::STATUS_NORMAL || $item['status'] == MArticle::STATUS_NORMAL)) { + $oldTagList = empty($article['tag']) ? [] : explode(',', $article['tag']); + $curTagList = empty($item['tag']) ? [] : explode(',', $item['tag']); + /** + * $oldTagList 差集:total - 1 + * $curTagList 差集:不存在则新增,存在则total + 1 + * [normal->disable] total - 1 + * [disable->normal] total + 1 + */ + if ($article['status'] != $item['status']) { + if ($article['status'] == MArticle::STATUS_NORMAL) { + $curTagList = []; + } else { + $oldTagList = []; + } + } + + $oldTagsDiff = array_diff($oldTagList, $curTagList); + $curTagsDiff = array_diff($curTagList, $oldTagList); + if (count($oldTagsDiff) > 0) { + ArticleTags::whereIn('name', $oldTagsDiff) + ->where($tagSaveCheck, '>', 0) + ->dec($tagSaveCheck, 1) + ->update(); + } + if (count($curTagsDiff) > 0) { + $hadTagItems = ArticleTags::findByNames($curTagsDiff); + $hadTags = $hadTagItems->column('name'); + $newTags = array_diff($curTagsDiff, $hadTags); + + $tagsInsert = []; + $tagsUpdate = []; + foreach ($newTags as $tagName) { + $tagsInsert[] = [ + 'name' => $tagName, + $tagSaveCheck => 1 + ]; + } + foreach ($hadTagItems as $tagItem) { + $tagsUpdate[] = [ + 'id' => $tagItem['id'], + $tagSaveCheck => $tagItem[$tagSaveCheck] + 1 + ]; + } + + if (count($tagsInsert) > 0) { + ArticleTags::insertAll($tagsInsert); + } + if (count($tagsUpdate) > 0) { + (new ArticleTags())->saveAll($tagsUpdate); + } + } + } + + MArticle::updateById($id, $item); + + //处理特殊路由 + if (array_key_exists("route", $item) && !empty($item['route'])) { + $specialRoute = SpecialRoute::findByTypeRelaTioneId($id,SpecialRoute::type_archives); + if(empty($specialRoute)){ + $specialRouteData = [ + "route" =>$item["route"]??'', + "type" =>SpecialRoute::type_archives, + "relation_id" =>$id, + ]; + SpecialRoute::create($specialRouteData); + }else{ + $specialRoute->save(["route"=>$item["route"]??'']); + } + }else{ + SpecialRoute::deleteByTypeIds([$id],SpecialRoute::type_archives); + } + + Db::commit(); + Log::write('article', 'edit', "文章编辑,ID:{$id} ,标题:{$item['title']}"); + return $this->json(); + } + catch (ValidateException $e) { + Db::rollback(); + return $this->json(2, $e->getError()); + }catch (\Exception $e) { + Db::rollback(); + return $this->json(2, $e->getMessage()); + } + } else { + $id = input('param.id'); + $article = MArticle::getById($id); + $category = []; + $categoryId = $article['category_id'] ?? 0; + $imgSize = ''; + $attributeList = []; + + if ($article) { + $article = MArticle::convertRecommendOther([$categoryId], $article, false); + $attributeList = MArticle::getAttributeList([$categoryId]); + + $category = Category::getById($categoryId); + if ($category['img_width'] && $category['img_height']) { + $imgSize = $category['img_width'].'像素 X '.$category['img_height'].'像素'; + } else { + $imgSize = System::getArticleImageSize(); + } + } + + $this->data['item'] = $article; + $this->data['category'] = $category; + $this->data['imgSize'] = $imgSize; + $this->data['attributeList'] = $attributeList; + $this->data['contentRaw'] = in_array($categoryId, Category::$contentRawCategoryList); + $this->data['allowTag'] = in_array($categoryId, Category::$allowTagCategoryList); + $this->data['allowImgs'] = in_array($category['template_list'], $this->allowImgTemplate); + + return $this->view(); + } + } + + //添加 + public function add() + { + if ($this->request->isPost()) { + $item = input('post.item/a'); + $img = input('post.img', ''); + $images = input('post.img_imgs/a', []); + $logo = input('post.img_logo', ''); + $banner = input('post.img_banner', ''); + $video = input('post.video', ''); + + $item['imgs'] = json_encode($images, JSON_UNESCAPED_UNICODE); + $item['src'] = $img; + if (!empty($logo)) { + $item['logo'] = $logo; + } + + if (!empty($banner)) { + $item['banner'] = $banner; + } + $item['video'] = $video; + Db::startTrans(); + try { + validate(VArticle::class)->scene("add")->check($item); + $content = $item['content'] ?? ''; + if (isset($item['content'])) { + unset($item['content']); + } + $item['content'] = $content; + if (!empty($item['alias'])) { + if (Tool::hasAlias($item['alias'])) { + throw new ValidateException('别名已存在'); + } + cache('articlesForRoute', null); //有别名时,清理缓存 + } + + // 默认属性 + $defaultAttributes = ['recommend', 'top', 'hot']; + $item['recommend'] = $item['recommend'] ?? 0; + $item['top'] = $item['top'] ?? 0; + $item['hot'] = $item['hot'] ?? 0; + + // 自定义属性配置 + $recommendOtherNameStr = input('post.recommend_other_str', ''); + $recommendOtherList = []; + if (!empty($recommendOtherNameStr)) { + $recommendOtherNameList = explode(',', $recommendOtherNameStr); + $attributeList = MArticle::getAttributeList([$item['category_id']]); + $attributeKeyList = array_flip($attributeList); + + foreach ($recommendOtherNameList as $recommendOtherName) { + $attributeKey = $attributeKeyList[$recommendOtherName] ?? ''; + if (!empty($attributeKey)) { + $recommendOtherList[] = $attributeKey; + + // 默认属性配置,适用于排序 + if (in_array($attributeKey, $defaultAttributes)) { + $item[$attributeKey] = 1; + } + } + } + } + $item['recommend_other'] = empty($recommendOtherList) ? '' : implode(',', $recommendOtherList); + + // 标签 + $item['tag'] = trim($item['tag'] ?? ''); + $item['tag'] = str_replace(',', ',', $item['tag']); + if (!empty($item['tag']) && !empty($tagSaveCheck) && $item['status'] == MArticle::STATUS_NORMAL) { + $curTags = explode(',', $item['tag']); + $tagItems = ArticleTags::findByNames($curTags); + $hadTags = $tagItems->column('name'); + $newTags = array_diff($curTags, $hadTags); + if (count($newTags) > 0) { + $tagsInsert = []; + $tagsUpdate = []; + foreach ($newTags as $tag) { + $tagsInsert[] = [ + 'name' => $tag, + $tagSaveCheck => 1 + ]; + } + foreach ($tagItems as $tagItem) { + $tagsUpdate[] = [ + 'id' => $tagItem['id'], + $tagSaveCheck => $tagItem[$tagSaveCheck] + 1, + ]; + } + + if (count($tagsInsert) > 0) { + ArticleTags::insertAll($tagsInsert); + } + if (count($tagsUpdate)) { + (new ArticleTags())->saveAll($tagsUpdate); + } + } + } + + + $article = MArticle::create($item); + //处理特殊路由 + if (array_key_exists("route", $item) && !empty($item['route'])) { + $specialRouteData = [ + "route" =>$item["route"]??'', + "type" =>SpecialRoute::type_archives, + "relation_id" =>$article->id, + ]; + SpecialRoute::create($specialRouteData); + } + Log::write('article', 'add', "文章新增,ID:{$article->id} ,标题:{$item['title']}"); + Db::commit(); + return $this->json(); + } catch (ValidateException $e) { + Db::rollback(); + return $this->json(2, $e->getError()); + } catch (\Exception $e) { + Db::rollback(); + return $this->json(2, 'request fail! '.$e->getMessage()); + } + } else { + $categoryId = input('param.category_id'); + $category = Category::getById($categoryId); + if (count($category) > 0 && $category['img_width'] && $category['img_height']) { + $imgSize = $category['img_width'].'像素 X '.$category['img_height'].'像素'; + } else { + $imgSize = System::getArticleImageSize(); + } + + $this->data['category'] = $category; + $this->data['imgSize'] = $imgSize; + $this->data['attributeList'] = MArticle::getAttributeList([$categoryId]); + $this->data['contentRaw'] = in_array($categoryId, Category::$contentRawCategoryList); + $this->data['allowTag'] = in_array($categoryId, Category::$allowTagCategoryList); + $this->data['allowImgs'] = in_array($category['template_list'], $this->allowImgTemplate); + + return $this->view(); + } + } +} diff --git a/app/controller/manager/Backup.php b/app/controller/manager/Backup.php new file mode 100755 index 0000000..cdb0700 --- /dev/null +++ b/app/controller/manager/Backup.php @@ -0,0 +1,153 @@ + 0) { + $dataStr = 'INSERT INTO `'.$tableName.'` VALUE '; + foreach ($data as $k => $item) { + $valStr = '('; + foreach ($item as $val) { + // 字符串转义 + $val = addslashes($val); + $valStr .= '"'.$val.'", '; + } + // 去除最后的逗号和空格 + $valStr = substr($valStr,0,strlen($valStr)-2); + // 限制单条sql语句在16K以内(可根据mysql配置条件进行调整) + $sqlLength = strlen($dataStr) + strlen($valStr); + if($sqlLength >= (1024 * 16 - 10)) { + $dataStr .= $valStr.');'.$eol; + file_put_contents($fileName, $dataStr, FILE_APPEND); + // 提前分段写入后需重置数据语句 + if ($k <= ($count-1)) { + $dataStr = 'INSERT INTO `'.$tableName.'` VALUE '; + } else { + $dataStr = ''; + } + } else { + if ($k < ($count-1)) { + $dataStr .= $valStr.'),'.$eol; + } else { + $dataStr .= $valStr.');'.$eolB; + } + } + } + file_put_contents($fileName, $dataStr, FILE_APPEND); + } + } + clearstatcache(); + + $backups = explode('/', $fileName); + $backupName = $backups[count($backups)-1]; + $src = Config::get('filesystem.disks.backup.url') . '/'; + return $this->json(0, '备份成功:' . $src . $backupName); + } + + + public function index() + { + $path = Config::get('filesystem.disks.backup.root') . '/'; + $src = Config::get('filesystem.disks.backup.url') . '/'; + $items = []; + if(is_dir($path)) { + if(!is_readable($path)) { + chmod($path,0755); + } + $files = scandir($path); + foreach ($files as $file) { + if($file != '.' && $file != '..') { + $ext = substr($file, -4); + if ($ext == '.sql') { + $creatTime = substr($file, -18, 14); + $items[] = [ + 'file' => $file, + 'path' => $src . $file, + 'time' =>is_numeric($creatTime) ? date('Y-m-d H:i:s', strtotime($creatTime)) : '', + ]; + } + } + } + } + clearstatcache(); + + $this->data['items'] = $items; + $this->data['backupPath'] = str_replace('\\','/', $path); + return $this->view(); + } + + public function del() + { + if (request()->isPost()) { + $filePath = input('post.id'); + Tool::delFile($filePath); + MLog::write('backup', 'del', '删除了备份数据文件,文件路径为:' . $filePath); + return $this->json(); + } else { + return $this->json(1, '非法请求'); + } + } +} \ No newline at end of file diff --git a/app/controller/manager/Base.php b/app/controller/manager/Base.php new file mode 100755 index 0000000..6c209af --- /dev/null +++ b/app/controller/manager/Base.php @@ -0,0 +1,89 @@ + [ + 'name' => '宋体', + ], + 'alignment' => [ + 'horizontal' => Alignment::HORIZONTAL_CENTER, // 水平居中 + 'vertical' => Alignment::VERTICAL_CENTER, // 垂直居中 + 'wrapText' => true, + ], + 'borders' => [ + 'allBorders' => [ + 'borderStyle' => Border::BORDER_THIN, + 'color' => ['rgb' => 'eeeeee'], + ] + ], + ]; + + protected $defaultSetting = [ + 'cell_width' => 30, + 'font_size' => 12 + ]; + + protected $data = []; + + + protected function initialize() + { + $this->middleware = [ + //'csrf', + 'auth' => [ + 'except' => ['manager.login/index'] + ] + ]; + $auth = session('auth'); + $this->data['member'] = $auth; + if (session('?__token__')) { + $this->data['_token'] = session('__token__'); + } else { + $this->data['_token'] = $this->request->buildToken(); + } + $this->data['groupId'] = $auth['groupId'] ?? 0; + } + + //变量赋值到模板 + protected function view() + { + return view()->assign($this->data); + } + + /** + * @param string $msg + * @param string|null $url + * @param string $data + * @param int $wait + * @return Redirect + */ + protected function error($msg = '', string $url = null, $data = '', int $wait = 3): Redirect + { + if (is_null($url)) { + $url = $this->request->isAjax() ? '' : 'javascript:history.back(-1);'; + } elseif ($url) { + $url = (strpos($url, '://') || 0 === strpos($url, '/')) ? $url : $this->app->route->buildUrl($url); + } + $result = [ + 'code' => 0, + 'msg' => $msg, + 'data' => $data, + 'url' => $url, + 'wait' => $wait, + ]; + + return $this->redirect(url('manager.error/jump', $result)); + } +} diff --git a/app/controller/manager/Category.php b/app/controller/manager/Category.php new file mode 100755 index 0000000..3b50c68 --- /dev/null +++ b/app/controller/manager/Category.php @@ -0,0 +1,325 @@ +data['items'] = $items; + $this->data['power_add'] = $powerAdd; + return $this->view(); + } + + //批量删除 + public function batchDel() + { + if($this->request->isPost()){ + $ids = input('post.ids/a'); + if(is_array($ids)) { + $idsArr = $ids; + } else { + $idsArr = array_filter(explode(',', $ids)); + } + if(count($idsArr) == 0) { + return $this->json(1, '无效请求,参数错误!'); + } + if (MCategory::hasChildren($idsArr)) { + return $this->json(2, '需删除的栏目下存在下级栏目,不可删除。请检查核实后再操作!'); + } + $categories = MCategory::getListByIds($idsArr); + if(!empty($categories)){ + $hasIds = []; + foreach($categories as $cate){ + $hasIds[] = $cate['id']; + } + MCategory::destroy($hasIds); + SpecialRoute::deleteByTypeIds($hasIds ,SpecialRoute::type_archives_category); + Log::write('category', 'betchDel', '批量删除了栏目,涉及到的ID为:' . implode(',', $hasIds)); + return $this->json(); + } + return $this->json(3, '删除失败!栏目不存在,请刷新页面后再试!'); + } + return $this->json(1, '非法请求!'); + } + + /** + * 删除 + */ + public function del() + { + if($this->request->isPost()){ + $id = input('post.id/d'); + if(is_numeric($id) && $id > 0) { + if(MCategory::hasChildren($id)){ + return $this->json(4, '此栏目有下级栏目,不可删除。请检查核实后再操作!'); + } + $cate = MCategory::getById($id); + if(!empty($cate)){ + MCategory::destroy($id); + SpecialRoute::deleteByTypeIds([$id] ,SpecialRoute::type_archives_category); + Log::write('category', 'del', '删除栏目,ID:' . $id . ',标题:' . $cate['title']); + return $this->json(); + } + return $this->json(3, '删除失败!栏目不存在,请刷新页面后再试!'); + } else { + return $this->json(2, '无效请求,参数错误!'); + } + } + return $this->json(1, '非法请求!'); + } + + //排序 + public function sort() + { + if($this->request->isPost()){ + $id = input('post.id/d'); + $sort = input('post.sort'); + $num = input('post.num/d', 1); + if($num <= 0){ + $num = 1; + } + if(!in_array($sort, ['up', 'down'], true)){ + return $this->json(2, '参数错误'); + } + $item = MCategory::getById($id); + if(empty($item)) { + return $this->json(3, '无此栏目!'); + } + if($sort == 'up'){ + $where = "parent_id='{$item['parent_id']}' and sort < {$item['sort']}"; + $order = "sort desc"; + }else{ + $where = "parent_id='{$item['parent_id']}' and sort > {$item['sort']}"; + $order = "sort asc"; + } + $forSortItems = MCategory::getListByWhereAndOrder($where, $order, $num); + if(!empty($forSortItems)){ + $updateData = []; + $forSortCount = count($forSortItems); + for($i = 0; $i < $forSortCount; $i++){ + if($i == 0){ + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $item['sort'] + ]; + }else{ + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + } + } + $updateData[] = [ + 'id' => $item['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + if(!empty($updateData)){ + $model = new MCategory(); + $model->saveAll($updateData); + $sortStr = $sort == 'up' ? '上移' : '下调'; + Log::write('category', 'sort', "栏目排序,ID:{$id} ,标题:{$item['title']},{$sortStr}了{$num}位"); + return $this->json(); + } + } + return $this->json(4, '无须调整排序!'); + } + return $this->json(1, '非法请求!'); + } + + /** + * 更新栏目数据 + */ + public function edit() + { + if($this->request->isPost()){ + $item = input('post.item/a'); + $id = input('post.id'); + $img = input('post.img'); + $icon = input('post.imgicon'); + if (count($item) > 0 && (is_numeric($id) === true && $id > 0)) { + Db::startTrans(); + try { + validate(VCategory::class)->scene("edit")->check($item); + $item['src'] = empty($img) ? '' : $img; + $item['icon_img'] = empty($icon) ? '' : $icon; + + // 只允许文章类栏目可以设置汇总查看 + if ($item['model_id'] != MCModel::MODEL_ARTICLE) { + $item['parent_show'] = 0; + } + if (isset($item['category_key']) && strlen($item['category_key']) > 0) { + $hadCate = MCategory::findByCategoryKey($item['category_key']); + if (!empty($hadCate) && $hadCate['id'] != $id) { + throw new ValidateException('栏目标识已存在'); + } + } + + MCategory::updateById($id, $item); + + //处理特殊路由 + if (array_key_exists("route", $item) && !empty($item['route'])) { + $specialRoute = SpecialRoute::findByTypeRelaTioneId($id,SpecialRoute::type_archives_category); + if(empty($specialRoute)){ + $specialRouteData = [ + "route" =>$item["route"]??'', + "type" =>SpecialRoute::type_archives_category, + "relation_id" =>$id, + ]; + SpecialRoute::create($specialRouteData); + }else{ + $specialRoute->save(["route"=>$item["route"]??'']); + } + }else{ + SpecialRoute::deleteByTypeIds($id,SpecialRoute::type_archives_category); + } + Db::commit(); + + Log::write('category', 'edit', "栏目编辑,ID:{$id} ,标题:{$item['title']}"); + return $this->json(); + } catch (ValidateException $e) { + Db::rollback(); + return $this->json(2, $e->getError()); + }catch (\Exception $e) { + return $this->json(2, $e->getMessage()); + } + } + return $this->json(1,'传入参数错误,请核对之后再操作!'); + } else { + $id = input('param.id'); + if (is_numeric($id) === true && $id > 0) { + $item = MCategory::getById($id); + if(empty($item)){ + return $this->json(1,'参数错误,无此栏目!'); + } + + $this->data['item'] = $item; + $this->data['parent'] = MCategory::getById($item['parent_id']); + $this->data['models'] = MCModel::getList(); + $this->data['iconImgSize'] = '64px * 64px'; + return $this->view(); + } + return $this->json(1,'参数错误,请核对之后再操作!'); + } + } + + /** + * 栏目添加 + */ + public function add() + { + if($this->request->isPost()){ + $item = input('post.item/a'); + $img = input('post.img'); + $icon = input('post.imgicon'); + if (is_array($item) === true && count($item) > 0) { + if (!empty($img)) { + $item['src'] = $img; + } + if(!empty($icon)){ + $item['icon_img'] = $icon; + } + Db::starttrans(); + try { + validate(VCategory::class)->check($item); + if(!isset($item['number']) || $item['number'] <= 0){ + $item['number'] = 20; + } + if($item['parent_id'] == 0){ + $item['path'] = ',0,'; + }else{ + $parent = MCategory::getById($item['parent_id']); + if(empty($parent)){ + $item['path'] = ',0,'; + }else{ + $item['path'] = $parent['path'] . $parent['id'] . ','; + } + } + if(!empty($item['route'])){ + if(Tool::hasAlias($item['route'])){ + throw new ValidateException('别名已存在'); + } + cache('categoriesForRoute', null); + } + + // 只允许文章类栏目可以设置汇总查看 + if ($item['model_id'] != MCModel::MODEL_ARTICLE) { + $item['parent_show'] = 0; + } + + if (isset($item['category_key']) && strlen($item['category_key']) > 0) { + $hadCate = MCategory::findByCategoryKey($item['category_key']); + if (!empty($hadCate)) { + throw new ValidateException('栏目标识已存在'); + } + } + + $category = MCategory::create($item); + + // 更新session + $member = \app\model\Member::getById(session('auth')['userId']); + $newCates = $member['cates'].','.$category['id']; + (new \app\model\Member())->where('id', $member['id'])->save([ + 'cates' => $newCates + ]); + $auth = session('auth'); + $auth['cates'] = $newCates; + session('auth', $auth); + + //处理特殊路由 + if (array_key_exists("route", $item) && !empty($item['route'])) { + $specialRouteData = [ + "route" =>$item["route"]??'', + "type" =>SpecialRoute::type_archives_category, + "relation_id" =>$category['id'], + ]; + SpecialRoute::create($specialRouteData); + } + + Db::commit(); + Log::write('category', 'add', "栏目新增,ID:{$category->id} ,标题:{$item['title']}"); + return $this->json(); + } catch (ValidateException $e) { + return $this->json(2,$e->getError()); + } catch (\Exception $e) { + return $this->json(2,$e->getMessage()); + } + } + return $this->json(1, '传入值错误,请核对之后再操作!'); + } else { + $parentId = input('param.id')??input('param.parent_id'); + if(empty($parentId)){ + $parent = []; + }else{ + $parent = MCategory::getById($parentId); + } + $this->data['parent'] = $parent; + $this->data['models'] = MCModel::getList(); + $this->data['iconImgSize'] = '64px * 64px'; + return $this->view(); + } + } +} diff --git a/app/controller/manager/Config.php b/app/controller/manager/Config.php new file mode 100755 index 0000000..f9961cc --- /dev/null +++ b/app/controller/manager/Config.php @@ -0,0 +1,95 @@ +request->isPost()) { + $data = input("post."); + if(isset($data['_token'])) { + unset($data['_token']); + } + ConfigSetting::setConfigByName($configName, $data); + return $this->json(0); + + } else { + + // 兼容写法,把原配置文件中的配置信息写入到数据库 + $conf = ConfigSetting::getConfigContentsByName($configName); + if (empty($conf)) { + CConfig::load('extra/base', $configName); + $conf = config($configName); + if (!empty($conf)) { + ConfigSetting::setConfigByName($configName, $conf); + } + } + + $this->data['item'] = $conf; + return $this->view(); + } + } + + //法律制度 + public function statute() + { + $configName = 'extraStatute'; + + if ($this->request->isPost()) { + $data = input("post."); + if(isset($data['_token'])) { + unset($data['_token']); + } + ConfigSetting::setConfigByName($configName, $data); + return $this->json(); + + } else { + + $conf = ConfigSetting::getConfigContentsByName($configName); + if (empty($conf)) { + CConfig::load('extra/statute', $configName); + $conf = config($configName); + if (!empty($conf)) { + ConfigSetting::setConfigByName($configName, $conf); + } + } + + $this->data['item'] = $conf; + return $this->view(); + } + } + + /** + * 侧边栏配置 + * @date 2021-11 + */ + public function slide() + { + $configName = 'extraSlide'; + + if ($this->request->isPost()) { + $data = input("post."); + if(isset($data['_token'])) { + unset($data['_token']); + } + ConfigSetting::setConfigByName($configName, $data); + return $this->json(); + + } else { + + $conf = ConfigSetting::getConfigContentsByName($configName); + $this->data['item'] = $conf; + return $this->view(); + } + } +} \ No newline at end of file diff --git a/app/controller/manager/Content.php b/app/controller/manager/Content.php new file mode 100755 index 0000000..82e5750 --- /dev/null +++ b/app/controller/manager/Content.php @@ -0,0 +1,273 @@ +error('无此栏目'); + } + + $order = ['a.top' => 'desc', 'a.sort' => 'desc']; + $list = Article::getList($categoryId, 20, $keyword, $param, -1, $order); + $list = Article::convertRecommendOther([$categoryId], $list, true); + + $this->data['list'] = $list; + $this->data['category'] = $category; + $this->data['keyword'] = $keyword; + $this->data['param'] = $param; + $this->data['attributeList'] = Article::getAttributeList([$categoryId]); + return $this->view(); + } + + //做页面跳转 + public function index() + { + $items = Category::getList(); + if (!empty($items)) { + $items = Category::getCates($items); + } + + if (!empty($items)) { + $first = array_shift($items); + if (isset($first['children'])) { + $childrenFirst = array_shift($first['children']); + $url = url('manager.content/'.$childrenFirst['manager'], ['category_id' => $childrenFirst['id']]); + } else { + $url = url('manager.content/'.$first['manager'], ['category_id' => $first['id']]); + } + if (!empty($url)) { + return $this->redirect($url); + } + } else { + return $this->redirect(url('manager.category/add')); + } + } + + //单页 + public function page() + { + if ($this->request->isAjax()) { + $blocks = input('post.block/a'); //所有文本信息 + $texts = input('post.text/a'); //所有富文本信息 + $codes = input('post.code/a'); //所有代码信息 + $categoryId = input('post.category_id/d'); + $category = Category::getById($categoryId); + unset($_POST['block']); + unset($_POST['text']); + unset($_POST['file']); + unset($_POST['code']); + $imgs = []; //图片信息 + $videos = []; //视频信息 + $groups = []; //组图信息 + $groupIds = input('post.groupIds/a', []); + + $videoGroup = []; //视频组信息 + $videoGroupIds = input('post.videoGroupIds/a', []); + foreach ($_POST as $key => $val) { + if (strpos($key, '_') !== false) { + $keys = explode('_', $key); + if ($keys[1] == 'img') { //图片 + $imgs[$keys[2]] = $val; + } elseif ($keys[1] == 'video') { //视频 + $videos[$keys[2]][$keys[0]] = $val; + } elseif ($keys[1] == 'videos') { //视频组 + $videoGroup[$keys[2]] = $val; + } elseif ($keys[1] == 'group') { //组图 + $groups[$keys[2]] = $val; + } + } + } + $data = []; + if (!empty($blocks)) { + foreach ($blocks as $key => $block) { + $data[] = [ + 'id' => $key, + 'value' => $block + ]; + } + } + if (!empty($texts)) { + foreach ($texts as $key => $text) { + $data[] = [ + 'id' => $key, + 'value' => $text + ]; + } + } + if (!empty($codes)) { + foreach ($codes as $key => $code) { + $data[] = [ + 'id' => $key, + 'value' => $code + ]; + } + } + if (!empty($imgs)) { + foreach ($imgs as $key => $img) { + $data[] = [ + 'id' => $key, + 'value' => $img + ]; + } + } + if (!empty($videos)) { + foreach ($videos as $key => $video) { + $data[] = [ + 'id' => $key, + 'img' => $video['img'], + 'value' => $video['video'] + ]; + } + } + if (!empty($groupIds)) { + foreach ($groupIds as $key => $groupId) { + $group = $groups[$groupId] ?? []; + $data[] = [ + 'id' => $groupId, + 'value' => json_encode($group) + ]; + } + } + if (!empty($videoGroupIds)) { + foreach ($videoGroupIds as $key => $groupId) { + $group = $videoGroup[$groupId] ?? []; + $data[] = [ + 'id' => $groupId, + 'value' => json_encode($group) + ]; + } + } + + $block = new Block; + $block->saveAll($data); + Log::write('content', 'page', "单页编辑,栏目ID:{$category['id']} ,标题:{$category['title']}"); + return $this->json(); + } else { + $categoryId = input('param.category_id'); + $category = Category::getById($categoryId); + /* + * 单页栏目允许父级栏目配置,不自动跳转到第一个子栏目 + $children = Category::getChildrenByParentId($categoryId); + if(!empty($children)){ + $child = Category::getChildrenByParentId($children[0]['id']); + if(empty($child)){ + $category = $children[0]; + }else{ + $category = $child[0]; + } + } + */ + + if (empty($category)) { + return $this->redirect(url('manager.content/index')); + } + $blocks = Block::getByCategoryId($category['id']); + $this->data['categoryId'] = $categoryId; + $this->data['category'] = $category; + $this->data['blocks'] = $blocks; + $this->data['groupId'] = session('auth.groupId'); + $this->data['types'] = Block::getTypes(); + return $this->view(); + } + } + + // 发展历程 + public function history() + { + $categoryId = input('param.category_id/d', 0); + $category = Category::getById($categoryId); + if (empty($category)) { + return $this->redirect(url('manager.content/index')); + } + + $this->data['categoryId'] = $categoryId; + $this->data['category'] = $category; + $this->data['items'] = History::getPaginateList($categoryId, 20, false); + return $this->view(); + } + + // 荣誉资质 + public function honour() + { + $categoryId = input('param.category_id/d', 0); + $category = Category::getById($categoryId); + if (empty($category)) { + return $this->redirect(url('manager.content/index')); + } + + $this->data['categoryId'] = $categoryId; + $this->data['category'] = $category; + $this->data['items'] = Honour::getPaginateList($categoryId, 20, false); + return $this->view(); + } + + // 产品 + public function product() + { + $categoryId = input('param.category_id/d', 0); + $category = Category::getById($categoryId); + if (empty($category)) { + return $this->redirect(url('manager.content/index')); + } + + $this->data['categoryId'] = $categoryId; + $this->data['category'] = $category; + $this->data['items'] = ProductModel::getPaginateList($categoryId, 20, false); + return $this->view(); + } + + // 下载中心 + public function download() + { + $categoryId = input('param.category_id/d', 0); + $category = Category::getById($categoryId); + if (empty($category)) { + return $this->redirect(url('manager.content/index')); + } + + $this->data['categoryId'] = $categoryId; + $this->data['category'] = $category; + $this->data['items'] = DownloadModel::getPaginateList($categoryId, 20, false); + return $this->view(); + } + + // 招聘职位 + public function position() + { + $categoryId = input('param.category_id/d', 0); + $category = Category::getById($categoryId); + if (empty($category)) { + return $this->redirect(url('manager.content/index')); + } + + $this->data['categoryId'] = $categoryId; + $this->data['category'] = $category; + $this->data['items'] = PositionModel::getPaginateList($categoryId, 20, false); + return $this->view(); + } + + // 公示公告 + public function notice() + { + $categoryId = input('category_id/d', 0); + $category = Category::getById($categoryId); + if (empty($category)) { + return $this->redirect(url('manager.content/index')); + } + + $this->data['categoryId'] = $categoryId; + $this->data['category'] = $category; + $this->data['items'] = NoticeModel::getPaginateList($categoryId, 20, false); + return $this->view(); + } +} diff --git a/app/controller/manager/Download.php b/app/controller/manager/Download.php new file mode 100755 index 0000000..9a80f58 --- /dev/null +++ b/app/controller/manager/Download.php @@ -0,0 +1,182 @@ +isPost()) { + $params = input('post.item/a', []); + $file = input('file'); + $img = input('post.img', ''); + $params = arrayHtmlFilter($params); + try { + $fileInfo = \app\model\File::where('src', $file)->order('id', 'desc')->find(); + if (!$fileInfo) { + return $this->json(1, '文件不存在,请重新上传'); + } + $params['size'] = $fileInfo['size']; + $params['mime_type'] = $fileInfo['mime_type']; + $params['suffix'] = $fileInfo['suffix']; + $params['file'] = $fileInfo['src']; + $params['src'] = $img; + + validate(DownloadValidate::class)->check($params); + $newItem = DownloadModel::create($params); + MLog::write('download', 'add', '新增下载中心,ID:'.$newItem->id); + } catch (ValidateException $e) { + return $this->json(1, $e->getError()); + } + return $this->json(); + } else { + $categoryId = input('param.category_id/d', 0); + $category = MCategory::getById($categoryId); + if ($category['img_width'] && $category['img_height']) { + $imgSize = $category['img_width'].'像素 X '.$category['img_height'].'像素'; + } else { + $imgSize = System::getArticleImageSize(); + } + $this->data['imgSize'] = $imgSize; + $this->data['category'] = $category; + return $this->view(); + } + } + + public function edit() + { + $id = input('param.id/d', 0); + $item = DownloadModel::getById($id); + if (count($item) == 0) { + return $this->json(1, '该记录不存在'); + } + if (request()->isPost()) { + $params = input('post.item/a', []); + $file = input('file'); + $img = input('post.img', ''); + $params = arrayHtmlFilter($params); + try { + if (!empty($file)) { + $fileInfo = \app\model\File::where('src', $file)->order('id', 'desc')->find(); + if (!$fileInfo) { + return $this->json(1, '文件不存在,请重新上传'); + } + $params['size'] = $fileInfo['size']; + $params['mime_type'] = $fileInfo['mime_type']; + $params['suffix'] = $fileInfo['suffix']; + $params['file'] = $fileInfo['src']; + $params['src'] = $img; + } + + validate(DownloadValidate::class)->check($params); + DownloadModel::updateById($id, $params); + MLog::write('download', 'edit', '修改下载中心,ID:'.$id); + } catch (ValidateException $e) { + return $this->json(2, $e->getError()); + } + return $this->json(); + } else { + + $category = MCategory::getById($item['category_id']); + if ($category['img_width'] && $category['img_height']) { + $imgSize = $category['img_width'].'像素 X '.$category['img_height'].'像素'; + } else { + $imgSize = System::getArticleImageSize(); + } + $this->data['imgSize'] = $imgSize; + $this->data['item'] = $item; + return $this->view(); + } + } + + public function sort() + { + if (request()->isPost()) { + $id = input('post.id/d'); + $sort = input('post.sort'); + $num = input('post.num/d', 1); + if ($num <= 0) { + $num = 1; + } + if (!in_array($sort, ['up', 'down'], true)) { + return $this->json(2, '参数错误'); + } + $item = DownloadModel::getById($id); + if (empty($item)) { + return $this->json(3, '该记录不存在'); + } + if ($sort == 'up') { + $where = "category_id='{$item['category_id']}' and sort > {$item['sort']}"; + $order = "sort asc"; + } else { + $where = "category_id='{$item['category_id']}' and sort < {$item['sort']}"; + $order = "sort desc"; + } + $forSortItems = DownloadModel::getListByWhereAndOrder($where, $order, $num); + if (!empty($forSortItems)) { + $updateData = []; + $forSortCount = count($forSortItems); + for ($i = 0; $i < $forSortCount; $i++) { + if ($i == 0) { + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $item['sort'] + ]; + } else { + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + } + } + $updateData[] = [ + 'id' => $item['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + if (!empty($updateData)) { + $model = new DownloadModel(); + $model->saveAll($updateData); + $sortStr = $sort == 'up' ? '上移' : '下调'; + MLog::write('download', 'sort', "下载中心排序,ID:{$id} ,{$sortStr}了{$num}位"); + return $this->json(); + } + } + return $this->json(4, '无须调整排序!'); + } + return $this->json(1, '无此操作'); + } + + // 删除 + public function del() + { + if (request()->isPost()) { + $downloadId = input('param.id/d', 0); + $item = DownloadModel::getById($downloadId); + if (count($item) == 0) { + return $this->json(2, '该记录不存在'); + } + Db::startTrans(); + try { + @unlink(public_path().$item['file'] ?? ''); + DownloadModel::destroy($downloadId); + MLog::write('download', 'del', '删除历程,ID:'.$downloadId); + Db::commit(); + } catch (\Exception $e) { + Db::rollback(); + return $this->json(3, '删除失败,'.$e->getMessage()); + } + return $this->json(); + } + return $this->json(1, '无此操作'); + } +} \ No newline at end of file diff --git a/app/controller/manager/Error.php b/app/controller/manager/Error.php new file mode 100755 index 0000000..47043fb --- /dev/null +++ b/app/controller/manager/Error.php @@ -0,0 +1,33 @@ +data['seoTitle'] = '404'; + return view('error/404')->assign($this->data); + } + + public function jump() + { + $param = request()->param(); + return view()->assign($param); + } + + // 404 + public function notFind() + { + $this->data['seoTitle'] = '404'; + return view('error/404')->assign($this->data); + } + + // 500 + public function serviceFail() + { + $this->data['seoTitle'] = '500'; + return view('error/500')->assign($this->data); + } +} diff --git a/app/controller/manager/File.php b/app/controller/manager/File.php new file mode 100755 index 0000000..952454e --- /dev/null +++ b/app/controller/manager/File.php @@ -0,0 +1,146 @@ +request->isPost()) { + $paths = input('post.paths/a'); + if(!empty($paths)){ + foreach($paths as $path){ + Tool::delFile($path); + } + Log::write('file', 'delPath', '批量删除了磁盘文件,涉及到的文件路径为:' . implode(',', $paths)); + return $this->json(); + } + return $this->json(2, '待删除文件列表为空'); + } + return $this->json(1, '非法请求!'); + } + //删除文件记录 + public function del() + { + if ($this->request->isPost()) { + $ids = input('post.ids/a'); + if(empty($ids) || !is_array($ids)) { + return $this->json(2, '参数错误,请核对之后再操作!'); + } + $items = MFile::getListByIds($ids); + if(!empty($items)){ + $delIds = []; + foreach($items as $item){ + $delIds[] = $item['id']; + if($item['type'] == MFile::IMG){ + Tool::delFile($item['src'], 1); + }else{ + Tool::delFile($item['src']); + } + } + MFile::destroy($delIds); + Log::write('file', 'del', '批量删除了文件,涉及到的文件ID为:' . implode(',', $delIds)); + return $this->json(); + }else{ + return $this->json(3, '待删除文件列表为空'); + } + } + return $this->json(1, '非法请求!'); + } + /** + * 未使用文件列表, + * 1. 遍历数据库中使用的图片视频及文件路径 + * 2. 遍历上传目录中的文件 + * 3. 数据对比,找出存在目录中的文件&不在数据库中的文件 + * 4. 页面上显示查找出来的文件 + */ + public function unuse() + { + $filesInUse = $this->getAllFilesInUse(); //数据库中在使用的文件 + $rootPath = app()->getRootPath(); + $uploadPath = $rootPath . 'storage'; + $uploadedFiles = getAllFilesByPath($uploadPath, $rootPath); //磁盘上上传的文件 + $files = MFile::getAll(); + $dbUploadedFiles = []; //数据库中上传的文件 + foreach($files as $file){ + $src = trim($file['src']); + if(!empty($src)){ + $key = getKeyByPath($src); + $dbUploadedFiles[$key] = $file; + } + } + + $uploadedNotInUseFiles = array_diff_key($uploadedFiles, $filesInUse); //磁盘上上传未使用的文件 + $dbUploadedNotInUseFiles = array_diff_key($dbUploadedFiles, $filesInUse); //数据库中上传未使用的文件 + $bothNotInUseFiles = array_intersect_key($uploadedNotInUseFiles, $dbUploadedNotInUseFiles); //磁盘和数据库中,两边都未使用 + $this->data['uploadedNotInUseFiles'] = $uploadedNotInUseFiles; + $this->data['dbUploadedNotInUseFiles'] = $dbUploadedNotInUseFiles; + $this->data['bothNotInUseFilesKey'] = array_keys($bothNotInUseFiles); + return $this->view(); + } + + //获取所有在使用的文件 + private function getAllFilesInUse() + { + $files = []; + $blockFiles = Block::getFilesInUse(); + if(!empty($blockFiles)){ + $files = array_merge($files, $blockFiles); + } + $slideFiles = Slide::getFilesInUse(); + if(!empty($slideFiles)){ + $files = array_merge($files, $slideFiles); + } + $linkFiles = Link::getFilesInUse(); + if(!empty($linkFiles)){ + $files = array_merge($files, $linkFiles); + } + $linkProductFiles = LinkProduct::getFilesInUse(); + if(!empty($linkProductFiles)){ + $files = array_merge($files, $linkProductFiles); + } + $categoryFiles = Category::getFilesInUse(); + if(!empty($categoryFiles)){ + $files = array_merge($files, $categoryFiles); + } + $articleFiles = Article::getFilesInUse(); + if(!empty($articleFiles)){ + $files = array_merge($files, $articleFiles); + } + return $files; + } + + + //ajax获取文件列表 + public function ajaxList() + { + if($this->request->isAjax()){ + $page = input('param.page/d', 1); + $size = input('param.size/d', 20); + if(!is_integer($page) || $page < 1){ + $page = 1; + } + if (!is_integer($size) || $size < 1) { + $size = 20; + } + $type = input('param.type', ''); + if(!in_array($type, array_keys(MFile::getTypes()))){ + $type = ''; + } + $items = MFile::getList($type, $page, $size); + return $this->json(0, 'ok', $items); + } + return $this->json(1, '无此操作'); + } + //列表 + public function index() + { + $items = MFile::getListPage(); + $this->data['items'] = $items; + $this->data['types'] = MFile::getTypes(); + return $this->view(); + } +} diff --git a/app/controller/manager/Group.php b/app/controller/manager/Group.php new file mode 100755 index 0000000..1ff97d6 --- /dev/null +++ b/app/controller/manager/Group.php @@ -0,0 +1,146 @@ +request->isPost()) { + $id = input('post.id/d'); + if (is_numeric($id) === true && $id > 0) { + $item = AuthGroup::getById($id); + if(!empty($item)){ + AuthGroup::destroy($id); + Log::write('group', 'del', '删除角色,ID:' . $id . ',名称:' . $item['title']); + return $this->json(); + } + } + return $this->json(2, '传入参数错误,请核对之后再操作!'); + } + return $this->json(1, '非法请求!'); + } + /** + * 角色、分组权限分配 + */ + public function rule() + { + if($this->request->isPost()){ + $rules = input('post.rules/a'); + $groupId = input('post.group_id/d'); + if (is_array($rules) && (is_numeric($groupId) === true && $groupId > 0)) { + $group = AuthGroup::getById($groupId); + if(empty($group)){ + return $this->json(2, '无此角色信息,请核对之后再操作!'); + } + AuthGroup::updateRules($groupId, $rules); + // 重置该角色对应的权限缓存 + AuthGroup::resetGroupRulesCache($groupId); + Log::write('group', 'rule', '角色分配权限,ID:' . $groupId . ',名称:' . $group['title']); + return $this->json(); + }else{ + return $this->json(3, '传入参数错误,请核对之后再操作!'); + } + } else { + $groupId = input('param.group_id/d'); + $group = AuthGroup::getById($groupId); + if(!empty($group)){ + $rules = AuthRule::getListTree(); + $this->data['group_id'] = $groupId; + $this->data['group'] = $group; + $this->data['rules'] = $rules; + return $this->view(); + }else{ + return $this->json(1, '无此角色信息,请核对之后再操作!'); + } + } + } + /** + * 角色、分组添加 + * @param int $status 1:正常;0:禁止 + */ + public function add() + { + if($this->request->isPost()){ + $title = trim(input('post.title')); + $status = input('post.status/d'); + if (!empty($title) && (is_numeric($status) === true) && ($status == 1 || $status == 0)) { + $item = [ + 'title' => $title, + 'status' => $status + ]; + try { + validate(VAuthGroup::class)->check($item); + $group = AuthGroup::create($item); + Log::write('group', 'add', "角色新增,ID:{$group->id} ,标题:{$group->title}"); + return $this->json(); + } catch (ValidateException $e) { + return $this->json(2, $e->getError()); + } + } + return $this->json(1, '传入参数错误,请核对之后再操作!'); + }else{ + return $this->view(); + } + } + + /** + * 角色、分组编辑 + */ + public function edit() + { + if($this->request->isPost()){ + $title = trim(input('post.title')); + $status = input('post.status/d'); + $id = input('post.id/d'); + if (!empty($title) && ($status == 1 || $status == 0) && (is_numeric($id) === true && $id > 0)) { + $item = [ + 'title' => $title, + 'status' => $status + ]; + try { + validate(VAuthGroup::class)->check($item); + AuthGroup::updateById($id, $item); + Log::write('group', 'edit', "角色编辑,ID:{$id} ,标题:{$item['title']}"); + return $this->json(); + } catch (ValidateException $e) { + return $this->json(2, $e->getError()); + } + } + return $this->json(1, '传入参数错误,请核对之后再操作!'); + }else{ + $id = input('param.id/d'); + if (is_numeric($id) === true && $id > 0) { + $item = AuthGroup::getById($id); + $this->data['item'] = $item; + return $this->view(); + } + return $this->json(1, '传入参数错误,请核对之后再操作!'); + } + } + + /** + * 所有角色分组信息 + * @return void + */ + public function index() + { + $auth = session('auth'); + if ($auth['groupId'] == 1) { + $list = AuthGroup::select()->toArray(); + } else { + $list = AuthGroup::where('id', '<>', 1)->select()->toArray(); + } + $this->data['list'] = $list; + return $this->view(); + } +} diff --git a/app/controller/manager/History.php b/app/controller/manager/History.php new file mode 100755 index 0000000..8261a8f --- /dev/null +++ b/app/controller/manager/History.php @@ -0,0 +1,346 @@ +isPost()) { + $params = input('post.item/a', []); + $params = arrayHtmlFilter($params); + try { + validate(VHistory::class)->check($params); + $data = [ + 'title' => $params['title'], + 'visible' => $params['visible'], + 'category_id' => $params['category_id'], + 'event' => $params['event'], + ]; + $newItem = MHistory::create($data); + MLog::write('history', 'add', '新增发展历程,ID:'.$newItem->id); + } catch (ValidateException $e) { + return $this->json(1, $e->getError()); + } + return $this->json(); + } else { + $categoryId = input('param.category_id/d', 0); + $category = MCategory::getById($categoryId); + $this->data['category'] = $category; + return $this->view(); + } + } + + public function edit() + { + $id = input('param.id/d', 0); + $item = MHistory::getById($id); + if (count($item) == 0) { + return $this->json(1, '该历程信息不存在'); + } + if (request()->isPost()) { + $params = input('post.item/a', []); + $params = arrayHtmlFilter($params); + try { + validate(VHistory::class)->check($params); + $data = [ + 'title' => $params['title'], + 'visible' => $params['visible'], + 'event' => $params['event'], + ]; + MHistory::updateById($id, $data); + MLog::write('history', 'edit', '修改发展历程,ID:'.$id); + } catch (ValidateException $e) { + return $this->json(2, $e->getError()); + } + return $this->json(); + } else { + $this->data['item'] = $item; + return $this->view(); + } + } + + public function sort() + { + if (request()->isPost()) { + $id = input('post.id/d'); + $sort = input('post.sort'); + $num = input('post.num/d', 1); + if ($num <= 0) { + $num = 1; + } + if (!in_array($sort, ['up', 'down'], true)) { + return $this->json(2, '参数错误'); + } + $item = MHistory::getById($id); + if (empty($item)) { + return $this->json(3, '该历程信息不存在'); + } + if ($sort == 'up') { + $where = "category_id='{$item['category_id']}' and sort < {$item['sort']}"; + $order = "sort desc"; + } else { + $where = "category_id='{$item['category_id']}' and sort > {$item['sort']}"; + $order = "sort asc"; + } + $forSortItems = MHistory::getListByWhereAndOrder($where, $order, $num); + if (!empty($forSortItems)) { + $updateData = []; + $forSortCount = count($forSortItems); + for ($i = 0; $i < $forSortCount; $i++) { + if ($i == 0) { + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $item['sort'] + ]; + } else { + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + } + } + $updateData[] = [ + 'id' => $item['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + if (!empty($updateData)) { + $model = new MHistory(); + $model->saveAll($updateData); + $sortStr = $sort == 'up' ? '上移' : '下调'; + MLog::write('history', 'sort', "发展历程排序,ID:{$id} ,{$sortStr}了{$num}位"); + return $this->json(); + } + } + return $this->json(4, '无须调整排序!'); + } + return $this->json(1, '无此操作'); + } + + // 删除历程和历程相关的事例 + public function del() + { + if (request()->isPost()) { + $historyId = input('param.id/d', 0); + $item = MHistory::getById($historyId); + if (count($item) == 0) { + return $this->json(2, '该历程信息不存在'); + } + Db::startTrans(); + try { + MHistory::destroy($historyId); + $hasInfo = MHistoryInfo::countByHistoryId($historyId); + if ($hasInfo > 0) { + MHistoryInfo::delByHistoryId($historyId); + } + MLog::write('history', 'del', '删除历程,ID:'.$historyId); + Db::commit(); + } catch (\Exception $e) { + Db::rollback(); + return $this->json(3, '删除失败,'.$e->getMessage()); + } + return $this->json(); + } + return $this->json(1, '无此操作'); + } + + + public function info() + { + $historyId = input('param.history_id/d', 0); + $history = MHistory::getById($historyId); + $infoItems = []; + $categoryId = $history['category_id'] ?? 0; + if (count($history) > 0) { + $infoItems = MHistoryInfo::getByHistoryId($historyId); + } + $this->data['history'] = $history; + $this->data['categoryId'] = $categoryId; + $this->data['items'] = $infoItems; + return $this->view(); + } + + // 新增发展历程详情 + public function addInfo() + { + $historyId = input('param.history_id/d', 0); + $history = MHistory::getById($historyId); + if (count($history) == 0) { + return $this->json(1, '该历程信息不存在'); + } + if (request()->isPost()) { + $params = input('post.item/a', []); + $params = arrayHtmlFilter($params); + $imgs = input('post.img/a'); + if (!empty($imgs) && is_array($imgs)) { + $imgs = json_encode($imgs); + } else { + $imgs = ''; + } + try { + validate(VHistoryInfo::class)->check($params); + $data = [ + 'title' => $params['title'], + 'visible' => $params['visible'], + 'history_id' => $historyId, + 'imgs' => $imgs, + ]; + $newItem = MHistoryInfo::create($data); + MLog::write('history', 'addInfo', '新增发展历程事例,ID:'.$newItem->id); + } catch (ValidateException $e) { + return $this->json(2, $e->getError()); + } + return $this->json(); + } else { + $imgSize = ''; + $category = MCategory::getById($history['category_id']); + if (count($category) > 0 && $category['img_width'] && $category['img_height']) { + $imgSize = $category['img_width'].'像素 X '.$category['img_height'].'像素'; + } + + $this->data['historyId'] = $historyId; + $this->data['history'] = $history; + $this->data['imgSize'] = $imgSize; + return $this->view(); + } + } + + // 编辑发展历程详情 + public function editInfo() + { + $id = input('param.id/d', 0); + $item = MHistoryInfo::getById($id); + if (count($item) == 0) { + return $this->json(1, '该历程事例信息不存在'); + } + + if (request()->isPost()) { + $params = input('post.item/a', []); + $params = arrayHtmlFilter($params); + $imgs = input('post.img/a'); + if (!empty($imgs) && is_array($imgs)) { + $imgs = json_encode($imgs); + } else { + $imgs = ''; + } + try { + validate(VHistoryInfo::class)->check($params); + $data = [ + 'title' => $params['title'], + 'visible' => $params['visible'], + 'imgs' => $imgs, + ]; + MHistoryInfo::updateById($id, $data); + MLog::write('history', 'editInfo', '修改发展历程事例,ID:'.$id); + } catch (ValidateException $e) { + return $this->json(2, $e->getError()); + } + return $this->json(); + } else { + $history = MHistory::getById($item['history_id']); + $imgSize = ''; + if (count($history) > 0) { + $category = MCategory::getById($history['category_id']); + if (count($category) > 0 && $category['img_width'] && $category['img_height']) { + $imgSize = $category['img_width'].'像素 X '.$category['img_height'].'像素'; + } + } + + $this->data['item'] = $item; + $this->data['imgSize'] = $imgSize; + return $this->view(); + } + } + + public function sortInfo() + { + if (request()->isPost()) { + $id = input('post.id/d'); + $sort = input('post.sort'); + $num = input('post.num/d', 1); + if ($num <= 0) { + $num = 1; + } + if (!in_array($sort, ['up', 'down'], true)) { + return $this->json(2, '参数错误'); + } + $item = MHistoryInfo::getById($id); + if (empty($item)) { + return $this->json(3, '该历程事例信息不存在'); + } + if ($sort == 'up') { + $where = "history_id='{$item['history_id']}' and sort < {$item['sort']}"; + $order = "sort desc"; + } else { + $where = "history_id='{$item['history_id']}' and sort > {$item['sort']}"; + $order = "sort asc"; + } + $forSortItems = MHistoryInfo::getListByWhereAndOrder($where, $order, $num); + if (!empty($forSortItems)) { + $updateData = []; + $forSortCount = count($forSortItems); + for ($i = 0; $i < $forSortCount; $i++) { + if ($i == 0) { + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $item['sort'] + ]; + } else { + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + } + } + $updateData[] = [ + 'id' => $item['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + if (!empty($updateData)) { + $model = new MHistoryInfo(); + $model->saveAll($updateData); + $sortStr = $sort == 'up' ? '上移' : '下调'; + MLog::write('history', 'sortInfo', "发展历程事例排序,ID:{$id} ,{$sortStr}了{$num}位"); + return $this->json(); + } + } + return $this->json(4, '无须调整排序!'); + } + return $this->json(1, '无此操作'); + } + + public function delInfo() + { + if (request()->isPost()) { + $infoIds = []; + $ids = input('post.ids', []); + $id = input('post.id', 0); + if (!empty($ids)) { + if (is_array($ids)) { + $infoIds = $ids; + } else { + $infoIds = explode(',', $ids); + } + } elseif ($id > 0) { + $infoIds[] = $id; + } + if (count($infoIds) > 0) { + MHistoryInfo::destroy($infoIds); + MLog::write('history', 'delInfo', '删除历程事例,IDs:'.implode(',', $infoIds)); + return $this->json(); + } + return $this->json(2, '参数错误'); + } + return $this->json(1, '无此操作'); + } +} \ No newline at end of file diff --git a/app/controller/manager/Honour.php b/app/controller/manager/Honour.php new file mode 100755 index 0000000..bca4ed2 --- /dev/null +++ b/app/controller/manager/Honour.php @@ -0,0 +1,164 @@ +isPost()) { + $params = input('post.item/a', []); + $params = arrayHtmlFilter($params); + $params['image'] = input('img'); + try { + validate(HonourValidate::class)->check($params); + $newItem = MHonour::create($params); + MLog::write('honour', 'add', '新增荣誉资质,ID:'.$newItem->id); + } catch (ValidateException $e) { + return $this->json(1, $e->getError()); + } + return $this->json(); + } else { + $categoryId = input('param.category_id/d', 0); + $category = MCategory::getById($categoryId); + + if (count($category) > 0 && $category['img_width'] && $category['img_height']) { + $imgSize = $category['img_width'].'像素 X '.$category['img_height'].'像素'; + } else { + $imgSize = System::getArticleImageSize(); + } + + $this->data['imgSize'] = $imgSize; + $this->data['category'] = $category; + return $this->view(); + } + } + + /** + * @return Json|View + */ + public function edit() + { + $id = input('param.id/d', 0); + $item = MHonour::getById($id); + if (count($item) == 0) { + return $this->json(1, '该荣誉资质不存在'); + } + if (request()->isPost()) { + $params = input('post.item/a', []); + $params = arrayHtmlFilter($params); + $params['image'] = input('img'); + try { + validate(HonourValidate::class)->check($params); + MHonour::updateById($id, $params); + MLog::write('honour', 'edit', '修改荣誉资质,ID:'.$id); + } catch (ValidateException $e) { + return $this->json(2, $e->getError()); + } + return $this->json(); + } else { + $category = MCategory::getById($item['category_id']); + + if (count($category) > 0 && $category['img_width'] && $category['img_height']) { + $imgSize = $category['img_width'].'像素 X '.$category['img_height'].'像素'; + } else { + $imgSize = System::getArticleImageSize(); + } + + $this->data['imgSize'] = $imgSize; + $this->data['item'] = $item; + return $this->view(); + } + } + + public function sort() + { + if (request()->isPost()) { + $id = input('post.id/d'); + $sort = input('post.sort'); + $num = input('post.num/d', 1); + if ($num <= 0) { + $num = 1; + } + if (!in_array($sort, ['up', 'down'], true)) { + return $this->json(2, '参数错误'); + } + $item = MHonour::getById($id); + if (empty($item)) { + return $this->json(3, '该荣誉资质不存在'); + } + if ($sort == 'up') { + $where = "category_id='{$item['category_id']}' and sort < {$item['sort']}"; + $order = "sort desc"; + } else { + $where = "category_id='{$item['category_id']}' and sort > {$item['sort']}"; + $order = "sort asc"; + } + $forSortItems = MHonour::getListByWhereAndOrder($where, $order, $num); + if (!empty($forSortItems)) { + $updateData = []; + $forSortCount = count($forSortItems); + for ($i = 0; $i < $forSortCount; $i++) { + if ($i == 0) { + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $item['sort'] + ]; + } else { + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + } + } + $updateData[] = [ + 'id' => $item['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + if (!empty($updateData)) { + $model = new MHonour(); + $model->saveAll($updateData); + $sortStr = $sort == 'up' ? '上移' : '下调'; + MLog::write('history', 'sort', "荣誉资质排序,ID:{$id} ,{$sortStr}了{$num}位"); + return $this->json(); + } + } + return $this->json(4, '无须调整排序!'); + } + return $this->json(1, '无此操作'); + } + + // 删除历程和历程相关的事例 + public function del() + { + if (request()->isPost()) { + $historyId = input('param.id/d', 0); + $item = MHonour::getById($historyId); + if (count($item) == 0) { + return $this->json(2, '该荣誉资质不存在'); + } + try { + MHonour::destroy($historyId); + MLog::write('honour', 'del', '删除荣誉资质,ID:'.$historyId); + } catch (\Exception $e) { + return $this->json(3, '删除失败,'.$e->getMessage()); + } + return $this->json(); + } + return $this->json(1, '无此操作'); + } +} \ No newline at end of file diff --git a/app/controller/manager/Index.php b/app/controller/manager/Index.php new file mode 100755 index 0000000..612b1a0 --- /dev/null +++ b/app/controller/manager/Index.php @@ -0,0 +1,42 @@ +', strtotime(date('Y-m-d 00:00:00'))]; + $today[] = ['create_time', '<', strtotime(date('Y-m-d 23:59:59'))]; + + // 全部 + $data['total'] = VisitLogoModel::field('id')->count(); + // 今日全部 + $data['todayTotal'] = VisitLogoModel::where($today)->field('id')->count(); + + // 百度全部 + $data['totalBaidu'] = VisitLogoModel::where('referer', 'like', '%baidu.com%')->field('id')->count(); + // 360全部 + $data['total360'] = VisitLogoModel::where('referer', 'like', '%so.com%')->field('id')->count(); + + // 百度今日 + $data['todayBaidu'] = VisitLogoModel::where($today)->where('referer', 'like', '%baidu.com%')->field('id')->count(); + // 360今日 + $data['today360'] = VisitLogoModel::where($today)->where('referer', 'like', '%so.com%')->field('id')->count(); + + // 今日留言 + $data['todayMessage'] = \app\model\Message::where($today)->count(); + // 总留言 + $data['totalMessage'] = \app\model\Message::count(); + + $this->data['data'] = $data; + + return $this->view(); + } +} diff --git a/app/controller/manager/Link.php b/app/controller/manager/Link.php new file mode 100755 index 0000000..6d1fbb6 --- /dev/null +++ b/app/controller/manager/Link.php @@ -0,0 +1,177 @@ +request->isPost()) { + $ids = input('post.ids/a'); + if(empty($ids) || !is_array($ids)) { + return $this->json(2, '参数错误,请核对之后再操作!'); + } + $items = MLink::getListByIds($ids); + if(!empty($items)){ + $delIds = []; + foreach($items as $item){ + $delIds[] = $item['id']; + } + MLink::destroy($delIds); + Log::write('link', 'betchDel', '批量删除了友情链接,涉及到的ID为:' . implode(',', $delIds)); + return $this->json(); + }else{ + return $this->json(3, '待删除友情链接为空'); + } + } + return $this->json(1, '非法请求!'); + } + //删除 + public function del() + { + if ($this->request->isPost()) { + $id = input('post.id/d'); + if(is_numeric($id) && $id > 0) { + $item = MLink::getById($id); + if(!empty($item)){ + MLink::destroy($id); + Log::write('link', 'del', '删除友情链接,ID:' . $id . ',标题:' . $item['title']); + return $this->json(); + } + return $this->json(3, '待删除友情链接不存在'); + } + return $this->json(2, '参数错误,请核对之后再操作!'); + } + return $this->json(1, '非法请求!'); + } + + //排序 + public function sort() + { + if($this->request->isPost()){ + $id = input('post.id/d'); + $sort = input('post.sort'); + $num = input('post.num/d', 1); + if($num <= 0){ + $num = 1; + } + if(!in_array($sort, ['up', 'down'], true)){ + return $this->json(2, '参数错误'); + } + $item = MLink::getById($id); + if(empty($item)){ + return $this->json(3, '该友情链接信息不存在!'); + } + if($sort == 'up'){ + $where = "sort < {$item['sort']}"; + $order = "sort desc"; + }else{ + $where = "sort > {$item['sort']}"; + $order = "sort asc"; + } + $forSortItems = MLink::getListByWhereAndOrder($where, $order, $num); + if(!empty($forSortItems)){ + $updateData = []; + $forSortCount = count($forSortItems); + for($i = 0; $i < $forSortCount; $i++){ + if($i == 0){ + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $item['sort'] + ]; + }else{ + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + } + } + $updateData[] = [ + 'id' => $item['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + if(!empty($updateData)){ + $model = new MLink(); + $model->saveAll($updateData); + $sortStr = $sort == 'up' ? '上移' : '下调'; + Log::write('link', 'sort', "友情链接排序,ID:{$id} ,标题:{$item['title']},{$sortStr}了{$num}位"); + return $this->json(); + } + } + return $this->json(4, '无须调整排序!'); + } + return $this->json(1, '非法请求!'); + } + + //编辑 + public function edit() + { + if($this->request->isPost()){ + $item = input('post.item/a'); + $id = input('post.id/d'); + $img = input('post.img'); + if(is_numeric($id) && $id > 0) { + $link = MLink::getById($id); + if(empty($link)) { + return $this->json(2, '该友情链接信息不存在!'); + } + if(!empty($img)){ + $item['src'] = $img; + } + try { + validate(VLink::class)->check($item); + MLink::updateById($id, $item); + Log::write('link', 'edit', "友情链接编辑,ID:{$id} ,标题:{$item['title']}"); + return $this->json(); + } catch (ValidateException $e) { + return $this->json(3, $e->getError()); + } + } + return $this->json(1, '参数错误,请核对之后再操作!'); + } else { + $id = input('param.id/d'); + $item = MLink::getById($id); + $imgSize = System::getLinkImageSize(); + + $this->data['item'] = $item; + $this->data['img_size'] = $imgSize; + return $this->view(); + } + } + + //添加 + public function add() + { + if($this->request->isPost()){ + $item = input('post.item/a'); + $img = input('post.img'); + + if(!empty($img)){ + $item['src'] = $img; + } + try { + validate(VLink::class)->check($item); + $link = MLink::create($item); + Log::write('link', 'add', "友情链接新增,ID:{$link->id} ,标题:{$item['title']}"); + return $this->json(); + } catch (ValidateException $e) { + return $this->json(2, $e->getError()); + } + } else { + $imgSize = System::getLinkImageSize(); + $this->data['img_size'] = $imgSize; + return $this->view(); + } + } + + public function index() + { + $items = MLink::getListWithPaginate([], 50); + $this->data['items'] = $items; + return $this->view(); + } +} diff --git a/app/controller/manager/LinkProduct.php b/app/controller/manager/LinkProduct.php new file mode 100755 index 0000000..b1e6a74 --- /dev/null +++ b/app/controller/manager/LinkProduct.php @@ -0,0 +1,179 @@ +request->isPost()) { + $ids = input('post.ids/a'); + if(empty($ids) || !is_array($ids)) { + return $this->json(2, '参数错误,请核对之后再操作!'); + } + $items = MLinkProduct::getListByIds($ids); + if(!empty($items)){ + $delIds = []; + foreach($items as $item){ + $delIds[] = $item['id']; + } + MLinkProduct::destroy($delIds); + Log::write('LinkProduct', 'betchDel', '批量删除了合作伙伴,涉及到的ID为:' . implode(',', $delIds)); + return $this->json(); + }else{ + return $this->json(3, '待删除合作伙伴为空'); + } + } + return $this->json(1, '非法请求!'); + } + //删除 + public function del() + { + if ($this->request->isPost()) { + $id = input('post.id/d'); + if(is_numeric($id) && $id > 0) { + $item = MLinkProduct::getById($id); + if(!empty($item)){ + MLinkProduct::destroy($id); + Log::write('LinkProduct', 'del', '删除合作伙伴,ID:' . $id . ',标题:' . $item['title']); + return $this->json(); + } + return $this->json(3, '待删除合作伙伴不存在'); + } + return $this->json(2, '参数错误,请核对之后再操作!'); + } + return $this->json(1, '非法请求!'); + } + + //排序 (数字小的在前) + public function sort() + { + if($this->request->isPost()){ + $id = input('post.id/d'); + $sort = input('post.sort'); + $num = input('post.num/d', 1); + if($num <= 0){ + $num = 1; + } + if(!in_array($sort, ['up', 'down'], true)){ + return $this->json(2, '参数错误'); + } + $item = MLinkProduct::getById($id); + if(empty($item)){ + return $this->json(3, '该合作伙伴信息不存在!'); + } + if($sort == 'up'){ + $where = "sort < {$item['sort']}"; + $order = "sort desc"; + }else{ + $where = "sort > {$item['sort']}"; + $order = "sort asc"; + } + $forSortItems = MLinkProduct::getListByWhereAndOrder($where, $order, $num); + if(!empty($forSortItems)){ + $updateData = []; + $forSortCount = count($forSortItems); + for($i = 0; $i < $forSortCount; $i++){ + if($i == 0){ + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $item['sort'] + ]; + }else{ + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + } + } + $updateData[] = [ + 'id' => $item['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + if(!empty($updateData)){ + $model = new MLinkProduct(); + $model->saveAll($updateData); + $sortStr = $sort == 'up' ? '上移' : '下调'; + Log::write('LinkProduct', 'sort', "合作伙伴排序,ID:{$id} ,标题:{$item['title']},{$sortStr}了{$num}位"); + return $this->json(); + } + } + return $this->json(4, '无须调整排序!'); + } + return $this->json(1, '非法请求!'); + } + + //编辑 + public function edit() + { + if($this->request->isPost()){ + $item = input('post.item/a'); + $id = input('post.id/d'); + $img = input('post.img'); + if(is_numeric($id) && $id > 0) { + $link = MLinkProduct::getById($id); + if(empty($link)) { + return $this->json(2, '该合作伙伴信息不存在!'); + } + if(!empty($img)){ + $item['src'] = $img; + } + try { + validate(VLinkProduct::class)->check($item); + MLinkProduct::updateById($id, $item); + Log::write('LinkProduct', 'edit', "合作伙伴编辑,ID:{$id} ,标题:{$item['title']}"); + return $this->json(); + } catch (ValidateException $e) { + return $this->json(3, $e->getError()); + } + } + return $this->json(1, '参数错误,请核对之后再操作!'); + } else { + $id = input('param.id/d'); + $item = MLinkProduct::getById($id); + + $this->data['item'] = $item; + $this->data['img_size'] = $this->imgSize; + return $this->view(); + } + } + + //添加 + public function add() + { + if($this->request->isPost()){ + $item = input('post.item/a'); + $img = input('post.img'); + + if(!empty($img)){ + $item['src'] = $img; + } + try { + validate(VLinkProduct::class)->check($item); + $link = MLinkProduct::create($item); + Log::write('LinkProduct', 'add', "合作伙伴新增,ID:{$link->id} ,标题:{$item['title']}"); + return $this->json(); + } catch (ValidateException $e) { + return $this->json(2, $e->getError()); + } + } else { + + $this->data['img_size'] = $this->imgSize; + return $this->view(); + } + } + + public function index() + { + $items = MLinkProduct::getList(); + $this->data['items'] = $items; + return $this->view(); + } +} diff --git a/app/controller/manager/Login.php b/app/controller/manager/Login.php new file mode 100755 index 0000000..a4aded8 --- /dev/null +++ b/app/controller/manager/Login.php @@ -0,0 +1,75 @@ +isPost()){ + $username = trim(input('param.username')); + $password = trim(input('param.password')); + $loginUrl = url('manager.login/index'); + if(empty($username) || empty($password)){ + session('loginError','用户名和密码不能为空'); + return $this->redirect($loginUrl); + } + + $member = Member::getByUserName($username); + if(empty($member)){ + session('loginError','用户名错误'); + return $this->redirect($loginUrl); + } + if($member['password'] != md5($password)){ + session('loginError','用户密码错误'); + return $this->redirect($loginUrl); + + } + $rulesList = AuthRule::userRolesList($member['group_id']); + $rulesIdStr = ''; + if (!empty($rulesList)) { + $rulesId = $rulesList['allRulesId']; + $rulesIdStr = implode(',', $rulesId); + } + + $authSession = [ + 'userId' => $member['id'], + 'userName' => $member['username'], + 'groupId' => $member['group_id'], + 'rules' => $rulesIdStr, + 'cates' => $member['cates'] + ]; + + //记录最后登陆时间 + $ip = request()->ip(); + $time = time(); + Member::updateById($member['id'], [ + 'login_time' => $time, + 'login_ip' => $ip + ]); + LoginLog::create([ + 'member_id' => $member['id'], + 'name' => $member['username'], + 'ip' => $ip, + 'create_time' => $time + ]); + session('auth', $authSession); + return redirect(url('manager.index/index')); + } + + $viewData = []; + if(session('?loginError')) { + $viewData['error'] = session('loginError'); + } + session('loginError', null); + return view()->assign($viewData); + } +} diff --git a/app/controller/manager/Logout.php b/app/controller/manager/Logout.php new file mode 100755 index 0000000..2efd2b9 --- /dev/null +++ b/app/controller/manager/Logout.php @@ -0,0 +1,13 @@ +request->isPost()) { + $id = input('post.id/d'); + if (is_numeric($id) === true && $id > 0) { + $item = MMember::getByID($id); + if(!empty($item)){ + MMember::destroy($id); + Log::write('member', 'del', "管理员删除,ID:{$id}, 管理员:{$item['username']}"); + return $this->json(); + } + } + return $this->json(2, '参数错误,请核对之后再操作!'); + } + return $this->json(1, '非法请求!'); + } + + /** + * 修改管理用户信息 + * 由于try语法中抛出的异常类型与$this->json()抛出的异常类型不一致,因此需要利用$errorMsg 来判断返回情况 + */ + public function edit() + { + if($this->request->isPost()){ + $id = input('post.id/d'); + $username = trim(input('post.username')); + $password = trim(input('post.password')); + $groupId = input('post.group_id/d'); + if ((is_numeric($id) === true && $id > 0) && ((is_numeric($groupId) === true && $groupId > 0) && !empty($username))) { + $member = MMember::getByUserName($username); + if(!empty($member) && $member['id'] != $id){ + return $this->json(2, '该用户名已被使用!'); + } + $errorMsg = ''; + Db::startTrans(); + try { + $member = MMember::getById($id); + $item = [ + 'username' => $username, + 'group_id' => $groupId + ]; + //角色权限重新赋值 + $group = AuthGroup::getById($groupId); + $item['rules'] = $group['rules']; + + if(!empty($password)){ + $item['password'] = md5($password); + } + MMember::updateById($id, $item); + Log::write('member', 'edit', "管理员编辑,ID:{$id}, 管理员:{$item['username']}"); + Db::commit(); + } catch (Exception $e) { + Db::rollback(); + $errorMsg = '用户信息修改失败!'.$e->getMessage(); + } + if (empty($errorMsg)) { + return $this->json(); + } + return $this->json(3, $errorMsg); + } + return $this->json(1, '参数错误,请核对之后再操作!'); + }else{ + $id = input('param.id/d'); + if (is_numeric($id) === true && $id > 0) { + $member = MMember::getByID($id); + $item = [ + 'id' => $member['id'], + 'username' => $member['username'], + 'group_id' => $member['group_id'] + ]; + $auth = session('auth'); + $groups = AuthGroup::getListById($auth['groupId']); + $this->data['groups'] = $groups; + $this->data['item'] = $item; + return $this->view(); + } + return $this->json(1, '参数错误,请核对之后再操作!'); + } + } + + /** + * 新增管理用户 + */ + public function add() + { + if($this->request->isPost()){ + $groupId = input('post.group_id/d'); + $username = trim(input('post.username')); + $password = trim(input('post.password')); + if ((is_numeric($groupId) === true && $groupId > 0) && ($username != "" && $password != "")) { + $member = MMember::getByUserName($username); + if(!empty($member)){ + return $this->json(2, '该用户名已被使用!'); + } + $group = AuthGroup::getById($groupId); + $newMember = MMember::create([ + 'username' => $username, + 'group_id' => $groupId, + 'password' => md5($password), + 'rules' => $group['rules'] ?? '', + 'cates' => '', + 'login_time' => 0, + ]); + Log::write('member', 'add', "管理员新增,ID:{$newMember->id}, 管理员:{$newMember['username']}"); + return $this->json(); + } + return $this->json(1, '参数错误,请核对之后再操作!'); + } + + $auth = session('auth'); + $groups = AuthGroup::getListById($auth['groupId']); + $this->data['groups'] = $groups; + return $this->view(); + } + + /** + * 栏目菜单分配 + */ + public function menuAlloter() + { + if(request()->isPost()) { + $cates = input('post.cates/a'); + $id = input('post.id/d'); + if (is_array($cates) && (is_numeric($id) === true && $id > 0)) { + $member = MMember::getById($id); + if(empty($member)){ + return $this->json(2, '无此用户信息,请核对之后再操作!'); + } + MMember::updateCates($id, $cates); + Log::write('member', 'menuAlloter', "管理员栏目分配,ID:{$id}, 管理员:{$member['username']}"); + return $this->json(); + }else{ + return $this->json(3, '传入参数错误,请核对之后再操作!'); + } + } else { + $id = input('param.id/d'); + if (is_numeric($id) && $id > 0) { + $member = MMember::getById($id); + if (empty($member)) { + return $this->json(2, '该管理员信息不存在,请核对之后再操作!'); + } + $cates = Category::getListTree(false); + $memberCates = array_filter(explode(',', $member['cates'])); + + $this->data['id'] = $id; + $this->data['member'] = $member; + $this->data['memberCates'] = $memberCates; + $this->data['cates'] = $cates; + return $this->view(); + } + return $this->json(1, '参数错误,请核对之后再操作!',$id); + } + } + + /** + * 所有用户列表 + */ + public function index() + { + $auth = session('auth'); + if ($auth['groupId'] == 1) { + $items = MMember::getList(40); + } else { + $items = MMember::getListNotAdmin(40); + } + $this->data['items'] = $items; + return $this->view(); + } +} diff --git a/app/controller/manager/Message.php b/app/controller/manager/Message.php new file mode 100755 index 0000000..b3887fe --- /dev/null +++ b/app/controller/manager/Message.php @@ -0,0 +1,141 @@ + [ + 'name' => '宋体', + ], + 'alignment' => [ + 'horizontal' => Alignment::HORIZONTAL_CENTER, // 水平居中 + 'vertical' => Alignment::VERTICAL_CENTER, // 垂直居中 + 'wrapText' => true, + ], + 'borders' => [ + 'allBorders' => [ + 'borderStyle' => Border::BORDER_THIN, + 'color' => ['rgb' => 'eeeeee'], + ] + ], + ]; + + protected $defaultSetting = [ + 'cell_width' => 30, + 'font_size' => 12 + ]; + + //下载文件 + public function file() + { + $id = input('param.id/d'); + if(is_numeric($id) && $id > 0) { + $item = MMessage::getById($id); + if(empty($item)){ + return $this->error('留言不存在'); + } + if(empty($item['file'])){ + return $this->error('无文件需要下载'); + } + $file = app()->getRootPath() . 'public' . $item['file']; + if(!file_exists($file)){ + return $this->error('无文件需要下载'); + } + $fileInfo = pathinfo($file); + $fileName = $item['name'] . '上传文件.' . $fileInfo['extension']; + $fileSize = filesize($file); + + //以只读和二进制模式打开文件 + $file = fopen ( $file, "rb" ); + + //告诉浏览器这是一个文件流格式的文件 + Header ( "Content-type: application/octet-stream" ); + //请求范围的度量单位 + Header ( "Accept-Ranges: bytes" ); + //Content-Length是指定包含于请求或响应中数据的字节长度 + Header ( "Accept-Length: " . $fileSize ); + //用来告诉浏览器,文件是可以当做附件被下载,下载后的文件名称为$file_name该变量的值。 + Header ( "Content-Disposition: attachment; filename=" . $fileName ); + + //读取文件内容并直接输出到浏览器 + echo fread ( $file, $fileSize ); + fclose ( $file ); + exit (); + } + return $this->error('参数错误,请核对之后再操作!'); + } + //可以删除一个 + public function del() + { + if ($this->request->isPost()) { + $id = input('post.id/d'); + if(is_numeric($id) && $id > 0) { + $item = MMessage::getById($id); + if(!empty($item)){ + MMessage::destroy($id); + if(!empty($item['file'])){ + Tool::delFile($item['file']); + } + Log::write('link', 'del', '删除留言,ID:' . $id . ',姓名:' . $item['name']); + return $this->json(); + } + return $this->json(3, '待删除留言不存在'); + } + return $this->json(2, '参数错误,请核对之后再操作!'); + } + return $this->json(1, '非法请求!'); + } + + //列表 + public function index() + { + $startDate = input('param.startDate', ''); + $endDate = input('param.endDate', ''); + + $items = MMessage::getList(20, $startDate, $endDate); + $this->data['items'] = $items; + $this->data['startDate'] = $startDate; + $this->data['endDate'] = $endDate; + return $this->view(); + } + + // 导出留言 + public function export() + { + File::cancelTimeLimit(); + + $startDate = input('param.startDate', ''); + $endDate = input('param.endDate', ''); + $list = MMessage::getExportList($startDate, $endDate, 10000); + + $spreadsheet = new Spreadsheet(); + $header = ['序号', '姓名', '电话', '公司/团队名称', '申请日期']; + + $sheet = $spreadsheet->getActiveSheet(); + $sheetTitle = '预约记录'; + $cellValues = []; + $cellWidthList = []; + + foreach ($list as $item) { + $cellValues[] = [ + [$item['id'], DataType::TYPE_STRING], + $item['name'], + $item['tel'], + $item['company'], + date('Y-m-d H:i', $item['create_time']), + ]; + } + + File::setExcelCells($sheet, $cellValues, $header, $sheetTitle, $cellWidthList, $this->excelStyle, $this->defaultSetting); + File::export($spreadsheet, '预约记录导出_' . date('YmdHis') . '.xlsx'); + } + +} diff --git a/app/controller/manager/Model.php b/app/controller/manager/Model.php new file mode 100755 index 0000000..50c24c5 --- /dev/null +++ b/app/controller/manager/Model.php @@ -0,0 +1,184 @@ +request->isPost()){ + $ids = input('post.ids/a'); + if(is_array($ids)) { + $idsArr = $ids; + } else { + $idsArr = array_filter(explode(',', $ids)); + } + if(count($idsArr) == 0) { + return $this->json(1, '无效请求,参数错误!'); + } + $items = MModel::getListByIds($idsArr); + if(!empty($items)){ + $delIds = []; + foreach($items as $item){ + $delIds[] = $item['id']; + } + MModel::destroy($delIds); + Log::write('model', 'batchDel', "模型批量删除,ID:" . implode(',', $ids)); + return $this->json(); + } + return $this->json(2, '无效请求,参数错误!'); + } + return $this->json(1, '非法请求!'); + } + + //删除单个模型 + public function del() + { + if($this->request->isPost()){ + $id = input('post.id/d'); + if(is_numeric($id) && $id > 0) { + $item = MModel::getById($id); + if(!empty($item)) { + MModel::destroy($id); + Log::write('model', 'del', "模型删除,ID:{$id}, 标题:{$item['name']}"); + return $this->json(); + } + return $this->json(3, '删除失败!该模型不存在,请刷新页面后再试!'); + } + return $this->json(2, '无效请求,参数错误!'); + } + return $this->json(1, '非法请求!'); + } + + //编辑模型 + public function edit() + { + if($this->request->isPost()){ + $item = []; + $item['name'] = input('post.name'); + $item['template'] = input('post.template'); + $item['manager'] = input('post.manager'); + $id = input('post.id/d'); + if(is_numeric($id) && $id > 0) { + $model = MModel::getById($id); + if(empty($model)){ + return $this->json(2, '无此模型数据!'); + } + try { + validate(VModel::class)->check($item); + MModel::updateById($id, $item); + Log::write('model', 'edit', "模型编辑,ID:{$id}, 标题:{$item['name']}"); + return $this->json(); + } catch (ValidateException $e) { + return $this->json(3, $e->getError()); + } + } + return $this->json(1, '无效请求,参数错误!'); + }else{ + $id = input('param.id/d'); + if (is_numeric($id) && $id > 0) { + $item = MModel::getById($id); + $this->data['item'] = $item; + return $this->view(); + } + return $this->json(1,'传入参数错误,请核对之后再操作!'); + } + } + + /** + * 添加模型 + */ + public function add() + { + if($this->request->isPost()){ + $item = []; + $item['name'] = input('post.name'); + $item['template'] = input('post.template'); + $item['manager'] = input('post.manager'); + try { + validate(VModel::class)->check($item); + $model = MModel::create($item); + Log::write('model', 'add', "模型新增,ID:{$model->id}, 标题:{$item['name']}"); + return $this->json(); + } catch (ValidateException $e) { + return $this->json(2, $e->getError()); + } + }else { + return $this->view(); + } + } + + /** + * 模型列表 + */ + public function index() + { + $items = MModel::getList(); + $this->data['items'] = $items; + return $this->view(); + } + + /** + * 排序 + */ + public function sort() + { + if($this->request->isPost()){ + $id = input('post.id/d'); + $sort = input('post.sort'); + $num = input('post.num/d', 1); + if($num <= 0){ + $num = 1; + } + if(!in_array($sort, ['up', 'down'], true)){ + return $this->json(2, '参数错误'); + } + $item = MModel::getById($id); + if(empty($item)) { + return $this->json(3, '无此模型!'); + } + if($sort == 'up'){ + $where = "sort < {$item['sort']}"; + $order = "sort desc"; + }else{ + $where = "sort > {$item['sort']}"; + $order = "sort asc"; + } + $forSortItems = MModel::getListByWhereAndOrder($where, $order, $num); + if(!empty($forSortItems)){ + $updateData = []; + $forSortCount = count($forSortItems); + for($i = 0; $i < $forSortCount; $i++){ + if($i == 0){ + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $item['sort'] + ]; + }else{ + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + } + } + $updateData[] = [ + 'id' => $item['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + if(!empty($updateData)){ + $model = new MModel(); + $model->saveAll($updateData); + $sortStr = $sort == 'up' ? '上移' : '下调'; + Log::write('model', 'sort', "模型排序,ID:{$id} ,标题:{$item['name']},{$sortStr}了{$num}位"); + return $this->json(); + } + } + return $this->json(4, '无须调整排序!'); + } + return $this->json(1, '非法请求!'); + } +} \ No newline at end of file diff --git a/app/controller/manager/Notice.php b/app/controller/manager/Notice.php new file mode 100755 index 0000000..b24f19d --- /dev/null +++ b/app/controller/manager/Notice.php @@ -0,0 +1,148 @@ +isPost()) { + $params = input('post.item/a', []); + $params['create_time'] = time(); + try { + validate(NoticeValidate::class)->check($params); + $newItem = NoticeModel::create($params); + MLog::write(get_class(), 'add', '新增,ID:'.$newItem->id); + } catch (ValidateException $e) { + return $this->json(1, $e->getError()); + } + return $this->json(); + } else { + $categoryId = input('param.category_id/d', 0); + $category = MCategory::getById($categoryId); + + $this->data['category'] = $category; + return $this->view(); + } + } + + /** + * @return Json|View + */ + public function edit() + { + $id = input('param.id/d', 0); + $item = NoticeModel::getById($id); + if (count($item) == 0) { + return $this->json(1, '记录不存在'); + } + if (request()->isPost()) { + $params = input('post.item/a', []); + try { + validate(NoticeValidate::class)->check($params); + NoticeModel::updateById($id, $params); + MLog::write(get_class(), 'edit', '修改,ID:'.$id); + } catch (ValidateException $e) { + return $this->json(2, $e->getError()); + } + return $this->json(); + } else { + $category = MCategory::getById($item['category_id']); + + $this->data['category'] = $category; + $this->data['item'] = $item; + return $this->view(); + } + } + + public function sort() + { + if (request()->isPost()) { + $id = input('post.id/d'); + $sort = input('post.sort'); + $num = input('post.num/d', 1); + if ($num <= 0) { + $num = 1; + } + if (!in_array($sort, ['up', 'down'], true)) { + return $this->json(2, '参数错误'); + } + $item = NoticeModel::getById($id); + if (empty($item)) { + return $this->json(3, '该记录不存在'); + } + if ($sort == 'up') { + $where = "category_id='{$item['category_id']}' and sort > {$item['sort']}"; + $order = "sort asc"; + } else { + $where = "category_id='{$item['category_id']}' and sort < {$item['sort']}"; + $order = "sort desc"; + } + $forSortItems = NoticeModel::getListByWhereAndOrder($where, $order, $num); + if (!empty($forSortItems)) { + $updateData = []; + $forSortCount = count($forSortItems); + for ($i = 0; $i < $forSortCount; $i++) { + if ($i == 0) { + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $item['sort'] + ]; + } else { + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + } + } + $updateData[] = [ + 'id' => $item['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + if (!empty($updateData)) { + $model = new NoticeModel(); + $model->saveAll($updateData); + $sortStr = $sort == 'up' ? '上移' : '下调'; + MLog::write(get_class(), 'sort', "排序,ID:{$id} ,{$sortStr}了{$num}位"); + return $this->json(); + } + } + return $this->json(4, '无须调整排序!'); + } + return $this->json(1, '无此操作'); + } + + // 删除 + public function del() + { + if (request()->isPost()) { + $historyId = input('param.id/d', 0); + $item = NoticeModel::getById($historyId); + if (count($item) == 0) { + return $this->json(2, '该记录不存在'); + } + try { + NoticeModel::destroy($historyId); + MLog::write(get_class(), 'del', '删除,ID:'.$historyId); + } catch (\Exception $e) { + return $this->json(3, '删除失败,'.$e->getMessage()); + } + return $this->json(); + } + return $this->json(1, '无此操作'); + } +} \ No newline at end of file diff --git a/app/controller/manager/Page.php b/app/controller/manager/Page.php new file mode 100755 index 0000000..6e8ea85 --- /dev/null +++ b/app/controller/manager/Page.php @@ -0,0 +1,672 @@ +request->isPost()) { + $item = input('post.item/a'); + $categoryId = input('post.category_id/d'); + $id = input('post.id/d'); + $item['keyword'] = Tool::trimSpace($item['keyword']); + try { + validate(VBlock::class)->check($item); + if (empty($item['value'])) { + return $this->json(2, '内容不可为空!'); + } + $block = Block::getByKeyword($item['keyword'], $categoryId); + if ($id) { + if (!empty($block) && $block['id'] != $id) { + return $this->json(3, '键值已存在,请更改键值'); + } + Block::updateById($id, $item); + Log::write('page', 'code', "单页代码编辑,ID:{$id}, 键值:{$item['keyword']}"); + } else { + if ($categoryId <= 0) { + return $this->json(4, '栏目参数错误!'); + } + if (!empty($block)) { + return $this->json(3, '键值已存在,请更改键值'); + } + $item['category_id'] = $categoryId; + $item['type'] = Block::CODE; + $block = Block::create($item); + Log::write('page', 'code', "单页代码新增,ID:{$block->id}, 键值:{$item['keyword']}"); + } + return $this->json(); + } catch (ValidateException $e) { + return $this->json(1, $e->getError()); + } + } else { + $id = input('param.id/d'); + if ($id <= 0) { //添加 + $categoryId = input('param.category_id/d'); + $category = Category::getById($categoryId); + if (empty($category)) { + $url = url('manager.content/index')->__toString(); + return $this->error('无此栏目', $url); + } + } else { //修改 + $item = Block::getById($id); + if (empty($item)) { + return $this->error('无此代码块!'); + } + $categoryId = $item['category_id']; + $this->data['item'] = $item; + } + $this->data['categoryId'] = $categoryId; + return $this->view(); + } + } + + //排序 + public function sort() + { + if ($this->request->isPost()) { + $id = input('post.id/d'); + $sort = input('post.sort'); + $num = input('post.num/d', 1); + if ($num <= 0) { + $num = 1; + } + if (!in_array($sort, ['up', 'down'], true)) { + return $this->json(2, '参数错误'); + } + $item = Block::getById($id); + if (empty($item)) { + return $this->json(3, '无此块信息'); + } + if ($sort == 'up') { + $where = "category_id='{$item['category_id']}' and sort < {$item['sort']}"; + $order = "sort desc"; + } else { + $where = "category_id='{$item['category_id']}' and sort > {$item['sort']}"; + $order = "sort asc"; + } + $forSortItems = Block::getListByWhereAndOrder($where, $order, $num); + if (!empty($forSortItems)) { + $updateData = []; + $forSortCount = count($forSortItems); + for ($i = 0; $i < $forSortCount; $i++) { + if ($i == 0) { + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $item['sort'] + ]; + } else { + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + } + } + $updateData[] = [ + 'id' => $item['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + if (!empty($updateData)) { + $model = new Block(); + $model->saveAll($updateData); + $sortStr = $sort == 'up' ? '上移' : '下调'; + Log::write('page', 'sort', "单页区块排序,ID:{$id} ,键值:{$item['keyword']},{$sortStr}了{$num}位"); + return $this->json(); + } + } + return $this->json(4, '无须调整排序!'); + } + return $this->error('无此操作'); + } + + //删除 + public function del() + { + if ($this->request->isAjax()) { + $id = input('post.id/d'); + $item = Block::getById($id); + if (!empty($item)) { + Block::destroy($id); + Log::write('page', 'del', "单页区块删除,ID:{$id} ,键值:{$item['keyword']}"); + return $this->json(); + } + return $this->json(1, 'fail'); + } + return $this->error('无此操作'); + } + + //图片 + public function img() + { + if ($this->request->isPost()) { + $item = input('post.item/a'); + $img = trim(input('post.img')); + $categoryId = input('post.category_id/d'); + if (!empty($img) && $img == 'null') { + $img = ''; + } + $id = input('post.id/d'); + $item['keyword'] = Tool::trimSpace($item['keyword']); + try { + validate(VBlock::class)->check($item); + $block = Block::getByKeyword($item['keyword'], $categoryId); + if ($id) { + if (!empty($block) && $block['id'] != $id) { + return $this->json(4, '键值已存在,请更改键值'); + } + if (!empty($img)) { + $item['value'] = $img; + } + Block::updateById($id, $item); + Log::write('page', 'img', "单页图片编辑,ID:{$id} ,键值:{$item['keyword']}"); + } else { + if (!empty($block)) { + return $this->json(4, '键值已存在,请更改键值'); + } + if ($categoryId <= 0) { + return $this->json(2, '栏目参数错误!!'); + } + if (empty($img)) { + return $this->json(3, '图片不可为空'); + } + $item['value'] = $img; + $item['type'] = Block::IMG; + $item['category_id'] = $categoryId; + $block = Block::create($item); + Log::write('page', 'img', "单页图片新增,ID:{$block->id} ,键值:{$item['keyword']}"); + } + return $this->json(); + } catch (ValidateException $e) { + return $this->json(1, $e->getError()); + } + } else { + $id = input('param.id/d'); + if ($id <= 0) { //添加 + $categoryId = input('param.category_id/d'); + $category = Category::getById($categoryId); + if (empty($category)) { + $url = url('manager.content/index')->__toString(); + return $this->error('无此栏目', $url); + } + } else { //修改 + $item = Block::getById($id); + if (empty($item)) { + return $this->error('无此图片!'); + } + $categoryId = $item['category_id']; + $this->data['item'] = $item; + } + if (isset($item) && $item['width'] && $item['height']) { + $imgSize = $item['width'] . 'px X ' . $item['height'] . 'px'; + } else { + $imgSize = ''; + } + $this->data['categoryId'] = $categoryId; + $this->data['imgSize'] = $imgSize; + $this->data['groupId'] = session('auth.groupId'); + return $this->view(); + } + } + + //文字块 + public function block() + { + if ($this->request->isPost()) { + $item = input('post.item/a'); + $categoryId = input('post.category_id/d'); + $id = input('post.id/d'); + $item['keyword'] = Tool::trimSpace($item['keyword']); + try { + validate(VBlock::class)->check($item); + /* 允许空值 + if(empty($item['value'])){ + return $this->json(1, '内容不可为空!'); + } + */ + + $block = Block::getByKeyword($item['keyword'], $categoryId); + if ($id) { + if (!empty($block) && $block['id'] != $id) { + return $this->json(4, '键值已存在,请更改键值'); + } + Block::updateById($id, $item); + Log::write('page', 'block', "单页文字块编辑,ID:{$id} ,键值:{$item['keyword']}"); + } else { + if ($categoryId <= 0) { + return $this->json(2, '栏目参数错误!'); + } + if (!empty($block)) { + return $this->json(4, '键值已存在,请更改键值'); + } + $item['category_id'] = $categoryId; + $block = Block::create($item); + Log::write('page', 'block', "单页文字块新增,ID:{$block->id} ,键值:{$item['keyword']}"); + } + return $this->json(); + } catch (ValidateException $e) { + return $this->json(1, $e->getError()); + } + } else { + $id = input('param.id/d'); + if ($id <= 0) { //添加 + $categoryId = input('param.category_id/d'); + $category = Category::getById($categoryId); + if (empty($category)) { + $url = url('manager.content/index')->__toString(); + return $this->error('无此栏目', $url); + } + } else { //修改 + $item = Block::getById($id); + if (empty($item)) { + return $this->error('无此文字块!'); + } + $categoryId = $item['category_id']; + $this->data['item'] = $item; + } + $this->data['categoryId'] = $categoryId; + return $this->view(); + } + } + + //富文本内容 + public function text() + { + if ($this->request->isPost()) { + $item = input('post.item/a'); + $categoryId = input('post.category_id/d'); + $item['keyword'] = Tool::trimSpace($item['keyword']); + try { + validate(VBlock::class)->check($item); + + /* 允许内容为空 + if(empty(strip_tags($item['value']))){ + return $this->json(1, '内容不可为空!'); + } + */ + $block = Block::getByKeyword($item['keyword'], $categoryId); + $id = input('post.id/d'); + if ($id) { + if (!empty($block) && $block['id'] != $id) { + return $this->json(4, '键值已存在,请更改'); + } + Block::updateById($id, $item); + Log::write('page', 'text', "单页富文本编辑,ID:{$id} ,键值:{$item['keyword']}"); + } else { + if ($categoryId <= 0) { + return $this->json(2, '栏目参数错误!'); + } + if (!empty($block)) { + return $this->json(4, '键值已存在,请更改键值'); + } + $item['category_id'] = $categoryId; + $item['type'] = Block::TEXT; + $block = Block::create($item); + Log::write('page', 'text', "单页富文本新增,ID:{$block->id} ,键值:{$item['keyword']}"); + } + return $this->json(); + } catch (ValidateException $e) { + return $this->json(1, $e->getError()); + } + } else { + $id = input('param.id/d'); + if ($id <= 0) { //添加 + $categoryId = input('param.category_id/d'); + $category = Category::getById($categoryId); + if (empty($category)) { + $url = url('manager.content/index')->__toString(); + return $this->error('无此栏目', $url); + } + } else { //修改 + $item = Block::getById($id); + if (empty($item)) { + return $this->error('无此富文本!'); + } + $categoryId = $item['category_id']; + $this->data['item'] = $item; + } + $this->data['categoryId'] = $categoryId; + return $this->view(); + } + } + + //组图 + public function group() + { + if ($this->request->isPost()) { + $item = input('post.item/a'); + $imgs = input('post.img/a'); + $categoryId = input('post.category_id/d'); + if (!empty($imgs) && is_array($imgs)) { + $item['value'] = json_encode(array_values($imgs)); + } else { + $item['value'] = ''; + } + $item['keyword'] = Tool::trimSpace($item['keyword']); + try { + validate(VBlock::class)->check($item); + $block = Block::getByKeyword($item['keyword'], $categoryId); + $id = input('post.id/d'); + if ($id) { + if (!empty($block) && $block['id'] != $id) { + return $this->json(4, '键值已存在,请更改'); + } + Block::updateById($id, $item); + Log::write('page', 'group', "单页组图编辑,ID:{$id} ,键值:{$item['keyword']}"); + } else { + if ($categoryId <= 0) { + return $this->json(2, '栏目参数错误!'); + } + if (!empty($block)) { + return $this->json(4, '键值已存在,请更改键值'); + } + $item['category_id'] = $categoryId; + $item['type'] = Block::GROUP; + $block = Block::create($item); + Log::write('page', 'group', "单页组图新增,ID:{$block->id} ,键值:{$item['keyword']}"); + } + return $this->json(); + } catch (ValidateException $e) { + return $this->json(1, $e->getError()); + } + } else { + $id = input('param.id/d'); + if ($id <= 0) { //添加 + $categoryId = input('param.category_id/d'); + $category = Category::getById($categoryId); + if (empty($category)) { + $url = url('manager.content/index')->__toString(); + return $this->error('无此栏目', $url); + } + } else { //修改 + $item = Block::getById($id); + if (empty($item)) { + return $this->error('无此组图!'); + } + $categoryId = $item['category_id']; + $this->data['item'] = $item; + } + $this->data['categoryId'] = $categoryId; + if (isset($item) && $item['width'] && $item['height']) { + $imgSize = $item['width'] . 'px X ' . $item['height'] . 'px'; + } else { + $imgSize = ''; + } + $this->data['imgSize'] = $imgSize; + $this->data['groupId'] = session('auth.groupId'); + return $this->view(); + } + } + + //视频 + public function video() + { + if ($this->request->isPost()) { + $item = input('post.item/a'); + $img = trim(input('post.img')); + $video = trim(input('post.video')); + $categoryId = input('post.category_id/d'); + $item['keyword'] = Tool::trimSpace($item['keyword']); + try { + validate(VBlock::class)->check($item); + $block = Block::getByKeyword($item['keyword'], $categoryId); + $id = input('post.id/d'); + if ($id) { + if (!empty($block) && $block['id'] != $id) { + return $this->json(4, '键值已存在,请更改'); + } + if (!empty($img)) { + $item['img'] = $img; + } + if (!empty($video)) { + $item['value'] = $video; + } + Block::updateById($id, $item); + Log::write('page', 'video', "单页视频编辑,ID:{$id} ,键值:{$item['keyword']}"); + } else { + if ($categoryId <= 0) { + return $this->json(2, '栏目参数错误!'); + } + if (!empty($block)) { + return $this->json(3, '键值已存在,请更改键值'); + } + if (empty($video)) { + return $this->json(3, '视频不可为空'); + } + $item['category_id'] = $categoryId; + $item['type'] = Block::VIDEO; + $item['value'] = $video; + $item['img'] = $img; + $block = Block::create($item); + Log::write('page', 'video', "单页视频新增,ID:{$block->id} ,键值:{$item['keyword']}"); + } + return $this->json(); + } catch (ValidateException $e) { + return $this->json(1, $e->getError()); + } + } else { + $id = input('param.id/d'); + if ($id <= 0) { //添加 + $categoryId = input('param.category_id/d'); + $category = Category::getById($categoryId); + if (empty($category)) { + $url = url('manager.content/index')->__toString(); + return $this->error('无此栏目', $url); + } + } else { //修改 + $item = Block::getById($id); + if (empty($item)) { + return $this->error('无此视频!'); + } + $categoryId = $item['category_id']; + $this->data['item'] = $item; + } + $this->data['categoryId'] = $categoryId; + if (isset($item) && $item['width'] && $item['height']) { + $imgSize = $item['width'] . 'px X ' . $item['height'] . 'px'; + } else { + $imgSize = ''; + } + $this->data['imgSize'] = $imgSize; + $this->data['groupId'] = session('auth.groupId'); + return $this->view(); + } + } + + //音频组 + public function audios() + { + if ($this->request->isPost()) { + $item = input('post.item/a'); + $audios = input('post.audios/a'); + $categoryId = input('post.category_id/d'); + if (!empty($audios) && is_array($audios)) { + $item['value'] = json_encode(array_values($audios)); + } else { + $item['value'] = ''; + } + $item['keyword'] = Tool::trimSpace($item['keyword']); + try { + validate(VBlock::class)->check($item); + $block = Block::getByKeyword($item['keyword'], $categoryId); + $id = input('post.id/d'); + if ($id) { + if (!empty($block) && $block['id'] != $id) { + return $this->json(4, '键值已存在,请更改'); + } + Block::updateById($id, $item); + Log::write('page', 'group', "单页音频组编辑,ID:{$id} ,键值:{$item['keyword']}"); + } else { + if ($categoryId <= 0) { + return $this->json(2, '栏目参数错误!'); + } + if (!empty($block)) { + return $this->json(4, '键值已存在,请更改键值'); + } + $item['category_id'] = $categoryId; + $item['type'] = Block::AUDIOS; + $block = Block::create($item); + Log::write('page', 'group', "单页音频组新增,ID:{$block->id} ,键值:{$item['keyword']}"); + } + return $this->json(); + } catch (ValidateException $e) { + return $this->json(1, $e->getError()); + } + } else { + $id = input('param.id/d'); + if ($id <= 0) { //添加 + $categoryId = input('param.category_id/d'); + $category = Category::getById($categoryId); + if (empty($category)) { + $url = url('manager.content/index')->__toString(); + return $this->error('无此栏目', $url); + } + } else { //修改 + $item = Block::getById($id); + if (empty($item)) { + return $this->error('无此音频组!'); + } + $categoryId = $item['category_id']; + $this->data['item'] = $item; + } + $this->data['categoryId'] = $categoryId; + $this->data['groupId'] = session('auth.groupId'); + return $this->view(); + } + } + + //视频组 + public function videos() + { + if ($this->request->isPost()) { + $item = input('post.item/a'); + $videos = input('post.videos/a'); + $categoryId = input('post.category_id/d'); + if (!empty($videos) && is_array($videos)) { + $item['value'] = json_encode(array_values($videos)); + } else { + $item['value'] = ''; + } + $item['keyword'] = Tool::trimSpace($item['keyword']); + try { + validate(VBlock::class)->check($item); + $block = Block::getByKeyword($item['keyword'], $categoryId); + $id = input('post.id/d'); + if ($id) { + if (!empty($block) && $block['id'] != $id) { + return $this->json(4, '键值已存在,请更改'); + } + Block::updateById($id, $item); + Log::write('page', 'group', "单页视频组编辑,ID:{$id} ,键值:{$item['keyword']}"); + } else { + if ($categoryId <= 0) { + return $this->json(2, '栏目参数错误!'); + } + if (!empty($block)) { + return $this->json(4, '键值已存在,请更改键值'); + } + $item['category_id'] = $categoryId; + $item['type'] = Block::VIDEOS; + $block = Block::create($item); + Log::write('page', 'group', "单页视频组新增,ID:{$block->id} ,键值:{$item['keyword']}"); + } + return $this->json(); + } catch (ValidateException $e) { + return $this->json(1, $e->getError()); + } + } else { + $id = input('param.id/d'); + if ($id <= 0) { //添加 + $categoryId = input('param.category_id/d'); + $category = Category::getById($categoryId); + if (empty($category)) { + $url = url('manager.content/index')->__toString(); + return $this->error('无此栏目', $url); + } + } else { //修改 + $item = Block::getById($id); + if (empty($item)) { + return $this->error('无此视频组!'); + } + $categoryId = $item['category_id']; + $this->data['item'] = $item; + } + $this->data['categoryId'] = $categoryId; + $this->data['groupId'] = session('auth.groupId'); + return $this->view(); + } + } + + //地图 + public function map() + { + if ($this->request->isPost()) { + $item = input('post.item/a'); + $item["value"] = json_encode(input('post.value/a'), JSON_UNESCAPED_UNICODE); + $item["type"] = Block::MAP; + $categoryId = input('post.category_id/d'); + try { + validate(VBlock::class)->check($item); + $block = Block::getByKeyword($item['keyword'], $categoryId); + $id = input('post.id/d'); + if ($id) { + if (!empty($block) && $block['id'] != $id) { + return $this->json(4, '键值已存在,请更改'); + } + Block::updateById($id, $item); + Log::write('page', 'group', "单页视频组编辑,ID:{$id} ,键值:{$item['keyword']}"); + } else { + if ($categoryId <= 0) { + return $this->json(2, '栏目参数错误!'); + } + if (!empty($block)) { + return $this->json(4, '键值已存在,请更改键值'); + } + $item['category_id'] = $categoryId; + $item['type'] = Block::MAP; + $block = Block::create($item); + Log::write('page', 'group', "地图碎片新增,ID:{$block->id} ,键值:{$item['keyword']}"); + } + return $this->json(); + } catch (ValidateException $e) { + return $this->json(1, $e->getError()); + } + } else { + $id = input('param.id/d'); + if ($id <= 0) { //添加 + $categoryId = input('param.category_id/d'); + $category = Category::getById($categoryId); + if (empty($category)) { + $url = url('manager.content/index')->__toString(); + return $this->error('无此栏目', $url); + } + } else { //修改 + $item = Block::getById($id); + if (empty($item)) { + return $this->error('无此视地图碎片!'); + } + $categoryId = $item['category_id']; + $item["value"] = json_decode($item["value"], true); + $this->data['item'] = $item; + } + $this->data['categoryId'] = $categoryId; + $this->data['groupId'] = session('auth.groupId'); + $this->data['mapType'] = Block::$mapType; + return $this->view(); + } + } + + public function mapPlugin() + { + $data= [ + "lng"=>input("lng",""), + "lat"=>input("lat",""), + ]; + return view("/manager/map_plugin/" . input("template", "gaode"))->assign($data); + } +} \ No newline at end of file diff --git a/app/controller/manager/Position.php b/app/controller/manager/Position.php new file mode 100755 index 0000000..c322139 --- /dev/null +++ b/app/controller/manager/Position.php @@ -0,0 +1,145 @@ +isPost()) { + $params = input('post.item/a', []); + $params['create_time'] = time(); + try { + validate(PositionValidate::class)->check($params); + $newItem = PositionModel::create($params); + MLog::write('position', 'add', '新增职位,ID:'.$newItem->id); + } catch (ValidateException $e) { + return $this->json(1, $e->getError()); + } + return $this->json(); + } else { + $categoryId = input('param.category_id/d', 0); + $category = MCategory::getById($categoryId); + + $this->data['category'] = $category; + return $this->view(); + } + } + + /** + * @return Json|View + */ + public function edit() + { + $id = input('param.id/d', 0); + $item = PositionModel::getById($id); + if (count($item) == 0) { + return $this->json(1, '该职位不存在'); + } + if (request()->isPost()) { + $params = input('post.item/a', []); + try { + validate(PositionValidate::class)->check($params); + PositionModel::updateById($id, $params); + MLog::write('position', 'edit', '修改职位,ID:'.$id); + } catch (ValidateException $e) { + return $this->json(2, $e->getError()); + } + return $this->json(); + } else { + $this->data['item'] = $item; + return $this->view(); + } + } + + public function sort() + { + if (request()->isPost()) { + $id = input('post.id/d'); + $sort = input('post.sort'); + $num = input('post.num/d', 1); + if ($num <= 0) { + $num = 1; + } + if (!in_array($sort, ['up', 'down'], true)) { + return $this->json(2, '参数错误'); + } + $item = PositionModel::getById($id); + if (empty($item)) { + return $this->json(3, '该职位不存在'); + } + if ($sort == 'up') { + $where = "category_id='{$item['category_id']}' and sort < {$item['sort']}"; + $order = "sort desc"; + } else { + $where = "category_id='{$item['category_id']}' and sort > {$item['sort']}"; + $order = "sort asc"; + } + $forSortItems = PositionModel::getListByWhereAndOrder($where, $order, $num); + if (!empty($forSortItems)) { + $updateData = []; + $forSortCount = count($forSortItems); + for ($i = 0; $i < $forSortCount; $i++) { + if ($i == 0) { + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $item['sort'] + ]; + } else { + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + } + } + $updateData[] = [ + 'id' => $item['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + if (!empty($updateData)) { + $model = new PositionModel(); + $model->saveAll($updateData); + $sortStr = $sort == 'up' ? '上移' : '下调'; + MLog::write('position', 'sort', "职位排序,ID:{$id} ,{$sortStr}了{$num}位"); + return $this->json(); + } + } + return $this->json(4, '无须调整排序!'); + } + return $this->json(1, '无此操作'); + } + + // 删除 + public function del() + { + if (request()->isPost()) { + $historyId = input('param.id/d', 0); + $item = PositionModel::getById($historyId); + if (count($item) == 0) { + return $this->json(2, '该职位不存在'); + } + try { + PositionModel::destroy($historyId); + MLog::write('position', 'del', '删除职位,ID:'.$historyId); + } catch (\Exception $e) { + return $this->json(3, '删除失败,'.$e->getMessage()); + } + return $this->json(); + } + return $this->json(1, '无此操作'); + } +} \ No newline at end of file diff --git a/app/controller/manager/Product.php b/app/controller/manager/Product.php new file mode 100755 index 0000000..6f70cea --- /dev/null +++ b/app/controller/manager/Product.php @@ -0,0 +1,167 @@ +isPost()) { + $images = input('img_images/a'); + $params = input('post.item/a', []); + $params['image'] = input('img'); + $params['images'] = json_encode($images, JSON_UNESCAPED_UNICODE); + $params['qr'] = input('img_qr'); + try { + validate(ProductValidate::class)->check($params); + $newItem = ProductModel::create($params); + MLog::write('honour', 'add', '新增产品,ID:'.$newItem->id); + } catch (ValidateException $e) { + return $this->json(1, $e->getError()); + } + return $this->json(); + } else { + $categoryId = input('param.category_id/d', 0); + $category = MCategory::getById($categoryId); + + if (count($category) > 0 && $category['img_width'] && $category['img_height']) { + $imgSize = $category['img_width'].'像素 X '.$category['img_height'].'像素'; + } else { + $imgSize = System::getArticleImageSize(); + } + + $this->data['imgSize'] = $imgSize; + $this->data['category'] = $category; + return $this->view(); + } + } + + /** + * @return Json|View + */ + public function edit() + { + $id = input('param.id/d', 0); + $item = ProductModel::getById($id); + if (count($item) == 0) { + return $this->json(1, '该产品不存在'); + } + if (request()->isPost()) { + $params = input('post.item/a', []); + $params['image'] = input('img'); + $params['qr'] = input('img_qr'); + $params['images'] = json_encode(array_values(input('img_images/a')), JSON_UNESCAPED_UNICODE); + try { + validate(ProductValidate::class)->check($params); + ProductModel::updateById($id, $params); + MLog::write('honour', 'edit', '修改产品,ID:'.$id); + } catch (ValidateException $e) { + return $this->json(2, $e->getError()); + } + return $this->json(); + } else { + $category = MCategory::getById($item['category_id']); + + if (count($category) > 0 && $category['img_width'] && $category['img_height']) { + $imgSize = $category['img_width'].'像素 X '.$category['img_height'].'像素'; + } else { + $imgSize = System::getArticleImageSize(); + } + + $this->data['imgSize'] = $imgSize; + $this->data['item'] = $item; + return $this->view(); + } + } + + public function sort() + { + if (request()->isPost()) { + $id = input('post.id/d'); + $sort = input('post.sort'); + $num = input('post.num/d', 1); + if ($num <= 0) { + $num = 1; + } + if (!in_array($sort, ['up', 'down'], true)) { + return $this->json(2, '参数错误'); + } + $item = ProductModel::getById($id); + if (empty($item)) { + return $this->json(3, '该产品不存在'); + } + if ($sort == 'up') { + $where = "category_id='{$item['category_id']}' and sort < {$item['sort']}"; + $order = "sort desc"; + } else { + $where = "category_id='{$item['category_id']}' and sort > {$item['sort']}"; + $order = "sort asc"; + } + $forSortItems = ProductModel::getListByWhereAndOrder($where, $order, $num); + if (!empty($forSortItems)) { + $updateData = []; + $forSortCount = count($forSortItems); + for ($i = 0; $i < $forSortCount; $i++) { + if ($i == 0) { + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $item['sort'] + ]; + } else { + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + } + } + $updateData[] = [ + 'id' => $item['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + if (!empty($updateData)) { + $model = new ProductModel(); + $model->saveAll($updateData); + $sortStr = $sort == 'up' ? '上移' : '下调'; + MLog::write('history', 'sort', "产品排序,ID:{$id} ,{$sortStr}了{$num}位"); + return $this->json(); + } + } + return $this->json(4, '无须调整排序!'); + } + return $this->json(1, '无此操作'); + } + + // 删除 + public function del() + { + if (request()->isPost()) { + $historyId = input('param.id/d', 0); + $item = ProductModel::getById($historyId); + if (count($item) == 0) { + return $this->json(2, '该产品不存在'); + } + try { + ProductModel::destroy($historyId); + MLog::write('honour', 'del', '删除产品,ID:'.$historyId); + } catch (\Exception $e) { + return $this->json(3, '删除失败,'.$e->getMessage()); + } + return $this->json(); + } + return $this->json(1, '无此操作'); + } +} \ No newline at end of file diff --git a/app/controller/manager/Rule.php b/app/controller/manager/Rule.php new file mode 100755 index 0000000..949317b --- /dev/null +++ b/app/controller/manager/Rule.php @@ -0,0 +1,181 @@ +request->isAjax()) { + $id = input('post.id'); + $sort = input('post.sort'); + $num = input('post.num/d', 1); + if($num <= 0){ + $num = 1; + } + if(!in_array($sort, ['up', 'down'], true)){ + return $this->json(2, '参数错误'); + } + $item = AuthRule::getById($id); + if(empty($item)){ + return $this->json(3, '权限不存在'); + } + if($sort == 'up'){ + $where = "parent_id = {$item['parent_id']} and sort < {$item['sort']}"; + $order = "sort desc"; + }else{ + $where = "parent_id = {$item['parent_id']} and sort > {$item['sort']}"; + $order = "sort asc"; + } + $forSortItems = AuthRule::getListByWhereAndOrder($where, $order, $num); + if(!empty($forSortItems)){ + $updateData = []; + $forSortCount = count($forSortItems); + for($i = 0; $i < $forSortCount; $i++){ + if($i == 0){ + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $item['sort'] + ]; + }else{ + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + } + } + $updateData[] = [ + 'id' => $item['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + if(!empty($updateData)){ + $model = new AuthRule(); + $model->saveAll($updateData); + $sortStr = $sort == 'up' ? '上移' : '下调'; + AuthGroup::resetGroupRulesCache(); + Log::write('rule', 'sort', "权限排序,ID:{$id} ,标题:{$item['title']},{$sortStr}了{$num}位"); + return $this->json(); + } + } + return $this->json(4, '无须调整排序!'); + } + return $this->json(1, '非法请求!'); + } + + /** + * 权限删除 + */ + public function del() + { + if ($this->request->isAjax()) { + $id = input('post.id/d'); + $item = AuthRule::getById($id); + if(empty($item)){ + return $this->json(1, '无此权限'); + } + $children = AuthRule::getListByParentId($id); + if(!empty($children)){ + return $this->json(2, '当前权限有下级权限,不可删除'); + } + AuthRule::destroy($id); + AuthGroup::resetGroupRulesCache(); + Log::write('rule', 'del', "权限删除,ID:{$id}, 标题:{$item['title']}"); + return $this->json(); + } + return $this->json(1, '非法请求!'); + } + + /** + * 权限修改 + */ + public function edit() + { + if($this->request->isPost()){ + $item = input('post.item/a'); + $id = input('post.id'); + $rule = AuthRule::getById($id); + if(empty($rule)){ + return $this->json(1, '请选择正确的权限'); + } + $rule2 = AuthRule::getByName($item['name']); + if(!empty($rule2) && $rule2['id'] != $id){ + return $this->json(2, '已存在相同权限['.$item['name'].']'); + } + try { + validate(VAuthRule::class)->check($item); + AuthRule::updateById($id, $item); + AuthGroup::resetGroupRulesCache(); + Log::write('rule', 'edit', "权限编辑,ID:{$id}, 标题:{$item['title']}"); + return $this->json(); + } catch (ValidateException $e) { + return $this->json(3, $e->getError()); + } + } + $id = input('param.id/d'); + $rule = AuthRule::getById($id); + if(empty($rule)){ + return $this->json(1,'无此权限信息,请核对之后再操作!'); + }else{ + $this->data['item'] = $rule; + if($rule['parent_id'] > 0){ + $parent = AuthRule::getById($rule['parent_id']); + $this->data['parent'] = $parent; + } + return $this->view(); + } + } + + /** + * 权限添加 + */ + public function add() + { + if($this->request->isPost()){ + $item = input('post.item/a'); + try { + validate(VAuthRule::class)->check($item); + $rule = AuthRule::getByName($item['name']); + if(!empty($rule)){ + return $this->json(1, '已存在相同权限'); + } + $rule = AuthRule::create($item); + //基本权限的话需要重置所有已有角色权限缓存 + if ($item['is_base'] > 0) { + AuthGroup::resetGroupRulesCache(); + } else { + AuthGroup::resetGroupRulesCache(1); + } + Log::write('rule', 'add', "权限新增,ID:{$rule->id}, 标题:{$item['title']}"); + return $this->json(); + } catch (ValidateException $e) { + return $this->json(2, $e->getError()); + } + } + $parentId = input('param.parent_id/d',0); + if($parentId > 0){ + $parent = AuthRule::getById($parentId); + $this->data['parent'] = $parent; + } + $this->data['parentId'] = $parentId; + return $this->view(); + } + + /** + * 权限列表(全部) + */ + public function index() + { + $list = AuthRule::getListTree(); + $this->data['items'] = $list; + return $this->view(); + } +} \ No newline at end of file diff --git a/app/controller/manager/Safe.php b/app/controller/manager/Safe.php new file mode 100755 index 0000000..8884e3e --- /dev/null +++ b/app/controller/manager/Safe.php @@ -0,0 +1,65 @@ +request->isPost()){ + if ($auth) { + $authId = $auth['userId']; + $oldPassword = trim(input('post.password_old')); + $password = trim(input('post.password')); + $passwordAgain = trim(input('post.password_again')); + $name = trim(input('post.name')); + + $user = Member::getByID($authId); + if (empty($user)) { + return $this->json(1, '登录失效,请重新登录后再试!'); + } + if (empty($name)) { + return $this->json(2, '用户名不能为空!'); + } + $hasUser = Member::getByUserName($name); + if (!empty($hasUser) && $hasUser['id'] != $authId) { + return $this->json(3, '该用户名已被其他用户使用,请更换!'); + } + if (empty($password) || empty($oldPassword)) { + return $this->json(4, '用户密码不能为空!'); + } + if ($password != $passwordAgain) { + return $this->json(5, '新密码两次输入不一致!'); + } + if (mb_strlen($password) < 6 || mb_strlen($password) > 30) { + return $this->json(6, '新密码长度格式不正确,请输入6~30位密码!'); + } + if ($user['password'] != md5($oldPassword)) { + return $this->json(7,'原密码不正确'); + } + $data['password'] = md5($password); + Member::updateById($authId, $data); + Log::write('safe', 'index', "安全设置,ID:{$authId}, 管理员:{$name}"); + session('auth', null); + //cache('rules_'.$authId, null); //当前看代码,这个是无用代码;先注释掉,如果在使用过程中不会用到,再删除。 + cache('group_rules_'.$authId, null); + cache('rule_names_'.$authId, null); + return $this->json(0, '修改成功,请重新登录!'); + } else { + return $this->json(1, '登录失效,请重新登录后再试!'); + } + }else{ + $this->data['item'] = $auth; + return $this->view(); + } + } +} \ No newline at end of file diff --git a/app/controller/manager/Slide.php b/app/controller/manager/Slide.php new file mode 100755 index 0000000..c7dd6c6 --- /dev/null +++ b/app/controller/manager/Slide.php @@ -0,0 +1,198 @@ +request->isPost()) { + $ids = input('post.ids/a'); + if(empty($ids) || !is_array($ids)) { + return $this->json(2, '参数错误,请核对之后再操作!'); + } + $items = MSlide::getListByIds($ids); + if(!empty($items)){ + $delIds = []; + foreach($items as $item){ + $delIds[] = $item['id']; + } + MSlide::destroy($delIds); + Log::write('link', 'betchDel', '批量删除了友情链接,涉及到的ID为:' . implode(',', $delIds)); + return $this->json(); + }else{ + return $this->json(3, '待删除友情链接为空'); + } + } + return $this->json(1, '非法请求!'); + } + //可以删除一个,可以批量删除,TODO 需要调整 + public function del() + { + if ($this->request->isPost()) { + $id = input('post.id/d'); + if(is_numeric($id) && $id > 0) { + $item = MSlide::getById($id); + if(!empty($item)){ + MSlide::destroy($id); + Log::write('link', 'del', '删除轮播图,ID:' . $id . ',标题:' . $item['title']); + return $this->json(); + } + return $this->json(3, '待删除轮播图不存在'); + } + return $this->json(2, '参数错误,请核对之后再操作!'); + } + return $this->json(1, '非法请求!'); + } + //排序 + public function sort() + { + if($this->request->isPost()){ + $id = input('post.id/d'); + $sort = input('post.sort'); + $num = input('post.num/d', 1); + if($num <= 0){ + $num = 1; + } + if(!in_array($sort, ['up', 'down'], true)){ + return $this->json(2, '参数错误'); + } + $item = MSlide::getById($id); + if(empty($item)){ + return $this->json(3, '无此轮播图'); + } + if($sort == 'up'){ + $where = "sort < {$item['sort']}"; + $order = "sort desc"; + }else{ + $where = "sort > {$item['sort']}"; + $order = "sort asc"; + } + $forSortItems = MSlide::getListByWhereAndOrder($where, $order, $num); + if(!empty($forSortItems)){ + $updateData = []; + $forSortCount = count($forSortItems); + for($i = 0; $i < $forSortCount; $i++){ + if($i == 0){ + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $item['sort'] + ]; + }else{ + $updateData[] = [ + 'id' => $forSortItems[$i]['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + } + } + $updateData[] = [ + 'id' => $item['id'], + 'sort' => $forSortItems[$i - 1]['sort'] + ]; + if(!empty($updateData)){ + $model = new MSlide(); + $model->saveAll($updateData); + $sortStr = $sort == 'up' ? '上移' : '下调'; + Log::write('slide', 'sort', "轮播图排序,ID:{$id} ,标题:{$item['title']},{$sortStr}了{$num}位"); + return $this->json(); + } + } + return $this->json(4, '无须调整排序!'); + } + return $this->json(1, '非法请求!'); + } + + //编辑 + public function edit() + { + if($this->request->isPost()){ + $item = input('post.item'); + $img = input('post.img_pc'); + $imgMobile = input('post.img_mobile'); + $logo = input('post.img_logo'); + $id = input('post.id/d'); + + if(is_numeric($id) && $id > 0) { + $slide = MSlide::getById($id); + if(empty($slide)) { + return $this->json(2, 'id参数错误,没有相关轮播图信息记录!'); + } + if(!empty($imgMobile)){ + $item['src_mobile'] = $imgMobile; + } + if(!empty($img)){ + $item['src'] = $img; + } + $item['logo'] = $logo; + + try { + validate(VSlide::class)->check($item); + MSlide::updateById($id, $item); + Log::write('slide', 'edit', "轮播图编辑,ID:{$id} ,标题:{$item['title']}"); + return $this->json(); + } catch (ValidateException $e) { + return $this->json(3, $e->getError()); + } + } + return $this->json(1, '参数错误,请核对之后再操作!'); + }else{ + $id = input('param.id/d'); + $item = MSlide::getById($id); + $imgSize = System::getSlideImageSize(); + $this->data['item'] = $item; + $this->data['img_size'] = $imgSize; + return $this->view(); + } + } + + //添加 + public function add() + { + if($this->request->isPost()){ + $item = input('post.item'); + $img = input('post.img_pc'); + $imgMobile = input('post.img_mobile'); + $logo = input('post.img_logo'); + + if (empty($item)) { + return $this->json(1, '参数错误,请核对之后再操作!'); + } + if(!empty($img)){ + $item['src'] = $img; + } + if(!empty($imgMobile)){ + $item['src_mobile'] = $imgMobile; + } + if(!empty($logo)){ + $item['logo'] = $logo; + } + try { + validate(VSlide::class)->check($item); + $slide = MSlide::create($item); + Log::write('slide', 'add', "轮播图新增,ID:{$slide->id} ,标题:{$item['title']}"); + return $this->json(); + } catch (ValidateException $e) { + return $this->json(2,$e->getError()); + } + }else{ + $this->data['img_size'] = System::getSlideImageSize(); + return $this->view(); + } + } + + /** + * 列表 + * 暂定只有首页轮播图,后期可以根据需求进行分组管理 + * @return Slide + */ + public function index() + { + $items = MSlide::getList(); + $this->data['items'] = $items; + return $this->view(); + } +} diff --git a/app/controller/manager/System.php b/app/controller/manager/System.php new file mode 100755 index 0000000..918fdac --- /dev/null +++ b/app/controller/manager/System.php @@ -0,0 +1,63 @@ +request->isPost()) { + $item = input('post.item/a'); + $img = input('post.img'); + $system = MSystem::getSystem(); + if (empty($system)) { + if(!empty($img)){ + $item['mark_img'] = $img; + } + $system = MSystem::create($item); + Log::write('system', 'index', "系统设置,ID:{$system->id}"); + } else { + if (!empty($img)) { + Image::delImg($system['mark_img']); + $item['mark_img'] = $img; + } + MSystem::update($item, ['id' => $system['id']]); + Log::write('system', 'index', "系统设置,ID:{$system['id']}"); + } + return $this->json(); + } else { + $item = MSystem::getSystem(); + $positions = Image::getMarkPosition(); + + $this->data['item'] = $item; + $this->data['positions'] = $positions; + return $this->view(); + } + } + + public function other() + { + return $this->view(); + } + + public function clearCache() + { + Cache::clear(); + $cachePath = app()->getRuntimePath().'cache'; + $tempPath = app()->getRuntimePath().'temp'; + Tool::removeByPath($cachePath); + Tool::removeByPath($tempPath); + clearstatcache(); + return $this->json(); + } +} diff --git a/app/controller/manager/Tag.php b/app/controller/manager/Tag.php new file mode 100755 index 0000000..ecb87f4 --- /dev/null +++ b/app/controller/manager/Tag.php @@ -0,0 +1,64 @@ + 30, + 'query' => [], + ]; + + $this->data['items'] = ArticleTags::getListWithPaginate($whereMap, $paginateRows, false); + return $this->view(); + } + + + public function edit() + { + $id = $this->request->param('id/d', 0); + $tagInfo = ArticleTags::findInfoById($id); + if (empty($tagInfo)) { + return $this->json(4004, '没有相关的记录'); + } + + if ($this->request->isPost()) { + $itemData = $this->request->param('item/a', []); + if (isset($itemData['id'])) { + unset($itemData['id']); + } + + try { + $this->validate($itemData, [ + 'seo_title|SEO标题' => 'max:100', + 'seo_keyword|SEO关键词' => 'max:200', + 'seo_description|SEO描述' => 'max:200', + ]); + $tagInfo->save($itemData); + } catch (ValidateException $e) { + return $this->json(4001, $e->getError()); + } catch (Exception $e) { + return $this->json(5001, '系统繁忙,修改失败!'); + } + + return $this->json(0, '修改成功!'); + } + + $this->data['id'] = $id; + $this->data['item'] = $tagInfo; + return $this->view(); + } + +} \ No newline at end of file diff --git a/app/controller/manager/Upload.php b/app/controller/manager/Upload.php new file mode 100755 index 0000000..b39398b --- /dev/null +++ b/app/controller/manager/Upload.php @@ -0,0 +1,222 @@ +isCompress = $system['compress']??true; + } + $this->validate = new VUpload(); + $this->uploadPath = Config::get('filesystem.disks.local.url'); + if(is_writable(app()->getRootPath() . 'public' . $this->uploadPath)){ + $this->uploadPathIsWritable = 1; + } + } + + //视频上传 + public function video() + { + if(!$this->uploadPathIsWritable){ + return $this->json(1, '上传文件夹需要写入权限'); + } + $video = request()->file('video'); + if($this->validate->checkVideo($video)){ + $src = Filesystem::disk('video')->putFile(date('Ymd'), $video, 'uniqid'); + $src = $this->uploadPath . '/' . $src; + $return['src'] = $src; + //加入上传文件表 + $newFile = File::add($video, $src, 'video'); + $return['fid'] = $newFile->id; + return $this->json(0, 'ok', $return); + }else{ + $errorMsg = Lang::get($this->validate->getError()); + return $this->json(1, $errorMsg); + } + } + + //音频上传 + public function audio() + { + if(!$this->uploadPathIsWritable){ + return $this->json(1, '上传文件夹需要写入权限'); + } + $audio = request()->file('audio'); + if($this->validate->checkFile($audio)){ + $src = Filesystem::disk('audio')->putFile(date('Ymd'), $audio, 'uniqid'); + $src = $this->uploadPath . '/' . $src; + $return['src'] = $src; + File::add($audio, $src, 'audio'); //加入上传文件表 + return $this->json(0, 'ok', $return); + }else{ + $errorMsg = Lang::get($this->validate->getError()); + return $this->json(1, $errorMsg); + } + } + + //文件上传(通用) + public function file() + { + try { + $file = request()->file('file'); + } catch (\Exception $e) { + $errorMsg = Lang::get($e->getMessage()); + return $this->json(1, $errorMsg); + } + try { + + if($this->validate->checkFile($file)){ + try{ + if(!$this->uploadPathIsWritable){ + throw new \Exception('上传文件夹需要写入权限'); + } + $src = Filesystem::putFile(date('Ymd'), $file, 'uniqid'); + $src = $this->uploadPath . '/' . $src; + $return['src'] = $src; + $return['name'] = $file->getOriginalName(); + File::add($file, $src, 'file'); //加入上传文件表 + } catch (\Exception $e) { + return $this->json(1, $e->getMessage()); + } + return $this->json(0,'ok',$return); + }else{ + $errorMsg = Lang::get($this->validate->getError()); + return $this->json(1, $errorMsg); + } + } catch (\Exception $e) { + return $this->json(1, $e->getMessage()); + } + + } + + //图片上传(通用) + public function image() + { + $image = request()->file('image'); + $md5 = $image->md5();//文件md5 + + if($this->validate->checkImage($image)){ + if ($fileItem = File::where('md5', $md5)->find()) { + $return['src'] = $fileItem['src']; + $fileItem['updated_at'] = date('Y-m-d H:i:s'); + return $this->json(0, '该文件已存在 路径为:'.$fileItem['src'], $return); + } + try{ + if(!$this->uploadPathIsWritable){ + throw new \Exception('上传文件夹需要写入权限'); + } + $src = Filesystem::putFile(date('Ymd'), $image, 'uniqid'); + + $src = $this->uploadPath . '/' . $src; +// $suffix = strtolower($image->getOriginalExtension()); +// if($suffix == 'gif'){ +// $return['thumb_src'] = $src; //TODO获取GIF缩略图 +// }else{ +// $return['thumb_src'] = Image::getThumb($src, 300, 300, TImage::THUMB_SCALING); //上传返回缩略图宽度为300 +// } + + $return['src'] = $src; + if($this->isCompress){ + Image::resize($src); + } + File::add($image, $src); //加入上传文件表 + } catch (\Exception|ImageException $e) { + return $this->json(1, $e->getMessage()); + } + return $this->json(0, 'ok', $return); + }else{ + $errorMsg = Lang::get($this->validate->getError()); + return $this->json(1, $errorMsg); + } + } + + //富文本编辑器商城图片 + public function wangImage() + { + $imageArr = request()->file('wang_img'); // 该方式,前端js上传方法中字段名称必须以数组形式传参 如 wang_img[] = 值 + $errno = 0; + $data = []; + if(!$this->uploadPathIsWritable){ + $errno = 1; + $data[] = '上传文件夹需要写入权限'; + }else{ + foreach ($imageArr as $image) { + if($this->validate->checkImage($image)){ + $src = Filesystem::putFile(date('Ymd'), $image, 'uniqid'); + $src = $this->uploadPath . '/' . $src; + $data[] = $src; + if($this->isCompress){ + Image::resize($src); + } + File::add($image, $src); //加入上传文件表 + }else{ + $errno = 1; + $data = []; + $data[] = Lang::get($this->validate->getError()); + break; + } + } + } + + $return['errno'] = $errno; + $return['data'] = $data; + return json($return); + } + + //富文本编辑器上传图片 + public function tinyImage() + { + $image = request()->file('file'); + + if (!$image) { + // 字段名不对 + header("HTTP/1.1 404 config field error"); + exit; + } + + if (!$this->uploadPathIsWritable) { + header("HTTP/1.1 403 Insufficient folder permissions"); + exit; + } else { + if (!in_array(strtolower($image->getMime()), ['image/png','image/jpeg','image/jpg','image/gif'])) { + header("HTTP/1.1 400 MIME TYPE ERROR"); + exit; + } + + checkPathExistWithMake(public_path().$this->uploadPath.'/images/'.date('Ym')); + + // tinymce富文本对图片进行操作后(xuan)上传的是blob文件。 + // 针对blob文件未读取到后缀名 自动生成后缀 默认用mimetype后缀 如image/jpeg =》jpeg + $newFileName = $image->hashName('uniqid'); + if (isset(explode('.',$newFileName)[1]) && empty(explode('.',$newFileName)[1])) { + $ext = explode('/', $image->getOriginalMime()); + $newFileName .= $ext[1]; + } + + $src = Filesystem::putFileAs('images/'.date('Ym'), $image, $newFileName); + $src = $this->uploadPath.'/'.$src; + if ($this->isCompress) { + // 剪切 + Image::resize($src); + } + File::add($image, $src); //加入上传文件表 + $res['location'] = $src; + return json($res); + } + } +} \ No newline at end of file diff --git a/app/controller/manager/VisitLog.php b/app/controller/manager/VisitLog.php new file mode 100755 index 0000000..049b01c --- /dev/null +++ b/app/controller/manager/VisitLog.php @@ -0,0 +1,147 @@ + [ + 'name' => '宋体', + ], + 'alignment' => [ + 'horizontal' => Alignment::HORIZONTAL_CENTER, // 水平居中 + 'vertical' => Alignment::VERTICAL_CENTER, // 垂直居中 + 'wrapText' => true, + ], + 'borders' => [ + 'allBorders' => [ + 'borderStyle' => Border::BORDER_THIN, + 'color' => ['rgb' => 'eeeeee'], + ] + ], + ]; + + protected $defaultSetting = [ + 'cell_width' => 30, + 'font_size' => 12 + ]; + + //可以删除一个 + public function del() + { + if ($this->request->isPost()) { + $id = input('post.id/d'); + if (is_numeric($id) && $id > 0) { + $item = VisitLogoModel::getById($id); + if (!empty($item)) { + VisitLogoModel::destroy($id); + if (!empty($item['file'])) { + Tool::delFile($item['file']); + } + Log::write('visit_log', 'del', '删除访问记录,ID:'.$id); + return $this->json(); + } + return $this->json(3, '待删除记录不存在'); + } + return $this->json(2, '参数错误,请核对之后再操作!'); + } + return $this->json(1, '非法请求!'); + } + + //列表 + public function index(): View + { + $startDate = input('param.startDate', ''); + $endDate = input('param.endDate', ''); + $keyword = input('param.keyword', ''); + + $param = []; + if (!empty($startDate)) { + $param['startDate'] = $startDate; + } + if (!empty($endDate)) { + $param['endDate'] = $endDate; + } + + if (!empty($keyword)) { + $param['keyword'] = $keyword; + } + + $paginate = [ + 'list_rows' => 20, + 'query' => $param + ]; + + $items = VisitLogoModel::when(!empty($startDate) && strtotime($startDate), function ($query) use ($startDate) { + $startTime = strtotime(date('Y-m-d 00:00:00', strtotime($startDate))); + $query->where('create_time', '>=', $startTime); + }) + ->when(!empty($endDate) && strtotime($endDate), function ($query) use ($endDate) { + $endTime = strtotime(date('Y-m-d 23:59:59', strtotime($endDate))); + $query->where('create_time', '<=', $endTime); + }) + ->when(!empty($keyword), function ($query) use ($keyword) { + $query->where('referer|visit', 'like', '%'.$keyword.'%'); + }) + ->order("create_time", 'desc') + ->paginate($paginate); + + $items->each(function ($item) { + $item->source_title = '其他'; + if (str_contains($item->referer, 'baidu.com')) { + $item->source_title = '百度'; + } + + if (str_contains($item->referer, 'so.com')) { + $item->source_title = '360'; + } + }); + + $this->data['items'] = $items; + $this->data['startDate'] = $startDate; + $this->data['endDate'] = $endDate; + $this->data['keyword'] = $keyword; + return $this->view(); + } + + // 导出留言 + public function export() + { + File::cancelTimeLimit(); + + $startDate = input('param.startDate', ''); + $endDate = input('param.endDate', ''); + $list = MMessage::getExportList($startDate, $endDate, 10000); + + $spreadsheet = new Spreadsheet(); + $header = ['序号', '姓名', '电话', '公司/团队名称', '申请日期']; + + $sheet = $spreadsheet->getActiveSheet(); + $sheetTitle = '预约记录'; + $cellValues = []; + $cellWidthList = []; + + foreach ($list as $item) { + $cellValues[] = [ + [$item['id'], DataType::TYPE_STRING], + $item['name'], + $item['tel'], + $item['company'], + date('Y-m-d H:i', $item['create_time']), + ]; + } + + File::setExcelCells($sheet, $cellValues, $header, $sheetTitle, $cellWidthList, $this->excelStyle, $this->defaultSetting); + File::export($spreadsheet, '预约记录导出_'.date('YmdHis').'.xlsx'); + } + +} diff --git a/app/controller/manager/Wechat.php b/app/controller/manager/Wechat.php new file mode 100755 index 0000000..9ee7a27 --- /dev/null +++ b/app/controller/manager/Wechat.php @@ -0,0 +1,27 @@ + [ + ], + + 'listen' => [ + 'AppInit' => [], + 'HttpRun' => [], + 'HttpEnd' => [], + 'LogLevel' => [], + 'LogWrite' => [], + ], + + 'subscribe' => [ + ], +]; diff --git a/app/middleware.php b/app/middleware.php new file mode 100755 index 0000000..e588a2d --- /dev/null +++ b/app/middleware.php @@ -0,0 +1,10 @@ +controller()); + $controller = str_replace('manager.', '', $controller); + $action = request()->action(); + $name = strtolower($controller.'/'.$action); + if(!empty($ruleNames) && in_array($name, $ruleNames, true)){ + return $next($request); + } + if(request()->isAjax()){ + return json(['code' => 1,'msg' => '没有权限']); + }else{ + exit('无操作权限') ; + } + + } +} \ No newline at end of file diff --git a/app/middleware/Csrf.php b/app/middleware/Csrf.php new file mode 100755 index 0000000..a651035 --- /dev/null +++ b/app/middleware/Csrf.php @@ -0,0 +1,55 @@ +isPost()){ + $check = $request->checkToken('__token__'); + if(false === $check) { + return $this->csrfError($request); + } + } + return $next($request); + } + + protected function csrfError($request, $msg = '非法请求, 用户身份认证失败!') + { + if($request->isAjax()) { + return json(['code' => 401, 'msg' => $msg], 200); + } else { + $referer = $_SERVER['HTTP_REFERER'] ?? null; + if (empty($referer)) { + $url = '/'; + } else { + $domain = $request->domain(); + $urlInfo = parse_url($referer); + $scheme = $urlInfo['scheme'] ?? ''; + $requestSrc = ''; + if (!empty($scheme)) { + $requestSrc = $scheme.'://'.($urlInfo['host'] ?? ''); + } + if($domain != $requestSrc) { + $url = '/'; + } else { + $url = 'javascript:history.back(-1);'; + } + } + $errorData = [ + 'code'=> 401, + 'msg' => $msg, + 'data' => [], + 'wait' => 5, + 'url' => $url + ]; + return view('error/400', $errorData); + // 返回401视图 response type has html、json、jsonp、xml、file、view、redirect + } + } +} \ No newline at end of file diff --git a/app/model/Article.php b/app/model/Article.php new file mode 100755 index 0000000..46337cc --- /dev/null +++ b/app/model/Article.php @@ -0,0 +1,542 @@ + '置顶', + 'hot' => '热门', + 'recommend' => '推荐', + ]; + + public static function getAttributeList(array $categoryIds = []) + { + $data = []; + $recommendCategoryList = []; + if(count(array_intersect($categoryIds, $recommendCategoryList)) > 0) { + $data['recommend'] = '推荐'; + } + + // 新闻动态 + $communityCategoryIds = Category::getCategoryWithChildrenIds(Category::CATEGORY_NEWS); + if(count(array_intersect($categoryIds, $communityCategoryIds)) > 0) { + $data['top'] = '置顶'; + $data['hot'] = '热门'; + $data['recommend'] = '推荐'; + } + return $data; + } + + /********************************************* + * 分割线 + *********************************************/ + + + + //获取最高访问的文章列表 + public static function getMostVisited($limit = 5) + { + if ($limit <= 0) { + $limit = 5; + } + return self::order('views', 'desc') + ->limit($limit) + ->select() + ->toArray(); + } + + //获取栏目下最新记录 + public static function getLatestByCategory($categoryId, $limit = 5) + { + if (empty($categoryId)) { + return []; + } + if ($limit <= 0) { + $limit = 5; + } + return self::where('category_id', $categoryId) + ->order('id', 'desc') + ->limit($limit) + ->select() + ->toArray(); + } + + //根据文章ID和栏目ID获取下一篇文章 + public static function getNextArticleBySortAndCategoryId($sort, $categoryId) + { + return self::alias('a') + ->where('a.sort', '<', $sort) + ->leftJoin('category c', 'c.id = a.category_id') + ->where('a.category_id', $categoryId) + ->where('a.status', 1) + ->order('a.sort', 'desc') + ->field('a.id,a.title,a.category_id, c.title as category_title') + ->findOrEmpty() + ->toArray(); + } + + //根据文章ID和栏目ID获取上一篇文章 + public static function getPrevArticleBySortAndCategoryId($sort, $categoryId) + { + return self::alias('a') + ->leftJoin('category c', 'c.id = a.category_id') + ->where('a.sort', '>', $sort) + ->where('a.category_id', $categoryId) + ->where('a.status', 1) + ->order('a.sort', 'asc') + ->field('a.id,a.title,a.category_id, c.title as category_title') + ->findOrEmpty() + ->toArray(); + } + + //根据栏目ID获取文章列表 + public static function getListByCategory($categoryId, $limit = 10) + { + return self::where('category_id', $categoryId) + ->where('status', 1) + ->order("sort", 'desc') + ->limit($limit) + ->select() + ->toArray(); + } + + //根据栏目ID获取文章分页列表 + public static function getListPageByCategory($categoryId, $per = 20, $keyword = '') + { + $where = [ + ['category_id', '=', $categoryId], + ['status', '=', 1], + ]; + $param['category_id'] = $categoryId; + if ($keyword != '') { + $where[] = ['title', 'like', '%'.$keyword.'%']; + $param['keyword'] = $keyword; + } + $paginate = [ + 'list_rows' => $per, + 'query' => $param + ]; + return self::where($where) + ->order("sort", 'desc') + ->paginate($paginate, false); + } + + //根据栏目ID获取文章数量(状态:正常) + public static function getNormalListCount($categoryId) + { + $where = [ + ['category_id', '=', $categoryId], + ['status', '=', 1], + ]; + + return self::where($where) + ->count(); + } + + public static function onAfterInsert($article) + { + $article->sort = $article->id; + $article->create_time = $article->update_time = time(); + $auth = session('auth'); + $article->created = $article->updated = $auth['userName']; + $article->save(); + } + + /** + * 获取文章列表 + * @param int $categoryId 分类ID + * @param int $per 每页数量 + * @param string $keyword 关键词 + * @param array $param 文章类型:置顶、热门、推荐 ['top','hot','recommend'] + * @param int $status 文章状态,-1表示不限制 + * @param array $orderList 排序 + * @param bool $onlyChild 仅获取下级 默认true false=获取所有后代分类 + * @return Paginator + */ + public static function getList($categoryId, $per = 20, $keyword = '', $param = [], $status = -1, $orderList = ['a.sort' => 'desc'], bool $onlyChild = true) + { + $whereMap = []; + $pageParam = []; + if (is_numeric($categoryId) && $categoryId > 0) { + $children = Category::getChildrenByParentId($categoryId, $onlyChild); + if (!empty($children)) { + $categoryIds = [$categoryId]; + foreach ($children as $child) { + if ($child['model_id'] == Model::MODEL_ARTICLE) { + $categoryIds[] = $child['id']; + } + } + $whereMap[] = ['a.category_id', 'in', $categoryIds]; + } else { + $whereMap[] = ['a.category_id', '=', $categoryId]; + } + $pageParam['category_id'] = $categoryId; + } + if (!empty($keyword)) { + $whereMap[] = ['a.title', 'like', '%'.$keyword.'%']; + $pageParam['keyword'] = $keyword; + } + if (is_array($param) && count($param) > 0) { + $pageParam['param'] = $param; + foreach ($param as $vo) { + if (in_array($vo, ['top', 'hot', 'recommend'], true)) { + $whereMap[] = ["a.{$vo}", '=', 1]; + } + } + } + $paginate = [ + 'list_rows' => $per, + 'query' => $pageParam + ]; + + return self::alias('a') + ->leftJoin('category c', 'c.id = a.category_id') + ->when(count($whereMap) > 0, function ($query) use ($whereMap) { + $query->where($whereMap); + }) + ->when($status != -1, function ($query) use ($status) { + $query->where('a.status', $status); + }) + ->order($orderList) + ->field('a.*, c.title as category_title') + ->paginate($paginate, false); + } + + //获取文章涉及到的图片 + public static function getFilesInUse() + { + $items = self::select()->toArray(); + $data = []; + foreach ($items as $item) { + $src = trim($item['src']); + if (!empty($src)) { + $key = getKeyByPath($src); + $data[$key] = $src; + } + $imgs = getImageUrlFromText($item['content']); + if (!empty($imgs)) { + $data = array_merge($data, $imgs); + } + $videos = getVideoUrlFromText($item['content']); + if (!empty($videos)) { + $data = array_merge($data, $videos); + } + } + return $data; + } + + //推荐列表(其他推荐类) + public static function getRecommendList($categoryId, $recommend = '', $limit = 3, $excludeIds = [], $orderList = ['a.id' => 'desc']) + { + if (empty($categoryId) || empty($recommend)) { + return []; + } + + $whereMap = []; + if (is_numeric($categoryId) && $categoryId > 0) { + $children = Category::getChildrenByParentId($categoryId); + if (!empty($children)) { + $categoryIds = [$categoryId]; + foreach ($children as $child) { + if ($child['model_id'] == Model::MODEL_ARTICLE) { + $categoryIds[] = $child['id']; + } + } + $whereMap[] = ['a.category_id', 'in', $categoryIds]; + } else { + $whereMap[] = ['a.category_id', '=', $categoryId]; + } + } + if (!empty($excludeIds)) { + $whereMap[] = ['a.id', 'not in', $excludeIds]; + } + + return self::alias('a') + ->leftJoin('category c', 'c.id = a.category_id') + ->when(count($whereMap) > 0, function ($query) use ($whereMap) { + $query->where($whereMap); + }) + ->whereRaw("FIND_IN_SET(:recommend, a.`recommend_other`)", ['recommend' => $recommend]) + ->where('a.status', 1) + ->order($orderList) + ->limit($limit) + ->field('a.*, c.title as category_title') + ->select() + ->toArray(); + } + + // 转换文章的推荐设置 + public static function convertRecommendOther($categoryIds = [], $articles, $isMulti = true) + { + if (empty($articles) || count($articles) == 0) { + return $articles; + } + + $attributeList = self::getAttributeList($categoryIds); + + if ($isMulti) { + foreach ($articles as &$article) { + $recommendOtherList = []; + $recommendOtherStrList = []; + if (isset($article['recommend_other']) && !empty($article['recommend_other'])) { + $recommendOtherList = explode(',', $article['recommend_other']); + foreach ($recommendOtherList as $recommendKey) { + if (isset($attributeList[$recommendKey]) && !empty($attributeList[$recommendKey])) { + $recommendOtherStrList[] = $attributeList[$recommendKey]; + } + } + } + $article['recommend_other_list'] = $recommendOtherList; + $article['recommend_other_str'] = implode(',', $recommendOtherStrList); + } + unset($article); + + } else { + $recommendOtherList = []; + $recommendOtherStrList = []; + if (isset($articles['recommend_other']) && !empty($articles['recommend_other'])) { + $recommendOtherList = explode(',', $articles['recommend_other']); + foreach ($recommendOtherList as $recommendKey) { + if (isset($attributeList[$recommendKey]) && !empty($attributeList[$recommendKey])) { + $recommendOtherStrList[] = $attributeList[$recommendKey]; + } + } + } + $articles['recommend_other_list'] = $recommendOtherList; + $articles['recommend_other_str'] = implode(',', $recommendOtherStrList); + } + + return $articles; + } + + // 获取最新动态 + public static function getLastDynamicsList($categoryId, $withChild = false, $limit = 10) + { + $categoryIds = [$categoryId]; + if ($withChild) { + $childCategories = Category::getChildrenByParentId($categoryId); + if (!empty($childCategories)) { + foreach ($childCategories as $category) { + if ($category['model_id'] == Model::MODEL_ARTICLE) { + $categoryIds[] = $category['id']; + } + } + } + } + + return self::alias('a') + ->leftJoin('category c', 'c.id = a.category_id') + ->whereIn('a.category_id', $categoryIds) + ->where('a.status', 1) + ->order('a.id', 'desc') + ->limit($limit) + ->field('a.*, c.title as category_title') + ->select() + ->toArray(); + + } + + + //根据文章ID和栏目IDs,默认按创建时间获取下一篇文章 + public static function getNextArticleByTimeAndCategoryIds(array $where, $sortOrder = ['a.id' => 'desc']) + { + return self::alias('a') + ->leftJoin('category c', 'c.id = a.category_id') + ->where($where) + ->where('a.status', 1) + ->order($sortOrder) + ->field('a.*, c.title as category_title') + ->findOrEmpty() + ->toArray(); + } + + //根据文章ID和栏目IDs,默认按创建时间获取上一篇文章 + public static function getPrevArticleByTimeAndCategoryIds(array $where, $sortOrder = ['a.id' => 'asc']) + { + return self::alias('a') + ->leftJoin('category c', 'c.id = a.category_id') + // ->where('a.id','>',$curId) + // ->whereIn('a.category_id', $categoryIds) + ->where($where) + ->where('a.status', 1) + ->order($sortOrder) + ->field('a.*, c.title as category_title') + ->findOrEmpty() + ->toArray(); + } + + public static function getLastTopList($categoryId, $limit = 3, $excludeIds = [], $orderList = ['a.recommend_other' => 'desc', 'a.id' => 'desc']) + { + if (empty($categoryId)) { + return []; + } + + $whereMap = []; + if (is_numeric($categoryId) && $categoryId > 0) { + $children = Category::getChildrenByParentId($categoryId); + if (!empty($children)) { + $categoryIds = [$categoryId]; + foreach ($children as $child) { + if ($child['model_id'] == Model::MODEL_ARTICLE) { + $categoryIds[] = $child['id']; + } + } + $whereMap[] = ['a.category_id', 'in', $categoryIds]; + } else { + $whereMap[] = ['a.category_id', '=', $categoryId]; + } + } + if (!empty($excludeIds)) { + $whereMap[] = ['a.id', 'not in', $excludeIds]; + } + + $items = self::alias('a') + ->leftJoin('category c', 'c.id = a.category_id') + ->when(count($whereMap) > 0, function ($query) use ($whereMap) { + $query->where($whereMap); + }) + ->where('a.status', 1) + ->order($orderList); + if ($limit > 0) { + $items = $items->limit($limit); + } + $items = $items->limit($limit) + ->field('a.*, c.title as category_title') + ->select() + ->toArray(); + + return $items; + } + + // 分页获取最新动态 + public static function getLastDynamicsPageList($categoryId, $withChild = true, $per = 20) + { + $categoryIds = [$categoryId]; + if ($withChild) { + $childCategories = Category::getChildrenByParentId($categoryId); + if (!empty($childCategories)) { + foreach ($childCategories as $category) { + if ($category['model_id'] == Model::MODEL_ARTICLE) { + $categoryIds[] = $category['id']; + } + } + } + } + + $paginate = [ + 'list_rows' => $per, + 'query' => [ + 'category_id' => $categoryId + ] + ]; + + return self::alias('a') + ->leftJoin('category c', 'c.id = a.category_id') + ->whereIn('a.category_id', $categoryIds) + ->where('a.status', 1) + ->order('a.id', 'desc') + ->field('a.*, c.title as category_title') + ->paginate($paginate, false); + } + + // 根据栏目ID进行分组,按sort倒序排列,每组最多获取n条(默认10条)数据 + public static function getGroupListByCategoryIds(array $categoryIds, int $size = 10) + { + return self::alias('ca') + ->where($size, '>', function ($q) { + $q->table('bee_article cb') + ->whereRaw('ca.category_id = cb.category_id and ca.sort < cb.sort')->field('count(*)'); + }) + ->whereIn('ca.category_id', $categoryIds) + ->field('ca.*') + ->order(['ca.sort' => 'desc']) + ->select(); + } + + public static function parseList($items) + { + try { + $tagNameList = []; + foreach ($items as $ki => $item) { + $tagStr = trim($item['tag'] ?? ''); + $tagNames = empty($tagStr) ? [] : explode(',', $tagStr); + $tagNameList = array_merge($tagNameList, $tagNames); + } + $tagNameList = array_unique($tagNameList); + $tagKVs = ArticleTags::findByNames($tagNameList)->column('id', 'name'); + + foreach ($items as $ki => $item) { + $tagStr = trim($item['tag'] ?? ''); + $tagNames = empty($tagStr) ? [] : explode(',', $tagStr); + $tagList = []; + foreach ($tagNames as $tagName) { + $tagList[] = [ + 'name' => $tagName, + 'id' => $tagKVs[$tagName] ?? 0 + ]; + } + $items[$ki]['tag_list'] = $tagList; + $createTime = is_numeric($item['create_time']) ? $item['create_time'] : strtotime($item['create_time']); + $items[$ki]['create_date'] = date('Y-m-d', $createTime); + $item['create_dateTime'] = date('Y-m-d H:i:s', $createTime); + } + } catch (\Exception $e) { + + } + return $items; + } + + public static function parseInfo($item) + { + if ($item) { + $tagStr = trim($item['tag'] ?? ''); + $tagNameList = empty($tagStr) ? [] : explode(',', $tagStr); + $tagKVs = ArticleTags::findByNames($tagNameList)->column('id', 'name'); + $tagList = []; + foreach ($tagNameList as $tagName) { + $tagList[] = [ + 'name' => $tagName, + 'id' => $tagKVs[$tagName] ?? 0 + ]; + } + $item['tag_list'] = $tagList; + $createTime = is_numeric($item['create_time']) ? $item['create_time'] : strtotime($item['create_time']); + $item['create_date'] = date('Y-m-d', $createTime); + $item['create_dateTime'] = date('Y-m-d H:i:s', $createTime); + } + return $item; + } + + public static function countList(array $where, callable $call = null) + { + $q = new static(); + $q = $q->where($where); + if ($call) { + $q = $call($q); + } + return $q->count(); + } + + public static function findListByWhere(array $where, int $page = 1, int $size = 10, callable $call = null, array $sortList = []) + { + $q = new static(); + $q = $q->where($where); + if ($call) { + $q = $call($q); + } + if ($size > 0) { + $q = $q->page($page, $size); + } + if (count($sortList)) { + $q = $q->order($sortList); + } + return $q->select(); + } +} \ No newline at end of file diff --git a/app/model/ArticleTags.php b/app/model/ArticleTags.php new file mode 100755 index 0000000..6bd148f --- /dev/null +++ b/app/model/ArticleTags.php @@ -0,0 +1,84 @@ +find(); + } + + /** + * @param array $nameList + * @return Collection + * @throws DataNotFoundException + * @throws DbException + * @throws ModelNotFoundException + */ + public static function findByNames(array $nameList) + { + return self::whereIn('name', $nameList)->select(); + } + + // 获取推荐标签 + public static function getRecommendTags(int $size = 12, int $type = -1) + { + $where = []; + $sortOrder = []; + switch ($type) { + case 1: // 限制查询 case_total + $where[] = ['case_total', '>', 0]; + $sortOrder['case_total'] = 'desc'; + break; + case 2: // 限制查询 news_total + $where[] = ['news_total', '>', 0]; + $sortOrder['news_total'] = 'desc'; + break; + } + + $q = new static(); + if (count($where) > 0) { + $q = $q->where($where); + } + if (count($sortOrder) > 0) { + $q = $q->order($sortOrder); + } + + return $q->limit($size)->select(); + } + + /** + * 分页器:分页数据查询 + * + * @param array $where 查询条件,二维数组 + * @param array $paginateRows 分页参数 [list_rows 每页数量 | page 当前页 | path url路径 | query url额外参数| fragment url锚点 | var_page 分页变量] + * @param bool $paginateSimple 是否为简单分页 + * @return Paginator + * @throws DbException + */ + public static function getListWithPaginate(array $where, array $paginateRows, bool $paginateSimple = false): Paginator + { + return self::where($where)->paginate($paginateRows, $paginateSimple); + } +} \ No newline at end of file diff --git a/app/model/AuthGroup.php b/app/model/AuthGroup.php new file mode 100755 index 0000000..2478874 --- /dev/null +++ b/app/model/AuthGroup.php @@ -0,0 +1,54 @@ + $rules]; + self::updateById($groupId, $data); + Member::where('group_id', $groupId) + ->update($data); + } + + //根据ID获取角色列表,ID为1是超级管理员 + public static function getListById($groupId = 1) + { + if($groupId < 1){ + return []; + } + $group = self::getById($groupId); + if(empty($group)){ + return []; + } + if($groupId == 1){ + return self::select() + ->toArray(); + }else{ + return self::where('id','<>','1') + ->select() + ->toArray(); + } + } + + /** + * 重置角色权限缓存 + * @param int $groupId 指定重置的角色ID,若不指定则重置所有角色 + */ + public static function resetGroupRulesCache($groupId = 0) + { + if(is_numeric($groupId) && $groupId > 0) { + Cache::set('group_rules_'.$groupId, null); + Cache::set('rule_names_'.$groupId, null); + } else { + $groupIds = self::column('id'); + foreach ($groupIds as $id){ + Cache::set('group_rules_'.$id, null); + Cache::set('rule_names_'.$id, null); + } + } + } +} diff --git a/app/model/AuthRule.php b/app/model/AuthRule.php new file mode 100755 index 0000000..45f667d --- /dev/null +++ b/app/model/AuthRule.php @@ -0,0 +1,271 @@ +where('status', 1) + ->order('sort', 'asc') + ->select() + ->toArray(); + return self::getChildren($items); + } + + //角色权限 + 基本权限 + public static function getAuthListByRuleIDs($groupId) + { + $order = ['sort'=>'asc']; + if ($groupId == 1) { + $items = self::order($order)->select()->toArray(); + } else { + $group = AuthGroup::getById($groupId); + $rulesArr = []; + if ($group && !empty($group['rules'])) { + $rulesArr = array_filter(explode(',', $group['rules'])); + } + if (count($rulesArr) >0) { + $items = self::wherein('id', $rulesArr)->whereOr('is_base', 1)->order($order)->select()->toArray(); + } else { + $items = self::where('is_base', 1)->order($order)->select()->toArray(); + } + } + $levelItems = self::getChildren($items); + $levelIds = self::getChildrenIds($items); + // 独立写入不在连续分层中的权限,连续分层权限可用于菜单显示 + foreach ($items as $item) { + if(!in_array($item['id'], $levelIds)) { + $levelItems[] = $item; + } + } + return $levelItems; + } + + //根据上级ID获取下级权限列表 + public static function getListTree($forMenu = 0) + { + $items = self::getList($forMenu); + return self::getChildren($items); + } + + //根据上级ID获取下级权限列表 + public static function getListByParentId($parentId) + { + return self::where('parent_id', $parentId) + ->order('sort', 'asc') + ->select() + ->toArray(); + } + + /** + * @param array $items + * @param integer $parent_id + * @return array + */ + public static function getChildren($items, $parentId = 0) + { + $data = []; + foreach($items as $item){ + if($item['parent_id'] == $parentId){ + $childern = self::getChildren($items, $item['id']); + if(!empty($childern)){ + $item['hasChildren'] = true; + $item['children'] = $childern; + } + $data[] = $item; + } + } + return $data; + } + + public static function getChildrenIds($items, $parentId = 0) + { + $data = []; + foreach($items as $item){ + if($item['parent_id'] == $parentId){ + $childrenIds = self::getChildrenIds($items, $item['id']); + if(!empty($childrenIds)){ + $data = array_merge($data, $childrenIds); + } + $data[] = $item['id']; + } + } + return $data; + } + + /** + * @param integer $forMenu 大于0表示获取可显示的权限 + * @return void + */ + private static function getList($forMenu = 0) + { + if($forMenu){ + return self::where('status', 1)->order('sort', 'asc')->select()->toArray(); + }else{ + return self::order('sort', 'asc')->select()->toArray(); + } + } + + //获取可显示权限 + public static function getTopListForDisplay() + { + return self::where('status', 1) + ->where('parent_id', 0) + ->order('sort', 'asc') + ->select() + ->toArray(); + } + + //根据两个名字获取权限 + public static function getByTwoName($name, $otherName) + { + return self::whereOr('name',$name) + ->whereOr('name',$otherName) + ->findOrEmpty() + ->toArray(); + } + + //根据name获取权限 + public static function getByName($name) + { + return self::where('name', $name) + ->findOrEmpty() + ->toArray(); + } + + public static function onAfterInsert($rule) + { + $rule->sort = $rule->id; + $rule->save(); + } + + /** + * 该情况适合无限级菜单分组显示 (当前系统仅支持2级权限,因此推荐使用getListTree 方法) + * @param int $forMenu 是否只获取可显示菜单权限 + */ + public static function getListTreeSort($forMenu = 0) + { + $items = self::getList($forMenu); + return self::groupSort($items, 0, 1, true, true); + } + + /** + * 分组排序(不拆分为子集) + * + * @param $items 数据源 + * @param integer $pid + * @param integer $level + * @param bool $clear 是否释放局部变量(外部调用时必须先释放,避免数据被累加;内部不用,需要累加) + * @param bool $isArr 传入的$items是否为数组,默认否(数据集) + * @param string $levelSpare 分层符 + * @return void + */ + public static function groupSort($items,$pid = 0, $level = 1, $clear = true, $isArr = false, $levelSpare = '_') + { + static $data = []; + if ($clear) { + $data = []; + static $data = []; + } + if(!empty($levelSpare) && $level > 1) { + $levelSpare = str_repeat($levelSpare, $level-1); + } + if (count($items) > 0) { + if ($isArr) { + foreach ($items as $key => $item) { + if ($item['parent_id'] == $pid) { + $item['level'] = $level; + $item['title'] = $levelSpare.$item['title']; + $data[] = $item; + self::groupSort($items, $item['id'], $level+1, false, $isArr); + } + } + } else { + foreach ($items as $key => $item) { + if ($item->parent_id == $pid) { + $item->level = $level; + $item->title = $levelSpare.$item->title; + $data[] = $item; + self::groupSort($items, $item->id, $level+1, false, $isArr); + } + } + } + } + return $data; + } + + /** + * 树形排序 (拆分子集) + * + * @param Collection $items 数据集(非数组) + * @param integer $pid + * @param integer $level + * @return void + */ + public static function treeSort($items,$pid = 0, $level = 1) + { + $data = []; + if (count($items) > 0) { + foreach ($items as $key => $item) { + if ($item->parent_id == $pid) { + $item->level = $level; + $children = self::treeSort($items, $item->id, $level+1); + $item->children = $children; + $data[] = $item; + } + } + } + return $data; + } + + /** + * 查询用户权限(登陆时更具角色更新为最新权限) + * 可显示权限和所有权限 角色权限 + 基本权限 + * + * @param boolean $groupId 角色ID,超级管理员(对应group_id = 1) + * @return void + */ + public static function userRolesList($groupId = 1) + { + $userRoles = []; + $items = null; + $order = ['sort'=>'asc']; + if ($groupId == 1) { + $items = self::order($order)->select(); + } else { + $group = AuthGroup::getById($groupId); + $rulesArr = []; + if ($group && !empty($group['rules'])) { + $rulesArr = array_filter(explode(',', $group['rules'])); + } + if (count($rulesArr) >0) { + $items = self::wherein('id', $rulesArr)->whereOr('is_base', 1)->order($order)->select(); + } else { + $items = self::where('is_base', 1)->order($order)->select(); + } + } + if (empty($items) || $items->isEmpty()) { + return $userRoles; + } + + $allRulesId = []; + $displayRules = []; + $displayRulesId = []; + foreach ($items as $key => $item) { + $allRulesId[] = $item->id; + if ($item->status > 0) { + $displayRules[] = $item; + $displayRulesId[] = $item->id; + } + } + + $userRoles['allRules'] = $items; + $userRoles['allRulesId'] = $allRulesId; + $userRoles['displayRules'] = $displayRules; + $userRoles['displayRulesId'] = $displayRulesId; + return $userRoles; + } + +} diff --git a/app/model/Base.php b/app/model/Base.php new file mode 100755 index 0000000..c7ae8a8 --- /dev/null +++ b/app/model/Base.php @@ -0,0 +1,51 @@ +select()->toArray(); + } + //根据ID获取单条数据 + public static function getById($id) + { + if($id <= 0){ + return []; + } + return self::where('id', $id)->findOrEmpty()->toArray(); + } + + //根据ID更新数据 + public static function updateById($id, $data) + { + return self::where('id', $id)->update($data); + } + + //根据where条件和排序获取记录 + public static function getListByWhereAndOrder($where, $order, $limit = 1) + { + return self::where($where) + ->order($order) + ->limit($limit) + ->select() + ->toArray(); + } + + // 根据ID查询记录详情 + public static function findInfoById($id) + { + return self::where('id', $id)->find(); + } +} \ No newline at end of file diff --git a/app/model/Block.php b/app/model/Block.php new file mode 100755 index 0000000..f0d2db2 --- /dev/null +++ b/app/model/Block.php @@ -0,0 +1,170 @@ +"高德", + "baidu"=>"百度", + "tengxun"=>"腾讯", + ]; + + //获取类型键值对 + public static function getTypes() + { + return [ + '1' => 'block', + '2' => 'img', + '3' => 'text', + '4' => 'group', + '5' => 'video', + '6' => 'code', + '7' => 'audios', + '8' => 'videos', + '9' => 'map', + ]; + } + + //根据键值和类目获取数据 + public static function getByKeyword($keyword, $categoryId) + { + return self::where('keyword', $keyword)->where('category_id', $categoryId)->findOrEmpty()->toArray(); + } + + //根据栏目ID获取块列表 + public static function getByCategoryId($categoryId) + { + + if($categoryId <= 0){ + return []; + } + $category = Category::getById($categoryId); + if(empty($category)){ + return []; + } + $items = self::where('category_id', $categoryId) + ->order('sort asc') + ->select() + ->toArray(); + if(empty($items)){ + return []; + } + $data = []; + foreach($items as $item){ + $data[$item['keyword']] = $item; + } + return $data; + } + + //根据栏目ID获取块列表 + public static function getChildrenByCategoryId($categoryId) + { + + if($categoryId <= 0){ + return []; + } + $category = Category::getById($categoryId); + if(empty($category)){ + return []; + } + $categoryIds = Category::where('path', 'like', $category['path'].$category['id'].',%')->column('id'); + if(empty($categoryIds)){ + return []; + } + $items = self::whereIn('category_id', $categoryIds) + ->order('sort asc') + ->select() + ->toArray(); + if(empty($items)){ + return []; + } + $data = []; + foreach($items as $item){ + $data[$item['keyword']] = $item; + } + return $data; + } + + public static function onAfterInsert($item) + { + $item->sort = $item->id; + $item->save(); + } + + //获取在使用中的文件 + public static function getFilesInUse() + { + $items = self::whereIn('type', [self::IMG, self::GROUP, self::VIDEO, self::TEXT]) + ->select() + ->toArray(); + $data = []; + foreach($items as $item){ + if($item['type'] == self::IMG){ + $file = trim($item['value']); + if(!empty($file)){ + $key = getKeyByPath($file); + $data[$key] = $file; + } + }elseif($item['type'] == self::GROUP){ + $val = trim($item['value']); + if (!empty($val) && $val != '[]' && $val != 'null') { + $files = json_decode($val, true); + foreach($files as $file){ + $src = trim($file['src']); + if(!empty($src)){ + $key = getKeyByPath($src); + $data[$key] = $src; + } + } + } + }elseif($item['type'] == self::VIDEO){ + $video = trim($item['value']); + if(!empty($video)){ + $key = getKeyByPath($video); + $data[$key] = $video; + } + $img = trim($item['img']); + if(!empty($img)){ + $key = getKeyByPath($img); + $data[$key] = $img; + } + }elseif($item['type'] == self::TEXT){ + $imgs = getImageUrlFromText($item['value']); + if(!empty($imgs)){ + $data = array_merge($data, $imgs); + } + $videos = getVideoUrlFromText($item['value']); + if(!empty($videos)){ + $data = array_merge($data, $videos); + } + } + } + return $data; + } + + // 转化json化存储的数据 + public static function convertValue($items) + { + foreach ($items as &$item) { + $item['json_value_list'] = []; + if(in_array($item['type'], self::$jsonValueTypes) && !empty($item['value'])) { + $item['json_value_list'] = json_decode($item['value'], true); + } + } + unset($item); + + return $items; + } +} diff --git a/app/model/Category.php b/app/model/Category.php new file mode 100755 index 0000000..fad728b --- /dev/null +++ b/app/model/Category.php @@ -0,0 +1,448 @@ +findOrEmpty()->toArray(); + } + + public static function getAbout() + { + return self::where('id', self::CATEGORY_ABOUT)->find()->toArray(); + } + + /** + * 根据上级ID和语言获取下级栏目 + * + * @param $parentId + * @param bool $onlyChild 仅获取下级 默认true false=获取所有后代 + * @return array + */ + public static function getChildrenByParentId($parentId, bool $onlyChild = true) + { + if ($parentId <= 0) { + return []; + } + $category = self::getById($parentId); + if (empty($category)) { + return []; + } + if ($onlyChild) { + $where[] = ['c.parent_id', '=', $parentId]; + } else { + $where[] = ['c.path', 'like', $category['path'].$parentId.',%']; + } + return self::alias('c') + ->leftJoin('model m', 'c.model_id=m.id') + ->field('c.*, m.manager, m.template, m.name as modelName') + // ->where('c.parent_id', $parentId) + ->where($where) + ->order('c.sort', 'asc') + ->order('c.id', 'asc') + ->select() + ->toArray(); + } + + //重写方法 + public static function getById($categoryId) + { + return self::alias('c') + ->leftJoin('model m', 'c.model_id = m.id') + ->where('c.id', $categoryId) + ->field('c.*, m.template') + ->findOrEmpty() + ->toArray(); + } + + //查看是否有下级栏目 + public static function hasChildren($categoryId) + { + if (is_array($categoryId)) { + $count = self::where('parent_id', 'in', $categoryId)->count(); + } else { + $count = self::where(['parent_id' => $categoryId])->count(); + } + return $count ? true : false; + } + + //获取前台菜单 + public static function getListForFrontMenu() + { + $items = self::alias('c') + ->leftJoin('model m', 'c.model_id=m.id') + ->field('c.*, m.manager, m.template') + ->where('c.state', 1) + ->order('is_index desc, sort asc') + ->select() + ->toArray(); + return self::getCates($items); + } + + /** + * 获取栏目 + * @param bool $limit 是否限制查询 + * @param array $cates 需要限制查询的栏目IDs + */ + public static function getList($limit = false, $cates = []) + { + if ($limit && empty($cates)) { + return []; + } + return self::alias('c') + ->leftJoin('model m', 'c.model_id=m.id') + ->field('c.*, m.manager, m.name as modelName') + ->when($limit, function ($query) use ($cates) { + $query->whereIn('c.id', $cates); + }) + ->order('sort', 'asc') + ->select() + ->toArray(); + } + + //获取栏目分级列表 + public static function getListTree($isMenu = false) + { + if ($isMenu) { + $items = self::where('c.state', 1)->order('sort', 'asc')->select()->toArray(); + } else { + $items = self::order('sort', 'asc')->select()->toArray(); + } + return self::getCates($items); + } + + //获取递归栏目 + public static function getCates($cates, $parentId = 0) + { + $menus = []; + foreach ($cates as $cate) { + if ($cate['parent_id'] == $parentId) { + $children = self::getCates($cates, $cate['id']); + if (!empty($children)) { + $cate['children'] = $children; + } + $menus[] = $cate; + } + } + return $menus; + } + + public static function onAfterInsert($category) + { + $category->sort = $category->id; + $category->save(); + } + + //递归获取栏目名称面包屑 + public static function getCatesCrumbs($currentId = 0) + { + $crumbs = []; + $category = self::getById($currentId); + if ($category) { + if ($category['parent_id'] != 0) { + $categoryIds = explode(',', trim($category['path'], ',')); + $categories = self::where('id', 'in', $categoryIds)->column('*', 'id'); + foreach ($categoryIds as $id) { + if (isset($categories[$id])) { + $crumbs[] = $categories[$id]['title']; + } + } + } + $crumbs[] = $category['title']; + } + return $crumbs; + } + + //获取栏目中涉及到的文件 + public static function getFilesInUse() + { + $items = self::select()->toArray(); + $data = []; + foreach ($items as $item) { + $src = trim($item['src']); + if (!empty($src)) { + $key = getKeyByPath($src); + $data[$key] = $src; + } + } + return $data; + } + + //当前分类的最高级分类Id + public static function firstGradeById($id) + { + $res = 0; + $item = self::getById($id); + if ($item) { + $res = $id; + if ($item['parent_id'] > 0) { + $items = self::select()->toArray(); + $first = self::getFirstGrade($items, $item['parent_id']); + if (!empty($first)) { + $res = $first['id']; + } + } + } + return $res; + } + + public static function getFirstGrade($items, $parentId) + { + $data = []; + foreach ($items as $key => $item) { + if ($item['id'] == $parentId) { + if ($item['parent_id'] > 0) { + unset($items[$key]); + $parent = self::getFirstGrade($items, $item['parent_id']); + if (!empty($parent)) { + $data = $parent; + } else { + $data = $item; + } + } else { + $data = $item; + } + } + } + return $data; + } + + /** + * 当前分类和子分类 + * + * @param int $parentId + * @return array + */ + public static function getCategoryWithChildren(int $parentId) + { + $item = self::getById($parentId); + if ($item) { + $childList = self::getChildrenByParentId($parentId); + $childIds = []; + foreach ($childList as $child) { + $childIds[] = $child['id']; + } + $item['children'] = $childList; + $item['children_ids'] = $childIds; + } + + return $item; + } + + /** + * 当前分类和子分类的ID集 + * @param int $parentId + * @return array|int[] + */ + public static function getCategoryWithChildrenIds(int $parentId) + { + $categoryIds = [$parentId]; + $item = self::getCategoryWithChildren($parentId); + if ($item) { + $categoryIds = array_merge($categoryIds, $item['children_ids']); + } + return $categoryIds; + } + + public static function getByRuleAlias($alias) + { + return self::where('alias', $alias)->findOrEmpty()->toArray(); + } + + /* + * 设置了路由别名的栏目 + * 路由别名长度大的优先排序,路由匹配优先规则 + */ + public static function getRouteList() + { + return self::whereRaw('char_length(route) > 0') + ->field('id,route,model_id, char_length(route) as alias_len') + ->order('alias_len', 'desc') + ->select() + ->toArray(); + } + + /** + * 获取所有下级分类 + * + * @param int $parentId + * @return Collection + * @throws DataNotFoundException + * @throws DbException + * @throws ModelNotFoundException + */ + public static function findAllChildren(int $parentId) + { + return self::whereFindInSet('path', $parentId)->select(); + } + + /** + * 根据栏目分组ID获取该分组所有的栏目ID集 + * + * @param int $groupId + * @return array|int[] + * @throws DataNotFoundException + * @throws DbException + * @throws ModelNotFoundException + */ + public static function getGroupCategoryIds(int $groupId) + { + $list = [$groupId]; + $items = self::findAllChildren($groupId); + $childrenIds = $items->column('id'); + + return array_merge($list, $childrenIds); + } + + /** + * 判断当前分类是否为文章类 + * + * @param int $cateId + */ + public static function isArticle(int $cateId) + { + $item = self::getById($cateId); + $res = false; + if (!empty($item) && $item['model_id'] == Model::MODEL_ARTICLE) { + $res = true; + } + + return $res; + } + + /** + * 根据栏目标识获取栏目信息 + * + * @param string $categoryKey + * @return array|\think\Model|null + * @throws DataNotFoundException + * @throws DbException + * @throws ModelNotFoundException + */ + public static function findByCategoryKey(string $categoryKey) + { + if (strlen($categoryKey) == 0) { + return null; + } + + return self::where('category_key', $categoryKey)->find(); + } + + + public static function navList($categoryId = 0) + { + $menus = self::getListForFrontMenu(); + $allCategories = Category::getList(false); + foreach ($menus as &$menu) { + $menu['children_ids'] = []; + // $menusGroup = []; + if (isset($menu['children'])) { + $menu['children_ids'] = array_column($menu['children'], 'id'); + // foreach ($menu['children'] as $child) { + // $menusGroup[$child['group_name']][] = $child; + // } + } + + // $menu['menus_group'] = $menusGroup; + $menu['all_subordinate_ids'] = self::getAllSubordinateIds($allCategories, $menu['id'], true); + $menu['isActive'] = 0; + if ($categoryId == $menu['id'] || in_array($categoryId, $menu['all_subordinate_ids'])) { + $menu['isActive'] = 1; + } + } + + $data = [ + // 'categoryId' => $categoryId, + 'menus' => $menus, + ]; + // var_dump($menus);exit; + + return $data; + } + + // 所有下级栏目ID 包含当前栏目ID + private static function getAllSubordinateIds($items, $curId = 0, $containCurrent = false) + { + $list = []; + foreach ($items as $k => $item) { + if ($item['parent_id'] == $curId) { + $list[] = $item['id']; + unset($items[$k]); + $childrenIds = self::getAllSubordinateIds($items, $item['id']); + if ($childrenIds) { + $list = array_merge($list, $childrenIds); + } + } + } + if ($containCurrent) { + $list = array_merge([$curId], $list); + } + return $list; + } +} diff --git a/app/model/ConfigSetting.php b/app/model/ConfigSetting.php new file mode 100755 index 0000000..fe44785 --- /dev/null +++ b/app/model/ConfigSetting.php @@ -0,0 +1,115 @@ + $name, + 'contents' => json_encode($content, JSON_UNESCAPED_UNICODE) + ]); + } else { + self::updateById($config['id'], [ + 'contents' => json_encode($content, JSON_UNESCAPED_UNICODE) + ]); + } + + // 同步写入与生成配置文件 + if (self::with_write_config) { + self::setWithExtraConfigFile($name, $content); + } + } + + public static function getConfigByName(string $name) + { + $item = self::where('name', $name) + ->findOrEmpty() + ->toArray(); + + return self::convertContents($item); + } + + // 通过数据库查询配置信息 + public static function getConfigContentsByName(string $name) + { + $item = self::getConfigByName($name); + return $item['contents'] ?? []; + } + + public static function convertContents(array $item) + { + if(empty($item)) { + return []; + } + $item['contents'] = empty($item['contents']) ? [] : json_decode($item['contents'], true); + return $item; + } + + + // 优先通过扩展配置文件查询配置信息,没有查询到再从数据库中查询 + public static function getConfigContentsWithFileByName(string $name) + { + $conf = []; + if (self::with_write_config) { + $extraFileName = self::parseExtraConfigFileNameByName($name); + CConfig::load('extra/'.$extraFileName, $name); + $conf = config($name); + } + + if (!empty($conf)) { + return $conf; + + } else { + $item = self::getConfigByName($name); + return $item['contents'] ?? []; + } + } + + // 通过配置名称解析扩展配置文件名称 + public static function parseExtraConfigFileNameByName(string $name) + { + // extra开头 + if (substr($name, 0, 5) == 'extra') { + $configFileName = substr($name, 5); + // 字符串首字母转小写 + $configFileName = lcfirst($configFileName); + } else { + $configFileName = $name; + } + + return $configFileName; + } + + // 扩展配置信息写入扩展配置文件 + public static function setWithExtraConfigFile(string $name, array $content = []) + { + try { + $configFileName = self::parseExtraConfigFileNameByName($name); + if (!is_numeric($configFileName) && empty($configFileName)) { + return false; + } + + $extraPath = config_path().'extra/'; + checkPathExistWithMake($extraPath); + $configFil = $extraPath.$configFileName.'.php'; + $configData = var_export($content, true); + + file_put_contents($configFil, 'sort = $item->id; + $item->save(); + } + + public static function getPaginateList($categoryId, $per = 20, $isSample = false) + { + $paginate = [ + 'list_rows' => $per, + 'query' => ['category_id' => $categoryId] + ]; + return self::where('category_id', $categoryId)->order('sort', 'desc')->paginate($paginate, $isSample); + } + + public static function getByCategoryId($categoryId, $onlyVisible = false, $pre = 50) + { + $items = self::where('category_id', $categoryId) + ->when($onlyVisible, function($query){ + $query->where('visible', 1); + }) + ->order('sort', 'desc') + ->limit($pre) + ->select(); + return $items->toArray(); + } + + /** + * 获取列表 + * @param int $categoryId 分类ID + * @param int $per 每页数量 + * @param string $keyword 关键词 + * @param array $param 类型:置顶、热门、推荐 ['top','hot','recommend'] + * @param int $status 状态,-1表示不限制 + * @param array $orderList 排序 + * @param bool $onlyChild 仅获取下级 默认true false=获取所有后代分类 + * @return Paginator + */ + public static function getList(int $categoryId, int $per = 20, string $keyword = '', array $param = [], int $status = -1, array $orderList = ['a.sort' => 'desc'], bool $onlyChild = true) + { + $whereMap = []; + $pageParam = []; + if (is_numeric($categoryId) && $categoryId > 0) { + $children = Category::getChildrenByParentId($categoryId, $onlyChild); + if (!empty($children)) { + $categoryIds = [$categoryId]; + foreach ($children as $child) { + if ($child['model_id'] == Model::MODEL_DOWNLOAD) { + $categoryIds[] = $child['id']; + } + } + $whereMap[] = ['a.category_id', 'in', $categoryIds]; + } else { + $whereMap[] = ['a.category_id', '=', $categoryId]; + } + $pageParam['category_id'] = $categoryId; + } + if (!empty($keyword)) { + $whereMap[] = ['a.title', 'like', '%'.$keyword.'%']; + $pageParam['keyword'] = $keyword; + } + if (is_array($param) && count($param) > 0) { + $pageParam['param'] = $param; + foreach ($param as $vo) { + if (in_array($vo, ['top', 'hot', 'recommend'], true)) { + $whereMap[] = ["a.{$vo}", '=', 1]; + } + } + } + $paginate = [ + 'list_rows' => $per, + 'query' => $pageParam + ]; + + return self::alias('a') + ->leftJoin('category c', 'c.id = a.category_id') + ->when(count($whereMap) > 0, function ($query) use ($whereMap) { + $query->where($whereMap); + }) + ->when($status != -1, function ($query) use ($status) { + $query->where('a.visible', $status); + }) + ->order($orderList) + ->field('a.*, c.title as category_title') + ->paginate($paginate, false); + } +} \ No newline at end of file diff --git a/app/model/File.php b/app/model/File.php new file mode 100755 index 0000000..2cda5f0 --- /dev/null +++ b/app/model/File.php @@ -0,0 +1,96 @@ + '图片', + 'video' => '视频', + 'file' => '文件', + 'audio' => '音频', + ]; + } + + //获取文件列表 + public static function getList($type = '', $page = 1, $per = 20) + { + $limit = ($page - 1) * $per; + if($type != ''){ + if(!in_array($type, array_keys(self::getTypes()))){ + return []; + } + $items = self::where('type', $type) + ->order('id desc'); + }else{ + $items = self::order('id desc'); + } + $items = $items->limit($limit, $per)->select()->toArray(); + foreach($items as &$item){ + $item['sizeStr'] = sizeToStr($item['size']); + } + return $items; + } + + //获取分页列表 + public static function getListPage($type = '', $per = 20) + { + if($type != ''){ + if(!in_array($type, array_keys(self::getTypes()))){ + return []; + } + return self::where('type', $type) + ->order('id desc') + ->paginate([ + 'list_rows' => $per, + 'query' => [ + 'type' => $type + ] + ], false); + }else{ + return self::order('id desc') + ->paginate([ + 'list_rows' => $per + ], false); + } + } + + //添加,$w_h图片尺寸大小,单位像素,只对type=img时有效 + public static function add($file, $src, $type = 'img') + { + $realPath = app()->getRootPath() . ltrim($src,'/'); + if(is_file($realPath) && $type == 'img'){ + $img = Image::open($realPath); + list($w,$h) = $img->size(); + $w_h = $w . 'px * ' . $h . 'px'; + }else{ + $w_h = ''; + } + return self::create([ + 'type' => $type, + 'name' => $file->getOriginalName(), + 'src' => $src, + 'size' => $file->getSize(), + 'suffix' => $file->getOriginalExtension(), + 'mime_type' => $file->getOriginalMime(), + 'create_time' => time(), + 'w_h' => $w_h, + 'md5' => $file->md5() + ]); + } + + //获取所有记录 + public static function getAll() + { + return self::select()->toArray(); + } +} diff --git a/app/model/History.php b/app/model/History.php new file mode 100755 index 0000000..c38d4e6 --- /dev/null +++ b/app/model/History.php @@ -0,0 +1,47 @@ +sort = $item->id; + $item->save(); + } + + public static function getPaginateList($categoryId, $per = 20, $isSample = false) + { + $paginate = [ + 'list_rows' => $per, + 'query' => ['category_id' => $categoryId] + ]; + $items = self::where('category_id', $categoryId)->order('sort', 'asc')->paginate($paginate, $isSample); + if(!$items->isEmpty()) { + $ids = $items->column('id'); + $infoList = HistoryInfo::getByHistoryIds($ids); + foreach ($items as $k => $item) { + $items[$k]['info'] = $infoList[$item['id']] ?? []; + } + } + return $items; + } + + public static function getByCategoryId($categoryId, $onlyVisible = false, $pre = 50) + { + $items = self::where('category_id', $categoryId) + ->when($onlyVisible, function($query){ + $query->where('visible', 1); + }) + ->order('sort', 'asc') + ->limit($pre) + ->select(); + if(!$items->isEmpty()) { + $ids = $items->column('id'); + $infoList = HistoryInfo::getByHistoryIds($ids, $onlyVisible); + foreach ($items as $k => $item) { + $items[$k]['info'] = $infoList[$item['id']] ?? []; + } + } + return $items->toArray(); + } +} \ No newline at end of file diff --git a/app/model/HistoryInfo.php b/app/model/HistoryInfo.php new file mode 100755 index 0000000..8c467d2 --- /dev/null +++ b/app/model/HistoryInfo.php @@ -0,0 +1,52 @@ +sort = $item->id; + $item->save(); + } + + public static function getByHistoryIds($historyIds = [], $onlyVisible = false) + { + if(!is_array($historyIds) || count($historyIds) == 0) { + return []; + } + $list = self::whereIn('history_id', $historyIds) + ->when($onlyVisible, function ($query) { + $query->where('visible', 1); + }) + ->order(['history_id'=>'asc','sort'=>'asc']) + ->select() + ->toArray(); + $data = []; + foreach ($list as $item) { + $item['img_list'] = []; + if(!empty($item['imgs'])) { + $item['img_list'] = array_filter(explode(',', $item['imgs'])); + } + $data[$item['history_id']][] = $item; + } + return $data; + } + + public static function countByHistoryId($historyId) + { + return self::where('history_id', $historyId)->count(); + } + + public static function delByHistoryId($historyId) + { + return self::where('history_id', $historyId)->delete(); + } + + public static function getByHistoryId($historyId) + { + if($historyId <= 0) { + return []; + } + return self::where('history_id', $historyId)->order(['sort'=>'asc'])->select()->toArray(); + } +} \ No newline at end of file diff --git a/app/model/Honour.php b/app/model/Honour.php new file mode 100755 index 0000000..fe6629d --- /dev/null +++ b/app/model/Honour.php @@ -0,0 +1,32 @@ +sort = $item->id; + $item->save(); + } + + public static function getPaginateList($categoryId, $per = 20, $isSample = false) + { + $paginate = [ + 'list_rows' => $per, + 'query' => ['category_id' => $categoryId] + ]; + return self::where('category_id', $categoryId)->order('sort', 'asc')->paginate($paginate, $isSample); + } + + public static function getByCategoryId($categoryId, $onlyVisible = false, $pre = 50) + { + $items = self::where('category_id', $categoryId) + ->when($onlyVisible, function($query){ + $query->where('visible', 1); + }) + ->order('sort', 'asc') + ->limit($pre) + ->select(); + return $items->toArray(); + } +} \ No newline at end of file diff --git a/app/model/Link.php b/app/model/Link.php new file mode 100755 index 0000000..866de77 --- /dev/null +++ b/app/model/Link.php @@ -0,0 +1,52 @@ +delete(); + } + + //获取友情链接 + public static function getList($limit=0) + { + return self::order('sort asc') + ->when($limit > 0, function($q) use ($limit) { + $q->limit($limit); + }) + ->select() + ->toArray(); + } + + public static function onAfterInsert($item) + { + $item->sort = $item->id; + $item->save(); + } + + //获取友情链接涉及到的文件 + public static function getFilesInUse() + { + $items = self::select()->toArray(); + $data = []; + foreach($items as $item){ + $src = trim($item['src']); + if(!empty($src)){ + $key = getKeyByPath($src); + $data[$key] = $src; + } + } + return $data; + } + + // 分页查询 + public static function getListWithPaginate($where=[], $limit=10, $simplePage = false) + { + return self::where($where) + ->order('sort asc') + ->paginate([ + 'list_rows' => $limit + ], $simplePage); + } +} diff --git a/app/model/LinkProduct.php b/app/model/LinkProduct.php new file mode 100755 index 0000000..1ddb0ee --- /dev/null +++ b/app/model/LinkProduct.php @@ -0,0 +1,51 @@ +delete(); + } + + //获取列表 + public static function getList($limit = 10, $where = [], $orders = ['sort'=>'asc']) + { + return self::order($orders) + ->when(!empty($where), function ($q) use ($where) { + $q->where($where); + }) + ->when($limit > 0, function ($q) use ($limit) { + $q->limit($limit); + }) + ->select() + ->toArray(); + } + + public static function onAfterInsert($item) + { + $item->sort = $item->id; + $item->save(); + } + + //获取涉及到的文件 + public static function getFilesInUse() + { + $items = self::select()->toArray(); + $data = []; + foreach($items as $item){ + $src = trim($item['src']); + if(!empty($src)){ + $key = getKeyByPath($src); + $data[$key] = $src; + } + } + return $data; + } +} \ No newline at end of file diff --git a/app/model/Log.php b/app/model/Log.php new file mode 100755 index 0000000..fa12814 --- /dev/null +++ b/app/model/Log.php @@ -0,0 +1,20 @@ + $auth['userId'], + 'name' => $auth['userName'], + 'ip' => request()->ip(), + 'create_time' => time(), + 'controller' => $controller, + 'action' => $action, + 'content' => $content + ]); + } +} \ No newline at end of file diff --git a/app/model/LoginLog.php b/app/model/LoginLog.php new file mode 100755 index 0000000..35bb334 --- /dev/null +++ b/app/model/LoginLog.php @@ -0,0 +1,6 @@ +leftjoin('auth_group g','g.id=m.group_id') + ->field('m.id,m.username,m.login_time,m.group_id,g.title') + ->order('m.id', 'asc') + ->paginate($limit); + return $items; + } + + /** + * 根据角色分组返回用户 + * @param int $groupId 角色分组ID + * @param int $limit 每页数量 + */ + public static function getListByGroup($groupId, $limit = 40) + { + $items = self::alias('m') + ->leftjoin('auth_group g','g.id=m.group_id') + ->field('m.id,m.username,m.login_time,m.group_id,g.title') + ->where('m.group_id', '=', $groupId) + ->order('m.id', 'asc') + ->paginate($limit); + return $items; + } + + /** + * 根据角色分组返回用户 + * @param int $limit 每页数量 + * @return mixed + */ + public static function getListNotAdmin(int $limit = 40) + { + return self::alias('m') + ->leftjoin('auth_group g','g.id=m.group_id') + ->field('m.id,m.username,m.login_time,m.group_id,g.title') + ->where('m.group_id', '<>', 1) + ->order('m.id', 'asc') + ->paginate($limit); + } + + //根据用户名获取管理账号 + public static function getByUserName($username) + { + return self::where('username', trim($username)) + ->findOrEmpty() + ->toArray(); + } + + //根据ID获取管理账户和相关权限 + public static function getMemberAndRulesByID($memberId) + { + return self::alias('m') + ->join('auth_group g', 'm.group_id = g.id', 'LEFT') + ->field('m.group_id,g.rules') + ->where('m.id', $memberId) + ->findOrEmpty() + ->toArray(); + } + + public static function updateCates($id, $cates) + { + $cates = implode(',', $cates); + $data = ['cates' => $cates]; + self::updateById($id, $data); + } +} diff --git a/app/model/Message.php b/app/model/Message.php new file mode 100755 index 0000000..b51291f --- /dev/null +++ b/app/model/Message.php @@ -0,0 +1,60 @@ + $per, + 'query' => $param + ]; + + $items = self::when(!empty($startDate) && strtotime($startDate), function ($query) use($startDate) { + $startTime = strtotime(date('Y-m-d 00:00:00', strtotime($startDate))); + $query->where('create_time', '>=', $startTime); + }) + ->when(!empty($endDate) && strtotime($endDate), function ($query) use($endDate) { + $endTime = strtotime(date('Y-m-d 23:59:59', strtotime($endDate))); + $query->where('create_time', '<=', $endTime); + }) + ->order("create_time", 'desc') + ->paginate($paginate); + + return $items; + } + + public static function onAfterInsert($item) + { + $item->create_time = time(); + $item->save(); + } + + public static function getExportList($startDate='', $endDate='', $limit = 10000) + { + return self::when(!empty($startDate) && strtotime($startDate), function ($query) use($startDate) { + $startTime = strtotime(date('Y-m-d 00:00:00', strtotime($startDate))); + $query->where('create_time', '>=', $startTime); + }) + ->when(!empty($endDate) && strtotime($endDate), function ($query) use($endDate) { + $endTime = strtotime(date('Y-m-d 23:59:59', strtotime($endDate))); + $query->where('create_time', '<=', $endTime); + }) + ->order('create_time', 'desc') + ->limit($limit) + ->select() + ->toArray(); + } + +} \ No newline at end of file diff --git a/app/model/Model.php b/app/model/Model.php new file mode 100755 index 0000000..6666ae3 --- /dev/null +++ b/app/model/Model.php @@ -0,0 +1,27 @@ +select() + ->toArray(); + } + public static function onAfterInsert($model) + { + $model->sort = $model->id; + $model->save(); + } +} \ No newline at end of file diff --git a/app/model/NoticeModel.php b/app/model/NoticeModel.php new file mode 100755 index 0000000..e5389c3 --- /dev/null +++ b/app/model/NoticeModel.php @@ -0,0 +1,90 @@ +sort = $item->id; + $item->save(); + } + + public static function getPaginateList($categoryId, $per = 20, $isSample = false) + { + $paginate = [ + 'list_rows' => $per, + 'query' => ['category_id' => $categoryId] + ]; + return self::where('category_id', $categoryId)->order('sort', 'desc')->paginate($paginate, $isSample); + } + + public static function getByCategoryId($categoryId, $onlyVisible = false, $pre = 50) + { + $items = self::where('category_id', $categoryId) + ->order('sort', 'asc') + ->limit($pre) + ->select(); + return $items->toArray(); + } + + /** + * 获取列表 + * @param int $categoryId 分类ID + * @param int $per 每页数量 + * @param string $keyword 关键词 + * @param array $param 类型:置顶、热门、推荐 ['top','hot','recommend'] + * @param int $status 状态,-1表示不限制 + * @param array $orderList 排序 + * @param bool $onlyChild 仅获取下级 默认true false=获取所有后代分类 + * @return Paginator + */ + public static function getList(int $categoryId, int $per = 20, string $keyword = '', array $param = [], int $status = -1, array $orderList = ['a.sort' => 'desc'], bool $onlyChild = true) + { + $whereMap = []; + $pageParam = []; + if (is_numeric($categoryId) && $categoryId > 0) { + $children = Category::getChildrenByParentId($categoryId, $onlyChild); + if (!empty($children)) { + $categoryIds = [$categoryId]; + foreach ($children as $child) { + if ($child['model_id'] == Model::MODEL_PRODUCT) { + $categoryIds[] = $child['id']; + } + } + $whereMap[] = ['a.category_id', 'in', $categoryIds]; + } else { + $whereMap[] = ['a.category_id', '=', $categoryId]; + } + $pageParam['category_id'] = $categoryId; + } + if (!empty($keyword)) { + $whereMap[] = ['a.title', 'like', '%'.$keyword.'%']; + $pageParam['keyword'] = $keyword; + } + if (is_array($param) && count($param) > 0) { + $pageParam['param'] = $param; +// foreach ($param as $vo) { +// if (in_array($vo, ['top', 'hot', 'recommend'], true)) { +// $whereMap[] = ["a.{$vo}", '=', 1]; +// } +// } + } + $paginate = [ + 'list_rows' => $per, + 'query' => $pageParam + ]; + + return self::alias('a') + ->leftJoin('category c', 'c.id = a.category_id') + ->when(count($whereMap) > 0, function ($query) use ($whereMap) { + $query->where($whereMap); + }) + ->order($orderList) + ->field('a.*, c.title as category_title') + ->paginate($paginate, false); + } +} \ No newline at end of file diff --git a/app/model/PositionModel.php b/app/model/PositionModel.php new file mode 100755 index 0000000..cfed248 --- /dev/null +++ b/app/model/PositionModel.php @@ -0,0 +1,96 @@ +sort = $item->id; + $item->save(); + } + + public static function getPaginateList($categoryId, $per = 20, $isSample = false) + { + $paginate = [ + 'list_rows' => $per, + 'query' => ['category_id' => $categoryId] + ]; + return self::where('category_id', $categoryId)->order('sort', 'desc')->paginate($paginate, $isSample); + } + + public static function getByCategoryId($categoryId, $onlyVisible = false, $pre = 50) + { + $items = self::where('category_id', $categoryId) + ->when($onlyVisible, function($query){ + $query->where('visible', 1); + }) + ->order('sort', 'asc') + ->limit($pre) + ->select(); + return $items->toArray(); + } + + /** + * 获取列表 + * @param int $categoryId 分类ID + * @param int $per 每页数量 + * @param string $keyword 关键词 + * @param array $param 类型:置顶、热门、推荐 ['top','hot','recommend'] + * @param int $status 状态,-1表示不限制 + * @param array $orderList 排序 + * @param bool $onlyChild 仅获取下级 默认true false=获取所有后代分类 + * @return Paginator + */ + public static function getList(int $categoryId, int $per = 20, string $keyword = '', array $param = [], int $status = -1, array $orderList = ['a.sort' => 'desc'], bool $onlyChild = true) + { + $whereMap = []; + $pageParam = []; + if (is_numeric($categoryId) && $categoryId > 0) { + $children = Category::getChildrenByParentId($categoryId, $onlyChild); + if (!empty($children)) { + $categoryIds = [$categoryId]; + foreach ($children as $child) { + if ($child['model_id'] == Model::MODEL_PRODUCT) { + $categoryIds[] = $child['id']; + } + } + $whereMap[] = ['a.category_id', 'in', $categoryIds]; + } else { + $whereMap[] = ['a.category_id', '=', $categoryId]; + } + $pageParam['category_id'] = $categoryId; + } + if (!empty($keyword)) { + $whereMap[] = ['a.title', 'like', '%'.$keyword.'%']; + $pageParam['keyword'] = $keyword; + } + if (is_array($param) && count($param) > 0) { + $pageParam['param'] = $param; + foreach ($param as $vo) { + if (in_array($vo, ['top', 'hot', 'recommend'], true)) { + $whereMap[] = ["a.{$vo}", '=', 1]; + } + } + } + $paginate = [ + 'list_rows' => $per, + 'query' => $pageParam + ]; + + return self::alias('a') + ->leftJoin('category c', 'c.id = a.category_id') + ->when(count($whereMap) > 0, function ($query) use ($whereMap) { + $query->where($whereMap); + }) + ->when($status != -1, function ($query) use ($status) { + $query->where('a.visible', $status); + }) + ->order($orderList) + ->field('a.*, c.title as category_title') + ->paginate($paginate, false); + } +} \ No newline at end of file diff --git a/app/model/ProductModel.php b/app/model/ProductModel.php new file mode 100755 index 0000000..95c9be5 --- /dev/null +++ b/app/model/ProductModel.php @@ -0,0 +1,94 @@ +sort = $item->id; + $item->save(); + } + + public static function getPaginateList($categoryId, $per = 20, $isSample = false) + { + $paginate = [ + 'list_rows' => $per, + 'query' => ['category_id' => $categoryId] + ]; + return self::where('category_id', $categoryId)->order('sort', 'desc')->paginate($paginate, $isSample); + } + + public static function getByCategoryId($categoryId, $onlyVisible = false, $pre = 50) + { + $items = self::where('category_id', $categoryId) + ->when($onlyVisible, function($query){ + $query->where('visible', 1); + }) + ->order('sort', 'asc') + ->limit($pre) + ->select(); + return $items->toArray(); + } + + /** + * 获取列表 + * @param int $categoryId 分类ID + * @param int $per 每页数量 + * @param string $keyword 关键词 + * @param array $param 类型:置顶、热门、推荐 ['top','hot','recommend'] + * @param int $status 状态,-1表示不限制 + * @param array $orderList 排序 + * @param bool $onlyChild 仅获取下级 默认true false=获取所有后代分类 + * @return Paginator + */ + public static function getList(int $categoryId, int $per = 20, string $keyword = '', array $param = [], int $status = -1, array $orderList = ['a.sort' => 'desc'], bool $onlyChild = true, array $queryParam = []) + { + $whereMap = []; + if (is_numeric($categoryId) && $categoryId > 0) { + $children = Category::getChildrenByParentId($categoryId, $onlyChild); + if (!empty($children)) { + $categoryIds = [$categoryId]; + foreach ($children as $child) { + if ($child['model_id'] == Model::MODEL_PRODUCT) { + $categoryIds[] = $child['id']; + } + } + $whereMap[] = ['a.category_id', 'in', $categoryIds]; + } else { + $whereMap[] = ['a.category_id', '=', $categoryId]; + } + } + if (!empty($keyword)) { + $whereMap[] = ['a.title', 'like', '%'.$keyword.'%']; + $pageParam['keyword'] = $keyword; + } + if (is_array($param) && count($param) > 0) { + $pageParam['param'] = $param; + foreach ($param as $vo) { + if (in_array($vo, ['top', 'hot', 'recommend'], true)) { + $whereMap[] = ["a.{$vo}", '=', 1]; + } + } + } + $paginate = [ + 'list_rows' => $per, + 'query' => $queryParam + ]; + + return self::alias('a') + ->leftJoin('category c', 'c.id = a.category_id') + ->when(count($whereMap) > 0, function ($query) use ($whereMap) { + $query->where($whereMap); + }) + ->when($status != -1, function ($query) use ($status) { + $query->where('a.visible', $status); + }) + ->order($orderList) + ->field('a.*, c.title as category_title') + ->paginate($paginate, false); + } +} \ No newline at end of file diff --git a/app/model/Slide.php b/app/model/Slide.php new file mode 100755 index 0000000..1b08edf --- /dev/null +++ b/app/model/Slide.php @@ -0,0 +1,43 @@ +delete(); + } + + //获取幻灯片列表 + public static function getList() + { + return self::order("sort asc") + ->select() + ->toArray(); + } + public static function onAfterInsert($slide) + { + $slide->sort = $slide->id; + $slide->save(); + } + + //获取轮播图涉及到的文件 + public static function getFilesInUse() + { + $items = self::select()->toArray(); + $data = []; + foreach($items as $item){ + $src = trim($item['src']); + if(!empty($src)){ + $key = getKeyByPath($src); + $data[$key] = $src; + } + $mobileSrc = trim($item['src_mobile']); + if(!empty($mobileSrc)){ + $key = getKeyByPath($mobileSrc); + $data[$key] = $mobileSrc; + } + } + return $data; + } +} diff --git a/app/model/SmsLog.php b/app/model/SmsLog.php new file mode 100755 index 0000000..af4286b --- /dev/null +++ b/app/model/SmsLog.php @@ -0,0 +1,30 @@ + 'reg', + 'appointment' => 'appoint', + ]; + + public static function countByPhone($phone, $starTime=0,$endTime=0, $type='') + { + return self::where('phone', $phone) + ->when($starTime > 0, function ($query) use($starTime) { + $query->where('create_time', '>=', $starTime); + }) + ->when($endTime > 0, function ($query) use($endTime) { + $query->where('create_time', '<=', $endTime); + }) + ->when(!empty($type) && in_array($type, self::$typeList), function ($query) use($type) { + $query->where('type', $type); + }) + ->count(); + } +} \ No newline at end of file diff --git a/app/model/SpecialRoute.php b/app/model/SpecialRoute.php new file mode 100644 index 0000000..8a99741 --- /dev/null +++ b/app/model/SpecialRoute.php @@ -0,0 +1,23 @@ +find(); + } + + public static function deleteByTypeIds($ids,$type) + { + return self::where([['relation_id', "in",$ids],["type","=",$type]])->delete(); + } + public static function findByTypeRelaTioneId($relationId,$type) + { + return self::where([['relation_id', "=",$relationId],["type","=",$type]])->find(); + } +} diff --git a/app/model/System.php b/app/model/System.php new file mode 100755 index 0000000..7cc70ba --- /dev/null +++ b/app/model/System.php @@ -0,0 +1,59 @@ + $slideSize, + 'slide_mobile_size' => $slideMobileSize + ]; + } + //获取文章图片尺寸 + public static function getArticleImageSize() + { + $system = self::getSystem(); + if(!empty($system['article_w']) && !empty($system['article_h'])){ + $articleSize = $system['article_w'] . '像素 X ' . $system['article_h'] . '像素'; + }else{ + $articleSize = ''; + } + return $articleSize; + } + //获取系统配置信息 + public static function getSystem() + { + $system = self::order('id asc') + ->findOrEmpty() + ->toArray(); + CConfig::load('extra/base', "extraBase"); + $extraBase = config("extraBase"); + return array_merge($extraBase,$system); + } +} diff --git a/app/model/VisitLogoModel.php b/app/model/VisitLogoModel.php new file mode 100755 index 0000000..94ebc2a --- /dev/null +++ b/app/model/VisitLogoModel.php @@ -0,0 +1,11 @@ + 'dxtc\Bootstrap' +]; \ No newline at end of file diff --git a/app/service/File.php b/app/service/File.php new file mode 100755 index 0000000..b9d4301 --- /dev/null +++ b/app/service/File.php @@ -0,0 +1,188 @@ +getRootPath() . $upload_path; + $filename = uniqid() . '.' . $file->extension(); + $upload_filename = '/' . $upload_path . '/' . $filename; + return [$file->move($path, $filename), $file, $upload_filename]; + } + + //导出 + static public function export($spreadsheet,$filename) + { + $writer = new Xlsx($spreadsheet); + header("Content-Type: application/force-download"); + header("Content-Type: application/octet-stream"); + header("Content-Type: application/download"); + header('Content-Disposition:inline;filename="'.$filename.'"'); + header("Content-Transfer-Encoding: binary"); + header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); + header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); + header("Cache-Control: must-revalidate, post-check=0, pre-check=0"); + header("Pragma: no-cache"); + $writer->save('php://output'); + $spreadsheet->disconnectWorksheets(); + unset($spreadsheet); + exit; + } + + public static function cancelTimeLimit() + { + ini_set('max_execution_time', 0); + ini_set("memory_limit", -1); + set_time_limit(0); + } + + /** + * 根据header字段获取可配置列的cellId列表 + * 默认前26列为可配置列A~Z, $headerLength不能超过26 * 27 = 702 + * + * @param int $headerLength + * @return array + */ + public static function getCellIds(int $headerLength): array + { + $defaultCellIds = range('A', 'Z', 1); + $cellIds = $defaultCellIds; + $loop = ceil($headerLength / 26); + if($loop>1) { + $maxPrefixIndex = ($loop - 2) >= 25 ? 25 : ($loop - 2); + for ($prefixIndex = 0; $prefixIndex<= $maxPrefixIndex; $prefixIndex++) { + $prefix = $defaultCellIds[$prefixIndex]; + $cellIds = array_merge($cellIds, array_map(function ($val) use($prefix) { + return $prefix.$val; + }, $defaultCellIds)); + } + } + return $cellIds; + } + + /** + * 设置导出表数据 + * + * @param Worksheet $sheet 工作表对象 + * @param array $cellValues 数据信息,二维数组(ps:若字段值需要指定样式以数组格式传递,如[$val, DataType::TYPE_STRING])。第二行开始填充 + * @param array $header 表头信息, 第一行为表头 + * @param string $sheetTitle 工作表标题 + * @param array $cellWidthList 列宽样式,键值对,键名为列序号(从0开始计算) + * @param array $excelStyle 表数据样式 + * @param array $defaultList 默认设置样式 + * @param array $cellWrapList 列换行样式 + * @return bool + */ + public static function setExcelCells(Worksheet $sheet, array $cellValues, array $header, string $sheetTitle = '数据列表', $cellWidthList = [], $excelStyle = [], $defaultList = [], $cellWrapList = []): bool + { + $defaultStyle = [ + 'font' => [ + 'name' => '宋体', + ], + 'alignment' => [ + 'horizontal' => Alignment::HORIZONTAL_CENTER, // 水平居中 + 'vertical' => Alignment::VERTICAL_CENTER, // 垂直居中 + 'wrapText' => false, + ], + 'borders' => [ + 'allBorders' => [ + 'borderStyle' => Border::BORDER_THIN, + 'color' => ['rgb'=>'eeeeee'], + ] + ], + ]; + $headerLength = count($header); + + if($headerLength === 0) return false; + $cellIds = self::getCellIds($headerLength); + $lastCellId = $cellIds[$headerLength-1]; + $contentIndex = 2; + foreach ($cellValues as $n => $itemCell) { + foreach ($itemCell as $i => $cellValue) { + if(is_array($cellValue)) { + $sheet->setCellValueExplicit($cellIds[$i] . $contentIndex, ...$cellValue); + } else { + $sheet->setCellValue($cellIds[$i] . $contentIndex, $cellValue); + } + } + $contentIndex++; + } + + try { + $headerStr = 'A1:' . $lastCellId.'1'; + $bodyStr = 'A2:' . $lastCellId . ($contentIndex - 1); + + $defaultWidth = 24; // 默认列宽24个字符 + $fontSize = 12; // 默认字体大小为12号 + if(!empty($defaultList)) { + if(isset($defaultList['cell_width']) && is_numeric($defaultList['cell_width']) && $defaultList['cell_width'] > 0) { + $defaultWidth = $defaultList['cell_width']; + } + if(isset($defaultList['font_size']) && is_numeric($defaultList['font_size']) && $defaultList['font_size'] > 0) { + $fontSize = $defaultList['font_size']; + } + } + + + $sheet->setTitle(empty($sheetTitle) ? '数据列表': $sheetTitle); + $sheet->getDefaultColumnDimension()->setAutoSize($fontSize); + $sheet->getStyle($headerStr)->getFont()->setBold(false)->setSize($fontSize+2); + $sheet->getDefaultColumnDimension()->setWidth($defaultWidth); + $sheet->fromArray($header, null, 'A1'); + $sheet->getStyle($headerStr)->applyFromArray($defaultStyle); + $sheet->getStyle($bodyStr)->applyFromArray(empty($excelStyle) ? $defaultStyle : $excelStyle); + + // 自定义列宽 + if(!empty($cellWidthList)) { + foreach ($cellWidthList as $cellId => $widthVal) { + if(isset($cellIds[$cellId]) && is_numeric($widthVal) && $widthVal > 0) { + $sheet->getColumnDimension($cellIds[$cellId])->setWidth($widthVal); + } + } + } + + //自定义列是否换行 + if(!empty($cellWrapList)) { + foreach ($cellWrapList as $cellId => $boolVal) { + if(isset($cellIds[$cellId])) { + $wrap = $boolVal ? true : false; + $sheet->getStyle($cellIds[$cellId])->getAlignment()->setWrapText($wrap); + } + } + } + + return true; + } catch (\Exception $e) { + return false; + } + } + + // excel导入时间转换 + public static function getExcelTime($timeStr, $format = 'Y-m-d') + { + $timezone = ini_get('date.timezone'); + $timeStr = trim($timeStr); + if (!empty($timeStr)) { + if (is_numeric($timeStr)) { + $toTimestamp = EDate::excelToTimestamp($timeStr, $timezone); + $timeStr = date($format, $toTimestamp); + } else { + $toTimestamp = strtotime($timeStr); + $timeStr = ($toTimestamp === false) ? '' : date($format, $toTimestamp); + } + } else { + $timeStr = ''; + } + return $timeStr; + } +} \ No newline at end of file diff --git a/app/service/Http.php b/app/service/Http.php new file mode 100755 index 0000000..b71b5e4 --- /dev/null +++ b/app/service/Http.php @@ -0,0 +1,168 @@ + $value){ + if($i == 1) { + if(mb_stripos($url, '?') !== FALSE) { + $url .= "&" ."$key=" . urlencode($value); + } else { + $url .= "?" ."$key=" . urlencode($value); + } + } else { + $url .= "&" ."$key=" . urlencode($value); + } + $i ++; + } + } + + curl_setopt($ch, CURLOPT_URL, $url); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); + curl_setopt($ch, CURLOPT_FAILONERROR, false); + if(empty($header)){ + curl_setopt($ch, CURLOPT_HEADER, false); + }else{ + curl_setopt($ch,CURLOPT_HTTPHEADER, $header); + } + + curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); + + //https ignore ssl check ? + if(strlen($url) > 5 && strtolower(substr($url,0,5)) == "https" ){ + curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); + curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); + } + + $reponse = curl_exec($ch); + + if (curl_errno($ch)){ + throw new \Exception(curl_error($ch),0); + }else{ + $httpStatusCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); + if (200 !== $httpStatusCode){ + throw new \Exception($reponse,$httpStatusCode); + } + } + curl_close($ch); + return $reponse; + } + + public static function curlPost($url, $postFields = null, $header = [], $hasFile = false) + { + $ch = curl_init(); + curl_setopt($ch, CURLOPT_URL, $url); + curl_setopt($ch, CURLOPT_FAILONERROR, false); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); + //https 请求 + if(strlen($url) > 5 && strtolower(substr($url,0,5)) == "https" ) { + curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); + curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); + } + curl_setopt($ch, CURLOPT_POST, true); + + if (is_array($postFields) && 0 < count($postFields)) + { + if($hasFile) { + // CURLOPT_POSTFIELDS 值为数组则以multipart/form-data形式提交 + curl_setopt($ch, CURLOPT_POSTFIELDS, $postFields); + } else { + $jsonHeader = array("Content-Type: application/json; charset=utf-8", "Content-Length:".strlen(json_encode($postFields))); + $header = array_merge($header, $jsonHeader); + curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($postFields)); + } + + if(!empty($header)) { + curl_setopt($ch,CURLOPT_HTTPHEADER, $header); + } + } + + $reponse = curl_exec($ch); + if (curl_errno($ch)) + { + throw new \Exception(curl_error($ch),0); + } + else + { + $httpStatusCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); + if (200 !== $httpStatusCode) + { + throw new \Exception($reponse,$httpStatusCode); + } + } + curl_close($ch); + return $reponse; + } + + public static function curlDelete($url, $postFields = null) + { + $ch = curl_init(); + curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'DELETE'); + + curl_setopt($ch, CURLOPT_URL, $url); + curl_setopt($ch, CURLOPT_FAILONERROR, false); + curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); + //https 请求 + if(strlen($url) > 5 && strtolower(substr($url,0,5)) == "https" ) { + curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); + curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); + } + + if (is_array($postFields) && 0 < count($postFields)) + { + $header = array("Content-Type: application/json; charset=utf-8", "Content-Length:".strlen(json_encode($postFields))); + curl_setopt($ch,CURLOPT_HTTPHEADER,$header); + curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($postFields)); + } + $reponse = curl_exec($ch); + if (curl_errno($ch)) + { + throw new \Exception(curl_error($ch),0); + } + else + { + $httpStatusCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); + if (200 !== $httpStatusCode) + { + throw new \Exception($reponse,$httpStatusCode); + } + } + curl_close($ch); + return $reponse; + } + + //POST请求的结果解析 + public static function decodePostResult($url, $param, $header = [], $hasFile = false) + { + $resp = []; + try { + $resp = json_decode(self::curlPost($url, $param, $header, $hasFile), true); + $resp['resp_status'] = empty($resp) ? false :true; + } catch (\Exception $e) { + $resp = json_decode($e->getMessage(), true); + $resp['resp_status'] = false; + } + + return $resp; + } + + //GET请求结果解析 + public static function decodeGetResult($url, $header=[], $param = []) + { + $resp = []; + try { + $resp = json_decode(self::curlGet($url, $param, $header), true); + $resp['resp_status'] = empty($resp) ? false :true; + } catch (\Exception $e) { + $resp = json_decode($e->getMessage(), true); + $resp['resp_status'] = false; + } + + return $resp; + } +} diff --git a/app/service/Image.php b/app/service/Image.php new file mode 100755 index 0000000..a4d1cb4 --- /dev/null +++ b/app/service/Image.php @@ -0,0 +1,140 @@ +size(); + if($max > 0 && $img_w > $max){ + $height = floor($max * ($img_h / $img_w)); + $img->thumb($max, $height)->save($realPath); + } + } + } + + /** + * 添加水印 + * milo + * 2018-01-17 + */ + public static function mark($src) + { + $rootPath = app()->getRootPath(); + if(!empty($src)){ + $system = System::getSystem(); + $realPath = $rootPath . 'public/' . ltrim($src, '/'); + if(is_file($realPath)){ + if($system['is_mark']){ + $mark = $rootPath . ltrim($system['mark_img'], '/'); + if(is_file($mark)){ + $mark_position = $system['mark_position']??5; + $mark_opacity = $system['mark_opacity']??50; + $img = TImage::Open($realPath); + $img->water($mark,$mark_position,$mark_opacity)->save($realPath); + } + } + } + } + } + + //获取水印位置键值对 + public static function getMarkPosition() + { + return [ + "1" => '上左', + "2" => '上中', + "3" => '上右', + "4" => '中左', + "5" => '正中', + "6" => '中右', + "7" => '下左', + "8" => '下中', + "9" => '下右' + ]; + } + + /** + * 删除图片 + * milo + * 2018-01-15 + */ + public static function delImg($src) + { + if(!empty(trim($src))){ + $realPath = app()->getRootPath() . 'public/' . ltrim($src, '/'); + if (file_exists($realPath)) { + $info = pathinfo($realPath); + $source = $info['dirname'] . DIRECTORY_SEPARATOR . $info['filename'] . '*.' . $info['extension']; + foreach(glob($source) as $filename){ + if(is_file($filename)){ + unlink($filename); + } + } + clearstatcache();// 清除缓存 + } + + } + } + /** + * 获取缩略图 + * milo + * 2019-10-24修改 + * 避免跨平台出错,目录分隔符全部转换为'/' + * app()->getRuntimePath() = app()->getRootPath().'runtime/当前应用模块(api)/' + */ + public static function getThumb($src,$width=0,$height=0,$type = TImage::THUMB_CENTER) + { + if(empty($src)){ + return ''; + } + //文件存在 就不用切割了 + $suffix = explode(".",$src); + if(count($suffix)==2){ + $cuttingUrl = $suffix[0]."_".$width."_".$height.".".$suffix[1]; + if(file_exists(public_path().$cuttingUrl)){ + return $cuttingUrl; + } + } + $rootPath = app()->getRootPath(); + $realPath = $rootPath . 'public/' . ltrim($src, '/'); + $realPath = str_replace('\\', '/', $realPath); + if(!file_exists($realPath)){ + return ''; + } + $info = pathinfo($src); + if($width <= 0 && $height <= 0){ //高宽都小于或等于0,则返回原图片 + return $src; + } + $image = TImage::open($realPath); + list($imageWidth, $imageHeight) = $image->size(); + if($width <= 0){ + $width = floor($height * ($imageWidth / $imageHeight)); + }elseif($height <= 0){ + $height = floor($width * ($imageHeight / $imageWidth)); + } + if($width >= $imageWidth || $height >= $imageHeight){ + return $src; + } + $thumbName = $info['dirname']. DIRECTORY_SEPARATOR .$info['filename'].'_'.$width.'_'.$height.'.'.$info['extension']; + $realThumbName = $rootPath . 'public/' . ltrim($thumbName, '/'); + $realThumbName = str_replace('\\', '/', $realThumbName); + if(!file_exists($realThumbName)){ + $image = TImage::open($realPath); + $image->thumb($width, $height, $type)->save($realThumbName); + } + return str_replace('\\', '/', $thumbName); + } +} diff --git a/app/service/Tool.php b/app/service/Tool.php new file mode 100755 index 0000000..a301e56 --- /dev/null +++ b/app/service/Tool.php @@ -0,0 +1,102 @@ +getRootPath() . ltrim($path, '/'); + if (file_exists($realPath)) { + $info = pathinfo($realPath); + $source = $info['dirname'] . DIRECTORY_SEPARATOR . $info['filename'] . '*.' . $info['extension']; + foreach(glob($source) as $filename){ + if(is_file($filename)){ + unlink($filename); + } + } + clearstatcache();// 清除缓存 + } + } + } + + /** + * 删除目录下的所有文件和子目录 + * 调用完毕后请用clearstatcache()清理缓存 + */ + public static function removeByPath($path) + { + if(is_dir($path)) { + if($handle = @opendir($path)) { + while (($file = readdir($handle)) !== false){ + if($file != '.' && $file != '..') { + $child = $path.'/'.$file; + is_dir($child) ? self::removeByPath($child) : @unlink($child); + } + } + } + closedir($handle); + } elseif (is_file($path)) { + @unlink($path); + } else { + return false; + } + return true; + } + + //去除字符串空格 + public static function trimSpace($str) + { + return str_replace(' ', '', trim($str)); + } + + + //获取文章链接 + public static function getArticleUrl($article) + { + if(empty($article)){ + return ''; + } + // if(!empty($article['link'])){ + // return $article['link']; + // } + if(empty($article['route'])){ + return url('article/detail', ['id' => $article['id']]); + } + $category = Category::getById($article['category_id']); + $categoryRoute = ''; + if(isset($category['route']) && !empty($category['route'])){ + $categoryRoute = $category['route']; + } + $url = '/'; + if(!empty($categoryRoute)){ + $url .= $categoryRoute . '/'; + } + return $url . $article['route'] . '.html'; + } + + /** + * 格式化金钱字段 + * @param $money + * @return float + */ + public static function moneyFormat($money) + { + $money = is_string($money) ? trim($money) : $money; + return is_numeric($money) ? number_format($money, 2, '.', '') : 0; + } + // 获取客户端IP + public static function get_client_ip() { + $forwarded = request()->header("x-forwarded-for"); + if($forwarded){ + $ip = explode(',',$forwarded)[0]; + }else{ + $ip = request()->ip(); + } + return $ip; + } +} diff --git a/app/service/driver/SessionFile.php b/app/service/driver/SessionFile.php new file mode 100755 index 0000000..54bb093 --- /dev/null +++ b/app/service/driver/SessionFile.php @@ -0,0 +1,66 @@ +config['expire']; + $now = time(); + + $files = $this->findFiles($this->config['path'], function (\SplFileInfo $item) use ($lifetime, $now) { + // 添加文件是否存在判断 + if (!$item->isFile()) { + return false; + } + + return $now - $lifetime > $item->getMTime(); + }); + + foreach ($files as $file) { + $this->unlink($file->getPathname()); + } + } + + /** + * 重构unlink方法 + * + * 判断文件是否存在后,删除 + * + * @access private + * @param string $file + * @return bool + */ + protected function unlink(string $file): bool + { + return is_file($file) && unlink($file); + } +} \ No newline at end of file diff --git a/app/validate/Article.php b/app/validate/Article.php new file mode 100755 index 0000000..363a490 --- /dev/null +++ b/app/validate/Article.php @@ -0,0 +1,74 @@ + 'require|gt:0', + 'title|标题' => 'require|max:255', + 'summary|摘要' => 'max:255', + 'route|路由' => "routeValidate" + ]; + + protected $message = [ + 'model_id' => '所属模型必需选择', + 'route.routeValidate' => '路由不符合指定规范', + 'route.unique' => '路由已存在', + ]; + + protected function routeValidate($value) + { + $chars =preg_replace('/\s+/','', + "/^( + + [\/]{1} + + ( + + + ( + + ([A-Za-z0-9_-]*[A-Za-z_-]+) + | + ([A-Za-z_-]+[A-Za-z0-9_-]*) + ) + + | + + ( + ([A-Za-z0-9_-]+[A-Za-z_-]+[A-Za-z0-9_-]+) + | + ([A-Za-z_-]+[A-Za-z0-9_-]+[A-Za-z_-]+) + ) + + ) + + + )+ + + $/"); + + if ( preg_match($chars, $value)){ + return true; + + }else{ + + return "路由不符合指定规范"; + + } + } + + // edit 验证场景定义 + public function sceneEdit() + { + $id = input('id/d', 0); + return $this->append('route', 'unique:article,route,' .$id . '|unique:category,route' . '|unique:special_route,route' ); + } + public function sceneAdd() + { + return $this->append('route', 'unique:category,route|unique:article,route|unique:special_route,route'); + } + +} \ No newline at end of file diff --git a/app/validate/AuthGroup.php b/app/validate/AuthGroup.php new file mode 100755 index 0000000..cebd727 --- /dev/null +++ b/app/validate/AuthGroup.php @@ -0,0 +1,17 @@ + 'require', + 'status' => 'require|number', + ]; + protected $message = [ + 'title.require' => '角色名称不能为空', + 'status.require' => '角色状态必须设置', + 'status.number' => '角色状态参数值只能为数字类型', + ]; +} \ No newline at end of file diff --git a/app/validate/AuthRule.php b/app/validate/AuthRule.php new file mode 100755 index 0000000..3dc11b7 --- /dev/null +++ b/app/validate/AuthRule.php @@ -0,0 +1,19 @@ + 'require', + 'name' => 'require', + 'status' =>'require|number', + ]; + protected $message = [ + 'title.require' => '名称必须', + 'name.require'=> '标识必须', + 'status.require'=> '显示状态必须传值', + 'status.number'=> '显示状态传值只能为数字表示', + ]; +} \ No newline at end of file diff --git a/app/validate/Block.php b/app/validate/Block.php new file mode 100755 index 0000000..ccd5234 --- /dev/null +++ b/app/validate/Block.php @@ -0,0 +1,16 @@ + 'require', + 'keyword' => 'require', + ]; + protected $message = [ + 'title.require' => '名称必须', + 'keyword.require' => '键值必须' + ]; +} \ No newline at end of file diff --git a/app/validate/Category.php b/app/validate/Category.php new file mode 100755 index 0000000..b5b1923 --- /dev/null +++ b/app/validate/Category.php @@ -0,0 +1,79 @@ + 'require|number', + 'model_id|所属模型' => 'require|number|gt:0', + 'title|标题' => 'require|max:100', + 'description|描述' => 'max:255', + 'route|路由' =>"routeValidate", + 'category_key|标识' =>"alphaDash", + ]; + + protected $message = [ + 'model_id' => '所属模型必需选择', + 'route.routeValidate' => '路由不符合指定规范', + 'route.unique' => '路由已存在', + ]; + + protected function routeValidate($value) + { + $chars =preg_replace('/\s+/','', + "/^( + + [\/]{1} + + ( + + + ( + + ([A-Za-z0-9_-]*[A-Za-z_-]+) + | + ([A-Za-z_-]+[A-Za-z0-9_-]*) + ) + + | + + ( + ([A-Za-z0-9_-]+[A-Za-z_-]+[A-Za-z0-9_-]+) + | + ([A-Za-z_-]+[A-Za-z0-9_-]+[A-Za-z_-]+) + ) + + ) + + + )+ + + $/"); + + if ( preg_match($chars, $value)){ + return true; + + }else{ + + return "路由不符合指定规范"; + + } + } + + // edit 验证场景定义 + public function sceneEdit() + { + $id = input('id/d', 0); + return $this->append('route', 'unique:category,route,' .$id . '|unique:article,route' . '|unique:special_route,route' ) + ->append("category_key",'unique:category,category_key,' .$id ); + } + public function sceneAdd() + { + return $this->append('route', 'unique:category,route|unique:article,route|unique:special_route,route') + ->append("category_key",'unique:category,category_key' ); + } + +} \ No newline at end of file diff --git a/app/validate/DownloadValidate.php b/app/validate/DownloadValidate.php new file mode 100755 index 0000000..c87b3f3 --- /dev/null +++ b/app/validate/DownloadValidate.php @@ -0,0 +1,20 @@ + 'require|length:1,60', + 'file' => 'require', + 'visible' => 'require|in:0,1', + ]; + protected $message = [ + 'title.require' => '标题不能为空', + 'file.require' => '文件必传', + 'visible.require' => '状态必须设置', + 'visible.in' => '状态参数错误', + ]; + +} \ No newline at end of file diff --git a/app/validate/History.php b/app/validate/History.php new file mode 100755 index 0000000..aec9978 --- /dev/null +++ b/app/validate/History.php @@ -0,0 +1,21 @@ + 'require|length:1,60', + 'visible' => 'require|in:0,1', + 'event' => 'require', + ]; + protected $message = [ + 'title.require' => '标题不能为空', + 'name.length' => '标题长度限制为60个字符以内', + 'event.require' => '事件不能为空', + 'visible.require' => '历程状态必须设置', + 'visible.in' => '状态参数错误', + ]; + +} \ No newline at end of file diff --git a/app/validate/HistoryInfo.php b/app/validate/HistoryInfo.php new file mode 100755 index 0000000..414feb4 --- /dev/null +++ b/app/validate/HistoryInfo.php @@ -0,0 +1,19 @@ + 'require|length:1,2000', + 'visible' => 'require|in:0,1', + ]; + protected $message = [ + 'title.require' => '事例概述内容不能为空', + 'name.length' => '事例概述内容长度限制为2000个字符以内', + 'visible.require' => '历程事例状态必须设置', + 'visible.in' => '状态参数错误', + ]; + +} \ No newline at end of file diff --git a/app/validate/HonourValidate.php b/app/validate/HonourValidate.php new file mode 100755 index 0000000..941ce44 --- /dev/null +++ b/app/validate/HonourValidate.php @@ -0,0 +1,20 @@ + 'require|length:1,60', + 'visible' => 'require|in:0,1', + 'image' => 'require', + ]; + protected $message = [ + 'title.require' => '标题不能为空', + 'image.require' => '图片不能为空', + 'visible.require' => '状态必须设置', + 'visible.in' => '状态参数错误', + ]; + +} \ No newline at end of file diff --git a/app/validate/Link.php b/app/validate/Link.php new file mode 100755 index 0000000..ba7adfc --- /dev/null +++ b/app/validate/Link.php @@ -0,0 +1,16 @@ + 'require', + 'url' => 'url', + ]; + protected $message = [ + 'title.require' => '名称必须', + 'url.url' => '请填写有效的网址,以http://或https://开头' + ]; +} \ No newline at end of file diff --git a/app/validate/LinkProduct.php b/app/validate/LinkProduct.php new file mode 100755 index 0000000..1d6bb27 --- /dev/null +++ b/app/validate/LinkProduct.php @@ -0,0 +1,17 @@ + 'require', + 'url' => 'url', + ]; + protected $message = [ + 'title.require' => '名称必须', + 'url.require' => '链接网址不能为空,以http://或https://开头', + 'url.url' => '请填写有效的网址,以http://或https://开头' + ]; +} \ No newline at end of file diff --git a/app/validate/Login.php b/app/validate/Login.php new file mode 100755 index 0000000..5f83096 --- /dev/null +++ b/app/validate/Login.php @@ -0,0 +1,73 @@ + 'require|mobile', + 'sms_code' => 'require|length:4,20', + ]; + protected $regSmsMessage = [ + 'phone.require' => '手机号必填!', + 'phone.mobile' => '请输入正确格式的手机号!', + 'sms_code.require' => '短信验证码必填!', + 'sms_code.length' => '短信验证码错误!', + ]; + + protected $registerRule = [ + //'industry_code' => 'require', + //'company_size' => 'require', + 'team_name' => 'require|length:2,200', + 'email' => 'require|length:6,100', + 'password' => 'require|length:6,20|alphaNum', + 'second_domain' => 'require|length:4,12|alphaNum', + ]; + protected $registerMessage = [ + 'industry_code.require' => '所属行业必须!', + 'company_size.require' => '公司规模必须!', + 'team_name.require' => '公司或团队名称必填!', + 'team_name.length' => '请输入正确的公司或团队名称!', + 'email.require' => '邮箱必填!', + 'email.length' => '邮箱地址格式不正确!', + 'password.require' => '密码必填!', + 'password.length' => '密码格式错误!密码由6-20位数字和大小写字母组成', + 'password.alphaNum' => '密码格式错误!密码由6-20位数字和大小写字母组成', + 'second_domain.require' => '二级域名必填!', + 'second_domain.length' => '二级域名格式错误!二级域名由4-12位数字或字母组成', + 'second_domain.alphaNum' => '二级域名格式错误!二级域名由4-12位数字或字母组成', + ]; + + protected $phoneRule = [ + 'phone' => 'require|length:11|mobile' + ]; + protected $phoneMessage = [ + 'phone.require' => '手机号必填!', + 'phone.length' => '请输入正确格式的手机号!', + 'phone.mobile' => '手机号错误!', + ]; + + public function regSmsCheck($data) + { + $this->rule = $this->regSmsRule; + $this->message = $this->regSmsMessage; + + return $this->check($data); + } + + public function registerCheck($data) + { + $this->rule = $this->registerRule; + $this->message = $this->registerMessage; + + return $this->check($data); + } + + public function phoneCheck($data) + { + $this->rule = $this->phoneRule; + $this->message = $this->phoneMessage; + return $this->check($data); + } +} \ No newline at end of file diff --git a/app/validate/Member.php b/app/validate/Member.php new file mode 100755 index 0000000..2dacc61 --- /dev/null +++ b/app/validate/Member.php @@ -0,0 +1,17 @@ + 'require|number', + 'username' => 'require', + ]; + protected $message = [ + 'group_id.require' => '所属角色不能为空!', + 'group_id.number' => '用户角色信息数据格式不正确!', + 'username.require' => '用户姓名不能为空!', + ]; +} \ No newline at end of file diff --git a/app/validate/Message.php b/app/validate/Message.php new file mode 100755 index 0000000..8fea7d9 --- /dev/null +++ b/app/validate/Message.php @@ -0,0 +1,21 @@ + 'require|length:2,20', + 'tel' => 'require|mobile', + 'company' => 'require|length:2,200', + ]; + protected $message = [ + 'name.require' => '姓名必填', + 'name.length' => '请输入有效的姓名', + 'tel.require' => '联系方式必填', + 'tel.mobile' => '请输入正确格式的手机号', + 'company.require' => '公司或团队名称必填', + 'company.length' => '请输入有效的公司或团队名称', + ]; +} \ No newline at end of file diff --git a/app/validate/Model.php b/app/validate/Model.php new file mode 100755 index 0000000..05fee06 --- /dev/null +++ b/app/validate/Model.php @@ -0,0 +1,16 @@ + 'require', + 'manager' => 'require', + ]; + protected $message = [ + 'name.require' => '名称必须', + 'manager.require' => '后台管理必须' + ]; +} \ No newline at end of file diff --git a/app/validate/NoticeValidate.php b/app/validate/NoticeValidate.php new file mode 100755 index 0000000..7d5e629 --- /dev/null +++ b/app/validate/NoticeValidate.php @@ -0,0 +1,11 @@ + 'require|length:1,60', + ]; +} \ No newline at end of file diff --git a/app/validate/PositionValidate.php b/app/validate/PositionValidate.php new file mode 100755 index 0000000..9135331 --- /dev/null +++ b/app/validate/PositionValidate.php @@ -0,0 +1,17 @@ + 'require|length:1,60', + 'visible' => 'require|in:0,1', + 'num|人数' => 'require|number', + ]; + protected $message = [ + 'visible.in' => '状态参数错误', + ]; + +} \ No newline at end of file diff --git a/app/validate/ProductValidate.php b/app/validate/ProductValidate.php new file mode 100755 index 0000000..b869799 --- /dev/null +++ b/app/validate/ProductValidate.php @@ -0,0 +1,18 @@ + 'require|length:1,60', + 'visible' => 'require|in:0,1', + ]; + protected $message = [ + 'title.require' => '标题不能为空', + 'visible.require' => '状态必须设置', + 'visible.in' => '状态参数错误', + ]; + +} \ No newline at end of file diff --git a/app/validate/Slide.php b/app/validate/Slide.php new file mode 100755 index 0000000..bfe0aa7 --- /dev/null +++ b/app/validate/Slide.php @@ -0,0 +1,16 @@ + 'require', + 'url' => 'url', + ]; + protected $message = [ + 'title.require' => '标题必须', + 'url.url' => '请填写有效的网址,以http://或https://开头' + ]; +} \ No newline at end of file diff --git a/app/validate/Upload.php b/app/validate/Upload.php new file mode 100755 index 0000000..f34e16a --- /dev/null +++ b/app/validate/Upload.php @@ -0,0 +1,60 @@ +system = System::getSystem(); + $this->lang = new Lang; + } + + //验证图片上传 + public function checkImage($image) + { + $ext = str_replace(',', ',', $this->system['img_type']); + $size = $this->system['img_size'] * 1024 * 1024; + $this->rule = [ + 'image' => [ + 'fileExt' => $ext, + 'fileSize' => (int)$size + ] + ]; + return $this->check(['image' => $image]); + } + + //验证视频上传 + public function checkVideo($video) + { + $ext = str_replace(',', ',', $this->system['video_type']); + $size = $this->system['video_size'] * 1024 * 1024; + $this->rule = [ + 'video' => [ + 'fileExt' => $ext, + 'fileSize' => (int)$size + ] + ]; + return $this->check(['video' => $video]); + } + + //验证文件上传 + public function checkFile($file) + { + $ext = str_replace(',', ',', $this->system['file_type']); + $size = $this->system['file_size'] * 1024 * 1024; + $this->rule = [ + 'file' => [ + 'fileExt' => $ext, + 'fileSize' => (int)$size + ] + ]; + return $this->check(['file' => $file]); + } +} \ No newline at end of file diff --git a/app/widget/Common.php b/app/widget/Common.php new file mode 100755 index 0000000..324e71d --- /dev/null +++ b/app/widget/Common.php @@ -0,0 +1,76 @@ +data['footerMenus'] = $footerMenus; + */ + +// $this->data['extraBase'] = $configExtraBase; +// $this->data['links'] = Link::getList(5); +// $this->data['systemSetting'] = System::getSystem(); + + + return View::assign($this->data)->fetch('public/footer'); + } + + // 区块:试用栏 + public function blockTrial($className='marginTop') + { + $this->data['className'] = $className; + + return View::assign($this->data)->fetch('public/block/trial'); + } + + // 区块:了解更多课程详情弹窗 + public function blockMoreCourse() + { + $blocks = Block::getByCategoryId(Category::CATEGORY_PAGE_COURSE); + $blocks = Block::convertValue($blocks); + + $this->data['confBlocks'] = $blocks; + + return View::assign($this->data)->fetch('public/block/more_course'); + } + + // 区块:课程简览 + public function blockSimpleCourse() + { + $courseList = Category::getChildrenByParentId(Category::CATEGORY_PAGE_COURSE); + $courseListShow = array_chunk($courseList, 3)[0] ?? []; + $this->data['courseList'] = $courseListShow; + + return View::assign($this->data)->fetch('public/block/simple_course'); + } + +} \ No newline at end of file diff --git a/app/widget/Menu.php b/app/widget/Menu.php new file mode 100755 index 0000000..50c3282 --- /dev/null +++ b/app/widget/Menu.php @@ -0,0 +1,98 @@ +getAllSubordinateIds($allCategories, $menu['id']); + $menu['isActive'] = 0; + if ($categoryId == $menu['id'] || in_array($categoryId, $menu['all_subordinate_ids'])) { + $menu['isActive'] = 1; + } + } + + $data = [ + 'categoryId' => $categoryId, + 'menus' => $menus, + 'extraBase' => $configExtraBase + ]; + return View::assign($data)->fetch('public/menu'); + } + + public function index($categoryId = 0) + { +// $menus = Category::getListForFrontMenu(); +// $allCategories = Category::getList(false); +// foreach ($menus as &$menu) { +// $menu['children_ids'] = []; +// $menusGroup = []; +// if (isset($menu['children'])) { +// $menu['children_ids'] = array_column($menu['children'], 'id'); +// foreach ($menu['children'] as $child) { +// $menusGroup[$child['group_name']][] = $child; +// } +// } +// +// $menu['menus_group'] = $menusGroup; +// $menu['all_subordinate_ids'] = $this->getAllSubordinateIds($allCategories, $menu['id']); +// $menu['isActive'] = 0; +// if ($categoryId == $menu['id'] || in_array($categoryId, $menu['all_subordinate_ids'])) { +// $menu['isActive'] = 1; +// } +// } +// +// $data = [ +// 'categoryId' => $categoryId, +// 'menus' => $menus, +// ]; + $data = []; + return View::assign($data)->fetch('public/menu'); + } + + // 所有下级栏目ID + private function getAllSubordinateIds($items, $curId = 0) + { + $list = []; + foreach ($items as $k => $item) { + if ($item['parent_id'] == $curId) { + $list[] = $item['id']; + unset($items[$k]); + $childrenIds = $this->getAllSubordinateIds($items, $item['id']); + if ($childrenIds) { + $list = array_merge($list, $childrenIds); + } + } + } + return $list; + } + + public function simple() + { + $data = [ + 'extraBase' => ConfigSetting::getConfigContentsByName('extraBase') + ]; + return View::assign($data)->fetch('public/menu_simple'); + } +} diff --git a/app/widget/Slide.php b/app/widget/Slide.php new file mode 100755 index 0000000..f0d8cd9 --- /dev/null +++ b/app/widget/Slide.php @@ -0,0 +1,17 @@ +data['slides'] = MSlide::getList(); + return View::assign($this->data)->fetch('public/slide'); + } +} \ No newline at end of file diff --git a/app/widget/manager/Crumbs.php b/app/widget/manager/Crumbs.php new file mode 100755 index 0000000..d0607cc --- /dev/null +++ b/app/widget/manager/Crumbs.php @@ -0,0 +1,43 @@ +controller()); + $action = strtolower($request->action()); + $controller = str_replace('manager.', '', $controller); + $name = $controller . '/' . $action; + if($action == 'index'){ + $rule = AuthRule::getByTwoName($name, $controller); + }else{ + $rule = AuthRule::getByName($name); + } + $parent = []; + if(!empty($rule) && $rule['parent_id']){ + $parent = AuthRule::getById($rule['parent_id']); + } + $cateCrumbs = []; + $isContent = false; + if($controller == 'content') { + $isContent = true; + $categoryId = $request->param('category_id', 0); + if (is_numeric($categoryId) && $categoryId > 0) { + $cateCrumbs = Category::getCatesCrumbs($categoryId); + } + } + + $data = [ + 'rule' => $rule, + 'parent' => $parent, + 'isContent' => $isContent, + 'cateCrumbs' => $cateCrumbs + ]; + return View::assign($data)->fetch('manager/widget/crumbs'); + } +} \ No newline at end of file diff --git a/app/widget/manager/Menu.php b/app/widget/manager/Menu.php new file mode 100755 index 0000000..171ef7c --- /dev/null +++ b/app/widget/manager/Menu.php @@ -0,0 +1,91 @@ +getMenuRules($rules); + + $current = strtolower(request()->controller()); + $current = str_replace('manager.', '', $current); + $currentAction = strtolower($current.'/'.request()->action()); + // message 留言管理是否集成在内容管理中,后期开发中根据情况调整 + if(in_array($current, ['article', 'product', 'page'], true)){ + $current = 'content'; + } + if($auth['groupId'] == 1) { + $menus = $this->getMenus(Category::getList(false)); + } else { + $menus = $this->getMenus(Category::getList(true, $authCates)); + } + + $data = [ + 'rules' => $menuRules, + 'categoryId' => $categoryId, + 'menus' => $menus, + 'current' => $current, + 'currentAction' => $currentAction + ]; + return View::assign($data)->fetch('manager/widget/left'); + } + + /** + * 过滤出权限菜单 + * @param $rules + * @return array + */ + private function getMenuRules($rules) + { + $menuRules = []; + if (!empty($rules)) { + foreach ($rules as $rule) { + $hasChildren = $rule['hasChildren'] ?? false; + if ($hasChildren) { + $rule['children'] = $this->getMenuRules($rule['children']); + if(count($rule['children']) > 0) { + $rule['status'] = 1; + } + } + if($rule['status'] > 0) { + $menuRules[] = $rule; + } + } + } + return $menuRules; + } + + /** + * 内容栏目菜单 + * @param $cates + * @param int $parent_id + * @return array + */ + private function getMenus($cates,$parentId=0) + { + $menus = []; + foreach($cates as $cate){ + if($cate['parent_id'] == $parentId){ + $children = $this->getMenus($cates,$cate['id']); + if(!empty($children)){ + $cate['children'] = $children; + } + if(!empty($cate['children']) || !empty($cate['manager'])){ + $menus[] = $cate; + } + } + } + return $menus; + } +} diff --git a/app/widget/manager/Upload.php b/app/widget/manager/Upload.php new file mode 100755 index 0000000..75b733b --- /dev/null +++ b/app/widget/manager/Upload.php @@ -0,0 +1,144 @@ +uploadMaxSize = $uploadMaxSize; + } + $this->data['post_max_size'] = $this->uploadMaxSize; + } + + protected function showView(string $template = '') + { + return View::assign($this->data)->fetch($template); + } + + //视频 + public function file($src = '', $append = '', $fileSize = '') + { + if (empty($fileSize)) { + $fileSize = '文件大小限制 '.ini_get('upload_max_filesize'); + } + + $this->data['src'] = $src; + $this->data['append'] = $append; + $this->data['fileSize'] = $fileSize; + return $this->showView('manager/widget/file'); + } + + //视频 + public function video($src = '', $append = '', $videoSize = '') + { + if (empty($videoSize)) { + $videoSize = '文件大小限制 '.ini_get('upload_max_filesize'); + } + + $this->data['src'] = $src; + $this->data['append'] = $append; + $this->data['videoSize'] = $videoSize; + return $this->showView('manager/widget/video'); + } + + //图片(layui自带上传控件),若同一页面内徐亚加载多层本上传控件则需要传不同的$append来区分控件ID + public function image($src = '', $append = '', $imgSize = 0, $thumb = 0, $className = '', $midStr = '') + { + $this->data['src'] = $src; + $this->data['append'] = $append; + $this->data['imgSize'] = $imgSize; + $this->data['thumb'] = $thumb; + $this->data['className'] = $className; + $this->data['midStr'] = $midStr; + return $this->showView('manager/widget/image'); + } + + //上传文件,目前在文章中添加附件 + public function files($files = [], $num = 10, $append = '') + { + if (!empty($files) && $files == 'null') { + $files = []; + } + $this->data['files'] = $files; + $this->data['append'] = $append; + $this->data['num'] = $num; + return $this->showView('manager/widget/files'); + } + + /** + * 水印图片上传 + * milo + * 2018-01-13 + */ + public function mark($src = '') + { + $this->data['src'] = $src; + return $this->showView('manager/widget/mark'); + } + + /** + * layui组图上传 + * milo + * @param array|bool $fields 图片额外树形字段,默认有alt link desc time 若此处设置后将替换默认值。为false则不填写 格式如下 + * ['alt' => 'alt', 'desc' => '描述,选填', 'link' => '链接,选填'] + */ + public function multi($imgs = [], $num = 10, $append = '', $imgSize = '', $fields = []) + { + if (!empty($imgs) && $imgs == 'null') { + $imgs = []; + } + + if (empty($fields)) { + $fields = $fields === false ? [] : [ + 'title' => '标题', + 'desc' => '描述', + 'alt' => 'alt', + 'link' => '链接,选填', + 'time' => '日期,选填', + ]; + } + + $this->data['imgs'] = $imgs; + $this->data['append'] = $append; + $this->data['imgSize'] = $imgSize; + $this->data['num'] = $num; + $this->data['fields'] = $fields; + return $this->showView('manager/widget/multi'); + } + + /** + * 音频组上传 + */ + public function multiAudio($audios = [], $num = 10, $append = '') + { + if (!empty($audios) && $audios == 'null') { + $audios = []; + } + $this->data['audios'] = $audios; + $this->data['append'] = $append; + $this->data['num'] = $num; + return $this->showView('manager/widget/multi_audio'); + } + + /** + * 视频组上传 + */ + public function multiVideo($videos = [], $num = 10, $append = '') + { + if (!empty($videos) && $videos == 'null') { + $videos = []; + } + $this->data['videos'] = $videos; + $this->data['append'] = $append; + $this->data['num'] = $num; + return $this->showView('manager/widget/multi_video'); + } +} diff --git a/build.example.php b/build.example.php new file mode 100755 index 0000000..0f2222f --- /dev/null +++ b/build.example.php @@ -0,0 +1,26 @@ + +// +---------------------------------------------------------------------- + +/** + * php think build 自动生成应用的目录结构的定义示例 + */ +return [ + // 需要自动创建的文件 + '__file__' => [], + // 需要自动创建的目录 + '__dir__' => ['controller', 'model', 'view'], + // 需要自动创建的控制器 + 'controller' => ['Index'], + // 需要自动创建的模型 + 'model' => ['User'], + // 需要自动创建的模板 + 'view' => ['index/index'], +]; diff --git a/composer.json b/composer.json new file mode 100755 index 0000000..3e3653c --- /dev/null +++ b/composer.json @@ -0,0 +1,47 @@ +{ + "name": "topthink/think", + "description": "the new thinkphp framework", + "type": "project", + "keywords": [ + "framework", + "thinkphp", + "ORM" + ], + "homepage": "http://thinkphp.cn/", + "license": "Apache-2.0", + "authors": [{ + "name": "liu21st", + "email": "liu21st@gmail.com" + }], + "require": { + "php": ">=7.1.0", + "topthink/framework": "^6.0.0", + "topthink/think-orm": "^2.0", + "topthink/think-view": "^1.0", + "topthink/think-image": "^1.0", + "ext-json": "*", + "phpoffice/phpspreadsheet": "^1.17", + "topthink/think-captcha": "^3.0" + }, + "require-dev": { + "symfony/var-dumper": "^4.2", + "topthink/think-trace": "^1.0" + }, + "autoload": { + "psr-4": { + "app\\": "app" + }, + "psr-0": { + "": "extend/" + } + }, + "config": { + "preferred-install": "dist" + }, + "scripts": { + "post-autoload-dump": [ + "@php think service:discover", + "@php think vendor:publish" + ] + } +} diff --git a/composer.lock b/composer.lock new file mode 100755 index 0000000..89d8213 --- /dev/null +++ b/composer.lock @@ -0,0 +1,1717 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "b57058d8c6a24e55dc43412d442ffa37", + "packages": [ + { + "name": "ezyang/htmlpurifier", + "version": "v4.13.0", + "source": { + "type": "git", + "url": "https://github.com/ezyang/htmlpurifier.git", + "reference": "08e27c97e4c6ed02f37c5b2b20488046c8d90d75" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/08e27c97e4c6ed02f37c5b2b20488046c8d90d75", + "reference": "08e27c97e4c6ed02f37c5b2b20488046c8d90d75", + "shasum": "" + }, + "require": { + "php": ">=5.2" + }, + "require-dev": { + "simpletest/simpletest": "dev-master#72de02a7b80c6bb8864ef9bf66d41d2f58f826bd" + }, + "type": "library", + "autoload": { + "psr-0": { + "HTMLPurifier": "library/" + }, + "files": [ + "library/HTMLPurifier.composer.php" + ], + "exclude-from-classmap": [ + "/library/HTMLPurifier/Language/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "LGPL-2.1-or-later" + ], + "authors": [ + { + "name": "Edward Z. Yang", + "email": "admin@htmlpurifier.org", + "homepage": "http://ezyang.com" + } + ], + "description": "Standards compliant HTML filter written in PHP", + "homepage": "http://htmlpurifier.org/", + "keywords": [ + "html" + ], + "support": { + "issues": "https://github.com/ezyang/htmlpurifier/issues", + "source": "https://github.com/ezyang/htmlpurifier/tree/master" + }, + "time": "2020-06-29T00:56:53+00:00" + }, + { + "name": "league/flysystem", + "version": "1.0.70", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/flysystem.git", + "reference": "585824702f534f8d3cf7fab7225e8466cc4b7493" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/585824702f534f8d3cf7fab7225e8466cc4b7493", + "reference": "585824702f534f8d3cf7fab7225e8466cc4b7493", + "shasum": "" + }, + "require": { + "ext-fileinfo": "*", + "php": ">=5.5.9" + }, + "conflict": { + "league/flysystem-sftp": "<1.0.6" + }, + "require-dev": { + "phpspec/phpspec": "^3.4 || ^4.0 || ^5.0 || ^6.0", + "phpunit/phpunit": "^5.7.26" + }, + "suggest": { + "ext-fileinfo": "Required for MimeType", + "ext-ftp": "Allows you to use FTP server storage", + "ext-openssl": "Allows you to use FTPS server storage", + "league/flysystem-aws-s3-v2": "Allows you to use S3 storage with AWS SDK v2", + "league/flysystem-aws-s3-v3": "Allows you to use S3 storage with AWS SDK v3", + "league/flysystem-azure": "Allows you to use Windows Azure Blob storage", + "league/flysystem-cached-adapter": "Flysystem adapter decorator for metadata caching", + "league/flysystem-eventable-filesystem": "Allows you to use EventableFilesystem", + "league/flysystem-rackspace": "Allows you to use Rackspace Cloud Files", + "league/flysystem-sftp": "Allows you to use SFTP server storage via phpseclib", + "league/flysystem-webdav": "Allows you to use WebDAV storage", + "league/flysystem-ziparchive": "Allows you to use ZipArchive adapter", + "spatie/flysystem-dropbox": "Allows you to use Dropbox storage", + "srmklive/flysystem-dropbox-v2": "Allows you to use Dropbox storage for PHP 5 applications" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Flysystem\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Frank de Jonge", + "email": "info@frenky.net" + } + ], + "description": "Filesystem abstraction: Many filesystems, one API.", + "keywords": [ + "Cloud Files", + "WebDAV", + "abstraction", + "aws", + "cloud", + "copy.com", + "dropbox", + "file systems", + "files", + "filesystem", + "filesystems", + "ftp", + "rackspace", + "remote", + "s3", + "sftp", + "storage" + ], + "funding": [ + { + "url": "https://offset.earth/frankdejonge", + "type": "other" + } + ], + "time": "2020-07-26T07:20:36+00:00" + }, + { + "name": "league/flysystem-cached-adapter", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/flysystem-cached-adapter.git", + "reference": "d1925efb2207ac4be3ad0c40b8277175f99ffaff" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/flysystem-cached-adapter/zipball/d1925efb2207ac4be3ad0c40b8277175f99ffaff", + "reference": "d1925efb2207ac4be3ad0c40b8277175f99ffaff", + "shasum": "" + }, + "require": { + "league/flysystem": "~1.0", + "psr/cache": "^1.0.0" + }, + "require-dev": { + "mockery/mockery": "~0.9", + "phpspec/phpspec": "^3.4", + "phpunit/phpunit": "^5.7", + "predis/predis": "~1.0", + "tedivm/stash": "~0.12" + }, + "suggest": { + "ext-phpredis": "Pure C implemented extension for PHP" + }, + "type": "library", + "autoload": { + "psr-4": { + "League\\Flysystem\\Cached\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "frankdejonge", + "email": "info@frenky.net" + } + ], + "description": "An adapter decorator to enable meta-data caching.", + "time": "2020-07-25T15:56:04+00:00" + }, + { + "name": "maennchen/zipstream-php", + "version": "2.1.0", + "source": { + "type": "git", + "url": "https://github.com/maennchen/ZipStream-PHP.git", + "reference": "c4c5803cc1f93df3d2448478ef79394a5981cc58" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/maennchen/ZipStream-PHP/zipball/c4c5803cc1f93df3d2448478ef79394a5981cc58", + "reference": "c4c5803cc1f93df3d2448478ef79394a5981cc58", + "shasum": "" + }, + "require": { + "myclabs/php-enum": "^1.5", + "php": ">= 7.1", + "psr/http-message": "^1.0", + "symfony/polyfill-mbstring": "^1.0" + }, + "require-dev": { + "ext-zip": "*", + "guzzlehttp/guzzle": ">= 6.3", + "mikey179/vfsstream": "^1.6", + "phpunit/phpunit": ">= 7.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "ZipStream\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Paul Duncan", + "email": "pabs@pablotron.org" + }, + { + "name": "Jonatan Männchen", + "email": "jonatan@maennchen.ch" + }, + { + "name": "Jesse Donat", + "email": "donatj@gmail.com" + }, + { + "name": "András Kolesár", + "email": "kolesar@kolesar.hu" + } + ], + "description": "ZipStream is a library for dynamically streaming dynamic zip files from PHP without writing to the disk at all on the server.", + "keywords": [ + "stream", + "zip" + ], + "support": { + "issues": "https://github.com/maennchen/ZipStream-PHP/issues", + "source": "https://github.com/maennchen/ZipStream-PHP/tree/master" + }, + "funding": [ + { + "url": "https://opencollective.com/zipstream", + "type": "open_collective" + } + ], + "time": "2020-05-30T13:11:16+00:00" + }, + { + "name": "markbaker/complex", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/MarkBaker/PHPComplex.git", + "reference": "9999f1432fae467bc93c53f357105b4c31bb994c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/MarkBaker/PHPComplex/zipball/9999f1432fae467bc93c53f357105b4c31bb994c", + "reference": "9999f1432fae467bc93c53f357105b4c31bb994c", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "phpcompatibility/php-compatibility": "^9.0", + "phpdocumentor/phpdocumentor": "2.*", + "phploc/phploc": "^4.0", + "phpmd/phpmd": "2.*", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.3", + "sebastian/phpcpd": "^4.0", + "squizlabs/php_codesniffer": "^3.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Complex\\": "classes/src/" + }, + "files": [ + "classes/src/functions/abs.php", + "classes/src/functions/acos.php", + "classes/src/functions/acosh.php", + "classes/src/functions/acot.php", + "classes/src/functions/acoth.php", + "classes/src/functions/acsc.php", + "classes/src/functions/acsch.php", + "classes/src/functions/argument.php", + "classes/src/functions/asec.php", + "classes/src/functions/asech.php", + "classes/src/functions/asin.php", + "classes/src/functions/asinh.php", + "classes/src/functions/atan.php", + "classes/src/functions/atanh.php", + "classes/src/functions/conjugate.php", + "classes/src/functions/cos.php", + "classes/src/functions/cosh.php", + "classes/src/functions/cot.php", + "classes/src/functions/coth.php", + "classes/src/functions/csc.php", + "classes/src/functions/csch.php", + "classes/src/functions/exp.php", + "classes/src/functions/inverse.php", + "classes/src/functions/ln.php", + "classes/src/functions/log2.php", + "classes/src/functions/log10.php", + "classes/src/functions/negative.php", + "classes/src/functions/pow.php", + "classes/src/functions/rho.php", + "classes/src/functions/sec.php", + "classes/src/functions/sech.php", + "classes/src/functions/sin.php", + "classes/src/functions/sinh.php", + "classes/src/functions/sqrt.php", + "classes/src/functions/tan.php", + "classes/src/functions/tanh.php", + "classes/src/functions/theta.php", + "classes/src/operations/add.php", + "classes/src/operations/subtract.php", + "classes/src/operations/multiply.php", + "classes/src/operations/divideby.php", + "classes/src/operations/divideinto.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mark Baker", + "email": "mark@lange.demon.co.uk" + } + ], + "description": "PHP Class for working with complex numbers", + "homepage": "https://github.com/MarkBaker/PHPComplex", + "keywords": [ + "complex", + "mathematics" + ], + "support": { + "issues": "https://github.com/MarkBaker/PHPComplex/issues", + "source": "https://github.com/MarkBaker/PHPComplex/tree/PHP8" + }, + "time": "2020-08-26T10:42:07+00:00" + }, + { + "name": "markbaker/matrix", + "version": "2.1.2", + "source": { + "type": "git", + "url": "https://github.com/MarkBaker/PHPMatrix.git", + "reference": "361c0f545c3172ee26c3d596a0aa03f0cef65e6a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/MarkBaker/PHPMatrix/zipball/361c0f545c3172ee26c3d596a0aa03f0cef65e6a", + "reference": "361c0f545c3172ee26c3d596a0aa03f0cef65e6a", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", + "phpcompatibility/php-compatibility": "^9.0", + "phpdocumentor/phpdocumentor": "2.*", + "phploc/phploc": "^4.0", + "phpmd/phpmd": "2.*", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.3", + "sebastian/phpcpd": "^4.0", + "squizlabs/php_codesniffer": "^3.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Matrix\\": "classes/src/" + }, + "files": [ + "classes/src/Functions/adjoint.php", + "classes/src/Functions/antidiagonal.php", + "classes/src/Functions/cofactors.php", + "classes/src/Functions/determinant.php", + "classes/src/Functions/diagonal.php", + "classes/src/Functions/identity.php", + "classes/src/Functions/inverse.php", + "classes/src/Functions/minors.php", + "classes/src/Functions/trace.php", + "classes/src/Functions/transpose.php", + "classes/src/Operations/add.php", + "classes/src/Operations/directsum.php", + "classes/src/Operations/subtract.php", + "classes/src/Operations/multiply.php", + "classes/src/Operations/divideby.php", + "classes/src/Operations/divideinto.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mark Baker", + "email": "mark@demon-angel.eu" + } + ], + "description": "PHP Class for working with matrices", + "homepage": "https://github.com/MarkBaker/PHPMatrix", + "keywords": [ + "mathematics", + "matrix", + "vector" + ], + "support": { + "issues": "https://github.com/MarkBaker/PHPMatrix/issues", + "source": "https://github.com/MarkBaker/PHPMatrix/tree/2.1.2" + }, + "time": "2021-01-23T16:37:31+00:00" + }, + { + "name": "myclabs/php-enum", + "version": "1.8.0", + "source": { + "type": "git", + "url": "https://github.com/myclabs/php-enum.git", + "reference": "46cf3d8498b095bd33727b13fd5707263af99421" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/php-enum/zipball/46cf3d8498b095bd33727b13fd5707263af99421", + "reference": "46cf3d8498b095bd33727b13fd5707263af99421", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": "^7.3 || ^8.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.5", + "squizlabs/php_codesniffer": "1.*", + "vimeo/psalm": "^4.5.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "MyCLabs\\Enum\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP Enum contributors", + "homepage": "https://github.com/myclabs/php-enum/graphs/contributors" + } + ], + "description": "PHP Enum implementation", + "homepage": "http://github.com/myclabs/php-enum", + "keywords": [ + "enum" + ], + "support": { + "issues": "https://github.com/myclabs/php-enum/issues", + "source": "https://github.com/myclabs/php-enum/tree/1.8.0" + }, + "funding": [ + { + "url": "https://github.com/mnapoli", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/php-enum", + "type": "tidelift" + } + ], + "time": "2021-02-15T16:11:48+00:00" + }, + { + "name": "opis/closure", + "version": "3.5.5", + "source": { + "type": "git", + "url": "https://github.com/opis/closure.git", + "reference": "dec9fc5ecfca93f45cd6121f8e6f14457dff372c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/opis/closure/zipball/dec9fc5ecfca93f45cd6121f8e6f14457dff372c", + "reference": "dec9fc5ecfca93f45cd6121f8e6f14457dff372c", + "shasum": "" + }, + "require": { + "php": "^5.4 || ^7.0" + }, + "require-dev": { + "jeremeamia/superclosure": "^2.0", + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.5.x-dev" + } + }, + "autoload": { + "psr-4": { + "Opis\\Closure\\": "src/" + }, + "files": [ + "functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marius Sarca", + "email": "marius.sarca@gmail.com" + }, + { + "name": "Sorin Sarca", + "email": "sarca_sorin@hotmail.com" + } + ], + "description": "A library that can be used to serialize closures (anonymous functions) and arbitrary objects.", + "homepage": "https://opis.io/closure", + "keywords": [ + "anonymous functions", + "closure", + "function", + "serializable", + "serialization", + "serialize" + ], + "time": "2020-06-17T14:59:55+00:00" + }, + { + "name": "phpoffice/phpspreadsheet", + "version": "1.17.1", + "source": { + "type": "git", + "url": "https://github.com/PHPOffice/PhpSpreadsheet.git", + "reference": "c55269cb06911575a126dc225a05c0e4626e5fb4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHPOffice/PhpSpreadsheet/zipball/c55269cb06911575a126dc225a05c0e4626e5fb4", + "reference": "c55269cb06911575a126dc225a05c0e4626e5fb4", + "shasum": "" + }, + "require": { + "ext-ctype": "*", + "ext-dom": "*", + "ext-fileinfo": "*", + "ext-gd": "*", + "ext-iconv": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-simplexml": "*", + "ext-xml": "*", + "ext-xmlreader": "*", + "ext-xmlwriter": "*", + "ext-zip": "*", + "ext-zlib": "*", + "ezyang/htmlpurifier": "^4.13", + "maennchen/zipstream-php": "^2.1", + "markbaker/complex": "^1.5||^2.0", + "markbaker/matrix": "^1.2||^2.0", + "php": "^7.2||^8.0", + "psr/http-client": "^1.0", + "psr/http-factory": "^1.0", + "psr/simple-cache": "^1.0" + }, + "require-dev": { + "dompdf/dompdf": "^0.8.5", + "friendsofphp/php-cs-fixer": "^2.18", + "jpgraph/jpgraph": "^4.0", + "mpdf/mpdf": "^8.0", + "phpcompatibility/php-compatibility": "^9.3", + "phpunit/phpunit": "^8.5||^9.3", + "squizlabs/php_codesniffer": "^3.5", + "tecnickcom/tcpdf": "^6.3" + }, + "suggest": { + "dompdf/dompdf": "Option for rendering PDF with PDF Writer (doesn't yet support PHP8)", + "jpgraph/jpgraph": "Option for rendering charts, or including charts with PDF or HTML Writers", + "mpdf/mpdf": "Option for rendering PDF with PDF Writer", + "tecnickcom/tcpdf": "Option for rendering PDF with PDF Writer (doesn't yet support PHP8)" + }, + "type": "library", + "autoload": { + "psr-4": { + "PhpOffice\\PhpSpreadsheet\\": "src/PhpSpreadsheet" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Maarten Balliauw", + "homepage": "https://blog.maartenballiauw.be" + }, + { + "name": "Mark Baker", + "homepage": "https://markbakeruk.net" + }, + { + "name": "Franck Lefevre", + "homepage": "https://rootslabs.net" + }, + { + "name": "Erik Tilt" + }, + { + "name": "Adrien Crivelli" + } + ], + "description": "PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine", + "homepage": "https://github.com/PHPOffice/PhpSpreadsheet", + "keywords": [ + "OpenXML", + "excel", + "gnumeric", + "ods", + "php", + "spreadsheet", + "xls", + "xlsx" + ], + "support": { + "issues": "https://github.com/PHPOffice/PhpSpreadsheet/issues", + "source": "https://github.com/PHPOffice/PhpSpreadsheet/tree/1.17.1" + }, + "time": "2021-03-02T17:54:11+00:00" + }, + { + "name": "psr/cache", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/cache.git", + "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8", + "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Cache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for caching libraries", + "keywords": [ + "cache", + "psr", + "psr-6" + ], + "time": "2016-08-06T20:24:11+00:00" + }, + { + "name": "psr/container", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "time": "2017-02-14T16:28:37+00:00" + }, + { + "name": "psr/http-client", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-client.git", + "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0", + "psr/http-message": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Client\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP clients", + "homepage": "https://github.com/php-fig/http-client", + "keywords": [ + "http", + "http-client", + "psr", + "psr-18" + ], + "support": { + "source": "https://github.com/php-fig/http-client/tree/master" + }, + "time": "2020-06-29T06:28:15+00:00" + }, + { + "name": "psr/http-factory", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-factory.git", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "shasum": "" + }, + "require": { + "php": ">=7.0.0", + "psr/http-message": "^1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for PSR-7 HTTP message factories", + "keywords": [ + "factory", + "http", + "message", + "psr", + "psr-17", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-factory/tree/master" + }, + "time": "2019-04-30T12:38:16+00:00" + }, + { + "name": "psr/http-message", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", + "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for HTTP messages", + "homepage": "https://github.com/php-fig/http-message", + "keywords": [ + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" + ], + "support": { + "source": "https://github.com/php-fig/http-message/tree/master" + }, + "time": "2016-08-06T14:39:51+00:00" + }, + { + "name": "psr/log", + "version": "1.1.3", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/0f73288fd15629204f9d42b7055f72dacbe811fc", + "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "Psr/Log/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "time": "2020-03-23T09:12:05+00:00" + }, + { + "name": "psr/simple-cache", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/simple-cache.git", + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\SimpleCache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for simple caching", + "keywords": [ + "cache", + "caching", + "psr", + "psr-16", + "simple-cache" + ], + "time": "2017-10-23T01:57:42+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.18.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "a6977d63bf9a0ad4c65cd352709e230876f9904a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/a6977d63bf9a0ad4c65cd352709e230876f9904a", + "reference": "a6977d63bf9a0ad4c65cd352709e230876f9904a", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.18-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-07-14T12:35:20+00:00" + }, + { + "name": "topthink/framework", + "version": "v6.0.3", + "source": { + "type": "git", + "url": "https://github.com/top-think/framework.git", + "reference": "b4046fb21e6163ba23a792b694162693dbe71b4b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/top-think/framework/zipball/b4046fb21e6163ba23a792b694162693dbe71b4b", + "reference": "b4046fb21e6163ba23a792b694162693dbe71b4b", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-mbstring": "*", + "league/flysystem": "^1.0", + "league/flysystem-cached-adapter": "^1.0", + "opis/closure": "^3.1", + "php": ">=7.1.0", + "psr/container": "~1.0", + "psr/log": "~1.0", + "psr/simple-cache": "^1.0", + "topthink/think-helper": "^3.1.1", + "topthink/think-orm": "^2.0" + }, + "require-dev": { + "mikey179/vfsstream": "^1.6", + "mockery/mockery": "^1.2", + "phpunit/phpunit": "^7.0" + }, + "type": "library", + "autoload": { + "files": [], + "psr-4": { + "think\\": "src/think/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "liu21st", + "email": "liu21st@gmail.com" + }, + { + "name": "yunwuxin", + "email": "448901948@qq.com" + } + ], + "description": "The ThinkPHP Framework.", + "homepage": "http://thinkphp.cn/", + "keywords": [ + "framework", + "orm", + "thinkphp" + ], + "time": "2020-06-26T16:03:10+00:00" + }, + { + "name": "topthink/think-captcha", + "version": "v3.0.4", + "source": { + "type": "git", + "url": "https://github.com/top-think/think-captcha.git", + "reference": "db5be361d3cd664d236fb95d5dffe93a117283ad" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/top-think/think-captcha/zipball/db5be361d3cd664d236fb95d5dffe93a117283ad", + "reference": "db5be361d3cd664d236fb95d5dffe93a117283ad", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "topthink/framework": "^6.0.0" + }, + "type": "library", + "extra": { + "think": { + "services": [ + "think\\captcha\\CaptchaService" + ], + "config": { + "captcha": "src/config.php" + } + } + }, + "autoload": { + "psr-4": { + "think\\captcha\\": "src/" + }, + "files": [ + "src/helper.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "yunwuxin", + "email": "448901948@qq.com" + } + ], + "description": "captcha package for thinkphp", + "support": { + "issues": "https://github.com/top-think/think-captcha/issues", + "source": "https://github.com/top-think/think-captcha/tree/v3.0.4" + }, + "time": "2022-01-07T06:34:19+00:00" + }, + { + "name": "topthink/think-helper", + "version": "v3.1.4", + "source": { + "type": "git", + "url": "https://github.com/top-think/think-helper.git", + "reference": "c28d37743bda4a0455286ca85b17b5791d626e10" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/top-think/think-helper/zipball/c28d37743bda4a0455286ca85b17b5791d626e10", + "reference": "c28d37743bda4a0455286ca85b17b5791d626e10", + "shasum": "" + }, + "require": { + "php": ">=7.1.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "think\\": "src" + }, + "files": [ + "src/helper.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "yunwuxin", + "email": "448901948@qq.com" + } + ], + "description": "The ThinkPHP6 Helper Package", + "time": "2019-11-08T08:01:10+00:00" + }, + { + "name": "topthink/think-image", + "version": "v1.0.7", + "source": { + "type": "git", + "url": "https://github.com/top-think/think-image.git", + "reference": "8586cf47f117481c6d415b20f7dedf62e79d5512" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/top-think/think-image/zipball/8586cf47f117481c6d415b20f7dedf62e79d5512", + "reference": "8586cf47f117481c6d415b20f7dedf62e79d5512", + "shasum": "" + }, + "require": { + "ext-gd": "*" + }, + "require-dev": { + "phpunit/phpunit": "4.8.*", + "topthink/framework": "^5.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "think\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "yunwuxin", + "email": "448901948@qq.com" + } + ], + "description": "The ThinkPHP5 Image Package", + "time": "2016-09-29T06:05:43+00:00" + }, + { + "name": "topthink/think-orm", + "version": "v2.0.33", + "source": { + "type": "git", + "url": "https://github.com/top-think/think-orm.git", + "reference": "35ca511a1e4d671b39f7afb4c887703c16ef6957" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/top-think/think-orm/zipball/35ca511a1e4d671b39f7afb4c887703c16ef6957", + "reference": "35ca511a1e4d671b39f7afb4c887703c16ef6957", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": ">=7.1.0", + "psr/log": "~1.0", + "psr/simple-cache": "^1.0", + "topthink/think-helper": "^3.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "think\\": "src" + }, + "files": [] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "liu21st", + "email": "liu21st@gmail.com" + } + ], + "description": "think orm", + "keywords": [ + "database", + "orm" + ], + "time": "2020-06-22T14:57:28+00:00" + }, + { + "name": "topthink/think-template", + "version": "v2.0.7", + "source": { + "type": "git", + "url": "https://github.com/top-think/think-template.git", + "reference": "e98bdbb4a4c94b442f17dfceba81e0134d4fbd19" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/top-think/think-template/zipball/e98bdbb4a4c94b442f17dfceba81e0134d4fbd19", + "reference": "e98bdbb4a4c94b442f17dfceba81e0134d4fbd19", + "shasum": "" + }, + "require": { + "php": ">=7.1.0", + "psr/simple-cache": "^1.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "think\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "liu21st", + "email": "liu21st@gmail.com" + } + ], + "description": "the php template engine", + "time": "2019-09-20T15:31:04+00:00" + }, + { + "name": "topthink/think-view", + "version": "v1.0.14", + "source": { + "type": "git", + "url": "https://github.com/top-think/think-view.git", + "reference": "edce0ae2c9551ab65f9e94a222604b0dead3576d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/top-think/think-view/zipball/edce0ae2c9551ab65f9e94a222604b0dead3576d", + "reference": "edce0ae2c9551ab65f9e94a222604b0dead3576d", + "shasum": "" + }, + "require": { + "php": ">=7.1.0", + "topthink/think-template": "^2.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "think\\view\\driver\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "liu21st", + "email": "liu21st@gmail.com" + } + ], + "description": "thinkphp template driver", + "time": "2019-11-06T11:40:13+00:00" + } + ], + "packages-dev": [ + { + "name": "symfony/polyfill-php72", + "version": "v1.18.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php72.git", + "reference": "639447d008615574653fb3bc60d1986d7172eaae" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/639447d008615574653fb3bc60d1986d7172eaae", + "reference": "639447d008615574653fb3bc60d1986d7172eaae", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.18-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Php72\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-07-14T12:35:20+00:00" + }, + { + "name": "symfony/polyfill-php80", + "version": "v1.18.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "d87d5766cbf48d72388a9f6b85f280c8ad51f981" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/d87d5766cbf48d72388a9f6b85f280c8ad51f981", + "reference": "d87d5766cbf48d72388a9f6b85f280c8ad51f981", + "shasum": "" + }, + "require": { + "php": ">=7.0.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.18-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Php80\\": "" + }, + "files": [ + "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-07-14T12:35:20+00:00" + }, + { + "name": "symfony/var-dumper", + "version": "v4.4.11", + "source": { + "type": "git", + "url": "https://github.com/symfony/var-dumper.git", + "reference": "2125805a1a4e57f2340bc566c3013ca94d2722dc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/2125805a1a4e57f2340bc566c3013ca94d2722dc", + "reference": "2125805a1a4e57f2340bc566c3013ca94d2722dc", + "shasum": "" + }, + "require": { + "php": ">=7.1.3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php72": "~1.5", + "symfony/polyfill-php80": "^1.15" + }, + "conflict": { + "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0", + "symfony/console": "<3.4" + }, + "require-dev": { + "ext-iconv": "*", + "symfony/console": "^3.4|^4.0|^5.0", + "symfony/process": "^4.4|^5.0", + "twig/twig": "^1.34|^2.4|^3.0" + }, + "suggest": { + "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", + "ext-intl": "To show region name in time zone dump", + "symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script" + }, + "bin": [ + "Resources/bin/var-dump-server" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.4-dev" + } + }, + "autoload": { + "files": [ + "Resources/functions/dump.php" + ], + "psr-4": { + "Symfony\\Component\\VarDumper\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony mechanism for exploring and dumping PHP variables", + "homepage": "https://symfony.com", + "keywords": [ + "debug", + "dump" + ], + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2020-06-24T13:34:53+00:00" + }, + { + "name": "topthink/think-trace", + "version": "v1.3", + "source": { + "type": "git", + "url": "https://github.com/top-think/think-trace.git", + "reference": "d8da2e39df268ab8775013de699f0c3012e51318" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/top-think/think-trace/zipball/d8da2e39df268ab8775013de699f0c3012e51318", + "reference": "d8da2e39df268ab8775013de699f0c3012e51318", + "shasum": "" + }, + "require": { + "php": ">=7.1.0", + "topthink/framework": "^6.0.0" + }, + "type": "library", + "extra": { + "think": { + "services": [ + "think\\trace\\Service" + ], + "config": { + "trace": "src/config.php" + } + } + }, + "autoload": { + "psr-4": { + "think\\trace\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "liu21st", + "email": "liu21st@gmail.com" + } + ], + "description": "thinkphp debug trace", + "time": "2020-03-18T07:59:53+00:00" + } + ], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": { + "php": ">=7.1.0", + "ext-json": "*" + }, + "platform-dev": [], + "plugin-api-version": "2.0.0" +} diff --git a/config/app.php b/config/app.php new file mode 100755 index 0000000..2bdef3b --- /dev/null +++ b/config/app.php @@ -0,0 +1,40 @@ + Env::get('app.host', ''), + // 应用的命名空间 + 'app_namespace' => '', + // 是否启用路由 + 'with_route' => true, + // 是否启用事件 + 'with_event' => true, + // 自动多应用模式 + 'auto_multi_app' => true, + // 应用映射(自动多应用模式有效) + 'app_map' => [], + // 域名绑定(自动多应用模式有效) + 'domain_bind' => [], + // 禁止URL访问的应用列表(自动多应用模式有效) + 'deny_app_list' => [], + // 默认应用 + 'default_app' => 'index', + // 默认时区 + 'default_timezone' => 'Asia/Shanghai', + + // 异常页面的模板文件 + 'exception_tmpl' => app()->getThinkPath() . 'tpl/think_exception.tpl', + + /* + 'http_exception_template' => [ + 400 => '', + 500 => app()->getThinkPath() . 'tpl/think_exception.tpl', + ], + */ + + // 错误显示信息,非调试模式有效 + 'error_message' => '页面错误!请稍后再试~', + // 显示错误信息 + 'show_error_msg' => true, +]; diff --git a/config/cache.php b/config/cache.php new file mode 100755 index 0000000..dd492df --- /dev/null +++ b/config/cache.php @@ -0,0 +1,30 @@ + Env::get('cache.driver', 'file'), + + // 缓存连接方式配置 + 'stores' => [ + 'file' => [ + // 驱动方式 + 'type' => 'File', + // 缓存保存目录 + 'path' => '', + // 缓存前缀 + 'prefix' => '', + // 缓存有效期 0表示永久缓存 + 'expire' => 0, + // 缓存标签前缀 + 'tag_prefix' => 'tag:', + // 序列化机制 例如 ['serialize', 'unserialize'] + 'serialize' => [], + ], + // 更多的缓存连接 + ], +]; diff --git a/config/captcha.php b/config/captcha.php new file mode 100755 index 0000000..3870042 --- /dev/null +++ b/config/captcha.php @@ -0,0 +1,39 @@ + 4, + // 验证码字符集合 + 'codeSet' => '2345678abcdefhijkmnpqrstuvwxyzABCDEFGHJKLMNPQRTUVWXY', + // 验证码过期时间 + 'expire' => 1800, + // 是否使用中文验证码 + 'useZh' => false, + // 是否使用算术验证码 + 'math' => false, + // 是否使用背景图 + 'useImgBg' => false, + //验证码字符大小 + 'fontSize' => 30, + // 是否使用混淆曲线 + 'useCurve' => false, + //是否添加杂点 + 'useNoise' => true, + // 验证码字体 不设置则随机 + 'fontttf' => '', + //背景颜色 + 'bg' => [243, 251, 254], + // 验证码图片高度 + 'imageH' => 0, + // 验证码图片宽度 + 'imageW' => 0, + + // 添加额外的验证码设置 + // verify => [ + // 'length'=>4, + // ... + //], +]; diff --git a/config/console.php b/config/console.php new file mode 100755 index 0000000..a818a98 --- /dev/null +++ b/config/console.php @@ -0,0 +1,9 @@ + [ + ], +]; diff --git a/config/cookie.php b/config/cookie.php new file mode 100755 index 0000000..f728024 --- /dev/null +++ b/config/cookie.php @@ -0,0 +1,18 @@ + 0, + // cookie 保存路径 + 'path' => '/', + // cookie 有效域名 + 'domain' => '', + // cookie 启用安全传输 + 'secure' => false, + // httponly设置 + 'httponly' => false, + // 是否使用 setcookie + 'setcookie' => true, +]; diff --git a/config/database.php b/config/database.php new file mode 100755 index 0000000..44cebf0 --- /dev/null +++ b/config/database.php @@ -0,0 +1,63 @@ + Env::get('database.driver', 'mysql'), + + // 自定义时间查询规则 + 'time_query_rule' => [], + + // 自动写入时间戳字段 + // true为自动识别类型 false关闭 + // 字符串则明确指定时间字段类型 支持 int timestamp datetime date + 'auto_timestamp' => true, + + // 时间字段取出后的默认时间格式 + 'datetime_format' => 'Y-m-d H:i:s', + + // 数据库连接配置信息 + 'connections' => [ + 'mysql' => [ + // 数据库类型 + 'type' => Env::get('database.type', 'mysql'), + // 服务器地址 + 'hostname' => Env::get('database.hostname', '183.221.101.89'), + // 数据库名 + 'database' => Env::get('database.database', 'bee_cms'), + // 用户名 + 'username' => Env::get('database.username', 'bee_cms'), + // 密码 + 'password' => Env::get('database.password', 'LZjGT4DBAJCmKFYe'), + // 端口 + 'hostport' => Env::get('database.hostport', '3306'), + // 数据库连接参数 + 'params' => [], + // 数据库编码默认采用utf8 + 'charset' => Env::get('database.charset', 'utf8'), + // 数据库表前缀 + 'prefix' => Env::get('database.prefix', 'bee_'), + + // 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器) + 'deploy' => 0, + // 数据库读写是否分离 主从式有效 + 'rw_separate' => false, + // 读写分离后 主服务器数量 + 'master_num' => 1, + // 指定从服务器序号 + 'slave_no' => '', + // 是否严格检查字段是否存在 + 'fields_strict' => true, + // 是否需要断线重连 + 'break_reconnect' => false, + // 监听SQL + 'trigger_sql' => Env::get('database.debug', false), + // 开启字段缓存 + 'fields_cache' => false, + // 字段缓存路径 + 'schema_cache_path' => app()->getRuntimePath() . 'schema' . DIRECTORY_SEPARATOR, + ], + + // 更多的数据库配置信息 + ], +]; diff --git a/config/extra/base.php b/config/extra/base.php new file mode 100755 index 0000000..3e667a5 --- /dev/null +++ b/config/extra/base.php @@ -0,0 +1,27 @@ + '四川蓬州产业投资集团有限责任公司', + 'company_name_en' => 'Sichuan Pengzhou Industrial lnvestment Group Co.LTD', + 'head_addr' => '德阳市泰山路以西、松花江北路南侧旌南大厦9楼', + 'head_tel' => '028-60306890', + 'lal' => '104.395062,31.109066', + 'tel' => '8888-8888', + 'email' => 'chantoudsz@sina.com', + 'email2' => 'chantoudsz@sina.com', + 'addr' => '四川南充蓬安县文体中心位于南充市蓬安县嘉陵江畔', + 'copyright' => '© 2023 四川蓬州产业投资集团有限责任公司', + 'recordation' => '川ICP备1234567号-5', + 'report_email' => 'chantoujituanjjz@sina.com', + 'report_tel' => 'XXX-XXXXXXXX', + 'login_url_zbr' => 'http://www.baidu.com', + 'login_url_zj' => 'http://www.bb.com', + 'login_url_jj' => 'http://www.aa.com', + 'login_url_jdr' => 'http://www.qq.com', + 'worktime' => '9:00-17:30', + 'info_tel' => '0817-5082666(办公室)', + 'info_email' => 'XXXXXXXX@XXX.com', + 'info_address' => 'XXXXXXXXXXXXX', + 'seo_title' => '111', + 'seo_keywords' => '222', + 'seo_description' => '333', +); \ No newline at end of file diff --git a/config/filesystem.php b/config/filesystem.php new file mode 100755 index 0000000..4c71c55 --- /dev/null +++ b/config/filesystem.php @@ -0,0 +1,52 @@ + Env::get('filesystem.driver', 'local'), + // 磁盘列表 + 'disks' => [ + 'local' => [ + // 磁盘类型 + 'type' => 'local', + // 磁盘路径 + 'root' => app()->getRootPath() . 'public/storage', + // 磁盘路径对应的外部URL路径 + 'url' => '/storage', + // 可见性 + 'visibility' => 'public', + ], + 'video' => [ + // 磁盘类型 + 'type' => 'local', + // 磁盘路径 + 'root' => app()->getRootPath() . 'public/storage', + // 磁盘路径对应的外部URL路径 + 'url' => '/storage', + // 可见性 + 'visibility' => 'public', + ], + 'audio' => [ + // 磁盘类型 + 'type' => 'local', + // 磁盘路径 + 'root' => app()->getRootPath() . 'public/storage', + // 磁盘路径对应的外部URL路径 + 'url' => '/storage', + // 可见性 + 'visibility' => 'public', + ], + 'backup' => [ + // 磁盘类型 + 'type' => 'local', + // 磁盘路径 + 'root' => app()->getRootPath() . 'public/storage/backup', + // 磁盘路径对应的外部URL路径 + 'url' => '/storage/backup', + // 可见性 + 'visibility' => 'public', + ], + // 更多的磁盘配置信息 + ], +]; diff --git a/config/lang.php b/config/lang.php new file mode 100755 index 0000000..0db66f9 --- /dev/null +++ b/config/lang.php @@ -0,0 +1,27 @@ + Env::get('lang.default_lang', 'zh-cn'), + // 允许的语言列表 + 'allow_lang_list' => ['zh-cn'], + // 多语言自动侦测变量名 + 'detect_var' => 'lang', + // 是否使用Cookie记录 + 'use_cookie' => true, + // 多语言cookie变量 + 'cookie_var' => 'think_lang', + // 扩展语言包 + 'extend_list' => [], + // Accept-Language转义为对应语言包名称 + 'accept_language' => [ + 'zh-hans-cn' => 'zh-cn', + ], + // 是否支持语言分组 + 'allow_group' => false, +]; diff --git a/config/log.php b/config/log.php new file mode 100755 index 0000000..5f7afcb --- /dev/null +++ b/config/log.php @@ -0,0 +1,46 @@ + Env::get('log.channel', 'file'), + // 日志记录级别 + 'level' => [], + // 日志类型记录的通道 ['error'=>'email',...] + 'type_channel' => [], + // 关闭全局日志写入 + 'close' => false, + // 全局日志处理 支持闭包 + 'processor' => null, + + // 日志通道列表 + 'channels' => [ + 'file' => [ + // 日志记录方式 + 'type' => 'File', + // 日志保存目录 + 'path' => '', + // 单文件日志写入 + 'single' => false, + // 独立日志级别 + 'apart_level' => [], + // 最大日志文件数量 + 'max_files' => 0, + // 使用JSON格式记录 + 'json' => false, + // 日志处理 + 'processor' => null, + // 关闭通道日志写入 + 'close' => false, + // 日志输出格式化 + 'format' => '[%s][%s] %s', + // 是否实时写入 + 'realtime_write' => false, + ], + // 其它日志通道配置 + ], + +]; diff --git a/config/middleware.php b/config/middleware.php new file mode 100755 index 0000000..c49ac1f --- /dev/null +++ b/config/middleware.php @@ -0,0 +1,11 @@ + [ + 'auth' => app\middleware\Auth::class, + 'csrf' => app\middleware\Csrf::class, + ], + // 优先级设置,此数组中的中间件会按照数组中的顺序优先执行 + 'priority' => [], +]; diff --git a/config/route.php b/config/route.php new file mode 100755 index 0000000..288c8f1 --- /dev/null +++ b/config/route.php @@ -0,0 +1,51 @@ + '/', + // URL伪静态后缀 + 'url_html_suffix' => 'html', + // URL普通方式参数 用于自动生成 + 'url_common_param' => true, + // 是否开启路由延迟解析 + 'url_lazy_route' => false, + // 是否强制使用路由 + 'url_route_must' => false, + // 合并路由规则 + 'route_rule_merge' => false, + // 路由是否完全匹配 + 'route_complete_match' => false, + // 是否开启路由缓存 + 'route_check_cache' => false, + // 路由缓存连接参数 + 'route_cache_option' => [], + // 路由缓存Key + 'route_check_cache_key' => '', + // 访问控制器层名称 + 'controller_layer' => 'controller', + // 空控制器名 + 'empty_controller' => 'Error', + // 是否使用控制器后缀 + 'controller_suffix' => false, + // 默认的路由变量规则 + 'default_route_pattern' => '[\w\.]+', + // 是否开启请求缓存 true自动缓存 支持设置请求缓存规则 + 'request_cache' => false, + // 请求缓存有效期 + 'request_cache_expire' => null, + // 全局请求缓存排除规则 + 'request_cache_except' => [], + // 默认控制器名 + 'default_controller' => 'Index', + // 默认操作名 + 'default_action' => 'index', + // 操作方法后缀 + 'action_suffix' => '', + // 默认JSONP格式返回的处理方法 + 'default_jsonp_handler' => 'jsonpReturn', + // 默认JSONP处理方法 + 'var_jsonp_handler' => 'callback', +]; diff --git a/config/session.php b/config/session.php new file mode 100755 index 0000000..6edda9a --- /dev/null +++ b/config/session.php @@ -0,0 +1,19 @@ + 'PHPSESSID', + // SESSION_ID的提交变量,解决flash上传跨域 + 'var_session_id' => '', + // 驱动方式 支持file cache 或自定义驱动类 + 'type' => '\app\service\driver\SessionFile', + // 存储连接标识 当type使用cache的时候有效 + 'store' => null, + // 过期时间(秒) + 'expire' => 3600 * 2, + // 前缀 + 'prefix' => '', +]; diff --git a/config/trace.php b/config/trace.php new file mode 100755 index 0000000..fad2392 --- /dev/null +++ b/config/trace.php @@ -0,0 +1,10 @@ + 'Html', + // 读取的日志通道名 + 'channel' => '', +]; diff --git a/config/view.php b/config/view.php new file mode 100755 index 0000000..15e96ce --- /dev/null +++ b/config/view.php @@ -0,0 +1,34 @@ + 'Think', + // 默认模板渲染规则 1 解析为小写+下划线 2 全部转换小写 3 保持操作方法 + 'auto_rule' => 1, + // 模板目录名 + 'view_dir_name' => 'view', + // 模板后缀 + 'view_suffix' => 'html', + // 模板文件名分隔符 + 'view_depr' => DIRECTORY_SEPARATOR, + // 模板引擎普通标签开始标记 + 'tpl_begin' => '{', + // 模板引擎普通标签结束标记 + 'tpl_end' => '}', + // 标签库标签开始标记 + 'taglib_begin' => '{', + // 标签库标签结束标记 + 'taglib_end' => '}', + 'tpl_replace_string' => [ + '__STATIC__' => '/static', + '__MANAGER__' => '/static/manager', + '__COMMON__' => '/static/common', + '__JS__' => '/static/js', + '__CSS__' => '/static/css', + '__IMG__' => '/static/image', + '__IMAGE__' => '/static/images', + ], +]; diff --git a/extend/dxtc/Bootstrap.php b/extend/dxtc/Bootstrap.php new file mode 100755 index 0000000..28daca7 --- /dev/null +++ b/extend/dxtc/Bootstrap.php @@ -0,0 +1,268 @@ + +// +---------------------------------------------------------------------- + +namespace dxtc; + +use think\Paginator; +use think\Collection; + +/** + * Bootstrap 分页驱动 + */ +class Bootstrap extends Paginator +{ + public function __construct($items, int $listRows, int $currentPage = 1, int $total = null, bool $simple = false, array $options = []) + { + $this->options = array_merge($this->options, $options); + + $this->options['path'] = '/' != $this->options['path'] ? $this->options['path'] : $this->options['path']; + + $this->simple = $simple; + $this->listRows = $listRows; + + if (!$items instanceof Collection) { + $items = Collection::make($items); + } + + if ($simple) { + $this->currentPage = $this->setCurrentPage($currentPage); + $this->hasMore = count($items) > ($this->listRows); + $items = $items->slice(0, $this->listRows); + } else { + $this->total = $total; + $this->lastPage = (int) ceil($total / $listRows); + $this->currentPage = $this->setCurrentPage($currentPage); + $this->hasMore = $this->currentPage < $this->lastPage; + } + $this->items = $items; + } + + /** + * 上一页按钮 + * @param string $text + * $text = '' + * @return string + */ + protected function getPreviousButton(string $text = ''): string + { + + if ($this->currentPage() <= 1) { + //return $this->getDisabledTextWrapper($text); + return ''; + } + + $url = $this->url( + $this->currentPage() - 1 + ); + + return $this->getPageLinkWrapper($url, $text); + } + + /** + * 下一页按钮 + * @param string $text + * $text = '' + * @return string + */ + protected function getNextButton(string $text=''): string + { + if (!$this->hasMore) { + // return $this->getDisabledTextWrapper($text); + return ''; + } + + $url = $this->url($this->currentPage() + 1); + + return $this->getPageLinkWrapper($url, $text); + } + + /** + * 页码按钮 + * @return string + */ + protected function getLinks(): string + { + if ($this->simple) { + return ''; + } + + $block = [ + 'first' => null, + 'slider' => null, + 'last' => null, + ]; + + $side= 3; + $window = $side * 2; + if ($this->lastPage < $window + 6) { + $block['first'] = $this->getUrlRange(1, $this->lastPage); + } elseif ($this->currentPage <= $window) { + $block['first'] = $this->getUrlRange(1, $window + 2); + $block['last'] = $this->getUrlRange($this->lastPage - 1, $this->lastPage); + } elseif ($this->currentPage > ($this->lastPage - $window)) { + $block['first'] = $this->getUrlRange(1, 2); + $block['last'] = $this->getUrlRange($this->lastPage - ($window + 2), $this->lastPage); + } else { + $block['first'] = $this->getUrlRange(1, 2); + $block['slider'] = $this->getUrlRange($this->currentPage - $side, $this->currentPage + $side); + $block['last'] = $this->getUrlRange($this->lastPage - 1, $this->lastPage); + } + + $html = ''; + + if (is_array($block['first'])) { + $html .= $this->getUrlLinks($block['first']); + } + if (is_array($block['slider'])) { + $html .= $this->getDots(); + $html .= $this->getUrlLinks($block['slider']); + } + + if (is_array($block['last'])) { + $html .= $this->getDots(); + $html .= $this->getUrlLinks($block['last']); + } + + return $html; + } + + /** + * 渲染分页html + * @return mixed + */ + public function render() + { + if ($this->hasPages()) { + if ($this->simple) { + return sprintf( + '', + $this->getPreviousButton(), + $this->getNextButton() + ); + } else { + return sprintf( + '', + $this->getPreviousButton(), + $this->getLinks(), + $this->getNextButton() + ); + } + } + } + + /** + * 生成一个可点击的按钮 + * + * @param string $url + * @param string $page + * @return string + */ + protected function getAvailablePageWrapper(string $url, string $page): string + { + return '
  • ' . $page . '
  • '; + } + + /** + * 生成一个禁用的按钮 + * + * @param string $text + * @return string + */ + protected function getDisabledTextWrapper(string $text): string + { + return '
  • ' . $text . '
  • '; + } + + /** + * 生成一个激活的按钮 + * + * @param string $text + * @return string + */ + protected function getActivePageWrapper(string $text): string + { + return '
  • ' . $text . '
  • '; + } + + /** + * 生成省略号按钮 + * + * @return string + */ + protected function getDots(): string + { + return $this->getDisabledTextWrapper('...'); + } + + /** + * 批量生成页码按钮. + * + * @param array $urls + * @return string + */ + protected function getUrlLinks(array $urls): string + { + $html = ''; + + foreach ($urls as $page => $url) { + $html .= $this->getPageLinkWrapper($url, $page); + } + + return $html; + } + + /** + * 生成普通页码按钮 + * + * @param string $url + * @param string $page + * @return string + */ + protected function getPageLinkWrapper(string $url, string $page): string + { + if ($this->currentPage() == $page) { + return $this->getActivePageWrapper($page); + } + + return $this->getAvailablePageWrapper($url, $page); + } + + /** + * 获取页码对应的链接 + * + * @access protected + * @param int $page + * @return string + */ + protected function url(int $page): string + { + if ($page <= 0) { + $page = 1; + } + if (strpos($this->options['path'], '[PAGE]') === false) { + $parameters = [$this->options['var_page'] => $page]; + $path = $this->options['path']; + } else { + $parameters = []; + $path = str_replace('[PAGE]', $page, $this->options['path']); + } + + if (count($this->options['query']) > 0) { + $parameters = array_merge($this->options['query'], $parameters); + } + $url = $path; + if (!empty($parameters)) { + $url .= '?' . http_build_query($parameters, '', '&'); + } + + return $url . $this->buildFragment(); + } +} diff --git a/extend/page/DxtcPageA.php b/extend/page/DxtcPageA.php new file mode 100755 index 0000000..0df848f --- /dev/null +++ b/extend/page/DxtcPageA.php @@ -0,0 +1,246 @@ +currentPage() <= 1) { + return (''); + } + + $url = $this->url( + $this->currentPage() - 1 + ); + +// return ($this->getPageLinkWrapper($url, "上一页" ,"") .$this->getPageLinkWrapper($url, $text ,"prev")); + return ($this->getPageLinkWrapper($url, $tpl, "prev")); + } + + /** + * 下一页按钮 + * @param $tpl + * @return string + */ + protected function getNextButton($tpl = '下一页'): string + { + + if (!$this->hasMore) { + return (''); + } + + $url = $this->url($this->currentPage() + 1); + + return ($this->getPageLinkWrapper($url, $tpl, 'next')); + } + + /** + * 首页按钮 + * @return string + */ + private function getFirstButton() + { + return ''; + if ($this->lastPage > 1) { + $url = $this->url(1); + return $this->getPageLinkWrapper($url, '首页', "first"); + } else { + return ''; + } + } + + /** + * 最后一页按钮 + * @return string + */ + private function getLastButton() + { + return ''; + if ($this->lastPage > 1) { + $url = $this->url($this->lastPage); + return $this->getPageLinkWrapper($url, '末页', "last"); + } else { + return ''; + } + } + + /** + * 页码按钮 + * @return string + */ + protected function getLinks(): string + { + if ($this->simple) { + return ''; + } + + $block = [ + 'first' => null, + 'slider' => null, + 'last' => null, + ]; + + $side = 3; + $window = $side * 1; + + if ($this->lastPage < $window + 3) { + $block['first'] = $this->getUrlRange(1, $this->lastPage); + } elseif ($this->currentPage <= $window) { + $block['first'] = $this->getUrlRange(1, $window); + $block['last'] = $this->getUrlRange($this->lastPage - 1, $this->lastPage); + } elseif ($this->currentPage > ($this->lastPage - $window)) { + $block['first'] = $this->getUrlRange(1, 2); + $block['last'] = $this->getUrlRange($this->lastPage - ($window), $this->lastPage); + } else { + $block['first'] = $this->getUrlRange(1, 2); + $block['slider'] = $this->getUrlRange($this->currentPage, $this->currentPage); + $block['last'] = $this->getUrlRange($this->lastPage - 1, $this->lastPage); + } + + $html = ''; + + if (is_array($block['first'])) { + $html .= $this->getUrlLinks($block['first']); + } + + if (is_array($block['slider'])) { + $html .= $this->getDots(); + $html .= $this->getUrlLinks($block['slider']); + } + + if (is_array($block['last'])) { + $html .= $this->getDots(); + $html .= $this->getUrlLinks($block['last']); + } + + return $html; + } + + /** + * 渲染分页html + * @return mixed + */ + public function render($linkStr = '', $pageBox='') + { + $this->linkStr = $linkStr; + if ($this->hasPages()) { + $pageDiv = !empty($pageBox) ? '
    ' : ''; + if ($this->simple) { + return sprintf( + $pageDiv.'%s %s
    ', + $this->getPreviousButton(), + $this->getNextButton() + ); + } else { + return sprintf( + $pageDiv.'%s %s %s %s %s', + $this->getFirstButton(), + $this->getPreviousButton(), + $this->getLinks(), + $this->getNextButton(), + $this->getLastButton() + ); + } + } + } + + /** + * 生成一个可点击的按钮 + * + * @param string $url + * @param string $page + * @return string + */ + protected function getAvailablePageWrapper(string $url, string $page, $class = ""): string + { + //return '
  • ' . $page . '
  • '; + return ''; + } + + /** + * 生成一个禁用的按钮 + * + * @param string $text + * @return string + */ + protected function getDisabledTextWrapper(string $text, $class = ""): string + { + //return '
  • ' . $text . '
  • '; + return ''; + } + + /** + * 生成一个激活的按钮 + * + * @param string $text + * @return string + */ + protected function getActivePageWrapper(string $text, $class = ""): string + { + //return '
  • ' . $text . '
  • '; + return ''; + } + + /** + * 生成省略号按钮 + * + * @return string + */ + protected function getDots(): string + { + return $this->getDisabledTextWrapper('...'); + } + + /** + * 批量生成页码按钮. + * + * @param array $urls + * @return string + */ + protected function getUrlLinks(array $urls): string + { + $html = ''; + + foreach ($urls as $page => $url) { + $html .= $this->getPageLinkWrapper($url, $page); + } + + return $html; + } + + /** + * 生成普通页码按钮 + * + * @param string $url + * @param string $page + * @return string + */ + protected function getPageLinkWrapper(string $url, string $page, $class = ""): string + { + if ($this->currentPage() == $page) { + return $this->getActivePageWrapper($page, 'active cur'); + } + + return $this->getAvailablePageWrapper($url, $page, $class); + } +} diff --git a/package-lock.json b/package-lock.json new file mode 100755 index 0000000..978c4ed --- /dev/null +++ b/package-lock.json @@ -0,0 +1,5 @@ +{ + "name": "cms", + "version": "1.0.0", + "lockfileVersion": 1 +} diff --git a/package.json b/package.json new file mode 100755 index 0000000..98a6274 --- /dev/null +++ b/package.json @@ -0,0 +1,16 @@ +{ + "name": "cms", + "version": "1.0.0", + "description": "本CMS基于ThinkPHP 6.0开发", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "https://gitee.com/dxtc/cms.git" + }, + "keywords": [], + "author": "", + "license": "ISC" +} diff --git a/public/.htaccess b/public/.htaccess new file mode 100755 index 0000000..2adf6d6 --- /dev/null +++ b/public/.htaccess @@ -0,0 +1,9 @@ +SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1 + + Options +FollowSymlinks -Multiviews + RewriteEngine On + + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L] + \ No newline at end of file diff --git a/public/.htaccess.bak b/public/.htaccess.bak new file mode 100755 index 0000000..54028c8 --- /dev/null +++ b/public/.htaccess.bak @@ -0,0 +1,8 @@ + + Options +FollowSymlinks -Multiviews + RewriteEngine On + + RewriteCond %{REQUEST_FILENAME} !-d + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L] + \ No newline at end of file diff --git a/public/404.html b/public/404.html new file mode 100755 index 0000000..d2536e1 --- /dev/null +++ b/public/404.html @@ -0,0 +1,34 @@ + + + + + + + + 404 + + + + + +
    +
    + +
    +
    + + +
    + +
    啊哦,你所访问的页面不存在了
    +
    可能的原因:
    +
    +

    1、在地址栏中输入了错误的地址

    +

    2、你点击的某个链接已过期

    +
    + 返回首页 +
    + + + + \ No newline at end of file diff --git a/public/index.php b/public/index.php new file mode 100755 index 0000000..8422690 --- /dev/null +++ b/public/index.php @@ -0,0 +1,24 @@ + +// +---------------------------------------------------------------------- + +// [ 应用入口文件 ] +namespace think; + +header("Access-Control-Allow-Origin:*"); +header('Access-Control-Allow-Methods:POST'); +header('Access-Control-Allow-Headers:x-requested-with, content-type'); +require dirname(__DIR__) . '/vendor/autoload.php'; + +// 执行HTTP应用并响应 +$http = (new App())->http; +$response = $http->run(); +$response->send(); +$http->end($response); \ No newline at end of file diff --git a/public/static/common/404.css b/public/static/common/404.css new file mode 100755 index 0000000..908114a --- /dev/null +++ b/public/static/common/404.css @@ -0,0 +1,42 @@ +body{padding: 0;margin: 0; padding-top: 100px;} +a {text-decoration: none;cursor: pointer;display: block;} +.w1146 {width: 1146px; margin: auto;} +.w1232 {width: 1232px; margin: auto;} + + +.bodyBack .header{ + position: fixed; + top: 0; + left: 0; + right: 0; + background: hsla(216,91%,48%,0.85); + box-shadow: 0px 6px 10px 1px rgb(0 0 0 / 9%); + z-index: 20; +} + +.bodyBack .header .cont{ + display: flex; + justify-content: space-between; + align-items: center; + height: 100px; +} +.bodyBack .header .cont .logo a img { + height: 76px; +} +.woogs { + padding: 160px 0 100px 0; + margin: auto; + width: 316px; +} + +.woogs a { + margin-top: 24px; + width: 100%; + height: 40px; + border-radius: 20px; + background: #4C7EE9; + color: #fff; + font-size: 16px; + text-align: center; + line-height: 40px; +} \ No newline at end of file diff --git a/public/static/common/common.css b/public/static/common/common.css new file mode 100755 index 0000000..9a7f947 --- /dev/null +++ b/public/static/common/common.css @@ -0,0 +1,244 @@ +/*margin style*/ +.mgt-none{margin-top:0px !important;} +.mgt-10{margin-top:10px;} +.mgt-20{margin-top:20px;} +.mgt-30{margin-top:30px;} +.mgt-40{margin-top:40px;} +.mgt-50{margin-top:50px;} +.mgt-60{margin-top:60px;} +.mgt-70{margin-top:70px;} +.mgt-80{margin-top:80px;} +.mgt-90{margin-top:90px;} +.mgt-100{margin-top:100px;} +.mgt-7{margin-top:7px;} +.mgt-15{margin-top:15px;} +.mgt-25{margin-top:25px;} +.mgt-35{margin-top:35px;} +.mgt-45{margin-top:45px;} +.mgt-55{margin-top:55px;} + +.mgb-none{margin-bottom:0px !important;} +.mgb-10{margin-bottom:10px;} +.mgb-20{margin-bottom:20px;} +.mgb-30{margin-bottom:30px;} +.mgb-40{margin-bottom:40px;} +.mgb-50{margin-bottom:50px;} +.mgb-60{margin-bottom:60px;} +.mgb-70{margin-bottom:70px;} +.mgb-80{margin-bottom:80px;} +.mgb-90{margin-bottom:90px;} +.mgb-100{margin-bottom:100px;} +.mgb-7{margin-bottom:7px;} +.mgb-15{margin-bottom:15px;} +.mgb-25{margin-bottom:25px;} +.mgb-35{margin-bottom:35px;} +.mgb-45{margin-bottom:45px;} +.mgb-55{margin-bottom:55px;} + +.mgl-none{margin-left:0px !important;} +.mgl-10{margin-left:10px;} +.mgl-20{margin-left:20px;} +.mgl-30{margin-left:30px;} +.mgl-40{margin-left:40px;} +.mgl-50{margin-left:50px;} +.mgl-60{margin-left:60px;} +.mgl-70{margin-left:70px;} +.mgl-80{margin-left:80px;} +.mgl-90{margin-left:90px;} +.mgl-100{margin-left:100px;} +.mgl-7{margin-left:7px;} +.mgl-15{margin-left:15px;} +.mgl-25{margin-left:25px;} +.mgl-35{margin-left:35px;} +.mgl-45{margin-left:45px;} +.mgl-55{margin-left:55px;} + +.mgr-none{margin-right:0px !important;} +.mgr-10{margin-right:10px;} +.mgr-20{margin-right:20px;} +.mgr-30{margin-right:30px;} +.mgr-40{margin-right:40px;} +.mgr-50{margin-right:50px;} +.mgr-60{margin-right:60px;} +.mgr-70{margin-right:70px;} +.mgr-80{margin-right:80px;} +.mgr-90{margin-right:90px;} +.mgr-100{margin-right:100px;} +.mgr-7{margin-right:7px;} +.mgr-15{margin-right:15px;} +.mgr-25{margin-right:25px;} +.mgr-35{margin-right:35px;} +.mgr-45{margin-right:45px;} +.mgr-55{margin-right:55px;} + +/*padding style*/ +.padt-none{padding-top:0px !important;} +.padt-10{padding-top:10px;} +.padt-20{padding-top:20px;} +.padt-30{padding-top:30px;} +.padt-40{padding-top:40px;} +.padt-50{padding-top:50px;} +.padt-60{padding-top:60px;} +.padt-70{padding-top:70px;} +.padt-80{padding-top:80px;} +.padt-90{padding-top:90px;} +.padt-100{padding-top:100px;} +.padt-7{padding-top:7px;} +.padt-15{padding-top:15px;} +.padt-25{padding-top:25px;} +.padt-35{padding-top:35px;} +.padt-45{padding-top:45px;} +.padt-55{padding-top:55px;} + +.padb-none{padding-bottom:0px !important;} +.padb-10{padding-bottom:10px;} +.padb-20{padding-bottom:20px;} +.padb-30{padding-bottom:30px;} +.padb-40{padding-bottom:40px;} +.padb-50{padding-bottom:50px;} +.padb-60{padding-bottom:60px;} +.padb-70{padding-bottom:70px;} +.padb-80{padding-bottom:80px;} +.padb-90{padding-bottom:90px;} +.padb-100{padding-bottom:100px;} +.padb-7{padding-bottom:7px;} +.padb-15{padding-bottom:15px;} +.padb-25{padding-bottom:25px;} +.padb-35{padding-bottom:35px;} +.padb-45{padding-bottom:45px;} +.padb-55{padding-bottom:55px;} + +.padl-10{padding-left:10px;} +.padl-20{padding-left:20px;} +.padl-30{padding-left:30px;} +.padl-40{padding-left:40px;} +.padl-50{padding-left:50px;} +.padl-60{padding-left:60px;} +.padl-70{padding-left:70px;} +.padl-80{padding-left:80px;} +.padl-90{padding-left:90px;} +.padl-100{padding-left:100px;} +.padl-7{padding-left:7px;} +.padl-15{padding-left:15px;} +.padl-25{padding-left:25px;} +.padl-35{padding-left:35px;} +.padl-45{padding-left:45px;} +.padl-55{padding-left:55px;} + +.padr-none{padding-right:0px !important;} +.padr-10{padding-right:10px;} +.padr-20{padding-right:20px;} +.padr-30{padding-right:30px;} +.padr-40{padding-right:40px;} +.padr-50{padding-right:50px;} +.padr-60{padding-right:60px;} +.padr-70{padding-right:70px;} +.padr-80{padding-right:80px;} +.padr-90{padding-right:90px;} +.padr-100{padding-right:100px;} +.padr-7{padding-right:7px;} +.padr-15{padding-right:15px;} +.padr-25{padding-right:25px;} +.padr-35{padding-right:35px;} +.padr-45{padding-right:45px;} +.padr-55{padding-right:55px;} + +/* show or hide*/ +.ds-show{display: block;} +.ds-hidden{display: none;} +.hidden{display: none;} + +/* height*/ +.min-h100{min-height: 100px;} +.min-h200{min-height: 200px;} +.min-h300{min-height: 300px;} +.min-h400{min-height: 400px;} +.min-h500{min-height: 500px;} + +.min-fix-h100{min-height: 100px !important;} +.min-fix-h200{min-height: 200px !important;} +.min-fix-h300{min-height: 300px !important;} +.min-fix-h400{min-height: 400px !important;} +.min-fix-h500{min-height: 500px !important;} + +.h-ratio-10{height: 10%;} +.h-ratio-20{height: 20%;} +.h-ratio-30{height: 30%;} +.h-ratio-40{height: 40%;} +.h-ratio-50{height: 50%;} +.h-ratio-60{height: 60%;} +.h-ratio-70{height: 70%;} +.h-ratio-80{height: 80%;} +.h-ratio-90{height: 90%;} +.h-ratio-100{height: 100%;} + +.min-rh-30{min-height: 30%;} +.minh-rh-40{min-height: 40%;} +.minh-rh-50{min-height: 50%;} +.minh-rh-60{min-height: 60%;} +.minh-rh-70{min-height: 70%;} +.minh-rh-80{min-height: 80%;} +.minh-rh-90{min-height: 90%;} + +.min-vh-30{min-height: 30vh;} +.min-vh-40{min-height: 40vh;} +.min-vh-50{min-height: 50vh;} +.min-vh-60{min-height: 60vh;} +.min-vh-70{min-height: 70vh;} +.min-vh-80{min-height: 80vh;} +.min-vh-90{min-height: 90vh;} + +/*width*/ +.min-w100{min-width: 100px;} +.min-w200{min-width: 200px;} +.min-w300{min-width: 300px;} +.min-w400{min-width: 400px;} +.min-w500{min-width: 500px;} + +.min-fix-w100{min-width: 100px !important;} +.min-fix-w200{min-width: 200px !important;} +.min-fix-w300{min-width: 300px !important;} +.min-fix-w400{min-width: 400px !important;} +.min-fix-w500{min-width: 500px !important;} + +.w-ratio-10{width: 10%;} +.w-ratio-20{width: 20%;} +.w-ratio-30{width: 30%;} +.w-ratio-40{width: 40%;} +.w-ratio-50{width: 50%;} +.w-ratio-60{width: 60%;} +.w-ratio-70{width: 70%;} +.w-ratio-80{width: 80%;} +.w-ratio-90{width: 90%;} +.w-ratio-100{width: 100%;} + +/* width and height*/ +.wh-ratio-100{width: 100%; height: 100%;} + +/*text overflow*/ +.text-ell{ word-bread: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical;overflow: hidden;} +.text-ell-1{-webkit-line-clamp: 1; max-height: 1.5rem;} +.text-ell-2{-webkit-line-clamp: 2; max-height: 3.5rem;} +.text-ell-3{-webkit-line-clamp: 3; max-height: 5.5rem;} +.text-ell-4{-webkit-line-clamp: 4; max-height: 7.5rem;} +.text-ell-5{-webkit-line-clamp: 5; max-height: 9.5rem;} + +.over-auto{overflow: auto;} + +/*center*/ +.img-ds-center{ +display: -webkit-flex; +display: flex; +-webkit-align-items: center; +align-items: center; +-webkit-justify-content: center; +justify-content: center; +} + +/* raw style 默认样式*/ +input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {-webkit-appearance: none;} +.color-initial{color: initial;} +.raw-style b{font-weight: revert;} + + + diff --git a/public/static/common/jquery-3.4.1.min.js b/public/static/common/jquery-3.4.1.min.js new file mode 100755 index 0000000..a1c07fd --- /dev/null +++ b/public/static/common/jquery-3.4.1.min.js @@ -0,0 +1,2 @@ +/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */ +!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
    ",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0.select{ + display: none; + position: absolute; + left: 0; + top: 80px; + background-color: #FFFFFF; + width: 90px; + padding: 10px 0; + box-shadow: 0 0 10px rgba(3,133,197,.1); + z-index: 999; +} +.language-select>.select ins{ + display: block; + font-size: 16px; + line-height: 2; + cursor: pointer; +} +.language img:first-child{ + width: 25px; + height: 25px; +} +.language img:last-child{ + width: 11px; + height: 7px; + transition: all .6s; +} +.language img.open{ + transform: rotateX(180deg); + transition: all .6s; +} +/* 搜索 */ +.search{ + display: flex; + justify-content: center; + align-items: center; + width: 88px; + height: 80px; + background-color: #0094da; + cursor: pointer; +} +.search>span{ + display: flex; + justify-content: center; + align-items: center; + width: 100%; + height: 100%; +} +.search-son{ + display: none; + height: 76px; + background-color: #FFFFFF; + border-top: 1px solid #f4f4f4; + position: fixed; + left: 0; + top: 80px; +} +.search-input{ + display: flex; + justify-content: space-between; + align-items: center; + width: 1080px; + height: 75px; + padding: 25px 0 18px; + margin: 0 auto; +} +.search-input input{ + height: 32px; + padding: 0 13px; + font-size: 15px; + border: 0; + border-left: 1px solid #c2c2c2; +} +.search-input img{ + height: 23px; + margin-right: 16px; +} +.search-btn{ + font-size: 15px; + line-height: 2; +} +/* 导航 */ +.nav{ + width: calc(100% - 642px); + height: 80px; + display: flex; + justify-content: flex-start; +} +.nav>li{ + height: 80px; + margin-right: 40px; + transition: all .6s; +} +.nav>li>a{ + display: block; + padding: 0 2px; + line-height: 60px; + margin-top: 10px; + border-bottom: 2px solid #FFFFFF; + transition: all .6s; +} +.nav>li.active>a{ + border-bottom: 2px solid #0094da; + transition: all .6s; +} +.nav>li:hover>a{ + color: #0094da; + transition: all .6s; +} +.nav>li.active:hover>a{ + color: #262626; +} + +/* 二级导航 */ +.nav-sub{ + display: none; +} +.nav>li:hover .nav-sub{ + display: flex; + justify-content: space-between; + width: 100%; + background-color: rgba(255,255,255,.9); + position: fixed; + top: 80px; + left: 0; + z-index: 999; +} +.nav-sub .sub-left{ + width: 27%; + padding: 20px 0 20px calc( 27% - 200px); + background-color: rgba(219,222,226,.7); +} +.nav-sub .sub-left span{ + display: block; + width: 100%; + line-height: 58px; + padding: 0 12px; + border-bottom: 1px solid #e9ecef; + font-size: 20px; + cursor: pointer; + transition: all .6s; +} +.nav-sub .sub-left span.cur{ + background-color: #2d5899; + color: #FFFFFF; + transition: all .6s; +} +.nav-sub .sub-right{ + width: 73%; + padding: 20px calc(73% - 1160px) 20px 80px; + overflow: hidden; +} +.nav-sub .sub-right>span{ + display: none; + overflow: hidden; +} +.nav-sub .sub-right span>a{ + width: 20%; + font-size: 16px; + line-height: 2.5; + float: left; + transition: all .6s; +} + +.nav-sub .sub-right span>a ins{ + padding: 5px 10px; + border-radius: 8px; + transition: all .6s; +} +.nav-sub .sub-right span>a:hover{ + transition: all .6s; +} +.nav-sub .sub-right span>a:hover ins{ + color: #FFFFFF; + background-color: rgba(45,88,153,.8); + transition: all .6s; +} + +/* 二级导航 */ +.nav-sub .sub-left-01{ + width: 27%; + padding: 20px 0 20px calc( 27% - 200px); + background-color: rgba(219,222,226,.7); +} +.nav-sub .sub-left-01 span{ + display: block; + width: 100%; + line-height: 58px; + padding: 0 12px; + border-bottom: 1px solid #e9ecef; + font-size: 20px; + cursor: pointer; + transition: all .6s; +} +.nav-sub .sub-left-01 span.cur{ + background-color: #2d5899; + color: #FFFFFF; + transition: all .6s; +} +.nav-sub .sub-right-01{ + width: 73%; + padding: 20px calc(73% - 1160px) 20px 80px; + overflow: hidden; +} +.nav-sub .sub-right-01>span{ + display: none; + overflow: hidden; +} +.nav-sub .sub-right-01 span>a{ + width: 20%; + font-size: 16px; + line-height: 2.5; + float: left; + transition: all .6s; +} +.nav-sub .sub-right-01 span>a ins{ + padding: 5px 10px; + border-radius: 8px; + transition: all .6s; +} +.nav-sub .sub-right-01 span>a:hover{ + transition: all .6s; +} +.nav-sub .sub-right-01 span>a:hover ins{ + color: #FFFFFF; + background-color: rgba(45,88,153,.8); + transition: all .6s; +} + +/* 二级导航 */ +.nav-son{ + display: none; +} +.nav>li:hover .nav-son{ + display: block; + width: 100%; + padding: 20px calc(50% - 640px); + background-color: rgba(255,255,255,.9); + position: fixed; + left: 0; + top: 80px; + z-index: 999; +} +.son-top{ + font-family: 'SourceHanSansSC-Regular'; + padding-top: 39px; + background-image: url(../images/text.png); + background-size: 385px 75px; + background-repeat: no-repeat; + background-position: left center; + font-size: 36px; + line-height: 1.5; + margin-top: 20px; +} +.son-bottom{ + display: flex; + justify-content: flex-start; + flex-wrap: wrap; + margin: 28px 0 46px; +} +.son-bottom a{ + width: 14.28%; + font-size: 20px; + line-height: 1.4; + border-left: 3px solid #92a4bc; + padding-left: 10px; + margin-top: 20px; + transition: all .6s; +} +.son-bottom a:hover{ + color: rgba(45,88,153,1); + transition: all .6s; +} +.nav-bg{ + display: none; +} + +/* 手机端导航按钮 */ +.head .head-btn{ display: none; width: 20px; float: right; position: relative; cursor: pointer; margin-top: 5px; z-index: 999;} +.head .head-btn i{ display: block; width: 100%; height: 2px; float: left; background-color: #0094da; border-radius: 50px; + transition: all .5s ease 0s; + -webkit-transition: all .5s ease 0s; + -moz-transition: all .5s ease 0s; +} +.head .head-btn i.bar-top{ margin-top: 0;} +.head .head-btn i.bar-cen{ margin-top: 5px;} +.head .head-btn i.bar-bom{ margin-top: 5px;} +.head .head-btn.cur i{background-color: #0094da;} +.head .head-btn.cur i.bar-cen{ opacity: 0;} +.head .head-btn.cur i.bar-top{ -webkit-transform:rotate(45deg) translate(5px, 5px);transform:rotate(45deg) translate(5px, 5px);} +.head .head-btn.cur i.bar-bom{ -webkit-transform: rotate(-45deg) translate(5px, -5px);transform: rotate(-45deg) translate(5px, -5px);} + +/* 轮播样式 */ +.banner-swiper { + overflow-x: hidden; + height: 819px; + position: relative; + background-color: #FFFFFF; + margin-top: 80px; +} +.banner-swiper .swiper-slide { + position: relative; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; +} +.banner-swiper .swiper-slide video{ + width: 100%; + height: 819px; +} +.banner-title{ + width: 100%; + color: #FFFFFF; + position: absolute; + left: 0; + top: 36%; + text-align: center; + z-index: 1; +} +.banner-title h2{ + width: 100%; + font-family: "SourceHanSansSC-Heavy"; + font-size: 56px; + line-height: 1.2; + font-weight: normal; + text-transform: uppercase; +} +.banner-title p{ + font-family: 'HelveticaExt-Normal'; + font-size: 48px; +} +.banner-title span{ + display: block; + width: 40%; + margin: 20px auto 0; + font-size: 18px; + line-height: 1.5; + letter-spacing: 2px; + text-transform: uppercase; +} +/* 分页器 */ +.banner-swiper .swiper-container-horizontal>.swiper-pagination-bullets, +.banner-swiper .swiper-pagination-custom, +.banner-swiper .swiper-pagination-fraction{ + font-size: 16px; + font-weight: bold; + color: #fff !important; + bottom: 27px; +} +/* 指示点默认样式 */ +.banner-swiper .swiper-pagination-bullet { + width: 20px; + height: 20px; + line-height: 20px; + font-size: 16px; + color: rgba(255,255,255,.6); + background-color: rgba(0,0,0,0); + border-radius: 0; + margin: 0 12px; + font-weight: bold; + overflow: hidden; + opacity: 1; +} +.banner-swiper .swiper-pagination-bullet-active{ + width: 105px; + background-color: rgba(0,0,0,0); + color: rgba(255,255,255,1); +} +.banner-swiper .swiper-pagination-bullet-active>em{ + display: block; + float: left; +} +.banner-swiper .swiper-pagination-bullet>ins{ + display: block; + width: 0; + height: 1px; + margin-top: 9px; + background-color: #FFFFFF; + float: right; +} +.banner-swiper .swiper-pagination-bullet-active>ins{ + width: 80px; + transition: all .6s; +} +.banner-swiper .swiper-pagination-bullet:last-child ins{ + float: left; +} +.banner-swiper .swiper-pagination-bullet:last-child em{ + float: right; +} + +/* 首页 */ +/* 数据展示 */ +.about-data-bg{ + width: 100%; + /* height: 221px; */ + background-image: url(../images/about-bg.png); + background-size: cover; +} +.about-data{ + display: flex; + justify-content: space-around; + align-items: center; + width: 100%; + padding: 43px calc(50% - 760px); +} +.about-data>li{ + width: 10%; +} +.about-data>li:nth-of-type(2){ + width: 20%; +} +.about-data>li>span{ + display: block; + font-size: 16px; + line-height: 1.5; + color: #FFFFFF; +} +.about-data>li>p{ + /* font-family: 'HelveticaExt-Normal'; */ + font-size: 72px; + font-weight: bold; + line-height: 1.2; + color: #FFFFFF; +} +.about-data>li>p span{ + font-size: 26px; + margin-left: 10px; + font-weight: normal; +} + +/* 关于我们 */ +.about-body{ + display: flex; + justify-content: space-between; + width: 100%; + overflow: hidden; + +} +.about-body>div{ + width: 50%; +} + +/* 视频轮播 */ +.about-video-swiper { + overflow-x: hidden; + height: 529px; + position: relative; + background-color: #FFFFFF; +} +.about-video-swiper .swiper-slide { + position: relative; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + overflow: hidden; + transform: all .8s; +} +/* 分页器 */ +.about-video-swiper .swiper-pagination-bullets, +.about-video-swiper .swiper-pagination-custom, +.about-video-swiper .swiper-pagination-fraction{ + height: 22px; + color: #fff !important; + bottom: 27px; +} +/* 指示点默认样式 */ +.about-video-swiper .swiper-pagination-bullet{ + width: 22px; + height: 22px; + background-color: rgba(255,255,255,0); + border: 1px solid rgba(255,255,255,0); + margin: 0 2px !important; + cursor: pointer; + opacity: 1; +} +.about-video-swiper .swiper-pagination-bullet>em{ + display: block; + width: 10px; + height: 10px; + margin: 5px; + background-color: #FFFFFF; + border-radius: 100%; +} +.about-video-swiper .swiper-pagination-bullet-active{ + border: 1px solid rgba(255,255,255,1); +} + +.about-video-swiper .icon-play{ + width: 75px; + height: 75px; + position: absolute; + left: calc(50% - 37px); + right: calc(50% - 37px); + cursor: pointer; +} + +/* 视频弹窗 */ +.video-list-bg{ + width: 840px; + height: 500px; + position: fixed; + left: 50%; + top: 50%; + transform: translate(-50%,-50%); + z-index: 9998; + display: none; +} +.video-list{ + width: 840px; + height: 490px; + margin-top: -20px; + border: 20px solid #003585; + background-color: #ccc; + border-radius: 20px; +} +.video-list>li{ + display: none; +} +.video-list>li.show{ + display: block; +} +.video-list video{ + width: 800px; + height: 450px; +} +.video-list-bg>.close-video{ + display: block; + width: 30px; + height: 30px; + padding: 4px; + margin-left: calc(100% - 20px); + border-radius: 100%; + background-color: #FFFFFF; + position: relative; + z-index: 9999; +} +.video-list-bg>.close-video img{ + width: 22px; + height: 22px; +} + +/* 介绍内容 */ +.about-txt{ + padding: 58px calc(50% - 740px) 0 70px; +} +.about-txt>h2{ + font-size: 32px; + line-height: 1.5; +} +.about-txt>p{ + font-size: 15px; + line-height: 2; + color: #4a4a4a; + margin: 26px 0 68px; + text-align: justify; +} + +.about-nav{ + display: flex; + align-items: center; +} +.about-nav>li{ + width: 25%; + text-align: center; +} +.about-nav>li img{ + width: 43px; + height: 43px; + margin: 0 auto; + -webkit-filter: grayscale(100%); /* Chrome, Safari, Opera */ + filter: grayscale(100%); + transition: all .6s; +} +.about-nav>li p{ + font-size: 16px; + line-height: 1.5; + margin-top: 12px; + transition: all .6s; +} +.about-nav>li:hover img{ + transform: rotateY(360deg); + -webkit-filter: grayscale(0); /* Chrome, Safari, Opera */ + filter: grayscale(0); + transition: all .6s; +} +.about-nav>li:hover p{ + color: #003585; + transition: all .6s; +} + +/* 解决方案 */ +.index-title{ + color: #FFFFFF; + text-align: center; +} +.index-title-black{ + color: #262626; +} +.index-title h2{ + font-size: 36px; + line-height: 1.5; +} +.index-title span{ + display: block; + font-size: 22px; + line-height: 1.5; + margin-top: 7px; +} +.index-title span.span{ + font-size: 26px; +} +.index-solution{ + height: 760px; + position: relative; + overflow: hidden; +} +.index-solution .index-title{ + position: absolute; + top: 65px; + left: 0; + z-index: 2; +} +.index-solution-list{ + position: absolute; + top: 0; + left: 0; + z-index: 1; +} +.index-solution-list .solution-img{ + height: 760px; +} +.index-solution-list .solution-img img{ + width: 100%; + min-height: 760px; +} +.index-solution-list>li{ + display: none; + position: relative; +} +.index-solution-list>li .solution-txt{ + position: absolute; + top: 290px; + left: 50%; + transform: translateX(-50%); + color: #FFFFFF; + z-index: 2; + animation: myLeft .8s; +} +.solution-txt h3{ + font-size: 32px; + line-height: 1.5; +} +.solution-txt p{ + width: 50%; + font-size: 16px; + line-height: 1.9; + margin-top: 16px; +} +.solution-txt .more{ + display: flex; + justify-content: center; + align-items: center; + width: 168px; + height: 50px; + font-size: 14px; + color: #e9e9e9; + border: 1px solid #e7e4e2; + border-radius: 25px; + margin-top: 70px; + cursor: pointer; + transition: all .6s; +} +.solution-txt .more:hover{ + color: #003585; + border: 1px solid #003585; + transition: all .6s; +} +.solution-txt .more>em:last-child{ + display: flex; + align-items: center; + margin-left: 14px; +} +.solution-txt .more>em ins{ + display: block; + width: 4px; + height: 4px; + border-radius: 100%; + background-color: #e7e4e2; + transition: all .6s; +} +.solution-txt .more>em ins:nth-of-type(2){ + width: 6px; + height: 6px; + margin: 0 4px; +} +.solution-txt .more:hover ins{ + background-color: #003585; + transition: all .6s; +} + +/* 解决方案分类 */ +.index-solution-nav{ + height: 140px; + background-color: rgba(0,53,133,.6); + position: absolute; + left: 50%; + bottom: 0; + transform: translateX(-50%); + z-index: 1; +} +.solution-swiper-bg{ + display: flex; + justify-content: space-between; + width: 100%; + height: 140px; +} +.solution-nav-swiper{ + width: 100%; +} +.index-solution-nav .swiper-slide{ + cursor: pointer; +} +.index-solution-nav .swiper-slide>img{ + width: 64px; + height: 67px; + margin: 20px auto 10px; + transition: all .6s; +} +.index-solution-nav .swiper-slide>p{ + font-size: 16px; + line-height: 1.5; + color: #FFFFFF; + text-align: center; +} +.index-solution-nav .swiper-slide.cur{ + background-color: #003585; +} +.index-solution-nav .swiper-slide:hover{ + background-color: #003585; +} +.index-solution-nav .swiper-slide:hover img{ + transform:rotateY(360deg); + transition: all .6s; +} +.index-solution-nav .swiper-slide.cur:hover img{ + transform:rotateY(0deg); +} + +/* 三级应用 */ +.index-solution-more{ + height: 0; + min-height: 0; + overflow: hidden; + transition: all .8s; +} +.index-solution-more.active{ + height: auto; + min-height: 242px; + transition: all .8s; +} +.solution-more-list{ + margin-top: 10px; +} +.solution-more-list li{ + height: 0; + overflow: hidden; + transition: all .8s; +} +.solution-more-list li.show{ + display: flex; + align-items: center; + flex-wrap: wrap; + height: auto; + transition: all .8s; +} +.solution-more-list li>a{ + display: flex; + align-items: center; + width: 14%; + height: 100px; + margin-right: 3.2%; + border-bottom: 1px solid #e1e1e1; + font-size: 16px; + cursor: pointer; +} +.solution-more-list li>a:nth-of-type(6n){ + margin-right: 0; +} +.solution-more-list li>a img{ + max-width: 32%; + margin-right: 15px; + transition: all .6s; +} +.solution-more-list li>a:hover{ + color: #003585; +} +.solution-more-list li>a:hover img{ + transform: scale(1.3); + transition: all .6s; +} +.solution-more-btn{ + display: flex; + justify-content: center; + align-items: center; + width: 168px; + height: 50px; + font-size: 16px; + border: 1px solid #bfbfbf; + border-radius: 25px; + margin: 40px auto 42px; + cursor: pointer; + transition: all .6s; +} +.solution-more-btn:hover{ + border: 1px solid #003585; + color: #003585; + transition: all .6s; +} + +/* 服务流程 */ +.index-service{ + background-color: #f4f4f4; + padding: 50px 0 58px; +} + +.index-service-list{ + display: flex; + justify-content: flex-start; + margin-top: 34px; +} +.index-service-list>li{ + width: 11.1%; + background-color: #FFFFFF; + box-shadow: 0 0 14px rgba(205,205,205,.15); + padding: 12px; + margin-right: 1.6%; + text-align: center; +} +.index-service-list>li:last-child{ + margin-right: 0; +} +.index-service-list>li em{ + font-family: impact; + display: block; + font-size: 30px; + line-height: 1.2; + color: #e8e8e8; + text-align: left; + transition: all .6s; +} +.index-service-list>li span{ + display: flex; + align-items: center; + justify-content: center; + width: 90px; + height: 90px; + margin: 0 auto; + background-color: #d9e1ed; + border-radius: 100%; + overflow: hidden; + transition: all .6s; +} +.index-service-list>li span>img{ + -webkit-filter: grayscale(100%); + filter: grayscale(100%); + transition: all .6s; +} +.index-service-list>li h3{ + font-size: 16px; + line-height: 1.5; + margin: 13px 0; + transition: all .6s; +} +.index-service-list>li ins{ + display: block; + width: 23px; + height: 3px; + background-color: #003585; + margin: 0 auto; +} +.index-service-list>li p{ + font-size: 13px; + line-height: 1.8; + color: #767676; + margin-top: 13px; +} +.index-service-list>li:hover em, +.index-service-list>li:hover h3{ + color: #003585; + transition: all .6s; +} +.index-service-list>li:hover span{ + background-color: #f4f4f4; + transition: all .6s; +} +.index-service-list>li:hover span>img{ + -webkit-filter: grayscale(0); + filter: grayscale(0); + transform: rotateY(360deg); + transition: all .6s; +} + + +/* 新闻动态 */ +.index-news { + padding: 50px 0 60px; +} +.index-news-list{ + display: flex; + justify-content: space-between; + align-items: flex-start; + margin-top: 54px; +} +.index-news-first{ + width: calc(36.3% - 55px); + margin-top: 20px; +} +.index-news-img{ + width: 100%; + height: 332px; + border-radius: 50px 0 50px 0; + overflow: hidden; +} +.index-news-img img{ + width: 100%; + min-height: 332px; + transition: all .6s; +} +.index-news-first:hover .index-news-img img{ + transform: scale(1.2); + transition: all .6s; +} +.index-news-txt{ + margin-top: 27px; +} +.index-news-txt span{ + font-size: 14px; + line-height: 1.5; + opacity: .7; +} +.index-news-txt h3{ + font-size: 22px; + font-weight: normal; + line-height: 1.5; + margin: 5px 0; + color: #000; + transition: all .6s; +} +.index-news-txt p{ + font-size: 14px; + line-height: 1.8; + text-align: justify; + opacity: .5; +} + +.index-news-first .more{ + display: flex; + justify-content: flex-start; + align-items: center; + width: 100%; + font-size: 14px; + color: #003585; + margin-top: 36px; +} +.index-news-first .more>em:last-child{ + display: flex; + align-items: center; + margin-left: 14px; +} +.index-news-first .more>em ins{ + display: block; + width: 4px; + height: 4px; + border-radius: 100%; + background-color: #003585; + transition: all .6s; +} +.index-news-first .more>em ins:nth-of-type(2){ + width: 6px; + height: 6px; + margin: 0 4px; +} +.index-news-first:hover h3{ + color: #003585; + transition: all .6s; +} + + +.index-news-item{ + display: flex; + justify-content: space-between; + align-items: center; + flex-wrap: wrap; + width: 63.7%; +} +.index-news-item a{ + display: block; + width: calc(50% - 30px); + padding: 15px 0; + border-bottom: 1px solid #e8e8e8; +} +.index-news-item a>span{ + font-size: 14px; + line-height: 1.5; + opacity: .7; +} +.index-news-item a>h3{ + height: 48px; + font-size: 16px; + line-height: 1.5; + color: #000; + font-weight: normal; + margin-top: 5px; + transition: all .6s; +} +.index-news-item a:hover h3{ + color: #003585; + transition: all .6s; +} +/* 尾部 */ +.slogin{ + padding: 100px 0 94px; + background-image: url(../images/slogin-bg.png); + background-size: cover; +} +.slogin img{ + height: 146px; + margin: 0 auto; +} +.slogin p{ + width: 912px; + margin: 34px auto 0; + font-size: 24px; + line-height: 1.5; + text-align: center; + color: #FFFFFF; + +} +.foot-bg{ + background-image: url(../images/foot-bg.png); + background-repeat: no-repeat; + background-position: left bottom; + background-size: 100% auto; +} +.foot{ + display: flex; + justify-content: space-between; + padding: 40px 0; + border-bottom: 1px solid #dedede; +} +.foot li{ + width: 12%; +} +.foot li:last-child{ + width: 28%; +} +.foot li>strong, +.foot li>span, +.foot li>a{ + display: block; + font-size: 14px; + line-height: 2.3; + color: #343434; + opacity: .8; + transition: all .6s; +} +.foot li>strong{ + opacity: 1; +} +.foot li>a:hover{ + color: #003585; + text-decoration: underline; + transition: all .6s; +} +.foot-bottom{ + display: flex; + justify-content: space-between; + align-items: center; + padding: 32px 0; +} +.foot-left{ + width: calc(100% - 192px); +} +.foot-left p{ + font-size: 14px; + line-height: 2.3; + color: #343434; + opacity: .8; +} +.foot-left p:first-child a{ + margin-right: 28px; + transition: all .6s; +} +.foot-left p:first-child a:hover{ + color: #003585; + text-decoration: underline; + transition: all .6s; +} +.foot-left p:first-child a:last-child{ + margin-right: 0; +} +.foot-left p:last-child a{ + margin: 0 10px; +} +.foot-right{ + display: flex; + justify-content: space-between; + width: 192px; + height: 85px; +} +.foot-right img{ + width: 85px; + height: 85px; +} + +/* 悬浮 */ +.open-suspension{ + width: 40px; + height: 40px; + background-color: #FFFFFF; + box-shadow: 0 0 20px rgba(205,205,205,.5); + border-radius: 6px; + position: fixed; + top: calc(50% - 248px); + right: 6px; + cursor: pointer; + transition: all .6s; + z-index: 999; +} +.open-suspension img{ + height: 20px; + margin: 10px auto; + transform: rotateY(180deg); + transition: all .6s; +} +.open-suspension.open img{ + transform: rotateY(0); + transition: all .6s; +} +.suspension{ + width: 94px; + position: fixed; + top: 50%; + right: -100px; + transform: translateY(-50%); + z-index: 998; + transition: all .6s; +} +.suspension.show{ + right: 6px; + transition: all .6s; +} +.suspension li{ + display: flex; + justify-content: center; + align-items: center; + flex-wrap: wrap; + width: 94px; + height: 94px; + border-radius: 6px; + background-color: #FFFFFF; + box-shadow: 0 0 10px rgba(3,133,197,.1); + margin-top: 8px; + padding: 15px 0 8px; + position: relative; + cursor: pointer; + +} +.suspension li img{ + -webkit-filter: grayscale(0%); + -moz-filter: grayscale(0%); + -ms-filter: grayscale(0%); + -o-filter: grayscale(0%); + filter: grayscale(0%); + transition: all .6s; +} +.suspension li:first-child{ + margin-top: 0; +} +.suspension li p{ + width: 100%; + text-align: center; + font-size: 14px; + line-height: 1.5; +} + +.suspension li>.txt{ + display: none; + width: 158px; + background-color: #FFFFFF; + border-radius: 6px; + box-shadow: 0 0 10px rgba(3,133,197,.1); + padding: 15px 22px; + font-size: 14px; + line-height: 2; + position: absolute; + top: 0; + right: 96px; + z-index: 999; + transition: all .6s; +} +.suspension li>.txt img{ + width: 100%; +} +.suspension li>.txt>span{ + display: block; + text-align: center; +} +.suspension li>em{ + display: none; + width: 9px; + height: 16px; + background-image: url(../images/icon-right.png); + background-size: 9px 16px; + position: absolute; + top: 13px; + left: -2px; + z-index: 999; + transition: all .6s; +} +.suspension li:hover{ + background-color: #003585; + transition: all .6s; +} +.suspension li:hover>p{ + color: #FFFFFF; + transition: all .6s; +} +.suspension li:hover>img{ + -webkit-filter: invert(100%) grayscale(100%) brightness(1000%); + -moz-filter: invert(100%) grayscale(100%) brightness(1000%); + -ms-filter: invert(100%) grayscale(100%) brightness(1000%); + -o-filter: invert(100%) grayscale(100%) brightness(1000%); + filter: invert(100%) grayscale(100%) brightness(1000%); + transition: all .6s; +} +.suspension li:hover .txt, +.suspension li:hover em{ + display: block; + transition: all .6s; +} + +/* 手机端底部 */ +.wap-service{ + display: none; +} + +/* 关于我们 */ +.pull-banner{ + width: 100%; + height: 580px; + position: relative; + margin-top: 80px; + overflow: hidden; +} +.pull-banner>img{ + width: 100%; + min-height: 580px; +} +.pull-banner-title{ + position: absolute; + left: 50%; + top: 50%; + transform: translate(-50%,-50%); + animation: myLeft .8s; +} +.pull-banner-title h2{ + font-size: 36px; + line-height: 1.2; +} +.pull-banner-title p{ + display: inline-block; + height: 32px; + border-bottom: 12px solid rgba(255,255,255,.5); + font-size: 24px; + line-height: 1.5; + margin: 20px 0 24px; + opacity: .8; +} +.pull-banner-title span{ + display: block; + font-size: 14px; + line-height: 1.5; +} + +.pull-nav{ + display: flex; + align-items: center; + height: 80px; + background-color: #FFFFFF; + padding: 0 40px; + border-bottom: 1px solid #e8e8f1; + margin-top: -80px; + position: relative; + z-index: 1; +} +.pull-nav>a{ + margin: 0 30px; + font-size: 18px; + line-height: 78px; +} +.pull-nav>ins{ + width: 1px; + height: 19px; + background-color: #d7d7d7; +} +.pull-nav>a.active{ + color: #003585; + font-weight: bold; + border-bottom: 2px solid #003585; +} +.pull-nav>a:first-of-type{ + margin-left: 0; +} +.pull-nav>a:last-of-type{ + margin-right: 0; +} +.pull-nav>ins:last-of-type{ + display: none; +} + +/* 三级分类 */ +.nav-three-bg{ + display: flex; + padding: 0 40px; + border-bottom: 1px solid #e8e8f1; + background-color: #FFFFFF; +} +.nav-three-bg>span{ + width: 102px; + font-size: 18px; + line-height: 80px; + color: #003585; + font-weight: bold; +} +.nav-three-swiper{ + width: calc(100% - 102px); + height: 80px; + overflow: hidden; +} +.nav-three-swiper .swiper-slide{ + width: auto; + margin-right: 30px; +} +.nav-three-swiper .swiper-slide a{ + font-size: 18px; + line-height: 80px; +} +.nav-three-swiper .swiper-slide:last-child{ + margin-right: 0; +} +.nav-three-swiper .swiper-slide a.active{ + color: #003585; + font-weight: bold; +} + +/* 企业概况 */ +.about-survey-bg{ + background-color: #f4f4f4; +} +.about-survey{ + background-color: #FFFFFF; +} +.about-survey-content{ + display: flex; + justify-content: space-between; + align-items: center; + padding: 40px; +} +.survey-txt{ + width: 58%; +} +.survey-txt>h3{ + font-size: 32px; + line-height: 1.2; + margin-bottom: 24px; +} +.survey-txt p{ + font-size: 15px; + line-height: 2; +} + +/* 数据 */ +.survey-data{ + display: flex; + justify-content: space-around; + flex-wrap: wrap; + width: calc(42% - 56px);; +} +.survey-data>li{ + width: 55%; + margin: 40px 0; +} +.survey-data>li:nth-of-type(odd){ + width: 45%; +} +.survey-data>li>span{ + display: block; + font-size: 16px; + line-height: 1.5; + color: #003585; +} +.survey-data>li>span:last-of-type{ + font-size: 14px; +} +.survey-data>li>p{ + /* font-family: 'HelveticaExt-Normal'; */ + font-size: 72px; + line-height: 1.2; + font-weight: bold; + color: #003585; +} +.survey-data>li>p span{ + font-size: 26px; + margin-left: 10px; + font-weight: normal; +} + +.about-survey-img, +.about-survey-img img{ + width: 100%; +} + +/* 发展历程 */ +.about-course-bg { + background-color: #f4f4f4; + padding: 50px 0 20px; +} + +.memorabili-txt{ + padding: 0 88px; + overflow: hidden; + position: relative; + margin-top: 20px; +} +.memorabili-txt .swiper-slide{ + width: 39% !important; + height: 128px; + margin: 30px 0; + margin-left: -22.4%; + opacity: 1; + cursor: pointer; + transition: all .6s; +} +.memorabili-txt .swiper-slide:nth-of-type(7){ + opacity: 0; + transition: all .6s; +} +.memorabili-txt .swiper-slide strong{ + display: block; + margin-bottom: 10px; + font-size: 20px; + line-height: 2; +} +.memorabili-txt .swiper-slide p{ + font-size: 15px; + line-height: 1.6; + font-weight: bold; +} +.memorabili-txt .swiper-slide:nth-of-type(2n){ + margin-top: 182px; +} +.memorabili-txt .swiper-slide:nth-of-type(1){ + margin-left: 0px ; +} + +.memorabili-txt .swiper-slide em{ + display: flex; + width: 23px; + height: 23px; + background-color: rgb(104,104,104,0.08); + border-radius: 100%; + justify-content: center; + align-items: center; + position: absolute; + bottom: -23px; + left: 0; + +} +.memorabili-txt .swiper-slide em ins{ + display: block; + width: 11px; + height: 11px; + background-color: #686868; + border-radius: 100%; +} +.memorabili-txt .swiper-slide:nth-of-type(2n){ + padding: 20px 0 0; +} + +.memorabili-txt .swiper-slide:nth-of-type(2n) em{ + top: -23px; + bottom: auto; +} + +.memorabili-txt .swiper-slide:hover em{ + background-color: rgb(0,53,133,0.08); + transition: all .6s; +} +.memorabili-txt .swiper-slide:hover em ins{ + background-color: #003585; + transition: all .6s; +} +.memorabili-txt .swiper-slide:hover strong, +.memorabili-txt .swiper-slide:hover p{ + color: #003585; + transition: all .6s; +} + +.memorabili-swiper .swiper-button-prev{ + width: 51px; + height: 51px; + border-radius: 100%; + background-color: #003585; + margin-top: -25.5px; + left: 0; + background-image: url(../images/arrow-left.png); + background-size: 20px 22px; +} +.memorabili-swiper .swiper-button-next{ + width: 51px; + height: 51px; + border-radius: 100%; + background-color: #003585; + margin-top: -25.5px; + right: 0; + background-image: url(../images/arrow-right.png); + background-size: 20px 22px; +} + +.memorabili-txt .line{ + width: calc(100% - 102px); + height: 1px; + background-color: #e3e3e3; + position: absolute; + left: 51px; + top: 50%; +} + +/* 制造实力 */ +.strength-bg{ + background-color: #f4f4f4; +} +.strength-img{ + position: relative; +} +.strength-img>img{ + width: 100%; +} +.strength-img>span{ + display: block; + width: 75px; + height: 75px; + border-radius: 100%; + overflow: hidden; + position: absolute; + left: 50%; + top: 50%; + margin: -37.5px 0 0 -37.5px; +} +.strength-img>span img{ + width: 75px; + height: 75px; +} +.strength-content{ + background-color: #FFFFFF; + padding: 30px 40px 40px; + margin-top: -60px; +} +.strength-txt{ + margin-top: 46px; + font-size: 15px; + line-height: 2; + text-align: justify; +} + +/* 愿景使命 */ +.vision-bg{ + background-color: #f4f4f4; + padding: 30px 0; +} +.vision{ + padding-top: 30px; + background-color: #FFFFFF; +} +.index-title p{ + font-size: 15px; + line-height: 1.5; + margin-top: 10px; +} +.vision-list{ + display: flex; + justify-content: flex-start; + align-items: center; + flex-wrap: wrap; + margin-top: 40px; +} +.vision-list>li{ + display: flex; + justify-content: flex-start; + align-items: center; + width: 50%; + height: 430px; + overflow: hidden; +} +.vision-list>li .vision-txt{ + position: relative; +} +.vision-list>li img{ + width: 100%; + min-height: 430px; + transition: all .6s; +} +.vision-list>li .vision-txt p{ + color: #FFFFFF; + text-align: center; + position: absolute; + left: 50%; + top: 50%; + transform: translate(-50%,-50%); +} +.vision-list>li .vision-txt p>strong{ + display: block; + font-size: 26px; + line-height: 1.5; +} +.vision-list>li .vision-txt p>span{ + display: block; + font-size: 16px; + line-height: 1.5; + margin-top: 8px; +} +.vision-list>li:hover .vision-txt img{ + transform: scale(1.2); + transition: all .6s; +} + +/* 荣誉资质 */ +.honor-bg{ + padding: 50px 0 68px; + background-image: url(../images/honor-bg.jpg); + background-size: cover; +} +.honor-list{ + margin-top: 20px; + position: relative; +} +.honor-swiper{ + width: calc(100% - 80px); + margin: 0 auto; + overflow: hidden; + position: relative; + cursor: pointer; +} +.honor-swiper .swiper-slide{ + display: flex; + justify-content: flex-start; + flex-wrap: wrap; + position: relative; +} +.honor-swiper .swiper-slide .honor-item{ + width: calc(20% - 16px); + margin-right: 20px; + margin-top: 20px; + background-color: #FFFFFF; +} +.honor-swiper .swiper-slide .honor-item img{ + width: 100%; +} +.honor-swiper .swiper-slide .honor-item p{ + font-size: 14px; + line-height: 1.7; + text-align: center; + opacity: .8; +} +.honor-swiper .swiper-slide .honor-item .honor-txt{ + margin: 10px 0; +} +.honor-swiper .swiper-slide .honor-item:nth-of-type(5n){ + margin-right: 0; +} +.honor-list .swiper-button-prev{ + width: 51px; + height: 51px; + border-radius: 100%; + background-color: #003585; + margin-top: -25.5px; + left: -30px; + background-image: url(../images/arrow-left.png); + background-size: 20px 22px; +} +.honor-list .swiper-button-next{ + width: 51px; + height: 51px; + border-radius: 100%; + background-color: #003585; + margin-top: -25.5px; + right: -30px; + background-image: url(../images/arrow-right.png); + background-size: 20px 22px; +} + +/* 资质弹窗 */ +.all-bg{ + display: none; + width: 100%; + height: 100%; + background-color: rgba(0,0,0,.7); + position: fixed; + left: 0; + top: 0; + z-index: 2; +} +.honor-list-other{ + width: 600px; + padding: 40px 80px; + background-color: #FFFFFF; + position: fixed; + top: 50%; + left: 50%; + transform: translate(-50%,-45%); + z-index: 9; + opacity: 1; +} +.honor-list-other.hide{ + z-index: -2; + opacity: 0; +} +.honor-other-swiper{ + width: 100%; + position: relative; + overflow: hidden; +} +.honor-other-swiper .swiper-slide img{ + width: 100%; +} +.honor-other-swiper .swiper-slide p{ + font-size: 14px; + font-weight: bold; + text-align: center; + margin-top: 10px; +} +.close-swiper{ + display: flex; + align-items: center; + justify-content: center; + width: 50px; + height: 50px; + background-color: #0094da; + position: absolute; + right: -200px; + top: 0; +} +.close-swiper img{ + width: 27px; +} +.honor-list-other .swiper-button-prev{ + width: 51px; + height: 51px; + border-radius: 100%; + background-color: rgba(255,255,255,.6); + margin-top: -25.5px; + left: -130px; + background-image: url(../images/arrow-left.png); + background-size: 20px 22px; +} +.honor-list-other .swiper-button-next{ + width: 51px; + height: 51px; + border-radius: 100%; + background-color: rgba(255,255,255,.6); + margin-top: -25.5px; + right: -130px; + background-image: url(../images/arrow-right.png); + background-size: 20px 22px; +} + +/* 社会责任 */ +.social-bg{ + background-color: #f4f4f4; + padding: 40px 0; +} +.social{ + background: #FFFFFF; + padding: 36px 40px 40px; +} +.social-list{ + display: flex; + flex-wrap: wrap; + width: 100%; + margin-top: 30px; +} +.social-list>li{ + display: flex; + flex-direction: column-reverse; + width: 32.5%; + margin-right: 1.25%; + margin-top: 10px; + background-color: #f5f5f5; +} +.social-list>li:nth-of-type(3n){ + margin-right: 0; +} +.social-list>li:nth-of-type(odd){ + flex-direction: column; +} +.social-img{ + width: 100%; + height: 280px; + overflow: hidden; +} +.social-img img{ + width: 100%; + min-height: 280px; +} +.social-txt{ + height: 220px; + padding: 30px; + text-align: center; +} +.social-txt p{ + font-size: 24px; + line-height: 1.5; +} + +.social-txt span{ + font-size: 15px; + line-height: 1.6; + margin-top: 10px; + opacity: .8; +} + +/* 行业解决方案 */ +.main{ + background: #f4f4f4; +} +.pull-content{ + background-color: #FFFFFF; +} +/* 分类查询 */ +.classify{ + display: flex; + align-items: center; + padding: 0 40px; + height: 80px; + border-bottom: 1px solid #e8e8f1; +} +.classify>span{ + font-size: 18px; + line-height: 2; + margin-right: 35px; + cursor: pointer; +} +.classify>span:last-child{ + margin-right: 0; +} +.classify>span.active{ + color: #003585; + font-weight: bold; +} + +/* 列表 */ +.solution{ + padding: 0 40px; +} +.solution-list{ + display: flex; + justify-content: space-between; + align-items: center; + flex-wrap: wrap; +} +.solution-list li{ + width: calc(50% - 15px); + padding: 35px 0; + border-bottom: 1px solid #e8e8e8; + cursor: pointer; +} +.solution-list li .img{ + width: 100%; + height: 280px; + overflow: hidden; +} +.solution-list li .img img{ + width: 100%; + min-height: 280px; + transition: all .6s; +} +.solution-list li .txt{ + margin-top: 35px; +} +.solution-list li .txt h3{ + padding: 0 3px; + font-size: 24px; + line-height: 1.5; + font-weight: normal; + transition: all .6s; +} +.solution-list li .more-btns{ + padding: 0 3px; +} +.solution-list li .txt p{ + padding: 0 3px; + font-size: 14px; + line-height: 1.8; + margin: 15px 0 20px; + text-align: justify; + opacity: .7; +} +.solution-list li:hover{ + background-color: #f4f4f4; +} +.solution-list li:hover h3{ + color: #003585; + transition: all .6s; +} +.solution-list li:hover .img img{ + transform: scale(1.2); + transition: all .6s; +} +.solution-list li:nth-last-of-type(1), +.solution-list li:nth-last-of-type(2){ + border: 0; +} +.more-btns{ + display: flex; + justify-content: flex-start; + align-items: center; + width: 100%; + font-size: 14px; + color: #003585; +} +.more-btns>em:last-child{ + display: flex; + align-items: center; + margin-left: 14px; +} +.more-btns>em ins{ + display: block; + width: 4px; + height: 4px; + border-radius: 100%; + background-color: #003585; + transition: all .6s; +} +.more-btns>em ins:nth-of-type(2){ + width: 6px; + height: 6px; + margin: 0 4px; +} + +/* 分页 */ +.page-list{ + display: flex; + justify-content: center; + align-items: center; + height: 42px; + margin: 32px 0 35px; +} +.page-list a{ + min-width: 42px; + height: 42px; + border-radius: 21px; + border: 1px solid #e2e5e9; + background-color: #FFFFFF; + line-height: 40px; + color: #707479; + text-align: center; + margin: 0 6px; + transition: all .6s; +} +.page-list a.active{ + background-color: #0094da; + color: #FFFFFF; +} +.page-list a:first-child, +.page-list a:last-child{ + padding: 0 16px; +} +.page-list a:hover{ + color: #0094da; + transition: all .6s; +} +.page-list a.active:hover{ + color: #FFFFFF; +} +.page-list>span{ + margin: 0 6px; +} + +/* 解决方案文章页 */ +.pull-point{ + display: flex; + justify-content: flex-end; + margin-top: 80px; + font-size: 14px; + line-height: 60px; + color: rgba(38,38,38,.7); +} +.pull-point>a{ + opacity: .7; +} +.pull-point>em{ + margin: 0 5px; + opacity: .7; +} +.solution-detail{ + padding: 48px 40px 0; +} +.solution-detail h1{ + font-size: 26px; + line-height: 1.4; + margin-bottom: 18px; + color: #000000; +} +.detail-txt{ + border-bottom: 1px solid #ebebeb; +} +.detail-txt p{ + font-size: 15px; + color: rgba(0,0,0,.8); + line-height: 2; + text-align: justify; +} +.detail-txt img{ + width: 90%; + margin: 20px auto; +} + +/* 上下篇 */ +.page{ + display: flex; + justify-content: space-between; + align-items: center; + padding: 16px 40px 30px; +} +.page>a{ + display: flex; + justify-content: flex-end; + flex-wrap: wrap; + width: calc(50% - 20px); + font-size: 16px; + line-height: 1.8; + color: #000000; + text-align: right; +} +.page>a:nth-of-type(1){ + justify-content: flex-start; + text-align: left; +} +.page>a span, +.page>a p{ + width: 100%; +} +.page>span, +.page>span img{ + width: 28px; +} + + +/* 相关方案 */ +.relevant-case{ + background-color: #FFFFFF; + padding: 16px 40px; + margin: 20px auto 40px; +} +.case-title{ + display: flex; + justify-content: space-between; + align-items: center; + height: 60px; + border-bottom: 1px solid #ebebeb; +} +.case-title>strong{ + font-size: 20px; + line-height: 3; + color: #003585; + border-bottom: 2px solid #003585; +} +.case-title>a{ + font-size: 15px; + line-height: 2; + color: #b2b2b2; +} +.relevant-case-list{ + display: flex; + justify-content: space-between; + flex-wrap: wrap; + width: 100%; + margin: 18px 0 5px; +} +.relevant-case-list li{ + display: flex; + justify-content: space-between; + align-items: center; + width: calc(50% - 44px); +} +.relevant-case-list li>em{ + width: 5px; + height: 5px; + border-radius: 100%; + background-color: #003585; +} +.relevant-case-list li>a{ + width: calc(100% - 11px); + font-size: 16px; + line-height: 2.5; + color: #000; + transition: all .6s; +} +.relevant-case-list li:hover>a{ + color: #003585; + transition: all .6s; +} + +/* 客户案例 */ +.pull-nav-other{ + padding: 0; +} +.pull-nav-bg{ + width: 100%; + padding: 0 56px; + position: relative; +} +.pull-nav-swiper{ + width: 100%; + height: 81px; + overflow: hidden; + position: relative; +} +..pull-nav-swiper .swiper-wrapper{ + justify-content: flex-start; +} +.pull-nav-swiper .swiper-slide{ + display: flex; + align-items: center; + width: auto; +} +.pull-nav-swiper .swiper-slide>a{ + margin: 0 30px; + font-size: 18px; + line-height: 78px; +} +.pull-nav-swiper .swiper-slide>ins{ + width: 1px; + height: 19px; + background-color: #d7d7d7; +} +.pull-nav-swiper .swiper-slide>a.active{ + color: #003585; + font-weight: bold; + border-bottom: 2px solid #003585; +} +.pull-nav-swiper .swiper-slide:last-of-type>ins{ + display: none; +} + +.pull-nav-bg .swiper-button-prev{ + width: 56px; + height: 80px; + background-color: #ececec; + background-image: url(../images/icon/icon-nav-left.png); + background-repeat: no-repeat; + background-size: 12px 21px; + background-position: center; + position: absolute; + left: 0; + top: 0; + margin: 0; +} +.pull-nav-bg .swiper-button-next{ + width: 56px; + height: 80px; + background-color: #ececec; + background-image: url(../images/icon/icon-nav-right.png); + background-repeat: no-repeat; + background-size: 12px 21px; + background-position: center; + position: absolute; + right: 0; + top: 0; + margin: 0; +} + +.pull-nav-bg2{ + padding: 0 10px; +} +.pull-nav-bg2 .swiper-button-prev, +.pull-nav-bg2 .swiper-button-next{ + display: none; +} + + +.case{ + background-color: #FFFFFF; + padding: 0 40px 36px; +} +.case-list{ + display: flex; + flex-wrap: wrap; + width: 100%; +} +.case-list>li{ + width: calc(33.3% - 24px); + margin: 36px 36px 0 0; + background-color: #f4f4f4; + padding-bottom: 20px; +} +.case-list>li:nth-of-type(3n){ + margin-right: 0; +} +.case-list>li span{ + display: block; + width: 100%; + height: 270px; + overflow: hidden; +} +.case-list>li span img{ + width: 100%; + min-height: 270px; + transition: all .6s; +} +.case-list>li h3{ + font-size: 22px; + line-height: 1.5; + color: #000000; + margin-top: 15px; + padding: 0 20px; + transition: all .6s; +} +.case-list>li p{ + font-size: 14px; + line-height: 1.8; + margin-top: 6px; + padding: 0 20px; + opacity: .7; +} +.case-list>li:hover img{ + transform: scale(1.2); + transition: all .6s; +} +.case-list>li:hover h3{ + color: #003585; +} + +/* 案例文章页 */ +.case-detail{ + padding: 48px 40px; +} +.case-detail h1{ + font-size: 26px; + line-height: 1.4; + margin-bottom: 18px; + color: #000000; +} +.case-detail .detail-txt{ + border: 0; +} +.detail-swiper-bg{ + display: flex; + justify-content: flex-start; + margin-top: 30px; + width: 100%; +} +.case-swiper{ + width: 836px; + height: 560px; + margin-left: 5.3%; + position: relative; + overflow: hidden; +} +.case-swiper .swiper-slide{ + position: relative; +} +.case-swiper .swiper-slide img{ + width: 100%; +} +.case-thumbnail-bg{ + width: 176px; + height: 560px; + margin-left: 10px; + position: relative; + overflow-y: auto; +} +.case-thumbnail-swiper{ + width: 100%; + height: 508px; + overflow: hidden; +} +.case-thumbnail-swiper .swiper-slide{ + width: 100%; + margin-bottom: 10px; + height: 118px !important; + overflow: hidden; +} +.case-thumbnail-swiper .swiper-slide span{ + display: block; + overflow: hidden; +} +.case-thumbnail-swiper .swiper-slide img{ + width: 100%; + height: 100%; +} +.case-thumbnail-swiper .swiper-slide-thumb-active{ + padding: 2px; + border: 2px solid #003585; +} + +.case-thumbnail-swiper .swiper-slide-thumb-active span{ + display: block; + width: 100%; + height: 100%; + overflow: hidden; +} +.case-thumbnail-bg .swiper-button-prev, +.case-thumbnail-bg .swiper-button-next{ + width: 88px; + height: 44px; + background-color: #ececec; + background-image: url(../images/icon/icon-nav-up.png); + background-size: 21px 12px; + background-repeat: no-repeat; + background-position: center; + top: auto; + left: 0; + bottom: 0; +} +.case-thumbnail-bg .swiper-button-next{ + background-image: url(../images/icon/icon-nav-down.png); + left: auto; + right: 0; +} + +.case-list-other{ + margin: -12px 0 24px; +} + +/* 产品中心 */ +.product{ + background-color: #FFFFFF; + padding: 0 36px 36px; +} +.product-list{ + display: flex; + /* align-items: center; */ + flex-wrap: wrap; +} +.product-list li{ + width: calc(33.3% - 24px); + padding: 20px; + background-color: #f4f4f4; + margin: 36px 36px 0 0; + border: 1px solid #FFFFFF; + transition: all .6s; +} +.product-list li:nth-of-type(3n){ + margin-right: 0; +} +.product-list li>a{ + display: block; + padding-top: 16px; + background-image: url(../images/icon/icon-arrow-01.png); + background-size: 17px 16px; + background-repeat: no-repeat; + background-position: left top: ; + position: all .8s; +} +.product-list li h2{ + font-size: 22px; + color: #000; + line-height: 1.5; + font-weight: normal; + margin: 20px 0 10px; + transition: all .6s; +} +.product-list li p{ + font-size: 14px; + line-height: 1.8; + color: #000; + text-align: justify; + opacity: .85; + transition: all .6s; +} +.product-list li:hover{ + background-color: #FFFFFF; + border: 1px solid #7f9ac2; + transition: all .6s; +} +.product-list li:hover>a{ + background-image: url(../images/icon/icon-arrow-02.png); + position: all .8s; +} +.product-list li:hover h2, +.product-list li:hover p{ + color: #003585; + opacity: 1; + transition: all .6s; +} + + +/* 产品中心文章页 */ +.product-detail{ + display: flex; + justify-content: space-between; + background-color: #FFFFFF; + padding: 40px; +} +.product-swiper-bg{ + width: calc(50% - 20px); +} + +.product-swiper{ + width: 100%; + height: 416px; + margin-bottom: 5px; + overflow: hidden; +} +.product-swiper .swiper-slide, +.product-swiper .swiper-slide img{ + width: 100%; +} + +.product-thumbnail-bg{ + width: 100%; + height: 70px; + padding: 0 40px; + position: relative; +} +.product-thumbnail-swiper{ + width: 100%; + height: 70px; + overflow: hidden; +} +.product-thumbnail-swiper .swiper-slide-thumb-active{ + padding: 1px; + border: 1px solid #003585; +} + +.product-thumbnail-swiper .swiper-slide-thumb-active span{ + display: block; + width: 100%; + height: 100%; + overflow: hidden; +} + +.product-thumbnail-swiper .swiper-slide img{ + width: 100%; + min-height: 70px; +} + +.product-thumbnail-bg .swiper-button-prev, +.product-thumbnail-bg .swiper-button-next{ + width: 40px; + height: 70px; + background-color: #ececec; + background-image: url(../images/icon/icon-nav-left.png); + background-size: 12px 21px; + background-repeat: no-repeat; + background-position: center; + top: auto; + left: 0; + bottom: 0; +} +.product-thumbnail-bg .swiper-button-next{ + background-image: url(../images/icon/icon-nav-right.png); + left: auto; + right: 0; +} + + + + +.product-txt{ + width: calc(50% - 20px); + padding: 10px 0; +} +.product-txt>h1{ + font-size: 26px; + line-height: 1.5; + color: #000; +} +.product-txt>p{ + font-size: 15px; + line-height: 2; + color: #000; + text-align: justify; + opacity: .8; + padding: 15px 0 20px; + border-bottom: 1px solid #ebebeb; +} + +.product-contact{ + display: flex; + justify-content: space-between; + align-items: center; + margin-top: 25px; +} +.product-contact>p{ + display: flex; + align-items: center; + width: 50%; +} +.product-contact>p:first-child img{ + height: 70px; + margin-right: 10px; +} +.product-contact>p:last-child img{ + height: 52px; + margin-right: 10px; +} +.product-contact>p a>strong{ + display: block; + font-size: 24px; + line-height: 1.5; + color: #000; +} +.product-contact>p a>em{ + display: block; + font-size: 15px; + line-height: 1.5; + color: #000; + opacity: .8; + text-align: center; +} + +.product-content{ + background-color: #FFFFFF; + padding: 0 40px 36px; + margin-top: 20px; +} + +.product-btns{ + justify-content: flex-start; +} +.product-btns>span,.product-btns>a{ + font-size: 20px; + line-height: 3; + border-bottom: 2px solid rgba(255,255,255,0); + margin-right: 65px; + cursor: pointer; +} +.product-btns>span:last-child,.product-btns>a:last-child{ + margin-right: 0; +} +.product-btns>span.active,.product-btns>a.active{ + color: #003585; + border-bottom: 2px solid #003585; + font-weight: bold; +} +.body-txt{ + margin-top: 10px; +} +.body-txt>.txt-item{ + display: none; +} +.body-txt p{ + font-size: 15px; + line-height: 2; + text-align: justify; + color: #000; + opacity: .8; +} +.body-txt .img{ + display: flex; + justify-content: space-between; + margin: 15px 0; +} +.body-txt .img img{ + width: calc(50% - 10px); +} + +/* 服务与支持 */ +.service-bg{ + background-color: #FFFFFF; + padding: 40px; + margin-bottom: 40px; +} +.service-list li{ + display: flex; + justify-content: space-between; + align-items: center; + cursor: pointer; +} +.service-list li:nth-of-type(odd){ + flex-direction:row-reverse +} +.service-list li>div{ + width: 50%; +} +.service-list li .img{ + overflow: hidden; +} +.service-list li img{ + width: 100%; + min-height: 327px; + transition: all .6s; +} +.service-list li .txt{ + padding: 0 35px; +} +.service-list li .txt h2{ + font-size: 28px; + line-height: 1.5; + color: #000; + margin-bottom: 10px; + font-weight: normal; + transition: all .6s; +} +.service-list li .txt p{ + font-size: 15px; + line-height: 1.7; + text-align: justify; + color: #000; + opacity: .8; + transition: all .6s; +} + +.service-list li:hover img{ + transform: scale(1.2); + transition: all .6s; +} +.service-list li:hover .txt h2, +.service-list li:hover .txt p{ + color: #003585; + transition: all .6s; +} + +/* 下载中心 */ +.service-dwon-bg{ + background-color: #FFFFFF; + padding: 11px 40px 35px; +} +.service-dwon-list{ + display: flex; + justify-content: space-between; + align-items: center; + flex-wrap: wrap; +} +.service-dwon-list li{ + display: flex; + justify-content: space-between; + align-items: flex-end; + width: calc(50% - 12px); + padding: 20px 25px; + background-color: #f3f3f3; + margin-top: 24px; + cursor: pointer; + border: 1px solid #FFFFFF; + transition: all .6s; +} +.down-txt{ + width: calc(100% - 90px) +} +.down-txt h2{ + font-size: 18px; + line-height: 1.5; + font-weight: normal; + transition: all .6s; +} +.down-txt p{ + font-size: 14px; + line-height: 1.8; + opacity: .8; + margin-top: 8px; +} +.down-txt p>span{ + margin-right: 15px; +} +.service-dwon-list li>a{ + display: flex; + justify-content: space-between; + align-items: center; + width: 80px; + font-size: 14px; + line-height: 1.8; + color: #0094da; + transition: all .6s; +} +.service-dwon-list li>a em{ + width: 11px; + height: 13px; + background-image: url(../images/icon/icon-down.png); + background-size: 11px 13px; + transition: all .6s; +} +.service-dwon-list li:hover{ + background-color: #FFFFFF; + border: 1px solid #7f9ac2; + transition: all .6s; +} +.service-dwon-list li:hover h2{ + color: #003585; + opacity: 1; + transition: all .6s; +} +.service-dwon-list li:hover>a{ + color: #003585; + transition: all .6s; +} +.service-dwon-list li:hover>a em{ + background-image: url(../images/icon/icon-down-01.png); + transition: all .6s; +} + +/* 新闻动态 */ +.news-first{ + display: flex; + justify-content: space-between; + background-color: #FFFFFF; + padding: 40px; + margin-top: -80px; +} +.news-left{ + width: calc(50% - 30px); + +} +.news-left .news-img{ + width: 100%; + height: 410px; + overflow: hidden; +} +.news-left .news-img img{ + width: 100%; + min-height: 410px; + transition: all .6s; +} +.news-txt{ + margin-top: 12px; +} +.news-txt span{ + font-size: 14px; + line-height: 1.5; + opacity: .7; +} +.news-txt h3{ + font-size: 22px; + font-weight: normal; + line-height: 1.5; + margin: 5px 0 8px; + color: #000; + transition: all .6s; + transition: all .6s; +} +.news-txt p{ + font-size: 14px; + line-height: 1.8; + text-align: justify; + opacity: .5; + margin-bottom: 30px; +} +.news-left:hover .news-img img{ + transform: scale(1.2); + transition: all .6s; +} +.news-left:hover .news-txt h3{ + color: #003585; + transition: all .6s; +} + + +.news-right{ + width: 50%; +} +.news-right li{ + padding: 15px 0; + border-bottom: 1px solid #e8e8e8; +} +.news-right li:first-child{ + padding-top: 3px; +} +.news-right li span{ + display: block; + font-size: 14px; + line-height: 1.5; + color: #000; + margin-bottom: 10px; + opacity: .7; +} +.news-right li h3{ + font-size: 16px; + line-height: 1.5; + color: #000; + transition: all .6s; +} +.news-right li:hover h3{ + color: #003585; + transition: all .6s; +} +/* 列表 */ +.news-list{ + padding: 0 40px; + background-color: #FFFFFF; +} +.news-list li{ + display: flex; + justify-content: space-between; + align-items: center; + padding: 33px 0; + border-bottom: 1px solid #e8e8e8; +} +.news-list li:last-child{ + border-bottom: 0; +} + +.news-list li .img{ + width: 30%; + height: 264px; + overflow: hidden; +} +.news-list li .img img{ + width: 100%; + min-height: 264px; + transition: all .6s; +} +.news-list li .txt{ + width: calc(70% - 25px); +} + + +.news-list li .txt span{ + display: block; + font-size: 14px; + line-height: 1.5; + color: #000; + margin-bottom: 10px; + opacity: .7; +} +.news-list li .txt h3{ + font-size: 22px; + line-height: 1.5; + color: #000; + margin-bottom: 10px; + font-weight: normal; + transition: all .6s; +} +.news-list li .txt p{ + font-size: 14px; + line-height: 1.8; + color: #000; + text-align: justify; + margin-bottom: 50px; + opacity: .7; +} +.news-list li:hover .img img{ + transform: scale(1.2); + transition: all .6s; +} + +.news-list li:hover .txt h3{ + color: #003585; + transition: all .6s; +} + +/* 新闻动态文章页 */ +.news-detail{ + background-color: #FFFFFF; + padding: 35px 40px 0; +} +.news-detail h1{ + font-size: 26px; + line-height: 1.5; +} +.detail-info{ + display: flex; + align-items: center; + padding: 15px 0 20px; + border-bottom: 1px solid #e8e8e8; +} +.detail-info span{ + display: flex; + align-items: center; + font-size: 14px; + line-height: 1.5; + color: #525252; + margin-right: 32px; + opacity: .8; +} +.detail-info span:last-child{ + margin-right: 0; +} +.detail-info span img{ + width: 18px; + margin-right: 5px; +} +.news-detail-txt{ + padding: 30px 0 33px; +} +.news-detail-txt .img{ + display: flex; + justify-content: space-between; + margin: 15px 0; +} +.news-detail-txt .img img{ + width: calc(50% - 10px); +} +.news-detail .page{ + padding: 16px 0 30px; +} + +/* 推荐 */ +.flag-list{ + display: flex; + justify-content: space-between; + flex-wrap: wrap; + padding: 0; + margin: 12px 0; +} +.flag-list li{ + width: calc(50% - 15px); + padding: 18px 0; + border-bottom: 1px solid #e8e8e8; +} +.flag-list li span{ + display: block; + width: 14px; + line-height: 1.5; + color: #000; + margin-bottom: 6px; + opacity: .7; +} +.flag-list li h3{ + font-size: 16px; + line-height: 1.5; + color: #000; + font-weight: normal; + transition: all .6s; +} +.flag-list li:hover h3{ + font-weight: bold; + color: #003585; + transition: all .6s; +} + + +/* 职业发展 */ +.idea-bg{ + background-color: #f4f4f4; +} +.idea{ + background-color: #FFFFFF; + padding: 36px 40px 46px; +} +.idea li{ + display: flex; + justify-content: space-between; + align-items: center; +} +.idea li:nth-of-type(odd){ + flex-direction: row-reverse; +} +.idea li .img{ + width: 50%; + overflow: hidden; +} +.idea li .img img{ + width: 100%; + min-height: 327px; + transition: all .6s; +} +.idea .txt{ + width: 50%; + padding: 0 43px; +} +.idea .txt h2{ + font-size: 28px; + line-height: 1.5; + color: #000; + font-weight: normal; + margin-bottom: 12px; + transition: all .6s; +} +.idea .txt p{ + font-size: 15px; + line-height: 2; + color: #000; + text-align: justify; + opacity: .8; +} +.idea li:hover .img img{ + transform: scale(1.2); + transition: all .6s; +} +.idea li:hover .txt h2{ + color: #003585; + transition: all .6s; +} + +/* 人才培养 */ +.culture-bg{ + background-color: #f4f4f4; + padding: 45px 0 0; +} +.culture-bg .img-bg{ + height: 454px; + background-image: url(../images/culture-bg.jpg); + background-size: cover; + position: relative; +} +.culture-bg .img-bg .index-title{ + position: absolute; + top: 32%; + left: 0; +} +.culture-bg .txt-bg{ + display: flex; + justify-content: space-between; + align-items: center; + flex-direction: row-reverse; + background-color: #FFFFFF; + padding: 40px 40px 44px; + margin-top: -95px; + position: relative; + z-index: 1; +} +.txt-bg .img{ + width: 50%; + overflow: hidden; +} +.txt-bg .img img{ + width: 100%; + min-height: 327px; +} +.txt-bg .txt{ + width: 50%; + padding-right: 40px; + font-size: 15px; + line-height: 2; + text-align: justify; + opacity: .8; +} + +/* 招聘职位 */ +.recruit-bg{ + background-color: #f4f4f4; + padding: 45px 0 50px; +} +.recruit-list{ + margin-top: 35px; +} +.recruit-list li{ + height: auto; + background-color: #FFFFFF; + margin-bottom: 4px; +} + +.recruit-list li .item{ + display: flex; + justify-content: space-between; + height: 48px; + padding: 0 40px; +} +.recruit-list li .item>span{ + text-align: center; + width: 20%; + font-size: 15px; + line-height: 48px; +} +.recruit-list li:first-child{ + background-color: #003585; + margin-bottom: 0; +} +.recruit-list li:first-child .item>span{ + font-size: 18px; + color: #FFFFFF; +} + +.recruit-list li.active .item{ + background-color: #30a3fa; + color: #FFFFFF; +} + +.recruit-list li .btns{ + display: flex; + justify-content: center; + align-items: center; +} +.recruit-list li .item em{ + width: 18px; + height: 18px; + border-radius: 100%; + border: 1px solid #30a3fa; + font-size: 12px; + line-height: 14px; + text-align: center; + color: #30a3fa; + cursor: pointer; + -webkit-user-select:none; + -moz-user-select:none; + -ms-user-select:none; + user-select:none; +} + +.recruit-list li.active .item em{ + border: 1px solid #FFFFFF; + color: #FFFFFF; +} + +.recruit-list li .item>span:first-child{ + text-align: left; + text-indent: 40px; +} +.recruit-list li .txt{ + height: 0; + overflow: hidden; +} +.recruit-list li .txt.cur{ + height: auto; + padding: 20px 40px; + font-size: 15px; + line-height: 2; +} +.join-btn{ + display: block; + width: 210px; + height: 46px; + background-image: url(../images/icon/icon-zp.png); + background-repeat: no-repeat; + background-size: 210px 46px; + font-size: 16px; + line-height: 46px; + text-align: center; + color: #FFFFFF; + margin: 15px auto 0; +} +/* 我要应聘 */ +.join-bg{ + background-color: #FFFFFF; + padding: 40px; +} +.join-txt{ + font-size: 24px; + line-height: 1.8; + text-align: center; + color: #333; + margin-top: 25px; + opacity: .8; +} +.join-txt a{ + color: #333; +} + +/* 联系我们 */ +.contact{ + display: flex; + justify-content: space-between; + background-color: #FFFFFF; + padding: 43px 40px; + margin-top: -82px; + position: relative; + z-index: 1; +} +.contact-txt{ + width: calc(50% - 25px); +} +.contact-txt li{ + display: flex; + align-items: center; + height: 61px; + border-bottom: 1px dashed #dcdcdc; + color: #000; +} +.contact-txt li:last-child{ + border: 0; +} +.contact-txt li a{ + color: #000; +} +.contact-txt li>em{ + display: flex; + justify-content: center; + align-items: center; + width: 34px; + height: 34px; + border-radius: 100%; + overflow: hidden; + background-color: #003585; + margin-right: 15px; +} +.map{ + width: 50%; + height: 326px; +} + + +/* 一对一定制 */ +.from-bg{ + background-image: url(../images/contact-bg.jpg); + background-size: cover; + padding: 56px 0 90px; + margin-top: 56px; +} +.from-bg .index-title>p{ + font-size: 16px; + width: 658px; + margin: 10px auto 0; +} + +.from{ + background-color: #FFFFFF; + border-top: 5px solid #003585; + padding: 44px 40px 40px; +} + +input::-webkit-input-placeholder, +textarea::-webkit-input-placeholder{ + font-size: 15px; + color: #808080; +} + +.input{ + display: flex; + justify-content: space-between; + align-items: center; + margin: 20px 0; +} +.input li{ + width: calc(25% - 15px); + height: 58px; + padding: 0 14px; + border: 1px solid #eaeaea; +} +.input li>input{ + border: 0; + background: none; + line-height: 56px; + font-size: 15px; +} +.input li:last-child{ + display: flex; + padding-right: 0; + align-items: center; +} +.input li:last-child input{ + width: calc(100% - 100px); +} +.input li:last-child img{ + width: 150px; + height: 56px; +} + +.from textarea{ + width: 100%; + height: 176px; + border: 1px solid #eaeaea; + padding: 14px; + font-size: 15px; + line-height: 1.5; +} +.from-btn{ + display: flex; + align-items: center; + justify-content: center; + width: 205px; + height: 61px; + background-color: #003585; + border-radius: 31px; + font-size: 20px; + color: #FFFFFF; + margin: 30px auto 0; +} + +/* 搜索页 */ +.search-content{ + margin-top: 176px; + background-color: #FFFFFF; + padding: 0 40px; +} +.search-list{ + display: flex; + justify-content: space-between; + align-items: center; + flex-wrap: wrap; + padding: 26px 0;; +} +.search-list li{ + display: flex; + justify-content: flex-start; + align-items: center; + width: calc(50% - 23px); +} +.search-list li a{ + font-size: 16px; + line-height: 3.6; +} +.search-list li>em{ + display: block; + width: 4px; + height: 4px; + background-color: #262626; + border-radius: 100%; + margin-right: 8px; + transition: all .6s; +} +.search-list li>a{ + width: calc(100% - 12px); + transition: all .6s; +} +.search-list li:hover a{ + color: #003585; + transition: all .6s; +} +.search-list li:hover em{ + background-color: #003585; + transition: all .6s; +} + +/* 动画 */ +@keyframes myLeft +{ + from {left: 0;} + to {left: 50%;} +} +@keyframes myUp +{ + from {margin-top: 200px;} + to {margin-top: 70px;} +} +@keyframes myHeightAuto +{ + from {height: 0;} + to {height: auto;} +} +@keyframes myHeight +{ + from {height: auto;} + to {height: 0;} +} + +/* 响应式样式 */ +@media screen and (max-width:1760px){ + .logo{ + margin-left: 30px; + } + .stock{ + margin-right: 40px; + } + .nav{ + width: calc(100% - 592px); + } + .nav>li{ + margin-right: 38px; + } + .about-video-swiper{ + height: 510px; + } +} +@media screen and (max-width:1680px){ + .nav>li{ + margin-right: 30px; + } + .about-video-swiper{ + height: 500px; + } +} +@media screen and (max-width:1600px){ + .w1690{ + width: 100%; + } + .w1520{ + width: 94%; + } + .nav>li{ + margin-right: 22px; + } + .about-data{ + padding: 43px 0; + } + .foot li{ + width: 11%; + } + .foot li:last-child{ + width: 34%; + } + .about-video-swiper{ + height: 490px; + } +} +@media screen and (max-width:1520px){ + .nav>li{ + font-size: 15px; + margin-right: 18px; + } + .language{ + font-size: 15px; + } + .about-txt{ + padding: 58px 3% 0 70px; + } + .index-service-list>li{ + padding: 12px 8px; + } + .about-video-swiper{ + height: 480px; + } +} +@media screen and (max-width:1440px){ + .w1360{ + width: 94%; + } + .nav>li{ + margin-right: 10px; + } + .about-data>li>span{ + font-size: 15px; + } + .index-service-list>li{ + width: 11.625%; + margin-right: 1%; + } +} +@media screen and (max-width:1360px){ + .stock{ + width: calc(100% - 380px); + } + .header .head{ + width: 100%; + justify-content: space-between; + align-items: center; + } + .head .head-btn{ + display: block; + margin: 0; + margin-right: 30px; + } + .search{ + width: 50px; + height: 40px; + margin-right: 20px; + border-radius: 4px; + } + .search img{ + height: 24px; + } + .logo img{ + margin-top: 7px; + } + .head .nav{ + display: block; + width: 38vw; + height: 100vh; + background-color: #FFFFFF; + position: fixed; + padding-top: 80px; + top: 0px; + right: -38vw; + z-index: 9999; + transition: all .6s; + } + .head .nav.active{ + right: 0; + transition: all .6s; + } + .head .nav-bg{ + width: 100vw; + height: 100vh; + background-color: rgba(0,0,0,0.5); + position: fixed; + top: 0; + left: 0; + z-index: 200; + transition: all .6s; + } + .head .nav-bg.active{ + display: block; + opacity: 1; + transition: all .6s; + } + .head .nav li{ + margin: 0; + padding: 0; + height: auto; + } + .head .nav li>a{ + width: 100%; + font-size: 16px; + margin: 0; + padding: 0; + line-height: 60px; + text-align: center; + } + .head .nav li.active>a{ + font-weight: normal; + border: 0; + background-color: #0094da; + color: #FFFFFF; + } + /* 二级导航 */ + .nav-sub{ + display: none; + } + .nav>li:hover .nav-sub{ + display: none; + justify-content: space-between; + flex-wrap: wrap; + width: calc(100% - 38vw); + background-color: rgba(255,255,255,.9); + position: fixed; + top: 50%; + left: 0; + transform: translateY(-50%); + z-index: 999; + } + .nav-sub .sub-left{ + display: flex; + justify-content: space-between; + flex-wrap: wrap; + width: 100%; + padding: 0; + background-color: rgba(219,222,226,.7); + } + .nav-sub .sub-left span{ + display: block; + width: 33.3%; + font-size: 15px; + text-align: center; + line-height: 50px; + border-top: 1px solid #dedede; + } + .nav-sub .sub-left span.cur{ + background-color: #2d5899; + color: #FFFFFF; + transition: all .6s; + } + .nav-sub .sub-right{ + width: 62vw; + padding: 10px 0; + overflow: hidden; + border-top: 1px solid #2d5899; + } + .nav-sub .sub-right>span{ + display: none; + overflow: hidden; + } + .nav-sub .sub-right span>a{ + width: 33.3%; + font-size: 14px; + line-height: 3; + text-align: center; + } + /* 二级导航 */ + .nav-sub .sub-left-01{ + display: flex; + justify-content: space-between; + flex-wrap: wrap; + width: 100%; + padding: 0; + background-color: rgba(219,222,226,.7); + } + .nav-sub .sub-left-01 span{ + display: block; + width: 33.3%; + font-size: 15px; + text-align: center; + line-height: 50px; + border-top: 1px solid #dedede; + } + .nav-sub .sub-left-01 span.cur{ + background-color: #2d5899; + color: #FFFFFF; + transition: all .6s; + } + .nav-sub .sub-right-01{ + width: 62vw; + padding: 10px 0; + overflow: hidden; + border-top: 1px solid #2d5899; + } + .nav-sub .sub-right-01>span{ + display: none; + overflow: hidden; + } + .nav-sub .sub-right-01 span>a{ + width: 33.3%; + font-size: 14px; + line-height: 3; + text-align: center; + } + + /* 二级导航 */ + .nav-son{ + display: none; + } + .nav>li:hover .nav-son{ + display: none; + width: calc(100% - 38vw); + padding: 0; + background-color: rgba(255,255,255,.9); + position: fixed; + left: 0; + top: 50%; + transform: translateY(-50%); + z-index: 999; + } + .son-top{ + font-size: 30px; + text-align: center; + background-size: 300px 60px; + background-position: center; + padding-top: 20px; + } + .son-bottom{ + display: flex; + justify-content: flex-start; + flex-wrap: wrap; + padding: 0 18px; + margin: 10px 0 30px; + } + .son-bottom a{ + width: 33.3%; + font-size: 14px; + line-height: 1.8; + border-left: 3px solid #92a4bc; + padding-left: 6px; + } + + .nav-bg{ + display: none; + } + .about-data>li>p{ + font-size: 60px; + } + .index-service-list{ + flex-wrap: wrap; + } + .index-service-list>li{ + width: 24.25%; + margin-top: 1%; + } + .index-service-list>li:nth-of-type(4n){ + margin-right: 0; + } + .foot li{ + width: 10%; + } + .foot li:last-child{ + width: 40%; + } + .service-list li .img{ + height: 300px; + } + .service-list li img{ + min-height: 300px; + } + + .case-list>li span{ + height: 230px; + } + .case-list>li span img{ + min-height: 230px; + } + .service-list li .img{ + height: 300px; + } + .service-list li img{ + min-height: 300px; + } + .news-list li .img{ + height: 240px; + } + .news-list li .img img{ + min-height: 240px; + } + .idea li .img{ + height: 300px; + } + .idea li .img img{ + min-height: 300px; + } + .txt-bg .img{ + height: 300px; + } + .txt-bg .img img{ + min-height: 300px; + } + .vision-list>li{ + height: 400px; + } + .vision-list>li img{ + min-height: 400px; + } + .social-img{ + height: 260px; + } + .social-img img{ + min-height: 260px; + } +} +@media screen and (max-width:1280px){ + .case-list>li span{ + height: 218px; + } + .case-list>li span img{ + min-height: 218px; + } + .service-list li .img{ + height: 280px; + } + .service-list li img{ + min-height: 280px; + } + .news-list li .img{ + height: 230px; + } + .news-list li .img img{ + min-height: 230px; + } + .idea li .img{ + height: 280px; + } + .idea li .img img{ + min-height: 280px; + } + .txt-bg .img{ + height: 280px; + } + .txt-bg .img img{ + min-height: 280px; + } + .vision-list>li{ + height: 380px; + } + .vision-list>li img{ + min-height: 380px; + } + .social-img{ + height: 230px; + } + .social-img img{ + min-height: 230px; + } + .survey-data>li>p{ + font-size: 60px; + } + .about-txt>p{ + margin: 20px 0 40px; + } + .foot li>strong, .foot li>span, .foot li>a{ + font-size: 13px; + } + .foot-left p{ + font-size: 13px; + } + .index-news-item a>h3{ + font-size: 15px; + } + .join-txt{ + font-size: 22px; + } +} +@media screen and (max-width:1200px){ + .about-data>li>span{ + font-size: 13px; + } + .about-data>li>p{ + font-size: 56px; + } + .case-list>li span{ + height: 210px; + } + .case-list>li span img{ + min-height: 210px; + } + .service-list li .img{ + height: 260px; + } + .service-list li img{ + min-height: 260px; + } + .news-list li .img{ + height: 220px; + } + .news-list li .img img{ + min-height: 220px; + } + .idea li .img{ + height: 260px; + } + .idea li .img img{ + min-height: 260px; + } + .txt-bg .img{ + height: 260px; + } + .txt-bg .img img{ + min-height: 260px; + } + .vision-list>li{ + height: 360px; + } + .vision-list>li img{ + min-height: 360px; + } + .social-img{ + height: 210px; + } + .social-img img{ + min-height: 210px; + } + .join-txt{ + font-size: 20px; + } +} +@media screen and (max-width:1120px){ + .about-data>li>p{ + font-size: 48px; + } + .survey-data>li>p{ + font-size: 48px; + } +} +@media screen and (max-width:940px){ + .about-data>li>p{ + font-size: 46px; + } + .survey-data>li>p{ + font-size: 46px; + } + .index-title p{ + width: 90%; + margin: 0 auto; + } + .slogin p{ + width: 90%; + font-size: 20px; + } +} + +@media screen and (max-width:780px){ + .w1520, + .w1360{ + width: 100%; + } + .language, + .suspension, + .open-suspension{ + display: none; + } + body{ + padding-bottom: 60px; + } + /* 头部 */ + .header{ + height: 50px; + background-color: rgba(255,255,255,1); + } + .header .head{ + justify-content: space-between; + width: calc(100% - 30px); + margin: 0 auto; + height: 50px; + } + .logo{ + width: auto; + height: 40px; + margin: 0; + } + .logo img{ + width: auto; + height: 40px; + margin: 0; + } + .search img{ + height: 18px; + } + + .stock{ + width: 120px; + font-size: 13px; + margin-top: 0px; + } + .join-bg{ + padding: 15px; + } + .join-txt{ + font-size: 14px; + } + .head .head-btn{ + display: block; + margin: 0; + } + .head .nav{ + display: block; + width: 38vw; + height: 100vh; + background-color: #FFFFFF; + position: fixed; + padding-top: 50px; + top: 0px; + right: -38vw; + z-index: 9999; + transition: all .6s; + } + .head .nav.active{ + right: 0; + transition: all .6s; + } + .head .nav-bg{ + width: 100vw; + height: 100vh; + background-color: rgba(0,0,0,0.5); + position: fixed; + top: 0; + left: 0; + z-index: 200; + transition: all .6s; + } + .head .nav-bg.active{ + display: block; + opacity: 1; + transition: all .6s; + } + .head .nav li{ + margin: 0; + padding: 0; + height: auto; + } + .head .nav li>a{ + width: 100%; + font-size: 15px; + margin: 0; + padding: 0; + line-height: 40px; + text-align: center; + } + .head .nav li.active>a{ + font-weight: normal; + border: 0; + background-color: #0094da; + color: #FFFFFF; + } + /* 二级导航 */ + .nav-sub{ + display: none; + } + .nav>li:hover .nav-sub{ + display: none; + justify-content: space-between; + flex-wrap: wrap; + width: 62vw; + background-color: rgba(255,255,255,.9); + position: fixed; + top: 50%; + left: 0; + transform: translateY(-50%); + z-index: 999; + } + .nav-sub .sub-left{ + display: flex; + justify-content: space-between; + flex-wrap: wrap; + width: 100%; + padding: 0; + background-color: rgba(219,222,226,.7); + } + .nav-sub .sub-left span{ + display: block; + width: 50%; + font-size: 15px; + text-align: center; + line-height: 40px; + border-top: 1px solid #dedede; + } + .nav-sub .sub-left span:nth-of-type(1), + .nav-sub .sub-left span:nth-of-type(2){ + border-top: 0; + } + .nav-sub .sub-left span:nth-of-type(odd){ + border-right: 1px solid #dedede; + } + .nav-sub .sub-left span.cur{ + background-color: #2d5899; + color: #FFFFFF; + transition: all .6s; + } + .nav-sub .sub-right{ + width: 62vw; + padding: 0; + overflow: hidden; + border-top: 1px solid #2d5899; + } + .nav-sub .sub-right>span{ + display: none; + overflow: hidden; + } + .nav-sub .sub-right span>a{ + width: 50%; + font-size: 13px; + text-align: center; + } + + /* 二级导航 */ + .nav-son{ + display: none; + } + .nav>li:hover .nav-son{ + display: none; + width:calc(100% - 38vw); + padding: 0; + background-color: rgba(255,255,255,.9); + position: fixed; + left: 0; + top: 50%; + transform: translateY(-50%); + z-index: 999; + } + .son-top{ + font-size: 18px; + text-align: center; + background-size: 200px 40px; + background-position: center; + padding-top: 20px; + } + .son-bottom{ + display: flex; + justify-content: space-between; + flex-wrap: wrap; + padding: 0 18px; + margin: 10px 0 30px; + } + .son-bottom a{ + width: 50%; + font-size: 13px; + line-height: 1.4; + border-left: 3px solid #92a4bc; + padding-left: 6px; + } + + .nav-bg{ + display: none; + } + + /* banner */ + .banner-swiper{ + width: 100%; + height: 300px; + margin-top: 50px; + } + .banner-swiper .swiper-slide{ + background-color: #f4f4f4; + } + .banner-swiper .swiper-slide video{ + width: 100%; + height: 300px; + } + .banner-title{ + width: calc(100% - 30px); + left: 20px; + top: 25%; + } + .banner-title p{ + font-size: 17px; + } + .banner-title h2{ + font-size: 25px; + margin-top: 5px; + } + .banner-title span{ + width: 100%; + font-size: 13px; + } + .banner-swiper .swiper-pagination-bullet{ + font-size: 14px; + } + .about-data{ + width: calc(100% - 30px); + padding: 20px 0; + } + .about-data>li{ + width: 18%; + } + .about-data-bg{ + height: auto; + } + .about-data>li>p{ + font-size: 25px; + margin: 6px 0; + } + .about-data>li>span{ + font-size: 12px; + } + .about-data>li>p span{ + font-size: 16px; + margin-left: 5px; + } + .about-data>li:nth-of-type(1), + .about-data>li:nth-of-type(2){ + width: 32%; + } + .about-body{ + flex-wrap: wrap; + } + .about-body>div{ + width: 100%; + } + .about-video-swiper{ + height: 205px; + } + .about-video-swiper .swiper-pagination-bullets, + .about-video-swiper .swiper-pagination-custom, + .about-video-swiper .swiper-pagination-fraction{ + bottom: 10px; + } + .about-video-swiper .icon-play, + .about-video-swiper .icon-play img{ + width: 50px; + height: 50px; + } + .video-list-bg{ + width: calc(100% - 30px); + } + .video-list{ + width: 100%; + height: 200px; + border: 0; + border-radius: 0; + } + .video-list video{ + width: 100%; + height: 200px; + } + .about-txt{ + padding: 20px; + } + .about-txt>h2{ + font-size: 20px; + } + .about-txt>p{ + font-size: 14px; + margin: 15px 0 30px; + -webkit-line-clamp: 10; + } + .about-nav>li img{ + width: 30px; + height: 30px; + } + .about-nav>li p{ + font-size: 14px; + } + .index-title h2{ + font-size: 24px; + } + .index-title span{ + font-size: 14px; + } + .index-title span.span{ + font-size: 15px; + } + .index-solution{ + height: 500px; + } + .index-solution .index-title{ + top: 30px; + } + .index-solution-list{ + width: 100%; + } + .index-solution-list>li .solution-txt{ + width: calc(100% - 30px); + top: 130px; + } + .solution-txt h3{ + font-size: 18px; + } + .solution-txt p{ + width: 100%; + font-size: 14px; + margin-top: 8px; + text-align: justify; + } + .solution-txt .more{ + width: 120px; + height: 40px; + margin-top: 30px; + } + .index-solution-nav{ + height: 120px; + } + .solution-swiper-bg{ + height: 120px; + width: 100%; + } + + .solution-nav-swiper{ + overflow: hidden; + } + .index-solution-nav .swiper-slide{ + width: auto; + padding: 0 15px; + min-width: 28%; + } + .index-solution-nav .swiper-slide>p{ + font-size: 14px; + } + .index-solution-nav .swiper-slide>img{ + width: 50px; + height: 52px; + } + .index-service{ + padding: 30px 0; + } + .index-service-list{ + width: calc(100% - 30px); + justify-content: space-between; + flex-wrap: wrap; + margin-top: 20px; + } + .index-service-list li{ + width: calc(25% - 6px); + margin-right: 0; + margin-top: 12px; + } + .index-service-list>li p{ + display: none; + } + .index-service-list>li span{ + width: 50px; + height: 50px; + } + .index-service-list>li span>img{ + height: 25px; + } + .index-service-list>li em{ + font-size: 20px; + } + .index-service-list>li h3{ + font-size: 13px; + margin: 8px 0; + } + .index-news{ + padding: 30px 0; + } + .index-news-list{ + width: calc(100% - 30px); + margin-top: 20px; + flex-wrap: wrap; + } + .index-news-first{ + width: 100%; + } + .index-news-img{ + height: 240px; + } + .index-news-first img{ + min-height: 240px; + } + .index-news-txt{ + margin-top: 15px; + } + .index-news-txt h3{ + font-size: 18px; + } + .index-news-first .more{ + margin-top: 12px; + } + .index-news-item{ + width: 100%; + } + .index-news-item a{ + display: flex; + flex-direction: row-reverse; + width: 100%; + } + .index-news-item a>span{ + width: 80px; + } + .index-news-item a>h3{ + width: calc(100% - 85px); + font-size: 14px; + -webkit-line-clamp:1; + height: auto; + } + .slogin{ + padding: 30px 0; + } + .slogin img{ + height: 64px; + } + .slogin p{ + width: calc(100% - 30px); + font-size: 14px; + } + .foot-bottom{ + width: calc(100% - 30px); + padding: 15px 0; + } + .foot, + .foot-left>p:first-child{ + display: none; + } + .foot-left{ + width: calc(100% - 110px); + } + .foot-left p{ + font-size: 12px; + } + .foot-left p:last-child a{ + margin-left: 0; + } + .foot-right{ + width: 110px; + height: auto; + } + .foot-right img{ + width: 50px; + height: 50px; + } + + + .pull-banner{ + height: 280px; + margin-top: 50px; + } + .pull-banner img{ + min-height: 280px; + } + .pull-banner-title{ + width: calc(100% - 30px); + top: 40%; + } + .pull-banner-title h2{ + font-size: 24px; + } + .pull-banner-title p{ + font-size: 15px; + margin: 10px 0; + } + .pull-nav{ + height: 60px; + margin-top: -60px; + } + .pull-nav-swiper{ + height: 60px; + } + .pull-nav-swiper .swiper-slide>a{ + margin: 0 20px; + line-height: 58px; + font-size: 15px; + } + + .about-survey-content{ + flex-wrap: wrap; + padding: 20px 15px; + } + .survey-txt{ + width: 100%; + } + .survey-txt>h3{ + font-size: 20px; + margin-bottom: 18px; + } + .survey-txt p{ + font-size: 14px; + text-align: justify; + line-height: 1.8; + } + .survey-data{ + width: 100%; + } + .survey-data>li>span{ + font-size: 12px; + } + .survey-data>li>p{ + font-size: 24px; + margin: 5px 0; + } + .survey-data>li>p span{ + font-size: 16px; + margin-left: 3px; + } + .survey-data>li{ + margin: 15px 0; + width: 18%; + } + .survey-data>li:nth-of-type(1), + .survey-data>li:nth-of-type(2){ + width: 32%; + } + .survey-data>li>span:last-of-type{ + font-size: 12px; + } + .about-course-bg{ + padding: 20px 0; + } + .memorabili-txt .swiper-slide{ + width: 100% !important; + margin: 0; + padding: 0; + } + .memorabili-txt{ + padding: 0 80px; + background-color: #FFFFFF; + } + .memorabili-txt .swiper-slide:nth-of-type(2n){ + margin-top: 0; + padding: 0; + } + .memorabili-txt .swiper-slide strong{ + margin: 10px 0 0 0; + } + .memorabili-txt .swiper-slide p{ + font-size: 14px; + line-height: 2; + } + .memorabili-txt .line, + .memorabili-txt .swiper-slide em{ + display: none; + } + .memorabili-swiper .swiper-button-prev{ + width: 40px; + height: 40px; + left: 10px; + } + .memorabili-swiper .swiper-button-next{ + width: 40px; + height: 40px; + right: 10px; + } + .strength-img{ + height: 210px; + } + .strength-img>img{ + min-height: 300px; + } + .strength-content{ + padding: 20px 15px; + margin-top: 0; + } + .strength-txt{ + margin-top: 15px; + font-size: 14px; + } + .index-title span{ + font-size: 16px; + } + .vision-bg{ + padding: 20px 0; + } + .vision{ + padding: 20px 15px; + } + .index-title p{ + font-size: 14px; + } + .vision-list>li{ + width: 100%; + height: 210px; + } + .vision-list>li img{ + min-height: 210px; + } + .vision-list>li .vision-txt p{ + width: calc(100% - 30px); + } + .honor-bg{ + padding: 20px 0; + } + .honor-list{ + display: none; + } + .honor-list-other.hide{ + width: calc(100% - 100px); + height: 100%; + position: static; + margin: 20px auto 0; + z-index: 1; + opacity: 1; + } + .honor-list-other{ + padding: 20px; + transform: none; + } + .honor-other-swiper{ + width: 100%; + } + .honor-list-other .swiper-button-prev{ + width: 40px; + height: 40px; + left: 5px; + background-color: #003585; + } + .honor-list-other .swiper-button-next{ + width: 40px; + height: 40px; + right: 5px; + background-color: #003585; + } + .close-swiper{ + display: none; + } + .social-bg{ + padding: 20px 0; + } + .social{ + padding: 20px 15px; + } + .social-list{ + margin-top: 10px; + flex-wrap: wrap; + } + .social-list>li{ + width: 100%; + flex-direction: column; + } + .social-img{ + height: 228px; + } + .social-img img{ + min-height: 228px; + } + .social-txt{ + padding: 30px 40px; + } + .social-txt span{ + font-size: 14px; + } + .social-txt p{ + font-size: 20px; + } + + .classify{ + height: 60px; + padding: 20px 15px; + } + .classify>span{ + font-size: 15px; + margin-right: 20px; + } + + .pull-nav-bg2{ + padding: 0; + } + .pull-nav-swiper .swiper-slide>a{ + margin: 0 15px; + } + .pull-nav-bg .swiper-button-prev, + .pull-nav-bg .swiper-button-next{ + display: none; + } + .pull-nav-bg{ + padding: 0px; + } + .case{ + padding: 0 15px 15px; + } + .case-list{ + justify-content: space-between; + } + .case-list>li{ + width: calc(50% - 6px); + margin: 15px 0 0 0; + } + .case-list>li span{ + height: 110px; + } + .case-list>li span img{ + min-height: 110px; + } + .case-list>li h3{ + font-size: 16px; + padding: 0 10px; + margin-top: 8px; + } + .case-list>li p{ + padding: 0 10px; + -webkit-line-clamp: 2; + } + .case-detail{ + padding: 15px; + } + .case-detail h1{ + font-size: 18px; + } + .case-thumbnail-bg{ + height: 186px; + } + .case-thumbnail-swiper{ + height: 164px; + } + .case-thumbnail-swiper .swiper-slide{ + height: 38px !important; + margin-bottom: 3px; + } + .case-thumbnail-swiper .swiper-slide-thumb-active{ + border: 1px solid #003585; + padding: 1px; + } + .case-thumbnail-bg .swiper-button-prev, .case-thumbnail-bg .swiper-button-next{ + width: 29px; + height: 22px; + background-size:10px 6px; + } + .case-swiper{ + height: auto; + } + + .solution{ + padding: 0 15px; + } + .solution-list li{ + width: calc(50% - 5px); + padding: 15px 0; + } + .solution-list li:nth-of-type(odd), + .solution-list li:nth-of-type(even){ + padding-left: 0; + padding-right: 0; + } + .solution-list li .img { + height: 110px; + } + .solution-list li .img img{ + min-height: 110px; + } + .solution-list li .txt{ + margin-top: 10px; + } + .solution-list li .txt h3{ + font-size: 15px; + -webkit-line-clamp:2; + } + .solution-list li .txt p{ + font-size: 14px; + margin: 6px 0; + } + .more-btns{ + font-size: 13px; + } + .page-list{ + margin: 15px 0; + } + .page-list a{ + min-width: 24px; + height: 24px; + line-height: 22px; + font-size: 12px; + margin: 0 3px; + } + .page-list a:first-child, .page-list a:last-child{ + padding: 0 8px; + } + .pull-point{ + padding: 0 15px; + margin-top: 50px; + font-size: 12px; + line-height: 40px; + display: -webkit-box; + -webkit-line-clamp: 1; + word-break: break-all; + overflow: hidden; + text-overflow: ellipsis; + -webkit-box-orient: vertical; + } + .solution-detail{ + padding: 15px 15px 0; + } + .solution-detail h1{ + font-size: 18px; + margin-bottom: 10px; + } + .pull-banner-title p{ + height: 20px; + } + .detail-txt p{ + font-size: 14px; + } + .detail-txt img{ + max-width: 100%; + width: auto; + } + .page{ + padding: 10px 15px; + flex-wrap: wrap; + } + .page>a{ + width: 100%; + justify-content: flex-start !important; + text-align: left; + font-size: 14px; + margin: 5px 0; + } + .page>a>span{ + opacity: .8; + } + .page>span{ + display: none; + } + .relevant-case{ + padding: 10px 15px; + margin: 15px auto 20px; + } + .case-title{ + height: 40px; + } + .case-title>strong{ + font-size: 16px; + line-height: 40px; + } + .case-title>a{ + font-size: 14px; + } + .relevant-case-list li{ + width: 100%; + } + .relevant-case-list li>a{ + font-size: 14px; + } + .product{ + padding: 0 15px 15px; + } + .product-list{ + justify-content: space-between; + } + .product-list li{ + width: calc( 50% - 6px); + margin: 15px 0 0 0; + padding: 10px; + } + .product-list li>a{ + padding-top: 12px; + background-size: 12px 11px; + } + .product-list li h2{ + font-size: 16px; + margin: 8px 0 5px; + } + .product-list li p{ + line-height: 1.6; + -webkit-line-clamp:4 + } + + .product-detail{ + padding: 15px; + flex-wrap: wrap; + } + .product-swiper-bg{ + width: 100%; + } + .product-swiper{ + height: auto; + } + .product-thumbnail-bg{ + padding: 0 25px; + } + .product-thumbnail-bg, + .product-thumbnail-swiper{ + height: 42px; + } + .product-thumbnail-bg .swiper-button-prev, + .product-thumbnail-bg .swiper-button-next{ + width: 20px; + height: 42px; + background-size: 8px 13px + } + .product-txt{ + width: 100%; + padding: 25px 0 0; + } + .product-txt>h1{ + font-size: 18px; + } + .product-txt>p{ + font-size: 14px; + padding: 6px 0 10px; + } + .product-contact{ + flex-wrap: wrap; + margin-top: 15px; + } + .product-contact>p:first-child{ + width: 60%; + } + .product-contact>p:first-child img{ + height: 50px; + margin-right: 4px; + } + .product-contact>p a>strong{ + font-size: 15px; + } + .product-contact>p a>em{ + font-size: 13px; + } + .product-contact>p:last-child{ + width: 40%; + } + .product-contact>p:last-child img{ + height: 50px; + margin-right: 4px; + } + .product-content{ + padding: 15px; + } + .product-btns>span,.product-btns>span{ + font-size: 15px; + line-height: 40px; + margin-right: 20px; + } + .body-txt p{ + font-size: 14px; + } + .body-txt .img img{ + width: calc(50% - 6px); + } + .service-bg{ + padding: 15px; + } + .service-list li{ + flex-wrap: wrap; + margin-top: 20px; + } + .service-list li:first-child{ + margin-top: 0; + } + .service-list li>div{ + width: 100%; + } + .service-list li .img{ + height: 175px; + } + .service-list li img{ + min-height: 175px; + } + .service-list li .txt{ + padding: 0; + } + .service-list li .txt h2{ + font-size: 20px; + margin-top: 10px; + font-weight: bold; + } + .service-list li .txt p{ + font-size: 14px; + } + .service-dwon-bg{ + padding: 15px; + } + .service-dwon-list li{ + width: 100%; + padding: 10px; + margin-top: 15px; + } + .service-dwon-list li:first-child{ + margin-top: 0; + } + .down-txt h2{ + font-size: 16px; + } + .down-txt p{ + font-size: 13px; + } + .service-dwon-list li>a{ + font-size: 13px; + } + .news-first{ + padding: 15px; + margin-top: -60px; + flex-wrap: wrap; + } + .news-left{ + width: 100%; + } + .news-left .news-img{ + height: 230px; + } + .news-left .news-img img{ + min-height: 230px; + } + .news-txt h3{ + font-size: 18px; + } + .news-txt p{ + margin-bottom: 10px; + } + .news-right{ + width: 100%; + margin-top: 20px; + } + .news-right li{ + border-top: 1px solid #e8e8e8; + border-bottom: 0; + } + .news-right li:first-child{ + padding-top: 15px; + } + .news-right li h3{ + width: calc(100% - 70px); + font-size: 14px; + font-weight: normal; + } + .news-right li>a{ + display: flex; + justify-content: space-between; + flex-direction: row-reverse; + align-items: center; + } + .news-right li>a span{ + width: 66px; + font-size: 13px; + margin-bottom: 0; + } + .news-list{ + padding: 0 15px; + } + .news-list li{ + padding: 15px 0; + } + .news-list li .img{ + height: 80px; + } + .news-list li .txt{ + width: calc(70% - 10px); + } + + .news-list li .txt h3{ + font-size: 15px; + margin-bottom: 0; + font-weight: bold; + } + .news-list li .txt p{ + margin: 5px 0 0; + line-height: 1.5; + -webkit-line-clamp: 2; + } + .news-list li .txt span, + .news-list li .txt .more-btns{ + display: none; + } + .news-detail{ + padding: 15px; + } + .news-detail h1{ + font-size: 18px; + } + .detail-info{ + padding: 10px 0; + } + .detail-info span{ + font-size: 13px; + margin-right: 10px; + } + .detail-info span img{ + width: 15px; + } + .news-detail-txt{ + padding: 15px 0; + } + .news-detail-txt .img{ + margin: 10px auto; + } + .detail-txt .img img{ + margin: 0 auto; + } + .news-detail .page{ + padding: 15px 0 0; + } + .flag-list li{ + width: 100%; + } + .flag-list li>a{ + display: flex; + justify-content: space-between; + align-items: center; + flex-direction: row-reverse; + } + .flag-list li>a span{ + width: 66px; + font-size: 13px; + margin-bottom: 0; + } + .flag-list li h3{ + width: calc(100% - 70px); + font-size: 14px; + } + .idea{ + padding: 15px; + } + .idea li{ + flex-wrap: wrap; + } + .idea li:first-child{ + margin-bottom: 20px; + } + .idea .txt{ + width: 100%; + padding: 0; + margin-top: 15px; + } + .idea .txt h2{ + font-size: 18px; + font-weight: bold; + margin-bottom: 8px; + } + .idea .txt p{ + font-size: 14px; + } + .idea li .img{ + width: 100%; + height: 180px; + } + .idea li .img img{ + min-height: 180px; + } + .culture-bg{ + padding-top: 20px; + } + .culture-bg .img-bg{ + height: 170px; + } + .culture-bg .img-bg .index-title{ + top: 20px; + } + .culture-bg .txt-bg{ + width: calc(100% - 30px); + margin: -60px auto 0; + padding: 10px 15px 15px; + flex-wrap: wrap; + flex-direction: column-reverse; + } + .txt-bg .txt{ + width: 100%; + padding: 0; + } + .txt-bg .img{ + width: 100%; + height: auto; + margin-top: 10px; + } + .txt-bg .img img{ + min-height: 0; + } + .recruit-list li .item{ + align-items: center; + padding: 8px 15px; + height: auto; + } + .recruit-list li .item>span{ + width: 24%; + font-size: 13px; + line-height: 1.5; + display: -webkit-box; + -webkit-line-clamp: 2; + word-break: break-all; + overflow: hidden; + text-overflow: ellipsis; + -webkit-box-orient: vertical; + } + .recruit-list li:first-child .item>span{ + line-height: 1.2; + font-size: 13px; + } + .recruit-list li:first-child .item>span{ + padding: 0 7%; + } + .recruit-list li:first-child .item>span:first-child{ + padding: 0 20% 0 0; + } + .recruit-list li .item>span:first-child{ + width: 30%; + text-indent: 0; + } + .recruit-list li .item>span:nth-of-type(2), + .recruit-list li .item>span:last-child{ + padding: 0; + width: 10%; + } + .recruit-list li .item em{ + display: block; + width: 16px; + height: 16px; + line-height: 12px; + margin: 0 auto; + } + .recruit-bg{ + padding: 15px 0; + } + .recruit-list{ + margin-top: 20px; + } + .contact{ + padding: 15px; + margin-top: -60px; + flex-wrap: wrap; + } + .contact-txt{ + width: 100%; + } + .contact-txt p{ + width: calc(100% - 40px); + font-size: 14px; + } + .contact-txt p>a{ + margin-right: 8px; + } + .contact-txt li>em{ + margin-right: 0; + } + .contact-txt p>a:last-child{ + margin-right: 0; + } + .contact-txt li{ + justify-content: space-between; + } + .map{ + width: 100%; + height: 200px; + margin-top: 15px; + } + .from{ + padding: 15px; + } + .from-bg{ + padding: 30px 15px; + } + .from-bg .index-title>p{ + font-size: 14px; + width: 100%; + } + .input{ + flex-wrap: wrap; + margin-bottom: 0; + } + .input li{ + width: 100%; + height: 50px; + margin-bottom: 10px; + } + .input li>input{ + line-height: 48px; + font-size: 14px; + } + .input li:last-child input{ + width: calc(100% - 90px); + } + .input li:last-child img{ + width: 150px; + height: 48px; + } + input::-webkit-input-placeholder, + textarea::-webkit-input-placeholder{ + font-size: 14px; + } + .from-btn{ + width: 160px; + height: 46px; + font-size: 16px; + margin-top: 20px; + border: 0; + } + .search-content{ + padding: 15px; + margin-top: 126px; + } + .search{ + width: 30px; + height: 30px; + margin-right: 10px; + border-radius: 4px; + } + .search>img{ + height: 16px; + } + .search-son{ + justify-content: space-between; + top: 50px; + padding: 0 15px; + border-bottom: 10px solid #f4f4f4; + } + .search-input{ + width: 100%; + padding: 0 0 15px; + } + .search-btn{ + width: 60px; + font-size: 14px; + } + .input{ + margin-top: 0; + } + .search-list{ + padding: 15px 0 0; + } + .search-list li{ + width: 100%; + } + .search-list li a{ + line-height: 2.6; + font-size: 14px; + } + .solution-more-list li{ + padding: 0 15px; + } + .solution-more-list li>a{ + align-items: center; + width: 48%; + margin-right: 4%; + font-size: 14px; + height: 60px; + } + .solution-more-list li>a em{ + height: 24px; + display: -webkit-box; + -webkit-line-clamp: 1; + word-break: break-all; + overflow: hidden; + text-overflow: ellipsis; + -webkit-box-orient: vertical; + } + .solution-more-list li>a:nth-of-type(2n){ + margin-right: 0; + } + .solution-more-list li>a img{ + max-width: 20%; + } + .nav-three-bg{ + padding: 0 15px; + height: 60px; + } + .nav-three-bg>span{ + width: 75px; + font-size: 15px; + line-height: 60px; + } + .nav-three-swiper{ + width: calc(100% - 75px); + } + .nav-three-swiper .swiper-slide{ + margin-right: 20px; + } + .nav-three-swiper .swiper-slide a{ + font-size: 15px; + line-height: 60px; + } + /* 手机端底部 */ + .wap-service{ + display: flex; + align-items: flex-end; + width: 100%; + height: 40px; + background-color: #FFFFFF; + box-shadow: 0 0 6px rgb(0 0 0 / 20%); + border-radius: 30px 0 0 0; + position: fixed; + left: 0; + bottom: 0; + z-index: 9998; + } + .wap-service-left{ + display: flex; + justify-content: center; + align-items: center; + width: 35%; + height: 40px; + font-size: 14px; + color: #333; + } + .wap-service-left img{ + height: 18px; + margin-right: 6px; + } + .wap-service-right{ + display: flex; + justify-content: center !important; + align-items: center; + width: 65%; + height: 60px; + background-color: #003585; + border-radius: 50px 0 0 0; + } + .wap-service-right img{ + height: 30px; + margin-right: 6px; + } + .wap-service-right>p{ + display: grid; + color: #FFFFFF; + } + .wap-service-right>p span{ + font-size: 14px; + line-height: 1.5; + } + .wap-service-right>p em{ + font-weight: bold; + font-size: 17px; + line-height: 1.2; + } + + .index-solution-more.active{ + min-height: 180px; + } + + .solution-more-btn { + margin: 32px auto 28px; + } +} +@media screen and (max-width:414px){ + +} +@media screen and (max-width:350px){ + +} \ No newline at end of file diff --git a/public/static/css/swiper.min.css b/public/static/css/swiper.min.css new file mode 100755 index 0000000..b477f31 --- /dev/null +++ b/public/static/css/swiper.min.css @@ -0,0 +1,12 @@ +/** + * Swiper 4.4.1 + * Most modern mobile touch slider and framework with hardware accelerated transitions + * http://www.idangero.us/swiper/ + * + * Copyright 2014-2018 Vladimir Kharlampidi + * + * Released under the MIT License + * + * Released on: September 14, 2018 + */ +.swiper-container{margin:0 auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical>.swiper-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.swiper-container-multirow>.swiper-wrapper{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-slide{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform,-webkit-transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height,-webkit-transform;transition-property:height,-webkit-transform;-o-transition-property:transform,height;transition-property:transform,height;transition-property:transform,height,-webkit-transform}.swiper-container-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,right top,left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(right,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(right,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(left,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(bottom,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(top,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(top,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-wp8-horizontal,.swiper-container-wp8-horizontal>.swiper-wrapper{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-container-wp8-vertical,.swiper-container-wp8-vertical>.swiper-wrapper{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:27px;height:44px;margin-top:-22px;z-index:10;cursor:pointer;background-size:27px 44px;background-position:center;background-repeat:no-repeat}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");left:10px;right:auto}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");right:10px;left:auto}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:.3s opacity;-o-transition:.3s opacity;transition:.3s opacity;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(.33);-ms-transform:scale(.33);transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(.66);-ms-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(.33);-ms-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(.66);-ms-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(.33);-ms-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:#007aff}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:.2s top,.2s -webkit-transform;transition:.2s top,.2s -webkit-transform;-o-transition:.2s transform,.2s top;transition:.2s transform,.2s top;transition:.2s transform,.2s top,.2s -webkit-transform}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:.2s left,.2s -webkit-transform;transition:.2s left,.2s -webkit-transform;-o-transition:.2s transform,.2s left;transition:.2s transform,.2s left;transition:.2s transform,.2s left,.2s -webkit-transform}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:.2s right,.2s -webkit-transform;transition:.2s right,.2s -webkit-transform;-o-transition:.2s transform,.2s right;transition:.2s transform,.2s right;transition:.2s transform,.2s right,.2s -webkit-transform}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:#007aff;position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;-ms-transform-origin:left top;transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;-ms-transform-origin:right top;transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-white .swiper-pagination-bullet-active{background:#fff}.swiper-pagination-progressbar.swiper-pagination-white{background:rgba(255,255,255,.25)}.swiper-pagination-progressbar.swiper-pagination-white .swiper-pagination-progressbar-fill{background:#fff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000}.swiper-pagination-progressbar.swiper-pagination-black{background:rgba(0,0,0,.25)}.swiper-pagination-progressbar.swiper-pagination-black .swiper-pagination-progressbar-fill{background:#000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;-ms-transform-origin:50%;transform-origin:50%;-webkit-animation:swiper-preloader-spin 1s steps(12,end) infinite;animation:swiper-preloader-spin 1s steps(12,end) infinite}.swiper-lazy-preloader:after{display:block;content:'';width:100%;height:100%;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-position:50%;background-size:100%;background-repeat:no-repeat}.swiper-lazy-preloader-white:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}@-webkit-keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;-webkit-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(50px);filter:blur(50px);z-index:0}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-coverflow .swiper-wrapper{-ms-perspective:1200px} \ No newline at end of file diff --git a/public/static/js/bdmap.js b/public/static/js/bdmap.js new file mode 100755 index 0000000..2544304 --- /dev/null +++ b/public/static/js/bdmap.js @@ -0,0 +1,150 @@ +//先要加载接口,要在函数外,保证先加载 +document.write(''); + +//显示地图 +//参数:显示容器ID,属性(city,addr,title,lawfirm,tel,user,mapx,pic,ismove,piobj,zoom) + function ShowMap(objname,options){ + var lon = options.lon ? options.lon : '113.63156'; + var lat = options.lat ? options.lat : '34.83794'; + if(options){ + this._city = options.city ? options.city : ""; //城市 + this._addr = options.addr ? options.addr : ""; //地址 + this._title = options.title ? options.title : ""; //信息窗口标题 + this._lawfirm = options.lawfirm ? options.lawfirm : ""; //律所 + this._tel = options.tel ? options.tel : ""; //电话 + this._user = options.user ? options.user : ""; //主任 + this._mapx = options.mapx ? options.mapx : ""; //地图坐标 + this._pic = options.pic ? options.pic : ""; //图片 + this._ismove = options.ismove ? options.ismove : "0"; //是否拖动,1为拖动为设置标注,0为显示。默认0 + this._piobj = options.piobj ? options.piobj : ""; //接收拖动坐标的表单ID + this._zoom = options.zoom ? options.zoom : "14"; //放大级别,默认14 + } + console.log(lon, 'lon') + console.log(lat, 'lat') + //设定初始坐标 + var point=new BMap.Point(lon, lat); + //范围为3-18级 + var zoom=this._zoom; + + + //创建地图 + var map = new BMap.Map(objname); + //map.enableScrollWheelZoom(); + var opts = {type: BMAP_NAVIGATION_CONTROL_ZOOM}; + map.addControl(new BMap.NavigationControl(opts)); + map.centerAndZoom(point, zoom);//设初始化地图。 + + //设置版权控件位置 + var cr = new BMap.CopyrightControl({anchor: BMAP_ANCHOR_TOP_LEFT}); + map.addControl(cr); //添加版权控件 + var bs = map.getBounds(); //返回地图可视区域 + + //坐标不为空时按坐标显示 + if (this._mapx != ""){ + var mx=this._mapx.substr(0,this._mapx.indexOf(",")); + var my=this._mapx.substr(this._mapx.indexOf(",")+1); + point=new BMap.Point(mx,my); + map.centerAndZoom(point, zoom); //重新调整位置 + } + //否则按地址显示 + else if (this._addr != ""){ + //创建地址解析器实例 + var myGeo = new BMap.Geocoder(); + //将地址解析结果显示在地图上,并调整地图视野。此过程为异步,所以要重设标注 + myGeo.getPoint(this._addr, function(poi){ + map.centerAndZoom(poi, zoom); + marker.setPosition(poi); //重调标注位置 + }, this._city); + } + //否则按城市显示 + else if (this._city != ""){ + map.setCenter(this._city); //设置地图中心点。 + //此定位无具体坐标,所以显示模式时要清除标注。要延时处理 + if (this._ismove=="0"){setTimeout(function(){map.clearOverlays();}, 1000);} + } + //都为空按IP定位 + else{ + //创建一个获取本地城市位置的实例 + var myCity = new BMap.LocalCity(); + //获取城市 + myCity.get(function(result){map.setCenter(result.name);}); + if (this._ismove=="0"){setTimeout(function(){map.clearOverlays();}, 1000);} + } + + var icowidth = 43; + var icoheight = 57; + var myIcon = new BMap.Icon("/static/images/icon/icomap.png", new BMap.Size(icowidth,icoheight)); + + //创建标注 + var marker = new BMap.Marker(point,{icon:myIcon}); + //var marker = new BMap.Marker(point); + map.addOverlay(marker); // 将标注添加到地图中 + + //设置标注时 + if (this._ismove=="1"){ + marker.enableDragging(); //可拖拽 + var label = new BMap.Label("拖拽到您的位置",{offset:new BMap.Size(20,-15)}); + label.setStyle({ backgroundColor:"red", color:"white", fontSize : "12px" }); + marker.setLabel(label); + + var poj=this._piobj; //过程里不支持this,要传给变量 + + //拖拽设置位置 + marker.addEventListener("dragend", function(e){ + try{document.getElementById(poj).value = e.point.lng + "," + e.point.lat;}catch (ex) {} + }); + //点击设置位置 + map.addEventListener("click", function(e){ + marker.setPosition(e.point); //重调标注位置 + try{document.getElementById(poj).value = e.point.lng + "," + e.point.lat;}catch (ex) {} + }); + } + + //显示标注时 + if (this._ismove=="0"){ + marker.setAnimation(BMAP_ANIMATION_BOUNCE); //跳动的动画 + + //显示窗口设置 + var opts = {width:250,height:110,title : "" + this._title + ""} //窗口标题 + var infotxt="
    "; //窗口内容 + if (this._pic != ""){infotxt += ""; + // if (this._lawfirm !=""){infotxt += "公司:" + this._lawfirm + "
    ";}; + if (this._addr !=""){infotxt += "地址:" + this._addr + "
    ";}; + if (this._tel !=""){infotxt += "电话:" + this._tel + "
    ";}; + if (this._user !=""){infotxt += "联系人:" + this._user + "
    ";}; + infotxt += "

    "; + + //显示文本标题 + var label2 = new BMap.Label(this._title,{offset:new BMap.Size(20,-15)}); + label2.setStyle({ backgroundColor:"red", color:"white", fontSize : "12px" }); + //marker.setLabel(label2); + + //创建信息窗口 + var infoWindow = new BMap.InfoWindow(infotxt,opts); + marker.addEventListener("mouseover", function(){ + this.openInfoWindow(infoWindow); + //图片加载完毕重绘infowindow。防止在网速较慢,图片未加载时,生成的信息框高度比图片的总高度小,导致图片部分被隐藏 + document.getElementById('picid').onload = function (){infoWindow.redraw();} + }); + } +} + + +//获取地理位置,间隔符 +//百度查询接口为异步,所以这里要用异步回调方式 +function getBDAddress(callBackFun,spStr){ + if (!spStr){spStr="";} //分隔符,默认空 + var geolocation = new BMap.Geolocation(); + geolocation.getCurrentPosition(function(r){ + if(this.getStatus() == BMAP_STATUS_SUCCESS){ + var point = new BMap.Point(r.point.lng,r.point.lat); + var gc = new BMap.Geocoder(); + gc.getLocation(point, function(rs){ + var addComp = rs.addressComponents; + var addVal = addComp.province + spStr + addComp.city + spStr + addComp.district + spStr + addComp.street + spStr + addComp.streetNumber; + callBackFun(addVal); + }); + } + },{enableHighAccuracy: true}) +} \ No newline at end of file diff --git a/public/static/js/javascript.js b/public/static/js/javascript.js new file mode 100755 index 0000000..0183641 --- /dev/null +++ b/public/static/js/javascript.js @@ -0,0 +1,500 @@ +jQuery(function($){ + if(screen.width <= 768){ + $(".video-slide").remove(); + $('.video-slide').find('video').eq(0).trigger('pause'); + } + // banner轮播 + var number = $('.banner-swiper .swiper-slide').length; + if(number>1){ + var bannerSwiper = new Swiper('.banner-swiper',{ + loop:true,//开启循环播放 + autoplay: {//开启自动播放 + delay:54000, + disableOnInteraction: false,//触摸后不会停止自动滚动 + pauseOnMouseEnter: true,//鼠标置于swiper时暂停自动切换,鼠标离开时恢复自动切换。 + }, + pagination: { + el: '.banner-swiper .swiper-pagination', + clickable :true, + renderBullet: function (index, className) { + return ''+''+'0' + (index + 1) +''+''+ ''; + }, + }, + effect : 'fade',//轮播的动效 默认为"slide"(普通位移切换),还可设置为"fade"(淡入)、"cube"(方块)、"coverflow"(3d流)、"flip"(3d翻转)、"cards"(卡片式)、"creative"(创意性)。 + fadeEffect: { + crossFade: true, + }, + on:{ + init: function(){ + swiperAnimateCache(this); //隐藏动画元素 + swiperAnimate(this); //初始化完成开始动画 + }, + slideChangeTransitionEnd: function(){ + swiperAnimate(this); //每个slide切换结束时也运行当前slide动画 + // this.slides.eq(this.activeIndex).find('.ani').removeClass('ani'); 动画只展现一次,去除ani类名 + }, + slideChange: function(){ + $('.video-slide').find('video').trigger('pause'); + }, + } + }); + } + + // 加载动画 + if (!(/msie [6|7|8|9]/i.test(navigator.userAgent))){ + var wow = new WOW({ + boxClass: 'wow', + animateClass: 'animated', + offset: -50, + mobile: true, + live: true + }); + wow.init(); + }; + + // 悬浮 + $('.open-suspension').click(function(){ + $('.suspension').toggleClass('show'); + $(this).toggleClass('open'); + }); + + // 语言选择 + $('.language').click(function(){ + $('.language>img').eq(1).toggleClass('open'); + $('.language-select>.select').toggle(); + }); + + // 搜索 + $('.search>span').click(function(){ + $('.search-son').toggle(); + }); + + // 二级栏目切换 + if(screen.width <= 780){ + $(".sub-left>span").eq(0).addClass("cur"); + $(".sub-right>span").eq(0).show(); + $('.sub-left>span').click(function(){ + $(".sub-left>span").eq($(this).index()).addClass("cur").siblings().removeClass('cur'); + $(".sub-right>span").hide().eq($(this).index()).show(); + }); + + $(".sub-left-01>span").eq(0).addClass("cur"); + $(".sub-right-01>span").eq(0).show(); + $('.sub-left-01>span').click(function(){ + $(".sub-left-01>span").eq($(this).index()).addClass("cur").siblings().removeClass('cur'); + $(".sub-right-01>span").hide().eq($(this).index()).show(); + }); + + }else{ + $(".sub-left>span").eq(0).addClass("cur"); + $(".sub-right>span").eq(0).show(); + $('.sub-left>span').hover(function(){ + $(".sub-left>span").eq($(this).index()).addClass("cur").siblings().removeClass('cur'); + $(".sub-right>span").hide().eq($(this).index()).show(); + }); + + $(".sub-left-01>span").eq(0).addClass("cur"); + $(".sub-right-01>span").eq(0).show(); + $('.sub-left-01>span').hover(function(){ + $(".sub-left-01>span").eq($(this).index()).addClass("cur").siblings().removeClass('cur'); + $(".sub-right-01>span").hide().eq($(this).index()).show(); + }); + } + + // 首页视屏轮播 + var number = $('.about-video-swiper .swiper-slide').length; + if(number>1){ + var bannerSwiper = new Swiper('.about-video-swiper',{ + loop:true,//开启循环播放 + autoplay: {//开启自动播放 + delay:3000, + disableOnInteraction: false,//触摸后不会停止自动滚动 + pauseOnMouseEnter: true,//鼠标置于swiper时暂停自动切换,鼠标离开时恢复自动切换。 + }, + pagination: { + el: '.about-video-swiper .swiper-pagination', + clickable :true, + renderBullet: function (index, className) { + return ''+''+''; + }, + }, + effect : 'fade',//轮播的动效 默认为"slide"(普通位移切换),还可设置为"fade"(淡入)、"cube"(方块)、"coverflow"(3d流)、"flip"(3d翻转)、"cards"(卡片式)、"creative"(创意性)。 + fadeEffect: { + crossFade: true, + }, + on:{ + init: function(){ + swiperAnimateCache(this); //隐藏动画元素 + swiperAnimate(this); //初始化完成开始动画 + }, + slideChangeTransitionEnd: function(){ + swiperAnimate(this); //每个slide切换结束时也运行当前slide动画 + // this.slides.eq(this.activeIndex).find('.ani').removeClass('ani'); 动画只展现一次,去除ani类名 + } + } + }); + } + + // 解决方案滚动 + if(screen.width <= 768){ + var solutionNavSwiper = new Swiper('.solution-nav-swiper',{ + slidesPerView: 'auto', + slidesPerGroup: 1, + slidesPerGroupAuto: true, + autoplay:false, + }) + }else{ + var solutionNavSwiper = new Swiper('.solution-nav-swiper',{ + slidesPerView: 6, + spaceBetween: 5, + slidesPerGroup: 1, + slidesPerGroupAuto: true, + autoplay:false, + }) + } + + // 案例详情页滚动 + var caseThumbnailSwiper = new Swiper('.case-thumbnail-swiper',{ + direction: 'vertical', + slidesPerView: 4, + watchSlidesVisibility: true,//防止不可点击 + }) + var caseSwiper = new Swiper('.case-swiper',{ + autoplay: true, + effect : 'fade', + fadeEffect: { + crossFade: true, + }, + navigation: { + nextEl: '.case-thumbnail-bg .swiper-button-next', + prevEl: '.case-thumbnail-bg .swiper-button-prev', + }, + thumbs: { + swiper: caseThumbnailSwiper, + }, + }) + + // 产品详情页滚动 + var productThumbnailSwiper = new Swiper('.product-thumbnail-swiper',{ + slidesPerView: 5, + spaceBetween: 4, + watchSlidesVisibility: true,//防止不可点击 + }) + var productSwiper = new Swiper('.product-swiper',{ + autoplay: true, + effect : 'fade', + fadeEffect: { + crossFade: true, + }, + navigation: { + nextEl: '.product-thumbnail-bg .swiper-button-next', + prevEl: '.product-thumbnail-bg .swiper-button-prev', + }, + thumbs: { + swiper: productThumbnailSwiper, + }, + }) + + // 产品详情页切换 + $(".product-btns>span").eq(0).addClass("active"); + $(".body-txt>.txt-item").eq(0).show(); + $('.product-btns>span').click(function(){ + $(".product-btns>span").eq($(this).index()).addClass("active").siblings().removeClass('active'); + $(".body-txt>.txt-item").hide().eq($(this).index()).show(); + }); + + // 解决方案选项卡 + $('.index-solution-nav .swiper-wrapper>.swiper-slide').eq(0).addClass('cur'); + $('.index-solution-list>li').eq(0).show(); + $('.solution-more-list>li').eq(0).addClass('show'); + $('.index-solution-more').addClass('active'); + $('.index-solution-nav .swiper-wrapper>.swiper-slide').click(function(){ + $('.index-solution-nav .swiper-wrapper>.swiper-slide').eq($(this).index()).addClass("cur").siblings().removeClass('cur'); + $('.index-solution-list>li').eq($(this).index()).show().siblings().hide(); + $('.solution-more-list>li').eq($(this).index()).addClass("show").siblings().removeClass('show'); + $('.index-solution-more').addClass('active'); + }); + $('.solution-txt>.more').click(function(){ + $('.index-solution-more').addClass('active'); + }); + $('.solution-more-btn').click(function(){ + $('.index-solution-more').removeClass('active'); + }); + + // 历程滚动 + if(screen.width <= 768){ + var memorabiliSwiper = new Swiper('.memorabili-swiper',{ + loop:false,//开启循环播放 + autoplay : { + delay:3000, + disableOnInteraction: false, + }, + effect : 'fade', + fadeEffect: { + crossFade: true, + }, + navigation: { + prevEl: '.memorabili-swiper .swiper-button-prev', + nextEl: '.memorabili-swiper .swiper-button-next', + }, + + }) + }else{ + var memorabiliSwiper = new Swiper('.memorabili-swiper',{ + loop:false,//开启循环播放 + autoplay: true, + slidesPerView : '6', + centeredSlides : false, + navigation: { + prevEl: '.memorabili-swiper .swiper-button-prev', + nextEl: '.memorabili-swiper .swiper-button-next', + }, + on:{ + slideChange: function(){ + var a = this.activeIndex; + var b = a + 6; + var c = a - 1; + $(".memorabili-swiper").find(".swiper-slide").css("opacity",1); + $(".memorabili-swiper").find(".swiper-slide").eq(c).css("opacity",0); + $(".memorabili-swiper").find(".swiper-slide").eq(b).css("opacity",0); + }, + }, + + }) + } + + // 视频播放 + $('.video-slide').find('video').eq(0).trigger('play'); + $('.video-swiper-wrapper>.swiper-slide').click(function(){ + $('.video-list-bg').show(); + $(".video-list>li").eq($(this).index()-1).addClass("show").siblings().removeClass('show'); + $(".video-list>li").eq($(this).index()-1).find('video').trigger('play').siblings().find('video').trigger('pause'); + $('.video-slide').find('video').trigger('pause'); + }); + $('.close-video').click(function(){ + $('.video-list-bg').hide(); + $(".video-list>li").removeClass('show'); + $(".video-list>li").find('video').trigger('pause'); + $('.video-slide').find('video').trigger('pause'); + }); + + // 关于我们视频播放 + $('.strength-img').click(function(){ + $('.video-list-bg').show(); + $(".video-list>li").addClass('show'); + }); + $('.close-video').click(function(){ + $('.video-list-bg').hide(); + $(".video-list>li").removeClass('show'); + }); + // 荣誉资质滚动 + if(screen.width <= 768){ + var honorSwiper = new Swiper('.honor-swiper',{ + loop:false,//开启循环播放 + autoplay : { + delay:3000, + disableOnInteraction: false, + }, + effect : 'fade', + fadeEffect: { + crossFade: true, + }, + navigation: { + prevEl: '.honor-swiper .swiper-button-prev', + nextEl: '.honor-swiper .swiper-button-next', + }, + + }) + }else{ + var honorSwiper = new Swiper('.honor-swiper',{ + loop:false,//开启循环播放 + autoplay: false, + navigation: { + prevEl: '.honor-list>.swiper-button-prev', + nextEl: '.honor-list>.swiper-button-next', + }, + }) + } + + // 弹出荣誉资质 + $('.honor-list .swiper-slide').click(function(){ + $('.honor-list-other').removeClass("hide"); + $('.all-bg').show(); + }); + $('.close-swiper').click(function(){ + $('.honor-list-other').addClass("hide"); + $('.all-bg').hide(); + }); + + // 荣誉资质弹出滚动 + var honorOtherSwiper = new Swiper('.honor-other-swiper',{ + loop:false,//开启循环播放 + autoplay: true, + navigation: { + prevEl: '.honor-list-other>.swiper-button-prev', + nextEl: '.honor-list-other>.swiper-button-next', + }, + }) + + + // 列表页二级导航切换 + var pullNavSwiper = new Swiper('.pull-nav-swiper',{ + slidesPerView: 'auto', + slidesPerGroup: 1, + slidesPerGroupAuto: true, + autoplay:false, + navigation: { + nextEl: '.pull-nav .swiper-button-next', + prevEl: '.pull-nav .swiper-button-prev', + }, + }) + + // 列表页三级导航切换 + var navThreeSwiper = new Swiper('.nav-three-swiper',{ + slidesPerView: 'auto', + slidesPerGroup: 1, + slidesPerGroupAuto: true, + autoplay:false, + }) + + // 招聘信息展开 + $('.item-btns').click(function() { + if($(this).parent().attr('class') == 'wow fadeInUp animated active'){ + $('.recruit-list>li').removeClass('active'); + $(this).parent().find('.txt').removeClass('cur') + $('.recruit-list>li').find("em").html("+") + }else{ + $('.recruit-list>li').removeClass('active') + $('.recruit-list>li').find('.txt').removeClass('cur') + $(this).parent().addClass('active') + $(this).parent().find('.txt').addClass('cur') + $('.recruit-list>li').find("em").html("+") + $('.recruit-list>li.active').find("em").html("-") + } + }); + + // 返回顶部 + $('.back-top').click(function(){ + $('html,body').animate({scrollTop:$('#top').offset().top}, 1000); + }); + + // 关于我们锚点 + if(screen.width <= 780){ + $('.survey-btn').click(function(){ + $('html,body').animate({scrollTop:$('.about-survey-bg').offset().top - 50}, 1000); + $('.pull-nav .swiper-slide>a').removeClass("active"); + $(this).addClass("active"); + }); + $('.course-btn').click(function(){ + $('html,body').animate({scrollTop:$('.about-course-bg').offset().top - 50}, 1000); + $('.pull-nav .swiper-slide>a').removeClass("active"); + $(this).addClass("active"); + }); + $('.strength-btn').click(function(){ + $('html,body').animate({scrollTop:$('.strength-bg').offset().top - 50}, 1000); + $('.pull-nav .swiper-slide>a').removeClass("active"); + $(this).addClass("active"); + }); + $('.vision-btn').click(function(){ + $('html,body').animate({scrollTop:$('.vision-bg').offset().top - 50}, 1000); + $('.pull-nav .swiper-slide>a').removeClass("active"); + $(this).addClass("active"); + }); + $('.honor-btn').click(function(){ + $('html,body').animate({scrollTop:$('.honor-bg').offset().top - 50}, 1000); + $('.pull-nav .swiper-slide>a').removeClass("active"); + $(this).addClass("active"); + }); + $('.social-btn').click(function(){ + $('html,body').animate({scrollTop:$('.social-bg').offset().top - 50}, 1000); + $('.pull-nav .swiper-slide>a').removeClass("active"); + $(this).addClass("active"); + }); + }else{ + $('.survey-btn').click(function(){ + $('html,body').animate({scrollTop:$('.about-survey-bg').offset().top - 80}, 1000); + $('.pull-nav .swiper-slide>a').removeClass("active"); + $(this).addClass("active"); + }); + $('.course-btn').click(function(){ + $('html,body').animate({scrollTop:$('.about-course-bg').offset().top - 80}, 1000); + $('.pull-nav .swiper-slide>a').removeClass("active"); + $(this).addClass("active"); + }); + $('.strength-btn').click(function(){ + $('html,body').animate({scrollTop:$('.strength-bg').offset().top - 80}, 1000); + $('.pull-nav .swiper-slide>a').removeClass("active"); + $(this).addClass("active"); + }); + $('.vision-btn').click(function(){ + $('html,body').animate({scrollTop:$('.vision-bg').offset().top - 80}, 1000); + $('.pull-nav .swiper-slide>a').removeClass("active"); + $(this).addClass("active"); + }); + $('.honor-btn').click(function(){ + $('html,body').animate({scrollTop:$('.honor-bg').offset().top - 80}, 1000); + $('.pull-nav .swiper-slide>a').removeClass("active"); + $(this).addClass("active"); + }); + $('.social-btn').click(function(){ + $('html,body').animate({scrollTop:$('.social-bg').offset().top - 80}, 1000); + $('.pull-nav .swiper-slide>a').removeClass("active"); + $(this).addClass("active"); + }); + } + + //职业发展锚点 + if(screen.width <= 780){ + $('.idea-btn').click(function(){ + $('html,body').animate({scrollTop:$('.idea-bg').offset().top - 50}, 1000); + $('.pull-nav .swiper-slide>a').removeClass("active"); + $(this).addClass("active"); + }); + $('.culture-btn').click(function(){ + $('html,body').animate({scrollTop:$('.culture-bg .img-bg').offset().top - 50}, 1000); + $('.pull-nav .swiper-slide>a').removeClass("active"); + $(this).addClass("active"); + }); + $('.recruit-btn').click(function(){ + $('html,body').animate({scrollTop:$('.recruit-bg').offset().top - 50}, 1000); + $('.pull-nav .swiper-slide>a').removeClass("active"); + $(this).addClass("active"); + }); + }else{ + $('.idea-btn').click(function(){ + $('html,body').animate({scrollTop:$('.idea-bg').offset().top - 80}, 1000); + $('.pull-nav .swiper-slide>a').removeClass("active"); + $(this).addClass("active"); + }); + $('.culture-btn').click(function(){ + $('html,body').animate({scrollTop:$('.culture-bg .img-bg').offset().top - 80}, 1000); + $('.pull-nav .swiper-slide>a').removeClass("active"); + $(this).addClass("active"); + }); + $('.recruit-btn').click(function(){ + $('html,body').animate({scrollTop:$('.recruit-bg').offset().top - 80}, 1000); + $('.pull-nav .swiper-slide>a').removeClass("active"); + $(this).addClass("active"); + }); + } + + // 手机导航按钮 + $('.head .head-btn').click(function() { + if ($('.head .head-btn').attr('class') == 'head-btn cur') { + $('.head .head-btn').removeClass('cur'); + $('.head .nav').removeClass('active'); + $('.head .nav-bg').removeClass('active'); + } else { + $('.head .head-btn').addClass('cur'); + $('.head .nav').addClass('active'); + $('.head .nav-bg').addClass('active'); + $('.head .logo').addClass('active'); + } + }); + $('.head .nav-bg').click(function() { + $(this).removeClass('active'); + $('.head .head-btn').removeClass('cur'); + $('.head .nav').removeClass('active'); + }); + +}) diff --git a/public/static/js/jquery.SuperSlide.2.1.3.js b/public/static/js/jquery.SuperSlide.2.1.3.js new file mode 100755 index 0000000..f20458b --- /dev/null +++ b/public/static/js/jquery.SuperSlide.2.1.3.js @@ -0,0 +1,14 @@ +/*! + * SuperSlide v2.1.3 + * 轻松解决网站大部分特效展示问题 + * 详尽信息请看官网:http://www.SuperSlide2.com/ + * + * Copyright 2011-至今, 大话主席 + * + * 请尊重原创,保留头部版权 + * 在保留版权的前提下可应用于个人或商业用途 + + * v2.1.3:处理Jquery已经弃用的API,兼容最新版本的Jquery,目前是jquery3.3.1,日后如果发现插件不兼容新版本的jquery,请联系我 305491515@qq.com + + */ +!function(a){a.fn.slide=function(b){return a.fn.slide.defaults={type:"slide",effect:"fade",autoPlay:!1,delayTime:500,interTime:2500,triggerTime:150,defaultIndex:0,titCell:".hd li",mainCell:".bd",targetCell:null,trigger:"mouseover",scroll:1,vis:1,titOnClassName:"on",autoPage:!1,prevCell:".prev",nextCell:".next",pageStateCell:".pageState",opp:!1,pnLoop:!0,easing:"swing",startFun:null,endFun:null,switchLoad:null,playStateCell:".playState",mouseOverStop:!0,defaultPlay:!0,returnDefault:!1},this.each(function(){var t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,$,_,ab,bb,cb,db,eb,fb,gb,hb,ib,jb,kb,lb,mb,nb,c=a.extend({},a.fn.slide.defaults,b),d=a(this),e=c.effect,f=a(c.prevCell,d),g=a(c.nextCell,d),h=a(c.pageStateCell,d),i=a(c.playStateCell,d),j=a(c.titCell,d),k=j.length,l=a(c.mainCell,d),m=l.children().length,n=c.switchLoad,o=a(c.targetCell,d),p=parseInt(c.defaultIndex),q=parseInt(c.delayTime),r=parseInt(c.interTime);if(parseInt(c.triggerTime),t=parseInt(c.scroll),u="false"==c.autoPlay||0==c.autoPlay?!1:!0,v="false"==c.opp||0==c.opp?!1:!0,w="false"==c.autoPage||0==c.autoPage?!1:!0,x="false"==c.pnLoop||0==c.pnLoop?!1:!0,y="false"==c.mouseOverStop||0==c.mouseOverStop?!1:!0,z="false"==c.defaultPlay||0==c.defaultPlay?!1:!0,A="false"==c.returnDefault||0==c.returnDefault?!1:!0,B=isNaN(c.vis)?1:parseInt(c.vis),C=!-[1]&&!window.XMLHttpRequest,D=0,E=0,F=0,G=0,H=c.easing,I=null,J=null,K=null,L=c.titOnClassName,M=j.index(d.find("."+L)),N=p=-1==M?p:M,O=p,P=p,Q=m>=B?0!=m%t?m%t:t:0,S="leftMarquee"==e||"topMarquee"==e?!0:!1,T=function(){a.isFunction(c.startFun)&&c.startFun(p,k,d,a(c.titCell,d),l,o,f,g)},U=function(){a.isFunction(c.endFun)&&c.endFun(p,k,d,a(c.titCell,d),l,o,f,g)},V=function(){j.removeClass(L),z&&j.eq(O).addClass(L)},"menu"==c.type)return z&&j.removeClass(L).eq(p).addClass(L),j.hover(function(){R=a(this).find(c.targetCell);var b=j.index(a(this));J=setTimeout(function(){switch(p=b,j.removeClass(L).eq(p).addClass(L),T(),e){case"fade":R.stop(!0,!0).animate({opacity:"show"},q,H,U);break;case"slideDown":R.stop(!0,!0).animate({height:"show"},q,H,U)}},c.triggerTime)},function(){switch(clearTimeout(J),e){case"fade":R.animate({opacity:"hide"},q,H);break;case"slideDown":R.animate({height:"hide"},q,H)}}),A&&d.hover(function(){clearTimeout(K)},function(){K=setTimeout(V,q)}),void 0;if(0==k&&(k=m),S&&(k=2),w){if(m>=B?"leftLoop"==e||"topLoop"==e?k=0!=m%t?(0^m/t)+1:m/t:(W=m-B,k=1+parseInt(0!=W%t?W/t+1:W/t),0>=k&&(k=1)):k=1,j.html(""),X="",1==c.autoPage||"true"==c.autoPage)for(Y=0;k>Y;Y++)X+="
  • "+(Y+1)+"
  • ";else for(Y=0;k>Y;Y++)X+=c.autoPage.replace("$",Y+1);j.html(X),j=j.children()}if(m>=B)switch(l.children().each(function(){a(this).width()>F&&(F=a(this).width(),E=a(this).outerWidth(!0)),a(this).height()>G&&(G=a(this).height(),D=a(this).outerHeight(!0))}),Z=l.children(),$=function(){var a;for(a=0;B>a;a++)Z.eq(a).clone().addClass("clone").appendTo(l);for(a=0;Q>a;a++)Z.eq(m-a-1).clone().addClass("clone").prependTo(l)},e){case"fold":l.css({position:"relative",width:E,height:D}).children().css({position:"absolute",width:F,left:0,top:0,display:"none"});break;case"top":l.wrap('
    ').css({top:-(p*t)*D,position:"relative",padding:"0",margin:"0"}).children().css({height:G});break;case"left":l.wrap('
    ').css({width:m*E,left:-(p*t)*E,position:"relative",overflow:"hidden",padding:"0",margin:"0"}).children().css({"float":"left",width:F});break;case"leftLoop":case"leftMarquee":$(),l.wrap('
    ').css({width:(m+B+Q)*E,position:"relative",overflow:"hidden",padding:"0",margin:"0",left:-(Q+p*t)*E}).children().css({"float":"left",width:F});break;case"topLoop":case"topMarquee":$(),l.wrap('
    ').css({height:(m+B+Q)*D,position:"relative",padding:"0",margin:"0",top:-(Q+p*t)*D}).children().css({height:G})}_=function(a){var b=a*t;return a==k?b=m:-1==a&&0!=m%t&&(b=-m%t),b},ab=function(b){var d,f,g,h,c=function(c){for(var d=c;B+c>d;d++)b.eq(d).find("img["+n+"]").each(function(){var c,d,b=a(this);if(b.attr("src",b.attr(n)).removeAttr(n),l.find(".clone")[0])for(c=l.children(),d=0;d=1?p=1:0>=p&&(p=0):(P=p,p>=k?p=0:0>p&&(p=k-1)),T(),null!=n&&ab(l.children()),o[0]&&(R=o.eq(p),null!=n&&ab(o),"slideDown"==e?(o.not(R).stop(!0,!0).slideUp(q),R.slideDown(q,H,function(){l[0]||U()})):(o.not(R).stop(!0,!0).hide(),R.animate({opacity:"show"},q,function(){l[0]||U()}))),m>=B)switch(e){case"fade":l.children().stop(!0,!0).eq(p).animate({opacity:"show"},q,H,function(){U()}).siblings().hide();break;case"fold":l.children().stop(!0,!0).eq(p).animate({opacity:"show"},q,H,function(){U()}).siblings().animate({opacity:"hide"},q,H);break;case"top":l.stop(!0,!1).animate({top:-p*t*D},q,H,function(){U()});break;case"left":l.stop(!0,!1).animate({left:-p*t*E},q,H,function(){U()});break;case"leftLoop":b=P,l.stop(!0,!0).animate({left:-(_(P)+Q)*E},q,H,function(){-1>=b?l.css("left",-(Q+(k-1)*t)*E):b>=k&&l.css("left",-Q*E),U()});break;case"topLoop":b=P,l.stop(!0,!0).animate({top:-(_(P)+Q)*D},q,H,function(){-1>=b?l.css("top",-(Q+(k-1)*t)*D):b>=k&&l.css("top",-Q*D),U()});break;case"leftMarquee":c=l.css("left").replace("px",""),0==p?l.animate({left:++c},0,function(){l.css("left").replace("px","")>=0&&l.css("left",-m*E)}):l.animate({left:--c},0,function(){l.css("left").replace("px","")<=-(m+Q)*E&&l.css("left",-Q*E)});break;case"topMarquee":d=l.css("top").replace("px",""),0==p?l.animate({top:++d},0,function(){l.css("top").replace("px","")>=0&&l.css("top",-m*D)}):l.animate({top:--d},0,function(){l.css("top").replace("px","")<=-(m+Q)*D&&l.css("top",-Q*D)})}j.removeClass(L).eq(p).addClass(L),N=p,x||(g.removeClass("nextStop"),f.removeClass("prevStop"),0==p&&f.addClass("prevStop"),p==k-1&&g.addClass("nextStop")),h.html(""+(p+1)+"/"+k)}},z&&bb(!0),A&&d.hover(function(){clearTimeout(K)},function(){K=setTimeout(function(){p=O,z?bb():"slideDown"==e?R.slideUp(q,V):R.animate({opacity:"hide"},q,V),N=p},300)}),cb=function(a){I=setInterval(function(){v?p--:p++,bb()},a?a:r)},db=function(a){I=setInterval(bb,a?a:r)},eb=function(){y||!u||i.hasClass("pauseState")||(clearInterval(I),cb())},fb=function(){(x||p!=k-1)&&(p++,bb(),S||eb())},gb=function(){(x||0!=p)&&(p--,bb(),S||eb())},hb=function(){clearInterval(I),S?db():cb(),i.removeClass("pauseState")},ib=function(){clearInterval(I),i.addClass("pauseState")},u?S?(v?p--:p++,db(),y&&l.hover(ib,hb)):(cb(),y&&d.hover(ib,hb)):(S&&(v?p--:p++),i.addClass("pauseState")),i.click(function(){i.hasClass("pauseState")?hb():ib()}),"mouseover"==c.trigger?j.hover(function(){var a=j.index(this);J=setTimeout(function(){p=a,bb(),eb()},c.triggerTime)},function(){clearTimeout(J)}):j.click(function(){p=j.index(this),bb(),eb()}),S?(g.mousedown(fb),f.mousedown(gb),x&&(kb=function(){jb=setTimeout(function(){clearInterval(I),db(0^r/10)},150)},lb=function(){clearTimeout(jb),clearInterval(I),db()},g.mousedown(kb),g.mouseup(lb),f.mousedown(kb),f.mouseup(lb)),"mouseover"==c.trigger&&(g.hover(fb,function(){}),f.hover(gb,function(){}))):(g.click(fb),f.click(gb)),"auto"!=c.vis||1!=t||"left"!=e&&"leftLoop"!=e||(nb=function(){C&&(l.width("auto"),l.children().width("auto")),l.parent().width("auto"),E=l.parent().width(),C&&l.parent().width(E),l.children().width(E),"left"==e?(l.width(E*m),l.stop(!0,!1).animate({left:-p*E},0)):(l.width(E*(m+2)),l.stop(!0,!1).animate({left:-(p+1)*E},0)),C||E==l.parent().width()||nb()},a(window).resize(function(){clearTimeout(mb),mb=setTimeout(nb,100)}),nb())})}}(jQuery),jQuery.easing["jswing"]=jQuery.easing["swing"],jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(a,b,c,d,e){return jQuery.easing[jQuery.easing.def](a,b,c,d,e)},easeInQuad:function(a,b,c,d,e){return d*(b/=e)*b+c},easeOutQuad:function(a,b,c,d,e){return-d*(b/=e)*(b-2)+c},easeInOutQuad:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b+c:-d/2*(--b*(b-2)-1)+c},easeInCubic:function(a,b,c,d,e){return d*(b/=e)*b*b+c},easeOutCubic:function(a,b,c,d,e){return d*((b=b/e-1)*b*b+1)+c},easeInOutCubic:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b*b+c:d/2*((b-=2)*b*b+2)+c},easeInQuart:function(a,b,c,d,e){return d*(b/=e)*b*b*b+c},easeOutQuart:function(a,b,c,d,e){return-d*((b=b/e-1)*b*b*b-1)+c},easeInOutQuart:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b*b*b+c:-d/2*((b-=2)*b*b*b-2)+c},easeInQuint:function(a,b,c,d,e){return d*(b/=e)*b*b*b*b+c},easeOutQuint:function(a,b,c,d,e){return d*((b=b/e-1)*b*b*b*b+1)+c},easeInOutQuint:function(a,b,c,d,e){return(b/=e/2)<1?d/2*b*b*b*b*b+c:d/2*((b-=2)*b*b*b*b+2)+c},easeInSine:function(a,b,c,d,e){return-d*Math.cos(b/e*(Math.PI/2))+d+c},easeOutSine:function(a,b,c,d,e){return d*Math.sin(b/e*(Math.PI/2))+c},easeInOutSine:function(a,b,c,d,e){return-d/2*(Math.cos(Math.PI*b/e)-1)+c},easeInExpo:function(a,b,c,d,e){return 0==b?c:d*Math.pow(2,10*(b/e-1))+c},easeOutExpo:function(a,b,c,d,e){return b==e?c+d:d*(-Math.pow(2,-10*b/e)+1)+c},easeInOutExpo:function(a,b,c,d,e){return 0==b?c:b==e?c+d:(b/=e/2)<1?d/2*Math.pow(2,10*(b-1))+c:d/2*(-Math.pow(2,-10*--b)+2)+c},easeInCirc:function(a,b,c,d,e){return-d*(Math.sqrt(1-(b/=e)*b)-1)+c},easeOutCirc:function(a,b,c,d,e){return d*Math.sqrt(1-(b=b/e-1)*b)+c},easeInOutCirc:function(a,b,c,d,e){return(b/=e/2)<1?-d/2*(Math.sqrt(1-b*b)-1)+c:d/2*(Math.sqrt(1-(b-=2)*b)+1)+c},easeInElastic:function(a,b,c,d,e){var f=1.70158,g=0,h=d;return 0==b?c:1==(b/=e)?c+d:(g||(g=.3*e),hb?-.5*h*Math.pow(2,10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g)+c:.5*h*Math.pow(2,-10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g)+d+c)},easeInBack:function(a,b,c,d,e,f){return void 0==f&&(f=1.70158),d*(b/=e)*b*((f+1)*b-f)+c},easeOutBack:function(a,b,c,d,e,f){return void 0==f&&(f=1.70158),d*((b=b/e-1)*b*((f+1)*b+f)+1)+c},easeInOutBack:function(a,b,c,d,e,f){return void 0==f&&(f=1.70158),(b/=e/2)<1?d/2*b*b*(((f*=1.525)+1)*b-f)+c:d/2*((b-=2)*b*(((f*=1.525)+1)*b+f)+2)+c},easeInBounce:function(a,b,c,d,e){return d-jQuery.easing.easeOutBounce(a,e-b,0,d,e)+c},easeOutBounce:function(a,b,c,d,e){return(b/=e)<1/2.75?d*7.5625*b*b+c:2/2.75>b?d*(7.5625*(b-=1.5/2.75)*b+.75)+c:2.5/2.75>b?d*(7.5625*(b-=2.25/2.75)*b+.9375)+c:d*(7.5625*(b-=2.625/2.75)*b+.984375)+c},easeInOutBounce:function(a,b,c,d,e){return e/2>b?.5*jQuery.easing.easeInBounce(a,2*b,0,d,e)+c:.5*jQuery.easing.easeOutBounce(a,2*b-e,0,d,e)+.5*d+c}}); \ No newline at end of file diff --git a/public/static/js/jquery.js b/public/static/js/jquery.js new file mode 100755 index 0000000..fc6c299 --- /dev/null +++ b/public/static/js/jquery.js @@ -0,0 +1,10881 @@ +/*! + * jQuery JavaScript Library v3.6.0 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * + * Copyright OpenJS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * + * Date: 2021-03-02T17:08Z + */ +( function( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + // Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5 + // Plus for old WebKit, typeof returns "function" for HTML collections + // (e.g., `typeof document.getElementsByTagName("div") === "function"`). (gh-4756) + return typeof obj === "function" && typeof obj.nodeType !== "number" && + typeof obj.item !== "function"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + +var document = window.document; + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.6.0", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + even: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return ( i + 1 ) % 2; + } ) ); + }, + + odd: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return i % 2; + } ) ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function( code, options, doc ) { + DOMEval( code, { nonce: options && options.nonce }, doc ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return flat( ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), + function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); + } ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * Sizzle CSS Selector Engine v2.3.6 + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://js.foundation/ + * + * Date: 2021-02-16 + */ +( function( window ) { +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ( {} ).hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[ i ] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + + "ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + + whitespace + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), + funescape = function( escape, nonHex ) { + var high = "0x" + escape.slice( 1 ) - 0x10000; + + return nonHex ? + + // Strip the backslash prefix from a non-hex escape sequence + nonHex : + + // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + ( arr = slice.call( preferredDoc.childNodes ) ), + preferredDoc.childNodes + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + pushNative.apply( target, slice.call( els ) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ( ( target[ j++ ] = els[ i++ ] ) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + setDocument( context ); + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { + + // ID selector + if ( ( m = match[ 1 ] ) ) { + + // Document context + if ( nodeType === 9 ) { + if ( ( elem = context.getElementById( m ) ) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && ( elem = newContext.getElementById( m ) ) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[ 2 ] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && + + // Support: IE 8 only + // Exclude object elements + ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && + ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if ( newContext !== context || !support.scope ) { + + // Capture the context ID, setting it first if necessary + if ( ( nid = context.getAttribute( "id" ) ) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", ( nid = expando ) ); + } + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + + toSelector( groups[ i ] ); + } + newSelector = groups.join( "," ); + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return ( cache[ key + " " ] = value ); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement( "fieldset" ); + + try { + return !!fn( el ); + } catch ( e ) { + return false; + } finally { + + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split( "|" ), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[ i ] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( ( cur = cur.nextSibling ) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return ( name === "input" || name === "button" ) && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction( function( argument ) { + argument = +argument; + return markFunction( function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ ( j = matchIndexes[ i ] ) ] ) { + seed[ j ] = !( matches[ j ] = seed[ j ] ); + } + } + } ); + } ); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem && elem.namespaceURI, + docElem = elem && ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( preferredDoc != document && + ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert( function( el ) { + docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); + return typeof el.querySelectorAll !== "undefined" && + !el.querySelectorAll( ":scope fieldset div" ).length; + } ); + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert( function( el ) { + el.className = "i"; + return !el.getAttribute( "className" ); + } ); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert( function( el ) { + el.appendChild( document.createComment( "" ) ); + return !el.getElementsByTagName( "*" ).length; + } ); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert( function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + } ); + + // ID filter and find + if ( support.getById ) { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute( "id" ) === attrId; + }; + }; + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode( "id" ); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( ( elem = elems[ i++ ] ) ) { + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find[ "TAG" ] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert( function( el ) { + + var input; + + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll( "[selected]" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push( "~=" ); + } + + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement( "input" ); + input.setAttribute( "name", "" ); + el.appendChild( input ); + if ( !el.querySelectorAll( "[name='']" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + + whitespace + "*(?:''|\"\")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll( ":checked" ).length ) { + rbuggyQSA.push( ":checked" ); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push( ".#.+[+~]" ); + } + + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll( "\\\f" ); + rbuggyQSA.push( "[\\r\\n\\f]" ); + } ); + + assert( function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement( "input" ); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll( "[name=d]" ).length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll( "*,:x" ); + rbuggyQSA.push( ",.*:" ); + } ); + } + + if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector ) ) ) ) { + + assert( function( el ) { + + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + } ); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + ) ); + } : + function( a, b ) { + if ( b ) { + while ( ( b = b.parentNode ) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( a == document || a.ownerDocument == preferredDoc && + contains( preferredDoc, a ) ) { + return -1; + } + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( b == document || b.ownerDocument == preferredDoc && + contains( preferredDoc, b ) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document ? -1 : + b == document ? 1 : + /* eslint-enable eqeqeq */ + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( ( cur = cur.parentNode ) ) { + ap.unshift( cur ); + } + cur = b; + while ( ( cur = cur.parentNode ) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[ i ] === bp[ i ] ) { + i++; + } + + return i ? + + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[ i ], bp[ i ] ) : + + // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[ i ] == preferredDoc ? -1 : + bp[ i ] == preferredDoc ? 1 : + /* eslint-enable eqeqeq */ + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + setDocument( elem ); + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch ( e ) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( context.ownerDocument || context ) != document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( elem.ownerDocument || elem ) != document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return ( sel + "" ).replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + + // If no nodeType, this is expected to be an array + while ( ( node = elem[ i++ ] ) ) { + + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[ 1 ] = match[ 1 ].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[ 3 ] = ( match[ 3 ] || match[ 4 ] || + match[ 5 ] || "" ).replace( runescape, funescape ); + + if ( match[ 2 ] === "~=" ) { + match[ 3 ] = " " + match[ 3 ] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[ 1 ] = match[ 1 ].toLowerCase(); + + if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { + + // nth-* requires argument + if ( !match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[ 4 ] = +( match[ 4 ] ? + match[ 5 ] + ( match[ 6 ] || 1 ) : + 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); + match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); + + // other types prohibit arguments + } else if ( match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[ 6 ] && match[ 2 ]; + + if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[ 3 ] ) { + match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + + // Get excess from tokenize (recursively) + ( excess = tokenize( unquoted, true ) ) && + + // advance to the next closing parenthesis + ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { + + // excess is a negative index + match[ 0 ] = match[ 0 ].slice( 0, excess ); + match[ 2 ] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { + return true; + } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + ( pattern = new RegExp( "(^|" + whitespace + + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( + className, function( elem ) { + return pattern.test( + typeof elem.className === "string" && elem.className || + typeof elem.getAttribute !== "undefined" && + elem.getAttribute( "class" ) || + "" + ); + } ); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + /* eslint-disable max-len */ + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + /* eslint-enable max-len */ + + }; + }, + + "CHILD": function( type, what, _argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, _context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( ( node = node[ dir ] ) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( ( node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + + // Use previously-cached element index if available + if ( useCache ) { + + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + + // Use the same loop as above to seek `elem` from the start + while ( ( node = ++nodeIndex && node && node[ dir ] || + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || + ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction( function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[ i ] ); + seed[ idx ] = !( matches[ idx ] = matched[ i ] ); + } + } ) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + + // Potentially complex pseudos + "not": markFunction( function( selector ) { + + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction( function( seed, matches, _context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( ( elem = unmatched[ i ] ) ) { + seed[ i ] = !( matches[ i ] = elem ); + } + } + } ) : + function( elem, _context, xml ) { + input[ 0 ] = elem; + matcher( input, null, xml, results ); + + // Don't keep the element (issue #299) + input[ 0 ] = null; + return !results.pop(); + }; + } ), + + "has": markFunction( function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + } ), + + "contains": markFunction( function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + } ), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + + // lang value must be a valid identifier + if ( !ridentifier.test( lang || "" ) ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( ( elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); + return false; + }; + } ), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && + ( !document.hasFocus || document.hasFocus() ) && + !!( elem.type || elem.href || ~elem.tabIndex ); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( nodeName === "input" && !!elem.checked ) || + ( nodeName === "option" && !!elem.selected ); + }, + + "selected": function( elem ) { + + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos[ "empty" ]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( ( attr = elem.getAttribute( "type" ) ) == null || + attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo( function() { + return [ 0 ]; + } ), + + "last": createPositionalPseudo( function( _matchIndexes, length ) { + return [ length - 1 ]; + } ), + + "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + } ), + + "even": createPositionalPseudo( function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "odd": createPositionalPseudo( function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ) + } +}; + +Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || ( match = rcomma.exec( soFar ) ) ) { + if ( match ) { + + // Don't consume trailing commas as valid + soFar = soFar.slice( match[ 0 ].length ) || soFar; + } + groups.push( ( tokens = [] ) ); + } + + matched = false; + + // Combinators + if ( ( match = rcombinators.exec( soFar ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + + // Cast descendant combinators to space + type: match[ 0 ].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || + ( match = preFilters[ type ]( match ) ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[ i ].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || ( elem[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || + ( outerCache[ elem.uniqueID ] = {} ); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( ( oldCache = uniqueCache[ key ] ) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return ( newCache[ 2 ] = oldCache[ 2 ] ); + } else { + + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[ i ]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[ 0 ]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[ i ], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( ( elem = unmatched[ i ] ) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction( function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( + selector || "*", + context.nodeType ? [ context ] : context, + [] + ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( ( elem = temp[ i ] ) ) { + matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) ) { + + // Restore matcherIn since elem is not yet a final match + temp.push( ( matcherIn[ i ] = elem ) ); + } + } + postFinder( null, ( matcherOut = [] ), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) && + ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { + + seed[ temp ] = !( results[ temp ] = elem ); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + } ); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[ 0 ].type ], + implicitRelative = leadingRelative || Expr.relative[ " " ], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + ( checkContext = context ).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[ j ].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice( 0, i - 1 ) + .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), + + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), + len = elems.length; + + if ( outermost ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( !context && elem.ownerDocument != document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( ( matcher = elementMatchers[ j++ ] ) ) { + if ( matcher( elem, context || document, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + + // They will have gone through all possible matchers + if ( ( elem = !matcher && elem ) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( ( matcher = setMatchers[ j++ ] ) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !( unmatched[ i ] || setMatched[ i ] ) ) { + setMatched[ i ] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[ i ] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers( elementMatchers, setMatchers ) + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( ( selector = compiled.selector || selector ) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[ 0 ] = match[ 0 ].slice( 0 ); + if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { + + context = ( Expr.find[ "ID" ]( token.matches[ 0 ] + .replace( runescape, funescape ), context ) || [] )[ 0 ]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[ i ]; + + // Abort if we hit a combinator + if ( Expr.relative[ ( type = token.type ) ] ) { + break; + } + if ( ( find = Expr.find[ type ] ) ) { + + // Search, expanding context for leading sibling combinators + if ( ( seed = find( + token.matches[ 0 ].replace( runescape, funescape ), + rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || + context + ) ) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert( function( el ) { + + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; +} ); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert( function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute( "href" ) === "#"; +} ) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + } ); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert( function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +} ) ) { + addHandle( "value", function( elem, _name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + } ); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert( function( el ) { + return el.getAttribute( "disabled" ) == null; +} ) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; + } + } ); +} + +return Sizzle; + +} )( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +} +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, _i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, _i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, _i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( elem.contentDocument != null && + + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto( elem.contentDocument ) ) { + + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( _i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the primary Deferred + primary = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + primary.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( primary.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return primary.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), primary.reject ); + } + + return primary.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, _key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( _all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; +} )(); + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
    " ], + col: [ 2, "", "
    " ], + tr: [ 2, "", "
    " ], + td: [ 3, "", "
    " ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +var rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Only attach events to objects that accept data + if ( !acceptData( elem ) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = Object.create( null ); + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( nativeEvent ), + + handlers = ( + dataPriv.get( this, "events" ) || Object.create( null ) + )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + + // Support: Chrome 86+ + // In Chrome, if an element having a focusout handler is blurred by + // clicking outside of it, it invokes the handler synchronously. If + // that handler calls `.remove()` on the element, the data is cleared, + // leaving `result` undefined. We need to guard against this. + return result && result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + which: true +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + // Suppress native focus or blur as it's already being fired + // in leverageNative. + _default: function() { + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.get( src ); + events = pdataOld.events; + + if ( events ) { + dataPriv.remove( dest, "handle events" ); + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = flat( args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + }, doc ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html; + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var swap = function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableTrDimensionsVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + // + // Support: Firefox 70+ + // Only Firefox includes border widths + // in computed dimensions. (gh-4529) + reliableTrDimensions: function() { + var table, tr, trChild, trStyle; + if ( reliableTrDimensionsVal == null ) { + table = document.createElement( "table" ); + tr = document.createElement( "tr" ); + trChild = document.createElement( "div" ); + + table.style.cssText = "position:absolute;left:-11111px;border-collapse:separate"; + tr.style.cssText = "border:1px solid"; + + // Support: Chrome 86+ + // Height set through cssText does not get applied. + // Computed height then comes back as 0. + tr.style.height = "1px"; + trChild.style.height = "9px"; + + // Support: Android 8 Chrome 86+ + // In our bodyBackground.html iframe, + // display for all div elements is set to "inline", + // which causes a problem only in Android 8 Chrome 86. + // Ensuring the div is display: block + // gets around this issue. + trChild.style.display = "block"; + + documentElement + .appendChild( table ) + .appendChild( tr ) + .appendChild( trChild ); + + trStyle = window.getComputedStyle( tr ); + reliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) + + parseInt( trStyle.borderTopWidth, 10 ) + + parseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight; + + documentElement.removeChild( table ); + } + return reliableTrDimensionsVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( _elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( ( !support.boxSizingReliable() && isBorderBox || + + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + !support.reliableTrDimensions() && nodeName( elem, "tr" ) || + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === "auto" || + + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + + // Make sure the element is visible & connected + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( _i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( dataPriv.get( cur, "events" ) || Object.create( null ) )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = { guid: Date.now() }; + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml, parserErrorElem; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) {} + + parserErrorElem = xml && xml.getElementsByTagName( "parsererror" )[ 0 ]; + if ( !xml || parserErrorElem ) { + jQuery.error( "Invalid XML: " + ( + parserErrorElem ? + jQuery.map( parserErrorElem.childNodes, function( el ) { + return el.textContent; + } ).join( "\n" ) : + data + ) ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ).filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ).map( function( _i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + +originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Use a noop converter for missing script but not if jsonp + if ( !isSuccess && + jQuery.inArray( "script", s.dataTypes ) > -1 && + jQuery.inArray( "json", s.dataTypes ) < 0 ) { + s.converters[ "text script" ] = function() {}; + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( _i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +jQuery.ajaxPrefilter( function( s ) { + var i; + for ( i in s.headers ) { + if ( i.toLowerCase() === "content-type" ) { + s.contentType = s.headers[ i ] || ""; + } + } +} ); + + +jQuery._evalUrl = function( url, options, doc ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options, doc ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( " + + diff --git a/public/static/js/tinymce5/plugins/bbcode/plugin.min.js b/public/static/js/tinymce5/plugins/bbcode/plugin.min.js new file mode 100755 index 0000000..06b01ee --- /dev/null +++ b/public/static/js/tinymce5/plugins/bbcode/plugin.min.js @@ -0,0 +1,9 @@ +/** + * Copyright (c) Tiny Technologies, Inc. All rights reserved. + * Licensed under the LGPL or a commercial license. + * For LGPL see License.txt in the project root for license information. + * For commercial licenses see https://www.tiny.cloud/ + * + * Version: 5.10.3 (2022-02-09) + */ +!function(){"use strict";function i(t){function o(o,e){t=t.replace(o,e)}return t=n.trim(t),o(/\n/gi,"
    "),o(/\[b\]/gi,""),o(/\[\/b\]/gi,""),o(/\[i\]/gi,""),o(/\[\/i\]/gi,""),o(/\[u\]/gi,""),o(/\[\/u\]/gi,""),o(/\[url=([^\]]+)\](.*?)\[\/url\]/gi,'$2'),o(/\[url\](.*?)\[\/url\]/gi,'$1'),o(/\[img\](.*?)\[\/img\]/gi,''),o(/\[color=(.*?)\](.*?)\[\/color\]/gi,'$2'),o(/\[code\](.*?)\[\/code\]/gi,'$1 '),o(/\[quote.*?\](.*?)\[\/quote\]/gi,'$1 '),t}var o=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=tinymce.util.Tools.resolve("tinymce.util.Tools");o.add("bbcode",function(o){o.on("BeforeSetContent",function(o){o.content=i(o.content)}),o.on("PostProcess",function(o){function e(o,e){t=t.replace(o,e)}var t;o.set&&(o.content=i(o.content)),o.get&&(o.content=(t=o.content,t=n.trim(t),e(/(.*?)<\/a>/gi,"[url=$1]$2[/url]"),e(/(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]"),e(/(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]"),e(/(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]"),e(/(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]"),e(/(.*?)<\/span>/gi,"[color=$1]$2[/color]"),e(/(.*?)<\/font>/gi,"[color=$1]$2[/color]"),e(/(.*?)<\/span>/gi,"[size=$1]$2[/size]"),e(/(.*?)<\/font>/gi,"$1"),e(//gi,"[img]$1[/img]"),e(/(.*?)<\/span>/gi,"[code]$1[/code]"),e(/(.*?)<\/span>/gi,"[quote]$1[/quote]"),e(/(.*?)<\/strong>/gi,"[code][b]$1[/b][/code]"),e(/(.*?)<\/strong>/gi,"[quote][b]$1[/b][/quote]"),e(/(.*?)<\/em>/gi,"[code][i]$1[/i][/code]"),e(/(.*?)<\/em>/gi,"[quote][i]$1[/i][/quote]"),e(/(.*?)<\/u>/gi,"[code][u]$1[/u][/code]"),e(/(.*?)<\/u>/gi,"[quote][u]$1[/u][/quote]"),e(/<\/(strong|b)>/gi,"[/b]"),e(/<(strong|b)>/gi,"[b]"),e(/<\/(em|i)>/gi,"[/i]"),e(/<(em|i)>/gi,"[i]"),e(/<\/u>/gi,"[/u]"),e(/(.*?)<\/span>/gi,"[u]$1[/u]"),e(//gi,"[u]"),e(/]*>/gi,"[quote]"),e(/<\/blockquote>/gi,"[/quote]"),e(/
    /gi,"\n"),e(//gi,"\n"),e(/
    /gi,"\n"),e(/

    /gi,""),e(/<\/p>/gi,"\n"),e(/ |\u00a0/gi," "),e(/"/gi,'"'),e(/</gi,"<"),e(/>/gi,">"),e(/&/gi,"&"),t))})})}(); \ No newline at end of file diff --git a/public/static/js/tinymce5/plugins/charmap/plugin.min.js b/public/static/js/tinymce5/plugins/charmap/plugin.min.js new file mode 100755 index 0000000..3cccc5d --- /dev/null +++ b/public/static/js/tinymce5/plugins/charmap/plugin.min.js @@ -0,0 +1,9 @@ +/** + * Copyright (c) Tiny Technologies, Inc. All rights reserved. + * Licensed under the LGPL or a commercial license. + * For LGPL see License.txt in the project root for license information. + * For commercial licenses see https://www.tiny.cloud/ + * + * Version: 5.10.3 (2022-02-09) + */ +!function(){"use strict";function l(e,r){var n=e.fire("insertCustomChar",{chr:r}).chr;e.execCommand("mceInsertContent",!1,n)}function i(e){return function(){return e}}function e(e){return e}function r(){return c}var t,g,n=tinymce.util.Tools.resolve("tinymce.PluginManager"),a=function(e){return n=typeof(r=e),(null===r?"null":"object"==n&&(Array.prototype.isPrototypeOf(r)||r.constructor&&"Array"===r.constructor.name)?"array":"object"==n&&(String.prototype.isPrototypeOf(r)||r.constructor&&"String"===r.constructor.name)?"string":n)===t;var r,n},m=i(!(t="array")),o=i(!(g=null)),c={fold:function(e,r){return e()},isSome:m,isNone:o,getOr:e,getOrThunk:u,getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:i(null),getOrUndefined:i(void 0),or:e,orThunk:u,map:r,each:function(){},bind:r,exists:m,forall:o,filter:function(){return c},toArray:function(){return[]},toString:i("none()")};function u(e){return e()}function f(e,r){for(var n=e.length,t=new Array(n),a=0;a>>0===o))throw RangeError("Invalid code point: "+o);16383<=(o<=65535?n.push(o):(o-=65536,n.push(55296+(o>>10),o%1024+56320)))&&(t+=String.fromCharCode.apply(null,n),n.length=0)}return t+String.fromCharCode.apply(null,n)}function v(e,r){var c=[],u=r.toLowerCase();return function(e){for(var r,n,t,a,i=0,o=e.length;i'+r+""),t.selection.select(t.$("#__new").removeAttr("id")[0])},function(e){t.dom.setAttrib(e,"class","language-"+a),e.innerHTML=r,h(t).highlightElement(e),t.selection.select(e)})}),e.close()}})}!function(e,n){var t,a,r=window.Prism;window.Prism={manual:!0},t=this,a=function(){var e,n,h,t,a,r,s,i,o,l,u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:f,c={exports:{}};function y(e,n){return"___"+e.toUpperCase()+n+"___"}return e=c,n=function(u){var c=/\blang(?:uage)?-([\w-]+)\b/i,n=0,e={},j={manual:u.Prism&&u.Prism.manual,disableWorkerMessageHandler:u.Prism&&u.Prism.disableWorkerMessageHandler,util:{encode:function e(n){return n instanceof T?new T(n.type,e(n.content),n.alias):Array.isArray(n)?n.map(e):n.replace(/&/g,"&").replace(/=i.reach);y+=h.value.length,h=h.next){var w=h.value;if(t.length>n.length)return;if(!(w instanceof T)){var k,v=1;if(b){if(!(k=O(f,y,n,g)))break;var _=k.index,x=k.index+k[0].length,F=y;for(F+=h.value.length;F<=_;)F+=(h=h.next).value.length;if(y=F-=h.value.length,h.value instanceof T)continue;for(var P=h;P!==t.tail&&(Fi.reach&&(i.reach=z);var E=h.prev;S&&(E=N(t,E,S),y+=S.length),function(e,n,t){for(var a=n.next,r=0;ri.reach&&(i.reach=C.reach))}}}}(e,r,n,r.head,0),function(e){for(var n=[],t=e.head.next;t!==e.tail;)n.push(t.value),t=t.next;return n}(r)},hooks:{all:{},add:function(e,n){var t=j.hooks.all;t[e]=t[e]||[],t[e].push(n)},run:function(e,n){var t=j.hooks.all[e];if(t&&t.length)for(var a,r=0;a=t[r++];)a(n)}},Token:T};function T(e,n,t,a){this.type=e,this.content=n,this.alias=t,this.length=0|(a||"").length}function O(e,n,t,a){e.lastIndex=n;var r,s=e.exec(t);return s&&a&&s[1]&&(r=s[1].length,s.index+=r,s[0]=s[0].slice(r)),s}function s(){var e={value:null,prev:null,next:null},n={value:null,prev:e,next:null};e.next=n,this.head=e,this.tail=n,this.length=0}function N(e,n,t){var a=n.next,r={value:t,prev:n,next:a};return n.next=r,a.prev=r,e.length++,r}if(u.Prism=j,T.stringify=function n(e,t){if("string"==typeof e)return e;if(Array.isArray(e)){var a="";return e.forEach(function(e){a+=n(e,t)}),a}var r={type:e.type,content:n(e.content,t),tag:"span",classes:["token",e.type],attributes:{},language:t},s=e.alias;s&&(Array.isArray(s)?Array.prototype.push.apply(r.classes,s):r.classes.push(s)),j.hooks.run("wrap",r);var i,o="";for(i in r.attributes)o+=" "+i+'="'+(r.attributes[i]||"").replace(/"/g,""")+'"';return"<"+r.tag+' class="'+r.classes.join(" ")+'"'+o+">"+r.content+""},!u.document)return u.addEventListener&&(j.disableWorkerMessageHandler||u.addEventListener("message",function(e){var n=JSON.parse(e.data),t=n.language,a=n.code,r=n.immediateClose;u.postMessage(j.highlight(a,j.languages[t],t)),r&&u.close()},!1)),j;var t,a=j.util.currentScript();function r(){j.manual||j.highlightAll()}return a&&(j.filename=a.src,a.hasAttribute("data-manual")&&(j.manual=!0)),j.manual||("loading"===(t=document.readyState)||"interactive"===t&&a&&a.defer?document.addEventListener("DOMContentLoaded",r):window.requestAnimationFrame?window.requestAnimationFrame(r):window.setTimeout(r,16)),j}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{}),e.exports&&(e.exports=n),void 0!==u&&(u.Prism=n),Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},h=Prism,Object.defineProperties(h.languages["markup-templating"]={},{buildPlaceholders:{value:function(a,r,e,s){var i;a.language===r&&(i=a.tokenStack=[],a.code=a.code.replace(e,function(e){if("function"==typeof s&&!s(e))return e;for(var n,t=i.length;-1!==a.code.indexOf(n=y(r,t));)++t;return i[t]=e,n}),a.grammar=h.languages.markup)}},tokenizePlaceholders:{value:function(g,b){var m,f;g.language===b&&g.tokenStack&&(g.grammar=h.languages[b],m=0,f=Object.keys(g.tokenStack),function e(n){for(var t=0;t=f.length);t++){var a,r,s,i,o,l,u,c,d,p=n[t];"string"==typeof p||p.content&&"string"==typeof p.content?(a=f[m],r=g.tokenStack[a],s="string"==typeof p?p:p.content,i=y(b,a),-1<(o=s.indexOf(i))&&(++m,l=s.substring(0,o),u=new h.Token(b,h.tokenize(r,g.grammar),"language-"+b,r),c=s.substring(o+i.length),d=[],l&&d.push.apply(d,e([l])),d.push(u),c&&d.push.apply(d,e([c])),"string"==typeof p?n.splice.apply(n,[t,1].concat(d)):p.content=d)):p.content&&e(p.content)}return n}(g.tokens))}}}),Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:__attribute__|_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete Prism.languages.c.boolean,t=Prism,a=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char8_t|char16_t|char32_t|class|compl|concept|const|consteval|constexpr|constinit|const_cast|continue|co_await|co_return|co_yield|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,r=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return a.source}),t.languages.cpp=t.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return a.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:a,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:true|false)\b/}),t.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:module|import)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return r})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),t.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t.languages.cpp}}}}),t.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:t.languages.extend("cpp",{})}}),t.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},t.languages.cpp["base-clause"]),function(t){function a(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function r(e,n,t){return RegExp(a(e,n),t||"")}function e(e,n){for(var t=0;t>/g,function(){return"(?:"+e+")"});return e.replace(/<>/g,"[^\\s\\S]")}var n="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",s="class enum interface record struct",i="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",o="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var u=l(s),c=RegExp(l(n+" "+s+" "+i+" "+o)),d=l(s+" "+i+" "+o),p=l(n+" "+s+" "+o),g=e(/<(?:[^<>;=+\-*/%&|^]|<>)*>/.source,2),b=e(/\((?:[^()]|<>)*\)/.source,2),m=/@?\b[A-Za-z_]\w*\b/.source,f=a(/<<0>>(?:\s*<<1>>)?/.source,[m,g]),h=a(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,f]),y=/\[\s*(?:,\s*)*\]/.source,w=a(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[h,y]),k=a(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[g,b,y]),v=a(/\(<<0>>+(?:,<<0>>+)+\)/.source,[k]),_=a(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[v,h,y]),x={keyword:c,punctuation:/[<>()?,.:[\]]/},F=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,P=/"(?:\\.|[^\\"\r\n])*"/.source;t.languages.csharp=t.languages.extend("clike",{string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source]),lookbehind:!0,greedy:!0},{pattern:r(/(^|[^@$\\])<<0>>/.source,[P]),lookbehind:!0,greedy:!0},{pattern:RegExp(F),greedy:!0,alias:"character"}],"class-name":[{pattern:r(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[h]),lookbehind:!0,inside:x},{pattern:r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[m,_]),lookbehind:!0,inside:x},{pattern:r(/(\busing\s+)<<0>>(?=\s*=)/.source,[m]),lookbehind:!0},{pattern:r(/(\b<<0>>\s+)<<1>>/.source,[u,f]),lookbehind:!0,inside:x},{pattern:r(/(\bcatch\s*\(\s*)<<0>>/.source,[h]),lookbehind:!0,inside:x},{pattern:r(/(\bwhere\s+)<<0>>/.source,[m]),lookbehind:!0},{pattern:r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[w]),lookbehind:!0,inside:x},{pattern:r(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[_,p,m]),inside:x}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:ul|lu|[dflmu])?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),t.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),t.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:r(/([(,]\s*)<<0>>(?=\s*:)/.source,[m]),lookbehind:!0,alias:"punctuation"}}),t.languages.insertBefore("csharp","class-name",{namespace:{pattern:r(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[m]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:r(/(\b(?:default|typeof|sizeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[b]),lookbehind:!0,alias:"class-name",inside:x},"return-type":{pattern:r(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[_,h]),inside:x,alias:"class-name"},"constructor-invocation":{pattern:r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[_]),lookbehind:!0,inside:x,alias:"class-name"},"generic-method":{pattern:r(/<<0>>\s*<<1>>(?=\s*\()/.source,[m,g]),inside:{function:r(/^<<0>>/.source,[m]),generic:{pattern:RegExp(g),alias:"class-name",inside:x}}},"type-list":{pattern:r(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[u,f,m,_,c.source,b,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:r(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[f,b]),lookbehind:!0,greedy:!0,inside:t.languages.csharp},keyword:c,"class-name":{pattern:RegExp(_),greedy:!0,inside:x},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var A=P+"|"+F,S=a(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[A]),$=e(a(/[^"'/()]|<<0>>|\(<>*\)/.source,[S]),2),z=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,E=a(/<<0>>(?:\s*\(<<1>>*\))?/.source,[h,$]);t.languages.insertBefore("csharp","class-name",{attribute:{pattern:r(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[z,E]),lookbehind:!0,greedy:!0,inside:{target:{pattern:r(/^<<0>>(?=\s*:)/.source,[z]),alias:"keyword"},"attribute-arguments":{pattern:r(/\(<<0>>*\)/.source,[$]),inside:t.languages.csharp},"class-name":{pattern:RegExp(h),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var C=/:[^}\r\n]+/.source,j=e(a(/[^"'/()]|<<0>>|\(<>*\)/.source,[S]),2),T=a(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[j,C]),O=e(a(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<>*\)/.source,[A]),2),N=a(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[O,C]);function B(e,n){return{interpolation:{pattern:r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[e]),lookbehind:!0,inside:{"format-string":{pattern:r(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[n,C]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:t.languages.csharp}}},string:/[\s\S]+/}}t.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:r(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[T]),lookbehind:!0,greedy:!0,inside:B(T,j)},{pattern:r(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[N]),lookbehind:!0,greedy:!0,inside:B(N,O)}]})}(Prism),Prism.languages.dotnet=Prism.languages.cs=Prism.languages.csharp,function(e){var n=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+n.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+n.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+n.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:n,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var t=e.languages.markup;t&&(t.tag.addInlined("style","css"),t.tag.addAttribute("style","css"))}(Prism),s=Prism,i=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,o=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,l={pattern:RegExp(o+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}},s.languages.java=s.languages.extend("clike",{"class-name":[l,{pattern:RegExp(o+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:l.inside}],keyword:i,function:[s.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),s.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"}}),s.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":l,keyword:i,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(//g,function(){return i.source})),lookbehind:!0,inside:{punctuation:/\./}}}),Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript,Prism.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,n){var t={};t["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[n]},t.cdata=/^$/i;var a={"included-cdata":{pattern://i,inside:t}};a["language-"+n]={pattern:/[\s\S]+/,inside:Prism.languages[n]};var r={};r[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:a},Prism.languages.insertBefore("markup","cdata",r)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,n){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:Prism.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,function(n){var e=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,t=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],a=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,r=/|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,s=/[{}\[\](),:;]/;n.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:e,variable:/\$+(?:\w+\b|(?=\{))/i,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:bool|boolean|int|integer|float|string|object|array)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:bool|int|float|string|object|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*[\w|]\|\s*)(?:null|false)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?[\w|]\|\s*)(?:null|false)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:null|false)\b/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|match|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:t,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:a,operator:r,punctuation:s};var i={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:n.languages.php},o=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:i}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:i}}];n.languages.insertBefore("php","variable",{string:o,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:e,string:o,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:t,number:a,operator:r,punctuation:s}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),n.hooks.add("before-tokenize",function(e){/<\?/.test(e.code)&&n.languages["markup-templating"].buildPlaceholders(e,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/gi)}),n.hooks.add("after-tokenize",function(e){n.languages["markup-templating"].tokenizePlaceholders(e,"php")})}(Prism),Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/im,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python,function(e){e.languages.ruby=e.languages.extend("clike",{comment:[/#.*/,{pattern:/^=begin\s[\s\S]*?^=end/m,greedy:!0}],"class-name":{pattern:/(\b(?:class)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|protected|private|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/});var n={pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"tag"},rest:e.languages.ruby}};delete e.languages.ruby.function,e.languages.insertBefore("ruby","keyword",{regex:[{pattern:RegExp(/%r/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:n}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:n}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:{pattern:/(^|[^:]):[a-zA-Z_]\w*(?:[?!]|\b)/,lookbehind:!0},"method-definition":{pattern:/(\bdef\s+)[\w.]+/,lookbehind:!0,inside:{function:/\w+$/,rest:e.languages.ruby}}}),e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|Fixnum|Float|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z]\w*(?:[?!]|\b)/}),e.languages.ruby.string=[{pattern:RegExp(/%[qQiIwWxs]?/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"),greedy:!0,inside:{interpolation:n}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:n}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?/}},interpolation:n}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?'|'$/}}}}],e.languages.rb=e.languages.ruby}(Prism),{boltExport:c.exports}},"object"==typeof e&&void 0!==n?n.exports=a():(t="undefined"!=typeof globalThis?globalThis:t||self).EphoxContactWrapper=a();window.Prism;window.Prism=r}(b,m);var k=m.exports.boltExport;t.add("codesample",function(n){var t,r,a,s;function e(){return s.execCommand("codesample")}r=(t=n).$,t.on("PreProcess",function(e){r("pre[contenteditable=false]",e.node).filter(c(u)).each(function(e,n){var t=r(n),a=n.textContent;t.attr("class",r.trim(t.attr("class"))),t.removeAttr("contentEditable"),t.empty().append(r("").each(function(){this.textContent=a}))})}),t.on("SetContent",function(){var e=r("pre").filter(c(u)).filter(function(e,n){return"false"!==n.contentEditable});e.length&&t.undoManager.transact(function(){e.each(function(e,n){r(n).find("br").each(function(e,n){n.parentNode.replaceChild(t.getDoc().createTextNode("\n"),n)}),n.contentEditable="false",n.innerHTML=t.dom.encode(n.textContent),h(t).highlightElement(n),n.className=r.trim(n.className)})})}),(s=n).ui.registry.addToggleButton("codesample",{icon:"code-sample",tooltip:"Insert/edit code sample",onAction:e,onSetup:function(t){function e(){var e,n;t.setActive((n=(e=s).selection.getStart(),e.dom.is(n,'pre[class*="language-"]')))}return s.on("NodeChange",e),function(){return s.off("NodeChange",e)}}}),s.ui.registry.addMenuItem("codesample",{text:"Code sample...",icon:"code-sample",onAction:e}),(a=n).addCommand("codesample",function(){var e=a.selection.getNode();a.selection.isCollapsed()||u(e)?w(a):a.formatter.toggle("code")}),n.on("dblclick",function(e){u(e.target)&&w(n)})})}(); \ No newline at end of file diff --git a/public/static/js/tinymce5/plugins/colorpicker/plugin.min.js b/public/static/js/tinymce5/plugins/colorpicker/plugin.min.js new file mode 100755 index 0000000..4781ad4 --- /dev/null +++ b/public/static/js/tinymce5/plugins/colorpicker/plugin.min.js @@ -0,0 +1,9 @@ +/** + * Copyright (c) Tiny Technologies, Inc. All rights reserved. + * Licensed under the LGPL or a commercial license. + * For LGPL see License.txt in the project root for license information. + * For commercial licenses see https://www.tiny.cloud/ + * + * Version: 5.10.3 (2022-02-09) + */ +!function(){"use strict";tinymce.util.Tools.resolve("tinymce.PluginManager").add("colorpicker",function(){})}(); \ No newline at end of file diff --git a/public/static/js/tinymce5/plugins/contextmenu/plugin.min.js b/public/static/js/tinymce5/plugins/contextmenu/plugin.min.js new file mode 100755 index 0000000..2026ed0 --- /dev/null +++ b/public/static/js/tinymce5/plugins/contextmenu/plugin.min.js @@ -0,0 +1,9 @@ +/** + * Copyright (c) Tiny Technologies, Inc. All rights reserved. + * Licensed under the LGPL or a commercial license. + * For LGPL see License.txt in the project root for license information. + * For commercial licenses see https://www.tiny.cloud/ + * + * Version: 5.10.3 (2022-02-09) + */ +!function(){"use strict";tinymce.util.Tools.resolve("tinymce.PluginManager").add("contextmenu",function(){})}(); \ No newline at end of file diff --git a/public/static/js/tinymce5/plugins/directionality/plugin.min.js b/public/static/js/tinymce5/plugins/directionality/plugin.min.js new file mode 100755 index 0000000..d563476 --- /dev/null +++ b/public/static/js/tinymce5/plugins/directionality/plugin.min.js @@ -0,0 +1,9 @@ +/** + * Copyright (c) Tiny Technologies, Inc. All rights reserved. + * Licensed under the LGPL or a commercial license. + * For LGPL see License.txt in the project root for license information. + * For commercial licenses see https://www.tiny.cloud/ + * + * Version: 5.10.3 (2022-02-09) + */ +!function(){"use strict";function n(t){return function(n){return typeof n===t}}function u(n){return function(){return n}}function t(n){return n}function r(){return d}var o,e=tinymce.util.Tools.resolve("tinymce.PluginManager"),i=function(n){return r=typeof(t=n),(null===t?"null":"object"==r&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"==r&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":r)===o;var t,r},c=n("boolean"),f=n("function"),l=n("number"),a=u(!(o="string")),m=u(!0),d={fold:function(n,t){return n()},isSome:a,isNone:m,getOr:t,getOrThunk:s,getOrDie:function(n){throw new Error(n||"error: getOrDie called on none.")},getOrNull:u(null),getOrUndefined:u(void 0),or:t,orThunk:s,map:r,each:function(){},bind:r,exists:a,forall:m,filter:function(){return d},toArray:function(){return[]},toString:u("none()")};function s(n){return n()}function g(n,t){for(var r=0,o=n.length;r', + fitzpatrick_scale: false, + category: "symbols" + }, + 1234: { + keywords: [ "numbers", "blue-square" ], + char: '\ud83d\udd22', + fitzpatrick_scale: false, + category: "symbols" + }, + grinning: { + keywords: [ "face", "smile", "happy", "joy", ":D", "grin" ], + char: '\ud83d\ude00', + fitzpatrick_scale: false, + category: "people" + }, + grimacing: { + keywords: [ "face", "grimace", "teeth" ], + char: '\ud83d\ude2c', + fitzpatrick_scale: false, + category: "people" + }, + grin: { + keywords: [ "face", "happy", "smile", "joy", "kawaii" ], + char: '\ud83d\ude01', + fitzpatrick_scale: false, + category: "people" + }, + joy: { + keywords: [ "face", "cry", "tears", "weep", "happy", "happytears", "haha" ], + char: '\ud83d\ude02', + fitzpatrick_scale: false, + category: "people" + }, + rofl: { + keywords: [ "face", "rolling", "floor", "laughing", "lol", "haha" ], + char: '\ud83e\udd23', + fitzpatrick_scale: false, + category: "people" + }, + partying: { + keywords: [ "face", "celebration", "woohoo" ], + char: '\ud83e\udd73', + fitzpatrick_scale: false, + category: "people" + }, + smiley: { + keywords: [ "face", "happy", "joy", "haha", ":D", ":)", "smile", "funny" ], + char: '\ud83d\ude03', + fitzpatrick_scale: false, + category: "people" + }, + smile: { + keywords: [ "face", "happy", "joy", "funny", "haha", "laugh", "like", ":D", ":)" ], + char: '\ud83d\ude04', + fitzpatrick_scale: false, + category: "people" + }, + sweat_smile: { + keywords: [ "face", "hot", "happy", "laugh", "sweat", "smile", "relief" ], + char: '\ud83d\ude05', + fitzpatrick_scale: false, + category: "people" + }, + laughing: { + keywords: [ "happy", "joy", "lol", "satisfied", "haha", "face", "glad", "XD", "laugh" ], + char: '\ud83d\ude06', + fitzpatrick_scale: false, + category: "people" + }, + innocent: { + keywords: [ "face", "angel", "heaven", "halo" ], + char: '\ud83d\ude07', + fitzpatrick_scale: false, + category: "people" + }, + wink: { + keywords: [ "face", "happy", "mischievous", "secret", ";)", "smile", "eye" ], + char: '\ud83d\ude09', + fitzpatrick_scale: false, + category: "people" + }, + blush: { + keywords: [ "face", "smile", "happy", "flushed", "crush", "embarrassed", "shy", "joy" ], + char: '\ud83d\ude0a', + fitzpatrick_scale: false, + category: "people" + }, + slightly_smiling_face: { + keywords: [ "face", "smile" ], + char: '\ud83d\ude42', + fitzpatrick_scale: false, + category: "people" + }, + upside_down_face: { + keywords: [ "face", "flipped", "silly", "smile" ], + char: '\ud83d\ude43', + fitzpatrick_scale: false, + category: "people" + }, + relaxed: { + keywords: [ "face", "blush", "massage", "happiness" ], + char: '\u263a\ufe0f', + fitzpatrick_scale: false, + category: "people" + }, + yum: { + keywords: [ "happy", "joy", "tongue", "smile", "face", "silly", "yummy", "nom", "delicious", "savouring" ], + char: '\ud83d\ude0b', + fitzpatrick_scale: false, + category: "people" + }, + relieved: { + keywords: [ "face", "relaxed", "phew", "massage", "happiness" ], + char: '\ud83d\ude0c', + fitzpatrick_scale: false, + category: "people" + }, + heart_eyes: { + keywords: [ "face", "love", "like", "affection", "valentines", "infatuation", "crush", "heart" ], + char: '\ud83d\ude0d', + fitzpatrick_scale: false, + category: "people" + }, + smiling_face_with_three_hearts: { + keywords: [ "face", "love", "like", "affection", "valentines", "infatuation", "crush", "hearts", "adore" ], + char: '\ud83e\udd70', + fitzpatrick_scale: false, + category: "people" + }, + kissing_heart: { + keywords: [ "face", "love", "like", "affection", "valentines", "infatuation", "kiss" ], + char: '\ud83d\ude18', + fitzpatrick_scale: false, + category: "people" + }, + kissing: { + keywords: [ "love", "like", "face", "3", "valentines", "infatuation", "kiss" ], + char: '\ud83d\ude17', + fitzpatrick_scale: false, + category: "people" + }, + kissing_smiling_eyes: { + keywords: [ "face", "affection", "valentines", "infatuation", "kiss" ], + char: '\ud83d\ude19', + fitzpatrick_scale: false, + category: "people" + }, + kissing_closed_eyes: { + keywords: [ "face", "love", "like", "affection", "valentines", "infatuation", "kiss" ], + char: '\ud83d\ude1a', + fitzpatrick_scale: false, + category: "people" + }, + stuck_out_tongue_winking_eye: { + keywords: [ "face", "prank", "childish", "playful", "mischievous", "smile", "wink", "tongue" ], + char: '\ud83d\ude1c', + fitzpatrick_scale: false, + category: "people" + }, + zany: { + keywords: [ "face", "goofy", "crazy" ], + char: '\ud83e\udd2a', + fitzpatrick_scale: false, + category: "people" + }, + raised_eyebrow: { + keywords: [ "face", "distrust", "scepticism", "disapproval", "disbelief", "surprise" ], + char: '\ud83e\udd28', + fitzpatrick_scale: false, + category: "people" + }, + monocle: { + keywords: [ "face", "stuffy", "wealthy" ], + char: '\ud83e\uddd0', + fitzpatrick_scale: false, + category: "people" + }, + stuck_out_tongue_closed_eyes: { + keywords: [ "face", "prank", "playful", "mischievous", "smile", "tongue" ], + char: '\ud83d\ude1d', + fitzpatrick_scale: false, + category: "people" + }, + stuck_out_tongue: { + keywords: [ "face", "prank", "childish", "playful", "mischievous", "smile", "tongue" ], + char: '\ud83d\ude1b', + fitzpatrick_scale: false, + category: "people" + }, + money_mouth_face: { + keywords: [ "face", "rich", "dollar", "money" ], + char: '\ud83e\udd11', + fitzpatrick_scale: false, + category: "people" + }, + nerd_face: { + keywords: [ "face", "nerdy", "geek", "dork" ], + char: '\ud83e\udd13', + fitzpatrick_scale: false, + category: "people" + }, + sunglasses: { + keywords: [ "face", "cool", "smile", "summer", "beach", "sunglass" ], + char: '\ud83d\ude0e', + fitzpatrick_scale: false, + category: "people" + }, + star_struck: { + keywords: [ "face", "smile", "starry", "eyes", "grinning" ], + char: '\ud83e\udd29', + fitzpatrick_scale: false, + category: "people" + }, + clown_face: { + keywords: [ "face" ], + char: '\ud83e\udd21', + fitzpatrick_scale: false, + category: "people" + }, + cowboy_hat_face: { + keywords: [ "face", "cowgirl", "hat" ], + char: '\ud83e\udd20', + fitzpatrick_scale: false, + category: "people" + }, + hugs: { + keywords: [ "face", "smile", "hug" ], + char: '\ud83e\udd17', + fitzpatrick_scale: false, + category: "people" + }, + smirk: { + keywords: [ "face", "smile", "mean", "prank", "smug", "sarcasm" ], + char: '\ud83d\ude0f', + fitzpatrick_scale: false, + category: "people" + }, + no_mouth: { + keywords: [ "face", "hellokitty" ], + char: '\ud83d\ude36', + fitzpatrick_scale: false, + category: "people" + }, + neutral_face: { + keywords: [ "indifference", "meh", ":|", "neutral" ], + char: '\ud83d\ude10', + fitzpatrick_scale: false, + category: "people" + }, + expressionless: { + keywords: [ "face", "indifferent", "-_-", "meh", "deadpan" ], + char: '\ud83d\ude11', + fitzpatrick_scale: false, + category: "people" + }, + unamused: { + keywords: [ "indifference", "bored", "straight face", "serious", "sarcasm", "unimpressed", "skeptical", "dubious", "side_eye" ], + char: '\ud83d\ude12', + fitzpatrick_scale: false, + category: "people" + }, + roll_eyes: { + keywords: [ "face", "eyeroll", "frustrated" ], + char: '\ud83d\ude44', + fitzpatrick_scale: false, + category: "people" + }, + thinking: { + keywords: [ "face", "hmmm", "think", "consider" ], + char: '\ud83e\udd14', + fitzpatrick_scale: false, + category: "people" + }, + lying_face: { + keywords: [ "face", "lie", "pinocchio" ], + char: '\ud83e\udd25', + fitzpatrick_scale: false, + category: "people" + }, + hand_over_mouth: { + keywords: [ "face", "whoops", "shock", "surprise" ], + char: '\ud83e\udd2d', + fitzpatrick_scale: false, + category: "people" + }, + shushing: { + keywords: [ "face", "quiet", "shhh" ], + char: '\ud83e\udd2b', + fitzpatrick_scale: false, + category: "people" + }, + symbols_over_mouth: { + keywords: [ "face", "swearing", "cursing", "cussing", "profanity", "expletive" ], + char: '\ud83e\udd2c', + fitzpatrick_scale: false, + category: "people" + }, + exploding_head: { + keywords: [ "face", "shocked", "mind", "blown" ], + char: '\ud83e\udd2f', + fitzpatrick_scale: false, + category: "people" + }, + flushed: { + keywords: [ "face", "blush", "shy", "flattered" ], + char: '\ud83d\ude33', + fitzpatrick_scale: false, + category: "people" + }, + disappointed: { + keywords: [ "face", "sad", "upset", "depressed", ":(" ], + char: '\ud83d\ude1e', + fitzpatrick_scale: false, + category: "people" + }, + worried: { + keywords: [ "face", "concern", "nervous", ":(" ], + char: '\ud83d\ude1f', + fitzpatrick_scale: false, + category: "people" + }, + angry: { + keywords: [ "mad", "face", "annoyed", "frustrated" ], + char: '\ud83d\ude20', + fitzpatrick_scale: false, + category: "people" + }, + rage: { + keywords: [ "angry", "mad", "hate", "despise" ], + char: '\ud83d\ude21', + fitzpatrick_scale: false, + category: "people" + }, + pensive: { + keywords: [ "face", "sad", "depressed", "upset" ], + char: '\ud83d\ude14', + fitzpatrick_scale: false, + category: "people" + }, + confused: { + keywords: [ "face", "indifference", "huh", "weird", "hmmm", ":/" ], + char: '\ud83d\ude15', + fitzpatrick_scale: false, + category: "people" + }, + slightly_frowning_face: { + keywords: [ "face", "frowning", "disappointed", "sad", "upset" ], + char: '\ud83d\ude41', + fitzpatrick_scale: false, + category: "people" + }, + frowning_face: { + keywords: [ "face", "sad", "upset", "frown" ], + char: '\u2639', + fitzpatrick_scale: false, + category: "people" + }, + persevere: { + keywords: [ "face", "sick", "no", "upset", "oops" ], + char: '\ud83d\ude23', + fitzpatrick_scale: false, + category: "people" + }, + confounded: { + keywords: [ "face", "confused", "sick", "unwell", "oops", ":S" ], + char: '\ud83d\ude16', + fitzpatrick_scale: false, + category: "people" + }, + tired_face: { + keywords: [ "sick", "whine", "upset", "frustrated" ], + char: '\ud83d\ude2b', + fitzpatrick_scale: false, + category: "people" + }, + weary: { + keywords: [ "face", "tired", "sleepy", "sad", "frustrated", "upset" ], + char: '\ud83d\ude29', + fitzpatrick_scale: false, + category: "people" + }, + pleading: { + keywords: [ "face", "begging", "mercy" ], + char: '\ud83e\udd7a', + fitzpatrick_scale: false, + category: "people" + }, + triumph: { + keywords: [ "face", "gas", "phew", "proud", "pride" ], + char: '\ud83d\ude24', + fitzpatrick_scale: false, + category: "people" + }, + open_mouth: { + keywords: [ "face", "surprise", "impressed", "wow", "whoa", ":O" ], + char: '\ud83d\ude2e', + fitzpatrick_scale: false, + category: "people" + }, + scream: { + keywords: [ "face", "munch", "scared", "omg" ], + char: '\ud83d\ude31', + fitzpatrick_scale: false, + category: "people" + }, + fearful: { + keywords: [ "face", "scared", "terrified", "nervous", "oops", "huh" ], + char: '\ud83d\ude28', + fitzpatrick_scale: false, + category: "people" + }, + cold_sweat: { + keywords: [ "face", "nervous", "sweat" ], + char: '\ud83d\ude30', + fitzpatrick_scale: false, + category: "people" + }, + hushed: { + keywords: [ "face", "woo", "shh" ], + char: '\ud83d\ude2f', + fitzpatrick_scale: false, + category: "people" + }, + frowning: { + keywords: [ "face", "aw", "what" ], + char: '\ud83d\ude26', + fitzpatrick_scale: false, + category: "people" + }, + anguished: { + keywords: [ "face", "stunned", "nervous" ], + char: '\ud83d\ude27', + fitzpatrick_scale: false, + category: "people" + }, + cry: { + keywords: [ "face", "tears", "sad", "depressed", "upset", ":'(" ], + char: '\ud83d\ude22', + fitzpatrick_scale: false, + category: "people" + }, + disappointed_relieved: { + keywords: [ "face", "phew", "sweat", "nervous" ], + char: '\ud83d\ude25', + fitzpatrick_scale: false, + category: "people" + }, + drooling_face: { + keywords: [ "face" ], + char: '\ud83e\udd24', + fitzpatrick_scale: false, + category: "people" + }, + sleepy: { + keywords: [ "face", "tired", "rest", "nap" ], + char: '\ud83d\ude2a', + fitzpatrick_scale: false, + category: "people" + }, + sweat: { + keywords: [ "face", "hot", "sad", "tired", "exercise" ], + char: '\ud83d\ude13', + fitzpatrick_scale: false, + category: "people" + }, + hot: { + keywords: [ "face", "feverish", "heat", "red", "sweating" ], + char: '\ud83e\udd75', + fitzpatrick_scale: false, + category: "people" + }, + cold: { + keywords: [ "face", "blue", "freezing", "frozen", "frostbite", "icicles" ], + char: '\ud83e\udd76', + fitzpatrick_scale: false, + category: "people" + }, + sob: { + keywords: [ "face", "cry", "tears", "sad", "upset", "depressed" ], + char: '\ud83d\ude2d', + fitzpatrick_scale: false, + category: "people" + }, + dizzy_face: { + keywords: [ "spent", "unconscious", "xox", "dizzy" ], + char: '\ud83d\ude35', + fitzpatrick_scale: false, + category: "people" + }, + astonished: { + keywords: [ "face", "xox", "surprised", "poisoned" ], + char: '\ud83d\ude32', + fitzpatrick_scale: false, + category: "people" + }, + zipper_mouth_face: { + keywords: [ "face", "sealed", "zipper", "secret" ], + char: '\ud83e\udd10', + fitzpatrick_scale: false, + category: "people" + }, + nauseated_face: { + keywords: [ "face", "vomit", "gross", "green", "sick", "throw up", "ill" ], + char: '\ud83e\udd22', + fitzpatrick_scale: false, + category: "people" + }, + sneezing_face: { + keywords: [ "face", "gesundheit", "sneeze", "sick", "allergy" ], + char: '\ud83e\udd27', + fitzpatrick_scale: false, + category: "people" + }, + vomiting: { + keywords: [ "face", "sick" ], + char: '\ud83e\udd2e', + fitzpatrick_scale: false, + category: "people" + }, + mask: { + keywords: [ "face", "sick", "ill", "disease" ], + char: '\ud83d\ude37', + fitzpatrick_scale: false, + category: "people" + }, + face_with_thermometer: { + keywords: [ "sick", "temperature", "thermometer", "cold", "fever" ], + char: '\ud83e\udd12', + fitzpatrick_scale: false, + category: "people" + }, + face_with_head_bandage: { + keywords: [ "injured", "clumsy", "bandage", "hurt" ], + char: '\ud83e\udd15', + fitzpatrick_scale: false, + category: "people" + }, + woozy: { + keywords: [ "face", "dizzy", "intoxicated", "tipsy", "wavy" ], + char: '\ud83e\udd74', + fitzpatrick_scale: false, + category: "people" + }, + sleeping: { + keywords: [ "face", "tired", "sleepy", "night", "zzz" ], + char: '\ud83d\ude34', + fitzpatrick_scale: false, + category: "people" + }, + zzz: { + keywords: [ "sleepy", "tired", "dream" ], + char: '\ud83d\udca4', + fitzpatrick_scale: false, + category: "people" + }, + poop: { + keywords: [ "hankey", "shitface", "fail", "turd", "shit" ], + char: '\ud83d\udca9', + fitzpatrick_scale: false, + category: "people" + }, + smiling_imp: { + keywords: [ "devil", "horns" ], + char: '\ud83d\ude08', + fitzpatrick_scale: false, + category: "people" + }, + imp: { + keywords: [ "devil", "angry", "horns" ], + char: '\ud83d\udc7f', + fitzpatrick_scale: false, + category: "people" + }, + japanese_ogre: { + keywords: [ "monster", "red", "mask", "halloween", "scary", "creepy", "devil", "demon", "japanese", "ogre" ], + char: '\ud83d\udc79', + fitzpatrick_scale: false, + category: "people" + }, + japanese_goblin: { + keywords: [ "red", "evil", "mask", "monster", "scary", "creepy", "japanese", "goblin" ], + char: '\ud83d\udc7a', + fitzpatrick_scale: false, + category: "people" + }, + skull: { + keywords: [ "dead", "skeleton", "creepy", "death" ], + char: '\ud83d\udc80', + fitzpatrick_scale: false, + category: "people" + }, + ghost: { + keywords: [ "halloween", "spooky", "scary" ], + char: '\ud83d\udc7b', + fitzpatrick_scale: false, + category: "people" + }, + alien: { + keywords: [ "UFO", "paul", "weird", "outer_space" ], + char: '\ud83d\udc7d', + fitzpatrick_scale: false, + category: "people" + }, + robot: { + keywords: [ "computer", "machine", "bot" ], + char: '\ud83e\udd16', + fitzpatrick_scale: false, + category: "people" + }, + smiley_cat: { + keywords: [ "animal", "cats", "happy", "smile" ], + char: '\ud83d\ude3a', + fitzpatrick_scale: false, + category: "people" + }, + smile_cat: { + keywords: [ "animal", "cats", "smile" ], + char: '\ud83d\ude38', + fitzpatrick_scale: false, + category: "people" + }, + joy_cat: { + keywords: [ "animal", "cats", "haha", "happy", "tears" ], + char: '\ud83d\ude39', + fitzpatrick_scale: false, + category: "people" + }, + heart_eyes_cat: { + keywords: [ "animal", "love", "like", "affection", "cats", "valentines", "heart" ], + char: '\ud83d\ude3b', + fitzpatrick_scale: false, + category: "people" + }, + smirk_cat: { + keywords: [ "animal", "cats", "smirk" ], + char: '\ud83d\ude3c', + fitzpatrick_scale: false, + category: "people" + }, + kissing_cat: { + keywords: [ "animal", "cats", "kiss" ], + char: '\ud83d\ude3d', + fitzpatrick_scale: false, + category: "people" + }, + scream_cat: { + keywords: [ "animal", "cats", "munch", "scared", "scream" ], + char: '\ud83d\ude40', + fitzpatrick_scale: false, + category: "people" + }, + crying_cat_face: { + keywords: [ "animal", "tears", "weep", "sad", "cats", "upset", "cry" ], + char: '\ud83d\ude3f', + fitzpatrick_scale: false, + category: "people" + }, + pouting_cat: { + keywords: [ "animal", "cats" ], + char: '\ud83d\ude3e', + fitzpatrick_scale: false, + category: "people" + }, + palms_up: { + keywords: [ "hands", "gesture", "cupped", "prayer" ], + char: '\ud83e\udd32', + fitzpatrick_scale: true, + category: "people" + }, + raised_hands: { + keywords: [ "gesture", "hooray", "yea", "celebration", "hands" ], + char: '\ud83d\ude4c', + fitzpatrick_scale: true, + category: "people" + }, + clap: { + keywords: [ "hands", "praise", "applause", "congrats", "yay" ], + char: '\ud83d\udc4f', + fitzpatrick_scale: true, + category: "people" + }, + wave: { + keywords: [ "hands", "gesture", "goodbye", "solong", "farewell", "hello", "hi", "palm" ], + char: '\ud83d\udc4b', + fitzpatrick_scale: true, + category: "people" + }, + call_me_hand: { + keywords: [ "hands", "gesture" ], + char: '\ud83e\udd19', + fitzpatrick_scale: true, + category: "people" + }, + "+1": { + keywords: [ "thumbsup", "yes", "awesome", "good", "agree", "accept", "cool", "hand", "like" ], + char: '\ud83d\udc4d', + fitzpatrick_scale: true, + category: "people" + }, + "-1": { + keywords: [ "thumbsdown", "no", "dislike", "hand" ], + char: '\ud83d\udc4e', + fitzpatrick_scale: true, + category: "people" + }, + facepunch: { + keywords: [ "angry", "violence", "fist", "hit", "attack", "hand" ], + char: '\ud83d\udc4a', + fitzpatrick_scale: true, + category: "people" + }, + fist: { + keywords: [ "fingers", "hand", "grasp" ], + char: '\u270a', + fitzpatrick_scale: true, + category: "people" + }, + fist_left: { + keywords: [ "hand", "fistbump" ], + char: '\ud83e\udd1b', + fitzpatrick_scale: true, + category: "people" + }, + fist_right: { + keywords: [ "hand", "fistbump" ], + char: '\ud83e\udd1c', + fitzpatrick_scale: true, + category: "people" + }, + v: { + keywords: [ "fingers", "ohyeah", "hand", "peace", "victory", "two" ], + char: '\u270c', + fitzpatrick_scale: true, + category: "people" + }, + ok_hand: { + keywords: [ "fingers", "limbs", "perfect", "ok", "okay" ], + char: '\ud83d\udc4c', + fitzpatrick_scale: true, + category: "people" + }, + raised_hand: { + keywords: [ "fingers", "stop", "highfive", "palm", "ban" ], + char: '\u270b', + fitzpatrick_scale: true, + category: "people" + }, + raised_back_of_hand: { + keywords: [ "fingers", "raised", "backhand" ], + char: '\ud83e\udd1a', + fitzpatrick_scale: true, + category: "people" + }, + open_hands: { + keywords: [ "fingers", "butterfly", "hands", "open" ], + char: '\ud83d\udc50', + fitzpatrick_scale: true, + category: "people" + }, + muscle: { + keywords: [ "arm", "flex", "hand", "summer", "strong", "biceps" ], + char: '\ud83d\udcaa', + fitzpatrick_scale: true, + category: "people" + }, + pray: { + keywords: [ "please", "hope", "wish", "namaste", "highfive" ], + char: '\ud83d\ude4f', + fitzpatrick_scale: true, + category: "people" + }, + foot: { + keywords: [ "kick", "stomp" ], + char: '\ud83e\uddb6', + fitzpatrick_scale: true, + category: "people" + }, + leg: { + keywords: [ "kick", "limb" ], + char: '\ud83e\uddb5', + fitzpatrick_scale: true, + category: "people" + }, + handshake: { + keywords: [ "agreement", "shake" ], + char: '\ud83e\udd1d', + fitzpatrick_scale: false, + category: "people" + }, + point_up: { + keywords: [ "hand", "fingers", "direction", "up" ], + char: '\u261d', + fitzpatrick_scale: true, + category: "people" + }, + point_up_2: { + keywords: [ "fingers", "hand", "direction", "up" ], + char: '\ud83d\udc46', + fitzpatrick_scale: true, + category: "people" + }, + point_down: { + keywords: [ "fingers", "hand", "direction", "down" ], + char: '\ud83d\udc47', + fitzpatrick_scale: true, + category: "people" + }, + point_left: { + keywords: [ "direction", "fingers", "hand", "left" ], + char: '\ud83d\udc48', + fitzpatrick_scale: true, + category: "people" + }, + point_right: { + keywords: [ "fingers", "hand", "direction", "right" ], + char: '\ud83d\udc49', + fitzpatrick_scale: true, + category: "people" + }, + fu: { + keywords: [ "hand", "fingers", "rude", "middle", "flipping" ], + char: '\ud83d\udd95', + fitzpatrick_scale: true, + category: "people" + }, + raised_hand_with_fingers_splayed: { + keywords: [ "hand", "fingers", "palm" ], + char: '\ud83d\udd90', + fitzpatrick_scale: true, + category: "people" + }, + love_you: { + keywords: [ "hand", "fingers", "gesture" ], + char: '\ud83e\udd1f', + fitzpatrick_scale: true, + category: "people" + }, + metal: { + keywords: [ "hand", "fingers", "evil_eye", "sign_of_horns", "rock_on" ], + char: '\ud83e\udd18', + fitzpatrick_scale: true, + category: "people" + }, + crossed_fingers: { + keywords: [ "good", "lucky" ], + char: '\ud83e\udd1e', + fitzpatrick_scale: true, + category: "people" + }, + vulcan_salute: { + keywords: [ "hand", "fingers", "spock", "star trek" ], + char: '\ud83d\udd96', + fitzpatrick_scale: true, + category: "people" + }, + writing_hand: { + keywords: [ "lower_left_ballpoint_pen", "stationery", "write", "compose" ], + char: '\u270d', + fitzpatrick_scale: true, + category: "people" + }, + selfie: { + keywords: [ "camera", "phone" ], + char: '\ud83e\udd33', + fitzpatrick_scale: true, + category: "people" + }, + nail_care: { + keywords: [ "beauty", "manicure", "finger", "fashion", "nail" ], + char: '\ud83d\udc85', + fitzpatrick_scale: true, + category: "people" + }, + lips: { + keywords: [ "mouth", "kiss" ], + char: '\ud83d\udc44', + fitzpatrick_scale: false, + category: "people" + }, + tooth: { + keywords: [ "teeth", "dentist" ], + char: '\ud83e\uddb7', + fitzpatrick_scale: false, + category: "people" + }, + tongue: { + keywords: [ "mouth", "playful" ], + char: '\ud83d\udc45', + fitzpatrick_scale: false, + category: "people" + }, + ear: { + keywords: [ "face", "hear", "sound", "listen" ], + char: '\ud83d\udc42', + fitzpatrick_scale: true, + category: "people" + }, + nose: { + keywords: [ "smell", "sniff" ], + char: '\ud83d\udc43', + fitzpatrick_scale: true, + category: "people" + }, + eye: { + keywords: [ "face", "look", "see", "watch", "stare" ], + char: '\ud83d\udc41', + fitzpatrick_scale: false, + category: "people" + }, + eyes: { + keywords: [ "look", "watch", "stalk", "peek", "see" ], + char: '\ud83d\udc40', + fitzpatrick_scale: false, + category: "people" + }, + brain: { + keywords: [ "smart", "intelligent" ], + char: '\ud83e\udde0', + fitzpatrick_scale: false, + category: "people" + }, + bust_in_silhouette: { + keywords: [ "user", "person", "human" ], + char: '\ud83d\udc64', + fitzpatrick_scale: false, + category: "people" + }, + busts_in_silhouette: { + keywords: [ "user", "person", "human", "group", "team" ], + char: '\ud83d\udc65', + fitzpatrick_scale: false, + category: "people" + }, + speaking_head: { + keywords: [ "user", "person", "human", "sing", "say", "talk" ], + char: '\ud83d\udde3', + fitzpatrick_scale: false, + category: "people" + }, + baby: { + keywords: [ "child", "boy", "girl", "toddler" ], + char: '\ud83d\udc76', + fitzpatrick_scale: true, + category: "people" + }, + child: { + keywords: [ "gender-neutral", "young" ], + char: '\ud83e\uddd2', + fitzpatrick_scale: true, + category: "people" + }, + boy: { + keywords: [ "man", "male", "guy", "teenager" ], + char: '\ud83d\udc66', + fitzpatrick_scale: true, + category: "people" + }, + girl: { + keywords: [ "female", "woman", "teenager" ], + char: '\ud83d\udc67', + fitzpatrick_scale: true, + category: "people" + }, + adult: { + keywords: [ "gender-neutral", "person" ], + char: '\ud83e\uddd1', + fitzpatrick_scale: true, + category: "people" + }, + man: { + keywords: [ "mustache", "father", "dad", "guy", "classy", "sir", "moustache" ], + char: '\ud83d\udc68', + fitzpatrick_scale: true, + category: "people" + }, + woman: { + keywords: [ "female", "girls", "lady" ], + char: '\ud83d\udc69', + fitzpatrick_scale: true, + category: "people" + }, + blonde_woman: { + keywords: [ "woman", "female", "girl", "blonde", "person" ], + char: '\ud83d\udc71\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + blonde_man: { + keywords: [ "man", "male", "boy", "blonde", "guy", "person" ], + char: '\ud83d\udc71', + fitzpatrick_scale: true, + category: "people" + }, + bearded_person: { + keywords: [ "person", "bewhiskered" ], + char: '\ud83e\uddd4', + fitzpatrick_scale: true, + category: "people" + }, + older_adult: { + keywords: [ "human", "elder", "senior", "gender-neutral" ], + char: '\ud83e\uddd3', + fitzpatrick_scale: true, + category: "people" + }, + older_man: { + keywords: [ "human", "male", "men", "old", "elder", "senior" ], + char: '\ud83d\udc74', + fitzpatrick_scale: true, + category: "people" + }, + older_woman: { + keywords: [ "human", "female", "women", "lady", "old", "elder", "senior" ], + char: '\ud83d\udc75', + fitzpatrick_scale: true, + category: "people" + }, + man_with_gua_pi_mao: { + keywords: [ "male", "boy", "chinese" ], + char: '\ud83d\udc72', + fitzpatrick_scale: true, + category: "people" + }, + woman_with_headscarf: { + keywords: [ "female", "hijab", "mantilla", "tichel" ], + char: '\ud83e\uddd5', + fitzpatrick_scale: true, + category: "people" + }, + woman_with_turban: { + keywords: [ "female", "indian", "hinduism", "arabs", "woman" ], + char: '\ud83d\udc73\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + man_with_turban: { + keywords: [ "male", "indian", "hinduism", "arabs" ], + char: '\ud83d\udc73', + fitzpatrick_scale: true, + category: "people" + }, + policewoman: { + keywords: [ "woman", "police", "law", "legal", "enforcement", "arrest", "911", "female" ], + char: '\ud83d\udc6e\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + policeman: { + keywords: [ "man", "police", "law", "legal", "enforcement", "arrest", "911" ], + char: '\ud83d\udc6e', + fitzpatrick_scale: true, + category: "people" + }, + construction_worker_woman: { + keywords: [ "female", "human", "wip", "build", "construction", "worker", "labor", "woman" ], + char: '\ud83d\udc77\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + construction_worker_man: { + keywords: [ "male", "human", "wip", "guy", "build", "construction", "worker", "labor" ], + char: '\ud83d\udc77', + fitzpatrick_scale: true, + category: "people" + }, + guardswoman: { + keywords: [ "uk", "gb", "british", "female", "royal", "woman" ], + char: '\ud83d\udc82\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + guardsman: { + keywords: [ "uk", "gb", "british", "male", "guy", "royal" ], + char: '\ud83d\udc82', + fitzpatrick_scale: true, + category: "people" + }, + female_detective: { + keywords: [ "human", "spy", "detective", "female", "woman" ], + char: '\ud83d\udd75\ufe0f\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + male_detective: { + keywords: [ "human", "spy", "detective" ], + char: '\ud83d\udd75', + fitzpatrick_scale: true, + category: "people" + }, + woman_health_worker: { + keywords: [ "doctor", "nurse", "therapist", "healthcare", "woman", "human" ], + char: '\ud83d\udc69\u200d\u2695\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + man_health_worker: { + keywords: [ "doctor", "nurse", "therapist", "healthcare", "man", "human" ], + char: '\ud83d\udc68\u200d\u2695\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + woman_farmer: { + keywords: [ "rancher", "gardener", "woman", "human" ], + char: '\ud83d\udc69\u200d\ud83c\udf3e', + fitzpatrick_scale: true, + category: "people" + }, + man_farmer: { + keywords: [ "rancher", "gardener", "man", "human" ], + char: '\ud83d\udc68\u200d\ud83c\udf3e', + fitzpatrick_scale: true, + category: "people" + }, + woman_cook: { + keywords: [ "chef", "woman", "human" ], + char: '\ud83d\udc69\u200d\ud83c\udf73', + fitzpatrick_scale: true, + category: "people" + }, + man_cook: { + keywords: [ "chef", "man", "human" ], + char: '\ud83d\udc68\u200d\ud83c\udf73', + fitzpatrick_scale: true, + category: "people" + }, + woman_student: { + keywords: [ "graduate", "woman", "human" ], + char: '\ud83d\udc69\u200d\ud83c\udf93', + fitzpatrick_scale: true, + category: "people" + }, + man_student: { + keywords: [ "graduate", "man", "human" ], + char: '\ud83d\udc68\u200d\ud83c\udf93', + fitzpatrick_scale: true, + category: "people" + }, + woman_singer: { + keywords: [ "rockstar", "entertainer", "woman", "human" ], + char: '\ud83d\udc69\u200d\ud83c\udfa4', + fitzpatrick_scale: true, + category: "people" + }, + man_singer: { + keywords: [ "rockstar", "entertainer", "man", "human" ], + char: '\ud83d\udc68\u200d\ud83c\udfa4', + fitzpatrick_scale: true, + category: "people" + }, + woman_teacher: { + keywords: [ "instructor", "professor", "woman", "human" ], + char: '\ud83d\udc69\u200d\ud83c\udfeb', + fitzpatrick_scale: true, + category: "people" + }, + man_teacher: { + keywords: [ "instructor", "professor", "man", "human" ], + char: '\ud83d\udc68\u200d\ud83c\udfeb', + fitzpatrick_scale: true, + category: "people" + }, + woman_factory_worker: { + keywords: [ "assembly", "industrial", "woman", "human" ], + char: '\ud83d\udc69\u200d\ud83c\udfed', + fitzpatrick_scale: true, + category: "people" + }, + man_factory_worker: { + keywords: [ "assembly", "industrial", "man", "human" ], + char: '\ud83d\udc68\u200d\ud83c\udfed', + fitzpatrick_scale: true, + category: "people" + }, + woman_technologist: { + keywords: [ "coder", "developer", "engineer", "programmer", "software", "woman", "human", "laptop", "computer" ], + char: '\ud83d\udc69\u200d\ud83d\udcbb', + fitzpatrick_scale: true, + category: "people" + }, + man_technologist: { + keywords: [ "coder", "developer", "engineer", "programmer", "software", "man", "human", "laptop", "computer" ], + char: '\ud83d\udc68\u200d\ud83d\udcbb', + fitzpatrick_scale: true, + category: "people" + }, + woman_office_worker: { + keywords: [ "business", "manager", "woman", "human" ], + char: '\ud83d\udc69\u200d\ud83d\udcbc', + fitzpatrick_scale: true, + category: "people" + }, + man_office_worker: { + keywords: [ "business", "manager", "man", "human" ], + char: '\ud83d\udc68\u200d\ud83d\udcbc', + fitzpatrick_scale: true, + category: "people" + }, + woman_mechanic: { + keywords: [ "plumber", "woman", "human", "wrench" ], + char: '\ud83d\udc69\u200d\ud83d\udd27', + fitzpatrick_scale: true, + category: "people" + }, + man_mechanic: { + keywords: [ "plumber", "man", "human", "wrench" ], + char: '\ud83d\udc68\u200d\ud83d\udd27', + fitzpatrick_scale: true, + category: "people" + }, + woman_scientist: { + keywords: [ "biologist", "chemist", "engineer", "physicist", "woman", "human" ], + char: '\ud83d\udc69\u200d\ud83d\udd2c', + fitzpatrick_scale: true, + category: "people" + }, + man_scientist: { + keywords: [ "biologist", "chemist", "engineer", "physicist", "man", "human" ], + char: '\ud83d\udc68\u200d\ud83d\udd2c', + fitzpatrick_scale: true, + category: "people" + }, + woman_artist: { + keywords: [ "painter", "woman", "human" ], + char: '\ud83d\udc69\u200d\ud83c\udfa8', + fitzpatrick_scale: true, + category: "people" + }, + man_artist: { + keywords: [ "painter", "man", "human" ], + char: '\ud83d\udc68\u200d\ud83c\udfa8', + fitzpatrick_scale: true, + category: "people" + }, + woman_firefighter: { + keywords: [ "fireman", "woman", "human" ], + char: '\ud83d\udc69\u200d\ud83d\ude92', + fitzpatrick_scale: true, + category: "people" + }, + man_firefighter: { + keywords: [ "fireman", "man", "human" ], + char: '\ud83d\udc68\u200d\ud83d\ude92', + fitzpatrick_scale: true, + category: "people" + }, + woman_pilot: { + keywords: [ "aviator", "plane", "woman", "human" ], + char: '\ud83d\udc69\u200d\u2708\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + man_pilot: { + keywords: [ "aviator", "plane", "man", "human" ], + char: '\ud83d\udc68\u200d\u2708\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + woman_astronaut: { + keywords: [ "space", "rocket", "woman", "human" ], + char: '\ud83d\udc69\u200d\ud83d\ude80', + fitzpatrick_scale: true, + category: "people" + }, + man_astronaut: { + keywords: [ "space", "rocket", "man", "human" ], + char: '\ud83d\udc68\u200d\ud83d\ude80', + fitzpatrick_scale: true, + category: "people" + }, + woman_judge: { + keywords: [ "justice", "court", "woman", "human" ], + char: '\ud83d\udc69\u200d\u2696\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + man_judge: { + keywords: [ "justice", "court", "man", "human" ], + char: '\ud83d\udc68\u200d\u2696\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + woman_superhero: { + keywords: [ "woman", "female", "good", "heroine", "superpowers" ], + char: '\ud83e\uddb8\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + man_superhero: { + keywords: [ "man", "male", "good", "hero", "superpowers" ], + char: '\ud83e\uddb8\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + woman_supervillain: { + keywords: [ "woman", "female", "evil", "bad", "criminal", "heroine", "superpowers" ], + char: '\ud83e\uddb9\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + man_supervillain: { + keywords: [ "man", "male", "evil", "bad", "criminal", "hero", "superpowers" ], + char: '\ud83e\uddb9\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + mrs_claus: { + keywords: [ "woman", "female", "xmas", "mother christmas" ], + char: '\ud83e\udd36', + fitzpatrick_scale: true, + category: "people" + }, + santa: { + keywords: [ "festival", "man", "male", "xmas", "father christmas" ], + char: '\ud83c\udf85', + fitzpatrick_scale: true, + category: "people" + }, + sorceress: { + keywords: [ "woman", "female", "mage", "witch" ], + char: '\ud83e\uddd9\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + wizard: { + keywords: [ "man", "male", "mage", "sorcerer" ], + char: '\ud83e\uddd9\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + woman_elf: { + keywords: [ "woman", "female" ], + char: '\ud83e\udddd\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + man_elf: { + keywords: [ "man", "male" ], + char: '\ud83e\udddd\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + woman_vampire: { + keywords: [ "woman", "female" ], + char: '\ud83e\udddb\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + man_vampire: { + keywords: [ "man", "male", "dracula" ], + char: '\ud83e\udddb\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + woman_zombie: { + keywords: [ "woman", "female", "undead", "walking dead" ], + char: '\ud83e\udddf\u200d\u2640\ufe0f', + fitzpatrick_scale: false, + category: "people" + }, + man_zombie: { + keywords: [ "man", "male", "dracula", "undead", "walking dead" ], + char: '\ud83e\udddf\u200d\u2642\ufe0f', + fitzpatrick_scale: false, + category: "people" + }, + woman_genie: { + keywords: [ "woman", "female" ], + char: '\ud83e\uddde\u200d\u2640\ufe0f', + fitzpatrick_scale: false, + category: "people" + }, + man_genie: { + keywords: [ "man", "male" ], + char: '\ud83e\uddde\u200d\u2642\ufe0f', + fitzpatrick_scale: false, + category: "people" + }, + mermaid: { + keywords: [ "woman", "female", "merwoman", "ariel" ], + char: '\ud83e\udddc\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + merman: { + keywords: [ "man", "male", "triton" ], + char: '\ud83e\udddc\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + woman_fairy: { + keywords: [ "woman", "female" ], + char: '\ud83e\uddda\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + man_fairy: { + keywords: [ "man", "male" ], + char: '\ud83e\uddda\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + angel: { + keywords: [ "heaven", "wings", "halo" ], + char: '\ud83d\udc7c', + fitzpatrick_scale: true, + category: "people" + }, + pregnant_woman: { + keywords: [ "baby" ], + char: '\ud83e\udd30', + fitzpatrick_scale: true, + category: "people" + }, + breastfeeding: { + keywords: [ "nursing", "baby" ], + char: '\ud83e\udd31', + fitzpatrick_scale: true, + category: "people" + }, + princess: { + keywords: [ "girl", "woman", "female", "blond", "crown", "royal", "queen" ], + char: '\ud83d\udc78', + fitzpatrick_scale: true, + category: "people" + }, + prince: { + keywords: [ "boy", "man", "male", "crown", "royal", "king" ], + char: '\ud83e\udd34', + fitzpatrick_scale: true, + category: "people" + }, + bride_with_veil: { + keywords: [ "couple", "marriage", "wedding", "woman", "bride" ], + char: '\ud83d\udc70', + fitzpatrick_scale: true, + category: "people" + }, + man_in_tuxedo: { + keywords: [ "couple", "marriage", "wedding", "groom" ], + char: '\ud83e\udd35', + fitzpatrick_scale: true, + category: "people" + }, + running_woman: { + keywords: [ "woman", "walking", "exercise", "race", "running", "female" ], + char: '\ud83c\udfc3\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + running_man: { + keywords: [ "man", "walking", "exercise", "race", "running" ], + char: '\ud83c\udfc3', + fitzpatrick_scale: true, + category: "people" + }, + walking_woman: { + keywords: [ "human", "feet", "steps", "woman", "female" ], + char: '\ud83d\udeb6\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + walking_man: { + keywords: [ "human", "feet", "steps" ], + char: '\ud83d\udeb6', + fitzpatrick_scale: true, + category: "people" + }, + dancer: { + keywords: [ "female", "girl", "woman", "fun" ], + char: '\ud83d\udc83', + fitzpatrick_scale: true, + category: "people" + }, + man_dancing: { + keywords: [ "male", "boy", "fun", "dancer" ], + char: '\ud83d\udd7a', + fitzpatrick_scale: true, + category: "people" + }, + dancing_women: { + keywords: [ "female", "bunny", "women", "girls" ], + char: '\ud83d\udc6f', + fitzpatrick_scale: false, + category: "people" + }, + dancing_men: { + keywords: [ "male", "bunny", "men", "boys" ], + char: '\ud83d\udc6f\u200d\u2642\ufe0f', + fitzpatrick_scale: false, + category: "people" + }, + couple: { + keywords: [ "pair", "people", "human", "love", "date", "dating", "like", "affection", "valentines", "marriage" ], + char: '\ud83d\udc6b', + fitzpatrick_scale: false, + category: "people" + }, + two_men_holding_hands: { + keywords: [ "pair", "couple", "love", "like", "bromance", "friendship", "people", "human" ], + char: '\ud83d\udc6c', + fitzpatrick_scale: false, + category: "people" + }, + two_women_holding_hands: { + keywords: [ "pair", "friendship", "couple", "love", "like", "female", "people", "human" ], + char: '\ud83d\udc6d', + fitzpatrick_scale: false, + category: "people" + }, + bowing_woman: { + keywords: [ "woman", "female", "girl" ], + char: '\ud83d\ude47\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + bowing_man: { + keywords: [ "man", "male", "boy" ], + char: '\ud83d\ude47', + fitzpatrick_scale: true, + category: "people" + }, + man_facepalming: { + keywords: [ "man", "male", "boy", "disbelief" ], + char: '\ud83e\udd26\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + woman_facepalming: { + keywords: [ "woman", "female", "girl", "disbelief" ], + char: '\ud83e\udd26\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + woman_shrugging: { + keywords: [ "woman", "female", "girl", "confused", "indifferent", "doubt" ], + char: '\ud83e\udd37', + fitzpatrick_scale: true, + category: "people" + }, + man_shrugging: { + keywords: [ "man", "male", "boy", "confused", "indifferent", "doubt" ], + char: '\ud83e\udd37\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + tipping_hand_woman: { + keywords: [ "female", "girl", "woman", "human", "information" ], + char: '\ud83d\udc81', + fitzpatrick_scale: true, + category: "people" + }, + tipping_hand_man: { + keywords: [ "male", "boy", "man", "human", "information" ], + char: '\ud83d\udc81\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + no_good_woman: { + keywords: [ "female", "girl", "woman", "nope" ], + char: '\ud83d\ude45', + fitzpatrick_scale: true, + category: "people" + }, + no_good_man: { + keywords: [ "male", "boy", "man", "nope" ], + char: '\ud83d\ude45\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + ok_woman: { + keywords: [ "women", "girl", "female", "pink", "human", "woman" ], + char: '\ud83d\ude46', + fitzpatrick_scale: true, + category: "people" + }, + ok_man: { + keywords: [ "men", "boy", "male", "blue", "human", "man" ], + char: '\ud83d\ude46\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + raising_hand_woman: { + keywords: [ "female", "girl", "woman" ], + char: '\ud83d\ude4b', + fitzpatrick_scale: true, + category: "people" + }, + raising_hand_man: { + keywords: [ "male", "boy", "man" ], + char: '\ud83d\ude4b\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + pouting_woman: { + keywords: [ "female", "girl", "woman" ], + char: '\ud83d\ude4e', + fitzpatrick_scale: true, + category: "people" + }, + pouting_man: { + keywords: [ "male", "boy", "man" ], + char: '\ud83d\ude4e\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + frowning_woman: { + keywords: [ "female", "girl", "woman", "sad", "depressed", "discouraged", "unhappy" ], + char: '\ud83d\ude4d', + fitzpatrick_scale: true, + category: "people" + }, + frowning_man: { + keywords: [ "male", "boy", "man", "sad", "depressed", "discouraged", "unhappy" ], + char: '\ud83d\ude4d\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + haircut_woman: { + keywords: [ "female", "girl", "woman" ], + char: '\ud83d\udc87', + fitzpatrick_scale: true, + category: "people" + }, + haircut_man: { + keywords: [ "male", "boy", "man" ], + char: '\ud83d\udc87\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + massage_woman: { + keywords: [ "female", "girl", "woman", "head" ], + char: '\ud83d\udc86', + fitzpatrick_scale: true, + category: "people" + }, + massage_man: { + keywords: [ "male", "boy", "man", "head" ], + char: '\ud83d\udc86\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + woman_in_steamy_room: { + keywords: [ "female", "woman", "spa", "steamroom", "sauna" ], + char: '\ud83e\uddd6\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + man_in_steamy_room: { + keywords: [ "male", "man", "spa", "steamroom", "sauna" ], + char: '\ud83e\uddd6\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "people" + }, + couple_with_heart_woman_man: { + keywords: [ "pair", "love", "like", "affection", "human", "dating", "valentines", "marriage" ], + char: '\ud83d\udc91', + fitzpatrick_scale: false, + category: "people" + }, + couple_with_heart_woman_woman: { + keywords: [ "pair", "love", "like", "affection", "human", "dating", "valentines", "marriage" ], + char: '\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc69', + fitzpatrick_scale: false, + category: "people" + }, + couple_with_heart_man_man: { + keywords: [ "pair", "love", "like", "affection", "human", "dating", "valentines", "marriage" ], + char: '\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68', + fitzpatrick_scale: false, + category: "people" + }, + couplekiss_man_woman: { + keywords: [ "pair", "valentines", "love", "like", "dating", "marriage" ], + char: '\ud83d\udc8f', + fitzpatrick_scale: false, + category: "people" + }, + couplekiss_woman_woman: { + keywords: [ "pair", "valentines", "love", "like", "dating", "marriage" ], + char: '\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69', + fitzpatrick_scale: false, + category: "people" + }, + couplekiss_man_man: { + keywords: [ "pair", "valentines", "love", "like", "dating", "marriage" ], + char: '\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68', + fitzpatrick_scale: false, + category: "people" + }, + family_man_woman_boy: { + keywords: [ "home", "parents", "child", "mom", "dad", "father", "mother", "people", "human" ], + char: '\ud83d\udc6a', + fitzpatrick_scale: false, + category: "people" + }, + family_man_woman_girl: { + keywords: [ "home", "parents", "people", "human", "child" ], + char: '\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67', + fitzpatrick_scale: false, + category: "people" + }, + family_man_woman_girl_boy: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: '\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc66', + fitzpatrick_scale: false, + category: "people" + }, + family_man_woman_boy_boy: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: '\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66', + fitzpatrick_scale: false, + category: "people" + }, + family_man_woman_girl_girl: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: '\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc67', + fitzpatrick_scale: false, + category: "people" + }, + family_woman_woman_boy: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: '\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66', + fitzpatrick_scale: false, + category: "people" + }, + family_woman_woman_girl: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: '\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67', + fitzpatrick_scale: false, + category: "people" + }, + family_woman_woman_girl_boy: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: '\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc66', + fitzpatrick_scale: false, + category: "people" + }, + family_woman_woman_boy_boy: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: '\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66', + fitzpatrick_scale: false, + category: "people" + }, + family_woman_woman_girl_girl: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: '\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc67', + fitzpatrick_scale: false, + category: "people" + }, + family_man_man_boy: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: '\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66', + fitzpatrick_scale: false, + category: "people" + }, + family_man_man_girl: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: '\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67', + fitzpatrick_scale: false, + category: "people" + }, + family_man_man_girl_boy: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: '\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d\udc66', + fitzpatrick_scale: false, + category: "people" + }, + family_man_man_boy_boy: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: '\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66', + fitzpatrick_scale: false, + category: "people" + }, + family_man_man_girl_girl: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: '\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d\udc67', + fitzpatrick_scale: false, + category: "people" + }, + family_woman_boy: { + keywords: [ "home", "parent", "people", "human", "child" ], + char: '\ud83d\udc69\u200d\ud83d\udc66', + fitzpatrick_scale: false, + category: "people" + }, + family_woman_girl: { + keywords: [ "home", "parent", "people", "human", "child" ], + char: '\ud83d\udc69\u200d\ud83d\udc67', + fitzpatrick_scale: false, + category: "people" + }, + family_woman_girl_boy: { + keywords: [ "home", "parent", "people", "human", "children" ], + char: '\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc66', + fitzpatrick_scale: false, + category: "people" + }, + family_woman_boy_boy: { + keywords: [ "home", "parent", "people", "human", "children" ], + char: '\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66', + fitzpatrick_scale: false, + category: "people" + }, + family_woman_girl_girl: { + keywords: [ "home", "parent", "people", "human", "children" ], + char: '\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc67', + fitzpatrick_scale: false, + category: "people" + }, + family_man_boy: { + keywords: [ "home", "parent", "people", "human", "child" ], + char: '\ud83d\udc68\u200d\ud83d\udc66', + fitzpatrick_scale: false, + category: "people" + }, + family_man_girl: { + keywords: [ "home", "parent", "people", "human", "child" ], + char: '\ud83d\udc68\u200d\ud83d\udc67', + fitzpatrick_scale: false, + category: "people" + }, + family_man_girl_boy: { + keywords: [ "home", "parent", "people", "human", "children" ], + char: '\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d\udc66', + fitzpatrick_scale: false, + category: "people" + }, + family_man_boy_boy: { + keywords: [ "home", "parent", "people", "human", "children" ], + char: '\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66', + fitzpatrick_scale: false, + category: "people" + }, + family_man_girl_girl: { + keywords: [ "home", "parent", "people", "human", "children" ], + char: '\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d\udc67', + fitzpatrick_scale: false, + category: "people" + }, + yarn: { + keywords: [ "ball", "crochet", "knit" ], + char: '\ud83e\uddf6', + fitzpatrick_scale: false, + category: "people" + }, + thread: { + keywords: [ "needle", "sewing", "spool", "string" ], + char: '\ud83e\uddf5', + fitzpatrick_scale: false, + category: "people" + }, + coat: { + keywords: [ "jacket" ], + char: '\ud83e\udde5', + fitzpatrick_scale: false, + category: "people" + }, + labcoat: { + keywords: [ "doctor", "experiment", "scientist", "chemist" ], + char: '\ud83e\udd7c', + fitzpatrick_scale: false, + category: "people" + }, + womans_clothes: { + keywords: [ "fashion", "shopping_bags", "female" ], + char: '\ud83d\udc5a', + fitzpatrick_scale: false, + category: "people" + }, + tshirt: { + keywords: [ "fashion", "cloth", "casual", "shirt", "tee" ], + char: '\ud83d\udc55', + fitzpatrick_scale: false, + category: "people" + }, + jeans: { + keywords: [ "fashion", "shopping" ], + char: '\ud83d\udc56', + fitzpatrick_scale: false, + category: "people" + }, + necktie: { + keywords: [ "shirt", "suitup", "formal", "fashion", "cloth", "business" ], + char: '\ud83d\udc54', + fitzpatrick_scale: false, + category: "people" + }, + dress: { + keywords: [ "clothes", "fashion", "shopping" ], + char: '\ud83d\udc57', + fitzpatrick_scale: false, + category: "people" + }, + bikini: { + keywords: [ "swimming", "female", "woman", "girl", "fashion", "beach", "summer" ], + char: '\ud83d\udc59', + fitzpatrick_scale: false, + category: "people" + }, + kimono: { + keywords: [ "dress", "fashion", "women", "female", "japanese" ], + char: '\ud83d\udc58', + fitzpatrick_scale: false, + category: "people" + }, + lipstick: { + keywords: [ "female", "girl", "fashion", "woman" ], + char: '\ud83d\udc84', + fitzpatrick_scale: false, + category: "people" + }, + kiss: { + keywords: [ "face", "lips", "love", "like", "affection", "valentines" ], + char: '\ud83d\udc8b', + fitzpatrick_scale: false, + category: "people" + }, + footprints: { + keywords: [ "feet", "tracking", "walking", "beach" ], + char: '\ud83d\udc63', + fitzpatrick_scale: false, + category: "people" + }, + flat_shoe: { + keywords: [ "ballet", "slip-on", "slipper" ], + char: '\ud83e\udd7f', + fitzpatrick_scale: false, + category: "people" + }, + high_heel: { + keywords: [ "fashion", "shoes", "female", "pumps", "stiletto" ], + char: '\ud83d\udc60', + fitzpatrick_scale: false, + category: "people" + }, + sandal: { + keywords: [ "shoes", "fashion", "flip flops" ], + char: '\ud83d\udc61', + fitzpatrick_scale: false, + category: "people" + }, + boot: { + keywords: [ "shoes", "fashion" ], + char: '\ud83d\udc62', + fitzpatrick_scale: false, + category: "people" + }, + mans_shoe: { + keywords: [ "fashion", "male" ], + char: '\ud83d\udc5e', + fitzpatrick_scale: false, + category: "people" + }, + athletic_shoe: { + keywords: [ "shoes", "sports", "sneakers" ], + char: '\ud83d\udc5f', + fitzpatrick_scale: false, + category: "people" + }, + hiking_boot: { + keywords: [ "backpacking", "camping", "hiking" ], + char: '\ud83e\udd7e', + fitzpatrick_scale: false, + category: "people" + }, + socks: { + keywords: [ "stockings", "clothes" ], + char: '\ud83e\udde6', + fitzpatrick_scale: false, + category: "people" + }, + gloves: { + keywords: [ "hands", "winter", "clothes" ], + char: '\ud83e\udde4', + fitzpatrick_scale: false, + category: "people" + }, + scarf: { + keywords: [ "neck", "winter", "clothes" ], + char: '\ud83e\udde3', + fitzpatrick_scale: false, + category: "people" + }, + womans_hat: { + keywords: [ "fashion", "accessories", "female", "lady", "spring" ], + char: '\ud83d\udc52', + fitzpatrick_scale: false, + category: "people" + }, + tophat: { + keywords: [ "magic", "gentleman", "classy", "circus" ], + char: '\ud83c\udfa9', + fitzpatrick_scale: false, + category: "people" + }, + billed_hat: { + keywords: [ "cap", "baseball" ], + char: '\ud83e\udde2', + fitzpatrick_scale: false, + category: "people" + }, + rescue_worker_helmet: { + keywords: [ "construction", "build" ], + char: '\u26d1', + fitzpatrick_scale: false, + category: "people" + }, + mortar_board: { + keywords: [ "school", "college", "degree", "university", "graduation", "cap", "hat", "legal", "learn", "education" ], + char: '\ud83c\udf93', + fitzpatrick_scale: false, + category: "people" + }, + crown: { + keywords: [ "king", "kod", "leader", "royalty", "lord" ], + char: '\ud83d\udc51', + fitzpatrick_scale: false, + category: "people" + }, + school_satchel: { + keywords: [ "student", "education", "bag", "backpack" ], + char: '\ud83c\udf92', + fitzpatrick_scale: false, + category: "people" + }, + luggage: { + keywords: [ "packing", "travel" ], + char: '\ud83e\uddf3', + fitzpatrick_scale: false, + category: "people" + }, + pouch: { + keywords: [ "bag", "accessories", "shopping" ], + char: '\ud83d\udc5d', + fitzpatrick_scale: false, + category: "people" + }, + purse: { + keywords: [ "fashion", "accessories", "money", "sales", "shopping" ], + char: '\ud83d\udc5b', + fitzpatrick_scale: false, + category: "people" + }, + handbag: { + keywords: [ "fashion", "accessory", "accessories", "shopping" ], + char: '\ud83d\udc5c', + fitzpatrick_scale: false, + category: "people" + }, + briefcase: { + keywords: [ "business", "documents", "work", "law", "legal", "job", "career" ], + char: '\ud83d\udcbc', + fitzpatrick_scale: false, + category: "people" + }, + eyeglasses: { + keywords: [ "fashion", "accessories", "eyesight", "nerdy", "dork", "geek" ], + char: '\ud83d\udc53', + fitzpatrick_scale: false, + category: "people" + }, + dark_sunglasses: { + keywords: [ "face", "cool", "accessories" ], + char: '\ud83d\udd76', + fitzpatrick_scale: false, + category: "people" + }, + goggles: { + keywords: [ "eyes", "protection", "safety" ], + char: '\ud83e\udd7d', + fitzpatrick_scale: false, + category: "people" + }, + ring: { + keywords: [ "wedding", "propose", "marriage", "valentines", "diamond", "fashion", "jewelry", "gem", "engagement" ], + char: '\ud83d\udc8d', + fitzpatrick_scale: false, + category: "people" + }, + closed_umbrella: { + keywords: [ "weather", "rain", "drizzle" ], + char: '\ud83c\udf02', + fitzpatrick_scale: false, + category: "people" + }, + dog: { + keywords: [ "animal", "friend", "nature", "woof", "puppy", "pet", "faithful" ], + char: '\ud83d\udc36', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + cat: { + keywords: [ "animal", "meow", "nature", "pet", "kitten" ], + char: '\ud83d\udc31', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + mouse: { + keywords: [ "animal", "nature", "cheese_wedge", "rodent" ], + char: '\ud83d\udc2d', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + hamster: { + keywords: [ "animal", "nature" ], + char: '\ud83d\udc39', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + rabbit: { + keywords: [ "animal", "nature", "pet", "spring", "magic", "bunny" ], + char: '\ud83d\udc30', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + fox_face: { + keywords: [ "animal", "nature", "face" ], + char: '\ud83e\udd8a', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + bear: { + keywords: [ "animal", "nature", "wild" ], + char: '\ud83d\udc3b', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + panda_face: { + keywords: [ "animal", "nature", "panda" ], + char: '\ud83d\udc3c', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + koala: { + keywords: [ "animal", "nature" ], + char: '\ud83d\udc28', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + tiger: { + keywords: [ "animal", "cat", "danger", "wild", "nature", "roar" ], + char: '\ud83d\udc2f', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + lion: { + keywords: [ "animal", "nature" ], + char: '\ud83e\udd81', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + cow: { + keywords: [ "beef", "ox", "animal", "nature", "moo", "milk" ], + char: '\ud83d\udc2e', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + pig: { + keywords: [ "animal", "oink", "nature" ], + char: '\ud83d\udc37', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + pig_nose: { + keywords: [ "animal", "oink" ], + char: '\ud83d\udc3d', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + frog: { + keywords: [ "animal", "nature", "croak", "toad" ], + char: '\ud83d\udc38', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + squid: { + keywords: [ "animal", "nature", "ocean", "sea" ], + char: '\ud83e\udd91', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + octopus: { + keywords: [ "animal", "creature", "ocean", "sea", "nature", "beach" ], + char: '\ud83d\udc19', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + shrimp: { + keywords: [ "animal", "ocean", "nature", "seafood" ], + char: '\ud83e\udd90', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + monkey_face: { + keywords: [ "animal", "nature", "circus" ], + char: '\ud83d\udc35', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + gorilla: { + keywords: [ "animal", "nature", "circus" ], + char: '\ud83e\udd8d', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + see_no_evil: { + keywords: [ "monkey", "animal", "nature", "haha" ], + char: '\ud83d\ude48', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + hear_no_evil: { + keywords: [ "animal", "monkey", "nature" ], + char: '\ud83d\ude49', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + speak_no_evil: { + keywords: [ "monkey", "animal", "nature", "omg" ], + char: '\ud83d\ude4a', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + monkey: { + keywords: [ "animal", "nature", "banana", "circus" ], + char: '\ud83d\udc12', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + chicken: { + keywords: [ "animal", "cluck", "nature", "bird" ], + char: '\ud83d\udc14', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + penguin: { + keywords: [ "animal", "nature" ], + char: '\ud83d\udc27', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + bird: { + keywords: [ "animal", "nature", "fly", "tweet", "spring" ], + char: '\ud83d\udc26', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + baby_chick: { + keywords: [ "animal", "chicken", "bird" ], + char: '\ud83d\udc24', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + hatching_chick: { + keywords: [ "animal", "chicken", "egg", "born", "baby", "bird" ], + char: '\ud83d\udc23', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + hatched_chick: { + keywords: [ "animal", "chicken", "baby", "bird" ], + char: '\ud83d\udc25', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + duck: { + keywords: [ "animal", "nature", "bird", "mallard" ], + char: '\ud83e\udd86', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + eagle: { + keywords: [ "animal", "nature", "bird" ], + char: '\ud83e\udd85', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + owl: { + keywords: [ "animal", "nature", "bird", "hoot" ], + char: '\ud83e\udd89', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + bat: { + keywords: [ "animal", "nature", "blind", "vampire" ], + char: '\ud83e\udd87', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + wolf: { + keywords: [ "animal", "nature", "wild" ], + char: '\ud83d\udc3a', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + boar: { + keywords: [ "animal", "nature" ], + char: '\ud83d\udc17', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + horse: { + keywords: [ "animal", "brown", "nature" ], + char: '\ud83d\udc34', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + unicorn: { + keywords: [ "animal", "nature", "mystical" ], + char: '\ud83e\udd84', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + honeybee: { + keywords: [ "animal", "insect", "nature", "bug", "spring", "honey" ], + char: '\ud83d\udc1d', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + bug: { + keywords: [ "animal", "insect", "nature", "worm" ], + char: '\ud83d\udc1b', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + butterfly: { + keywords: [ "animal", "insect", "nature", "caterpillar" ], + char: '\ud83e\udd8b', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + snail: { + keywords: [ "slow", "animal", "shell" ], + char: '\ud83d\udc0c', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + beetle: { + keywords: [ "animal", "insect", "nature", "ladybug" ], + char: '\ud83d\udc1e', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + ant: { + keywords: [ "animal", "insect", "nature", "bug" ], + char: '\ud83d\udc1c', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + grasshopper: { + keywords: [ "animal", "cricket", "chirp" ], + char: '\ud83e\udd97', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + spider: { + keywords: [ "animal", "arachnid" ], + char: '\ud83d\udd77', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + scorpion: { + keywords: [ "animal", "arachnid" ], + char: '\ud83e\udd82', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + crab: { + keywords: [ "animal", "crustacean" ], + char: '\ud83e\udd80', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + snake: { + keywords: [ "animal", "evil", "nature", "hiss", "python" ], + char: '\ud83d\udc0d', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + lizard: { + keywords: [ "animal", "nature", "reptile" ], + char: '\ud83e\udd8e', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + "t-rex": { + keywords: [ "animal", "nature", "dinosaur", "tyrannosaurus", "extinct" ], + char: '\ud83e\udd96', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + sauropod: { + keywords: [ "animal", "nature", "dinosaur", "brachiosaurus", "brontosaurus", "diplodocus", "extinct" ], + char: '\ud83e\udd95', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + turtle: { + keywords: [ "animal", "slow", "nature", "tortoise" ], + char: '\ud83d\udc22', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + tropical_fish: { + keywords: [ "animal", "swim", "ocean", "beach", "nemo" ], + char: '\ud83d\udc20', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + fish: { + keywords: [ "animal", "food", "nature" ], + char: '\ud83d\udc1f', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + blowfish: { + keywords: [ "animal", "nature", "food", "sea", "ocean" ], + char: '\ud83d\udc21', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + dolphin: { + keywords: [ "animal", "nature", "fish", "sea", "ocean", "flipper", "fins", "beach" ], + char: '\ud83d\udc2c', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + shark: { + keywords: [ "animal", "nature", "fish", "sea", "ocean", "jaws", "fins", "beach" ], + char: '\ud83e\udd88', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + whale: { + keywords: [ "animal", "nature", "sea", "ocean" ], + char: '\ud83d\udc33', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + whale2: { + keywords: [ "animal", "nature", "sea", "ocean" ], + char: '\ud83d\udc0b', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + crocodile: { + keywords: [ "animal", "nature", "reptile", "lizard", "alligator" ], + char: '\ud83d\udc0a', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + leopard: { + keywords: [ "animal", "nature" ], + char: '\ud83d\udc06', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + zebra: { + keywords: [ "animal", "nature", "stripes", "safari" ], + char: '\ud83e\udd93', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + tiger2: { + keywords: [ "animal", "nature", "roar" ], + char: '\ud83d\udc05', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + water_buffalo: { + keywords: [ "animal", "nature", "ox", "cow" ], + char: '\ud83d\udc03', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + ox: { + keywords: [ "animal", "cow", "beef" ], + char: '\ud83d\udc02', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + cow2: { + keywords: [ "beef", "ox", "animal", "nature", "moo", "milk" ], + char: '\ud83d\udc04', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + deer: { + keywords: [ "animal", "nature", "horns", "venison" ], + char: '\ud83e\udd8c', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + dromedary_camel: { + keywords: [ "animal", "hot", "desert", "hump" ], + char: '\ud83d\udc2a', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + camel: { + keywords: [ "animal", "nature", "hot", "desert", "hump" ], + char: '\ud83d\udc2b', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + giraffe: { + keywords: [ "animal", "nature", "spots", "safari" ], + char: '\ud83e\udd92', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + elephant: { + keywords: [ "animal", "nature", "nose", "th", "circus" ], + char: '\ud83d\udc18', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + rhinoceros: { + keywords: [ "animal", "nature", "horn" ], + char: '\ud83e\udd8f', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + goat: { + keywords: [ "animal", "nature" ], + char: '\ud83d\udc10', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + ram: { + keywords: [ "animal", "sheep", "nature" ], + char: '\ud83d\udc0f', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + sheep: { + keywords: [ "animal", "nature", "wool", "shipit" ], + char: '\ud83d\udc11', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + racehorse: { + keywords: [ "animal", "gamble", "luck" ], + char: '\ud83d\udc0e', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + pig2: { + keywords: [ "animal", "nature" ], + char: '\ud83d\udc16', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + rat: { + keywords: [ "animal", "mouse", "rodent" ], + char: '\ud83d\udc00', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + mouse2: { + keywords: [ "animal", "nature", "rodent" ], + char: '\ud83d\udc01', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + rooster: { + keywords: [ "animal", "nature", "chicken" ], + char: '\ud83d\udc13', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + turkey: { + keywords: [ "animal", "bird" ], + char: '\ud83e\udd83', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + dove: { + keywords: [ "animal", "bird" ], + char: '\ud83d\udd4a', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + dog2: { + keywords: [ "animal", "nature", "friend", "doge", "pet", "faithful" ], + char: '\ud83d\udc15', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + poodle: { + keywords: [ "dog", "animal", "101", "nature", "pet" ], + char: '\ud83d\udc29', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + cat2: { + keywords: [ "animal", "meow", "pet", "cats" ], + char: '\ud83d\udc08', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + rabbit2: { + keywords: [ "animal", "nature", "pet", "magic", "spring" ], + char: '\ud83d\udc07', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + chipmunk: { + keywords: [ "animal", "nature", "rodent", "squirrel" ], + char: '\ud83d\udc3f', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + hedgehog: { + keywords: [ "animal", "nature", "spiny" ], + char: '\ud83e\udd94', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + raccoon: { + keywords: [ "animal", "nature" ], + char: '\ud83e\udd9d', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + llama: { + keywords: [ "animal", "nature", "alpaca" ], + char: '\ud83e\udd99', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + hippopotamus: { + keywords: [ "animal", "nature" ], + char: '\ud83e\udd9b', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + kangaroo: { + keywords: [ "animal", "nature", "australia", "joey", "hop", "marsupial" ], + char: '\ud83e\udd98', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + badger: { + keywords: [ "animal", "nature", "honey" ], + char: '\ud83e\udda1', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + swan: { + keywords: [ "animal", "nature", "bird" ], + char: '\ud83e\udda2', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + peacock: { + keywords: [ "animal", "nature", "peahen", "bird" ], + char: '\ud83e\udd9a', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + parrot: { + keywords: [ "animal", "nature", "bird", "pirate", "talk" ], + char: '\ud83e\udd9c', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + lobster: { + keywords: [ "animal", "nature", "bisque", "claws", "seafood" ], + char: '\ud83e\udd9e', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + mosquito: { + keywords: [ "animal", "nature", "insect", "malaria" ], + char: '\ud83e\udd9f', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + paw_prints: { + keywords: [ "animal", "tracking", "footprints", "dog", "cat", "pet", "feet" ], + char: '\ud83d\udc3e', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + dragon: { + keywords: [ "animal", "myth", "nature", "chinese", "green" ], + char: '\ud83d\udc09', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + dragon_face: { + keywords: [ "animal", "myth", "nature", "chinese", "green" ], + char: '\ud83d\udc32', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + cactus: { + keywords: [ "vegetable", "plant", "nature" ], + char: '\ud83c\udf35', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + christmas_tree: { + keywords: [ "festival", "vacation", "december", "xmas", "celebration" ], + char: '\ud83c\udf84', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + evergreen_tree: { + keywords: [ "plant", "nature" ], + char: '\ud83c\udf32', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + deciduous_tree: { + keywords: [ "plant", "nature" ], + char: '\ud83c\udf33', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + palm_tree: { + keywords: [ "plant", "vegetable", "nature", "summer", "beach", "mojito", "tropical" ], + char: '\ud83c\udf34', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + seedling: { + keywords: [ "plant", "nature", "grass", "lawn", "spring" ], + char: '\ud83c\udf31', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + herb: { + keywords: [ "vegetable", "plant", "medicine", "weed", "grass", "lawn" ], + char: '\ud83c\udf3f', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + shamrock: { + keywords: [ "vegetable", "plant", "nature", "irish", "clover" ], + char: '\u2618', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + four_leaf_clover: { + keywords: [ "vegetable", "plant", "nature", "lucky", "irish" ], + char: '\ud83c\udf40', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + bamboo: { + keywords: [ "plant", "nature", "vegetable", "panda", "pine_decoration" ], + char: '\ud83c\udf8d', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + tanabata_tree: { + keywords: [ "plant", "nature", "branch", "summer" ], + char: '\ud83c\udf8b', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + leaves: { + keywords: [ "nature", "plant", "tree", "vegetable", "grass", "lawn", "spring" ], + char: '\ud83c\udf43', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + fallen_leaf: { + keywords: [ "nature", "plant", "vegetable", "leaves" ], + char: '\ud83c\udf42', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + maple_leaf: { + keywords: [ "nature", "plant", "vegetable", "ca", "fall" ], + char: '\ud83c\udf41', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + ear_of_rice: { + keywords: [ "nature", "plant" ], + char: '\ud83c\udf3e', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + hibiscus: { + keywords: [ "plant", "vegetable", "flowers", "beach" ], + char: '\ud83c\udf3a', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + sunflower: { + keywords: [ "nature", "plant", "fall" ], + char: '\ud83c\udf3b', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + rose: { + keywords: [ "flowers", "valentines", "love", "spring" ], + char: '\ud83c\udf39', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + wilted_flower: { + keywords: [ "plant", "nature", "flower" ], + char: '\ud83e\udd40', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + tulip: { + keywords: [ "flowers", "plant", "nature", "summer", "spring" ], + char: '\ud83c\udf37', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + blossom: { + keywords: [ "nature", "flowers", "yellow" ], + char: '\ud83c\udf3c', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + cherry_blossom: { + keywords: [ "nature", "plant", "spring", "flower" ], + char: '\ud83c\udf38', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + bouquet: { + keywords: [ "flowers", "nature", "spring" ], + char: '\ud83d\udc90', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + mushroom: { + keywords: [ "plant", "vegetable" ], + char: '\ud83c\udf44', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + chestnut: { + keywords: [ "food", "squirrel" ], + char: '\ud83c\udf30', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + jack_o_lantern: { + keywords: [ "halloween", "light", "pumpkin", "creepy", "fall" ], + char: '\ud83c\udf83', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + shell: { + keywords: [ "nature", "sea", "beach" ], + char: '\ud83d\udc1a', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + spider_web: { + keywords: [ "animal", "insect", "arachnid", "silk" ], + char: '\ud83d\udd78', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + earth_americas: { + keywords: [ "globe", "world", "USA", "international" ], + char: '\ud83c\udf0e', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + earth_africa: { + keywords: [ "globe", "world", "international" ], + char: '\ud83c\udf0d', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + earth_asia: { + keywords: [ "globe", "world", "east", "international" ], + char: '\ud83c\udf0f', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + full_moon: { + keywords: [ "nature", "yellow", "twilight", "planet", "space", "night", "evening", "sleep" ], + char: '\ud83c\udf15', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + waning_gibbous_moon: { + keywords: [ "nature", "twilight", "planet", "space", "night", "evening", "sleep", "waxing_gibbous_moon" ], + char: '\ud83c\udf16', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + last_quarter_moon: { + keywords: [ "nature", "twilight", "planet", "space", "night", "evening", "sleep" ], + char: '\ud83c\udf17', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + waning_crescent_moon: { + keywords: [ "nature", "twilight", "planet", "space", "night", "evening", "sleep" ], + char: '\ud83c\udf18', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + new_moon: { + keywords: [ "nature", "twilight", "planet", "space", "night", "evening", "sleep" ], + char: '\ud83c\udf11', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + waxing_crescent_moon: { + keywords: [ "nature", "twilight", "planet", "space", "night", "evening", "sleep" ], + char: '\ud83c\udf12', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + first_quarter_moon: { + keywords: [ "nature", "twilight", "planet", "space", "night", "evening", "sleep" ], + char: '\ud83c\udf13', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + waxing_gibbous_moon: { + keywords: [ "nature", "night", "sky", "gray", "twilight", "planet", "space", "evening", "sleep" ], + char: '\ud83c\udf14', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + new_moon_with_face: { + keywords: [ "nature", "twilight", "planet", "space", "night", "evening", "sleep" ], + char: '\ud83c\udf1a', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + full_moon_with_face: { + keywords: [ "nature", "twilight", "planet", "space", "night", "evening", "sleep" ], + char: '\ud83c\udf1d', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + first_quarter_moon_with_face: { + keywords: [ "nature", "twilight", "planet", "space", "night", "evening", "sleep" ], + char: '\ud83c\udf1b', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + last_quarter_moon_with_face: { + keywords: [ "nature", "twilight", "planet", "space", "night", "evening", "sleep" ], + char: '\ud83c\udf1c', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + sun_with_face: { + keywords: [ "nature", "morning", "sky" ], + char: '\ud83c\udf1e', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + crescent_moon: { + keywords: [ "night", "sleep", "sky", "evening", "magic" ], + char: '\ud83c\udf19', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + star: { + keywords: [ "night", "yellow" ], + char: '\u2b50', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + star2: { + keywords: [ "night", "sparkle", "awesome", "good", "magic" ], + char: '\ud83c\udf1f', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + dizzy: { + keywords: [ "star", "sparkle", "shoot", "magic" ], + char: '\ud83d\udcab', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + sparkles: { + keywords: [ "stars", "shine", "shiny", "cool", "awesome", "good", "magic" ], + char: '\u2728', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + comet: { + keywords: [ "space" ], + char: '\u2604', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + sunny: { + keywords: [ "weather", "nature", "brightness", "summer", "beach", "spring" ], + char: '\u2600\ufe0f', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + sun_behind_small_cloud: { + keywords: [ "weather" ], + char: '\ud83c\udf24', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + partly_sunny: { + keywords: [ "weather", "nature", "cloudy", "morning", "fall", "spring" ], + char: '\u26c5', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + sun_behind_large_cloud: { + keywords: [ "weather" ], + char: '\ud83c\udf25', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + sun_behind_rain_cloud: { + keywords: [ "weather" ], + char: '\ud83c\udf26', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + cloud: { + keywords: [ "weather", "sky" ], + char: '\u2601\ufe0f', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + cloud_with_rain: { + keywords: [ "weather" ], + char: '\ud83c\udf27', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + cloud_with_lightning_and_rain: { + keywords: [ "weather", "lightning" ], + char: '\u26c8', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + cloud_with_lightning: { + keywords: [ "weather", "thunder" ], + char: '\ud83c\udf29', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + zap: { + keywords: [ "thunder", "weather", "lightning bolt", "fast" ], + char: '\u26a1', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + fire: { + keywords: [ "hot", "cook", "flame" ], + char: '\ud83d\udd25', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + boom: { + keywords: [ "bomb", "explode", "explosion", "collision", "blown" ], + char: '\ud83d\udca5', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + snowflake: { + keywords: [ "winter", "season", "cold", "weather", "christmas", "xmas" ], + char: '\u2744\ufe0f', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + cloud_with_snow: { + keywords: [ "weather" ], + char: '\ud83c\udf28', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + snowman: { + keywords: [ "winter", "season", "cold", "weather", "christmas", "xmas", "frozen", "without_snow" ], + char: '\u26c4', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + snowman_with_snow: { + keywords: [ "winter", "season", "cold", "weather", "christmas", "xmas", "frozen" ], + char: '\u2603', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + wind_face: { + keywords: [ "gust", "air" ], + char: '\ud83c\udf2c', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + dash: { + keywords: [ "wind", "air", "fast", "shoo", "fart", "smoke", "puff" ], + char: '\ud83d\udca8', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + tornado: { + keywords: [ "weather", "cyclone", "twister" ], + char: '\ud83c\udf2a', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + fog: { + keywords: [ "weather" ], + char: '\ud83c\udf2b', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + open_umbrella: { + keywords: [ "weather", "spring" ], + char: '\u2602', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + umbrella: { + keywords: [ "rainy", "weather", "spring" ], + char: '\u2614', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + droplet: { + keywords: [ "water", "drip", "faucet", "spring" ], + char: '\ud83d\udca7', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + sweat_drops: { + keywords: [ "water", "drip", "oops" ], + char: '\ud83d\udca6', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + ocean: { + keywords: [ "sea", "water", "wave", "nature", "tsunami", "disaster" ], + char: '\ud83c\udf0a', + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + green_apple: { + keywords: [ "fruit", "nature" ], + char: '\ud83c\udf4f', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + apple: { + keywords: [ "fruit", "mac", "school" ], + char: '\ud83c\udf4e', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + pear: { + keywords: [ "fruit", "nature", "food" ], + char: '\ud83c\udf50', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + tangerine: { + keywords: [ "food", "fruit", "nature", "orange" ], + char: '\ud83c\udf4a', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + lemon: { + keywords: [ "fruit", "nature" ], + char: '\ud83c\udf4b', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + banana: { + keywords: [ "fruit", "food", "monkey" ], + char: '\ud83c\udf4c', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + watermelon: { + keywords: [ "fruit", "food", "picnic", "summer" ], + char: '\ud83c\udf49', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + grapes: { + keywords: [ "fruit", "food", "wine" ], + char: '\ud83c\udf47', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + strawberry: { + keywords: [ "fruit", "food", "nature" ], + char: '\ud83c\udf53', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + melon: { + keywords: [ "fruit", "nature", "food" ], + char: '\ud83c\udf48', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + cherries: { + keywords: [ "food", "fruit" ], + char: '\ud83c\udf52', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + peach: { + keywords: [ "fruit", "nature", "food" ], + char: '\ud83c\udf51', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + pineapple: { + keywords: [ "fruit", "nature", "food" ], + char: '\ud83c\udf4d', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + coconut: { + keywords: [ "fruit", "nature", "food", "palm" ], + char: '\ud83e\udd65', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + kiwi_fruit: { + keywords: [ "fruit", "food" ], + char: '\ud83e\udd5d', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + mango: { + keywords: [ "fruit", "food", "tropical" ], + char: '\ud83e\udd6d', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + avocado: { + keywords: [ "fruit", "food" ], + char: '\ud83e\udd51', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + broccoli: { + keywords: [ "fruit", "food", "vegetable" ], + char: '\ud83e\udd66', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + tomato: { + keywords: [ "fruit", "vegetable", "nature", "food" ], + char: '\ud83c\udf45', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + eggplant: { + keywords: [ "vegetable", "nature", "food", "aubergine" ], + char: '\ud83c\udf46', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + cucumber: { + keywords: [ "fruit", "food", "pickle" ], + char: '\ud83e\udd52', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + carrot: { + keywords: [ "vegetable", "food", "orange" ], + char: '\ud83e\udd55', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + hot_pepper: { + keywords: [ "food", "spicy", "chilli", "chili" ], + char: '\ud83c\udf36', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + potato: { + keywords: [ "food", "tuber", "vegatable", "starch" ], + char: '\ud83e\udd54', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + corn: { + keywords: [ "food", "vegetable", "plant" ], + char: '\ud83c\udf3d', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + leafy_greens: { + keywords: [ "food", "vegetable", "plant", "bok choy", "cabbage", "kale", "lettuce" ], + char: '\ud83e\udd6c', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + sweet_potato: { + keywords: [ "food", "nature" ], + char: '\ud83c\udf60', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + peanuts: { + keywords: [ "food", "nut" ], + char: '\ud83e\udd5c', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + honey_pot: { + keywords: [ "bees", "sweet", "kitchen" ], + char: '\ud83c\udf6f', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + croissant: { + keywords: [ "food", "bread", "french" ], + char: '\ud83e\udd50', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + bread: { + keywords: [ "food", "wheat", "breakfast", "toast" ], + char: '\ud83c\udf5e', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + baguette_bread: { + keywords: [ "food", "bread", "french" ], + char: '\ud83e\udd56', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + bagel: { + keywords: [ "food", "bread", "bakery", "schmear" ], + char: '\ud83e\udd6f', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + pretzel: { + keywords: [ "food", "bread", "twisted" ], + char: '\ud83e\udd68', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + cheese: { + keywords: [ "food", "chadder" ], + char: '\ud83e\uddc0', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + egg: { + keywords: [ "food", "chicken", "breakfast" ], + char: '\ud83e\udd5a', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + bacon: { + keywords: [ "food", "breakfast", "pork", "pig", "meat" ], + char: '\ud83e\udd53', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + steak: { + keywords: [ "food", "cow", "meat", "cut", "chop", "lambchop", "porkchop" ], + char: '\ud83e\udd69', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + pancakes: { + keywords: [ "food", "breakfast", "flapjacks", "hotcakes" ], + char: '\ud83e\udd5e', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + poultry_leg: { + keywords: [ "food", "meat", "drumstick", "bird", "chicken", "turkey" ], + char: '\ud83c\udf57', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + meat_on_bone: { + keywords: [ "good", "food", "drumstick" ], + char: '\ud83c\udf56', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + bone: { + keywords: [ "skeleton" ], + char: '\ud83e\uddb4', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + fried_shrimp: { + keywords: [ "food", "animal", "appetizer", "summer" ], + char: '\ud83c\udf64', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + fried_egg: { + keywords: [ "food", "breakfast", "kitchen", "egg" ], + char: '\ud83c\udf73', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + hamburger: { + keywords: [ "meat", "fast food", "beef", "cheeseburger", "mcdonalds", "burger king" ], + char: '\ud83c\udf54', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + fries: { + keywords: [ "chips", "snack", "fast food" ], + char: '\ud83c\udf5f', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + stuffed_flatbread: { + keywords: [ "food", "flatbread", "stuffed", "gyro" ], + char: '\ud83e\udd59', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + hotdog: { + keywords: [ "food", "frankfurter" ], + char: '\ud83c\udf2d', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + pizza: { + keywords: [ "food", "party" ], + char: '\ud83c\udf55', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + sandwich: { + keywords: [ "food", "lunch", "bread" ], + char: '\ud83e\udd6a', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + canned_food: { + keywords: [ "food", "soup" ], + char: '\ud83e\udd6b', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + spaghetti: { + keywords: [ "food", "italian", "noodle" ], + char: '\ud83c\udf5d', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + taco: { + keywords: [ "food", "mexican" ], + char: '\ud83c\udf2e', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + burrito: { + keywords: [ "food", "mexican" ], + char: '\ud83c\udf2f', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + green_salad: { + keywords: [ "food", "healthy", "lettuce" ], + char: '\ud83e\udd57', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + shallow_pan_of_food: { + keywords: [ "food", "cooking", "casserole", "paella" ], + char: '\ud83e\udd58', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + ramen: { + keywords: [ "food", "japanese", "noodle", "chopsticks" ], + char: '\ud83c\udf5c', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + stew: { + keywords: [ "food", "meat", "soup" ], + char: '\ud83c\udf72', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + fish_cake: { + keywords: [ "food", "japan", "sea", "beach", "narutomaki", "pink", "swirl", "kamaboko", "surimi", "ramen" ], + char: '\ud83c\udf65', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + fortune_cookie: { + keywords: [ "food", "prophecy" ], + char: '\ud83e\udd60', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + sushi: { + keywords: [ "food", "fish", "japanese", "rice" ], + char: '\ud83c\udf63', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + bento: { + keywords: [ "food", "japanese", "box" ], + char: '\ud83c\udf71', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + curry: { + keywords: [ "food", "spicy", "hot", "indian" ], + char: '\ud83c\udf5b', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + rice_ball: { + keywords: [ "food", "japanese" ], + char: '\ud83c\udf59', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + rice: { + keywords: [ "food", "china", "asian" ], + char: '\ud83c\udf5a', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + rice_cracker: { + keywords: [ "food", "japanese" ], + char: '\ud83c\udf58', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + oden: { + keywords: [ "food", "japanese" ], + char: '\ud83c\udf62', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + dango: { + keywords: [ "food", "dessert", "sweet", "japanese", "barbecue", "meat" ], + char: '\ud83c\udf61', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + shaved_ice: { + keywords: [ "hot", "dessert", "summer" ], + char: '\ud83c\udf67', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + ice_cream: { + keywords: [ "food", "hot", "dessert" ], + char: '\ud83c\udf68', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + icecream: { + keywords: [ "food", "hot", "dessert", "summer" ], + char: '\ud83c\udf66', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + pie: { + keywords: [ "food", "dessert", "pastry" ], + char: '\ud83e\udd67', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + cake: { + keywords: [ "food", "dessert" ], + char: '\ud83c\udf70', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + cupcake: { + keywords: [ "food", "dessert", "bakery", "sweet" ], + char: '\ud83e\uddc1', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + moon_cake: { + keywords: [ "food", "autumn" ], + char: '\ud83e\udd6e', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + birthday: { + keywords: [ "food", "dessert", "cake" ], + char: '\ud83c\udf82', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + custard: { + keywords: [ "dessert", "food" ], + char: '\ud83c\udf6e', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + candy: { + keywords: [ "snack", "dessert", "sweet", "lolly" ], + char: '\ud83c\udf6c', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + lollipop: { + keywords: [ "food", "snack", "candy", "sweet" ], + char: '\ud83c\udf6d', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + chocolate_bar: { + keywords: [ "food", "snack", "dessert", "sweet" ], + char: '\ud83c\udf6b', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + popcorn: { + keywords: [ "food", "movie theater", "films", "snack" ], + char: '\ud83c\udf7f', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + dumpling: { + keywords: [ "food", "empanada", "pierogi", "potsticker" ], + char: '\ud83e\udd5f', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + doughnut: { + keywords: [ "food", "dessert", "snack", "sweet", "donut" ], + char: '\ud83c\udf69', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + cookie: { + keywords: [ "food", "snack", "oreo", "chocolate", "sweet", "dessert" ], + char: '\ud83c\udf6a', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + milk_glass: { + keywords: [ "beverage", "drink", "cow" ], + char: '\ud83e\udd5b', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + beer: { + keywords: [ "relax", "beverage", "drink", "drunk", "party", "pub", "summer", "alcohol", "booze" ], + char: '\ud83c\udf7a', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + beers: { + keywords: [ "relax", "beverage", "drink", "drunk", "party", "pub", "summer", "alcohol", "booze" ], + char: '\ud83c\udf7b', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + clinking_glasses: { + keywords: [ "beverage", "drink", "party", "alcohol", "celebrate", "cheers", "wine", "champagne", "toast" ], + char: '\ud83e\udd42', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + wine_glass: { + keywords: [ "drink", "beverage", "drunk", "alcohol", "booze" ], + char: '\ud83c\udf77', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + tumbler_glass: { + keywords: [ "drink", "beverage", "drunk", "alcohol", "liquor", "booze", "bourbon", "scotch", "whisky", "glass", "shot" ], + char: '\ud83e\udd43', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + cocktail: { + keywords: [ "drink", "drunk", "alcohol", "beverage", "booze", "mojito" ], + char: '\ud83c\udf78', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + tropical_drink: { + keywords: [ "beverage", "cocktail", "summer", "beach", "alcohol", "booze", "mojito" ], + char: '\ud83c\udf79', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + champagne: { + keywords: [ "drink", "wine", "bottle", "celebration" ], + char: '\ud83c\udf7e', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + sake: { + keywords: [ "wine", "drink", "drunk", "beverage", "japanese", "alcohol", "booze" ], + char: '\ud83c\udf76', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + tea: { + keywords: [ "drink", "bowl", "breakfast", "green", "british" ], + char: '\ud83c\udf75', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + cup_with_straw: { + keywords: [ "drink", "soda" ], + char: '\ud83e\udd64', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + coffee: { + keywords: [ "beverage", "caffeine", "latte", "espresso" ], + char: '\u2615', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + baby_bottle: { + keywords: [ "food", "container", "milk" ], + char: '\ud83c\udf7c', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + salt: { + keywords: [ "condiment", "shaker" ], + char: '\ud83e\uddc2', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + spoon: { + keywords: [ "cutlery", "kitchen", "tableware" ], + char: '\ud83e\udd44', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + fork_and_knife: { + keywords: [ "cutlery", "kitchen" ], + char: '\ud83c\udf74', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + plate_with_cutlery: { + keywords: [ "food", "eat", "meal", "lunch", "dinner", "restaurant" ], + char: '\ud83c\udf7d', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + bowl_with_spoon: { + keywords: [ "food", "breakfast", "cereal", "oatmeal", "porridge" ], + char: '\ud83e\udd63', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + takeout_box: { + keywords: [ "food", "leftovers" ], + char: '\ud83e\udd61', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + chopsticks: { + keywords: [ "food" ], + char: '\ud83e\udd62', + fitzpatrick_scale: false, + category: "food_and_drink" + }, + soccer: { + keywords: [ "sports", "football" ], + char: '\u26bd', + fitzpatrick_scale: false, + category: "activity" + }, + basketball: { + keywords: [ "sports", "balls", "NBA" ], + char: '\ud83c\udfc0', + fitzpatrick_scale: false, + category: "activity" + }, + football: { + keywords: [ "sports", "balls", "NFL" ], + char: '\ud83c\udfc8', + fitzpatrick_scale: false, + category: "activity" + }, + baseball: { + keywords: [ "sports", "balls" ], + char: '\u26be', + fitzpatrick_scale: false, + category: "activity" + }, + softball: { + keywords: [ "sports", "balls" ], + char: '\ud83e\udd4e', + fitzpatrick_scale: false, + category: "activity" + }, + tennis: { + keywords: [ "sports", "balls", "green" ], + char: '\ud83c\udfbe', + fitzpatrick_scale: false, + category: "activity" + }, + volleyball: { + keywords: [ "sports", "balls" ], + char: '\ud83c\udfd0', + fitzpatrick_scale: false, + category: "activity" + }, + rugby_football: { + keywords: [ "sports", "team" ], + char: '\ud83c\udfc9', + fitzpatrick_scale: false, + category: "activity" + }, + flying_disc: { + keywords: [ "sports", "frisbee", "ultimate" ], + char: '\ud83e\udd4f', + fitzpatrick_scale: false, + category: "activity" + }, + "8ball": { + keywords: [ "pool", "hobby", "game", "luck", "magic" ], + char: '\ud83c\udfb1', + fitzpatrick_scale: false, + category: "activity" + }, + golf: { + keywords: [ "sports", "business", "flag", "hole", "summer" ], + char: '\u26f3', + fitzpatrick_scale: false, + category: "activity" + }, + golfing_woman: { + keywords: [ "sports", "business", "woman", "female" ], + char: '\ud83c\udfcc\ufe0f\u200d\u2640\ufe0f', + fitzpatrick_scale: false, + category: "activity" + }, + golfing_man: { + keywords: [ "sports", "business" ], + char: '\ud83c\udfcc', + fitzpatrick_scale: true, + category: "activity" + }, + ping_pong: { + keywords: [ "sports", "pingpong" ], + char: '\ud83c\udfd3', + fitzpatrick_scale: false, + category: "activity" + }, + badminton: { + keywords: [ "sports" ], + char: '\ud83c\udff8', + fitzpatrick_scale: false, + category: "activity" + }, + goal_net: { + keywords: [ "sports" ], + char: '\ud83e\udd45', + fitzpatrick_scale: false, + category: "activity" + }, + ice_hockey: { + keywords: [ "sports" ], + char: '\ud83c\udfd2', + fitzpatrick_scale: false, + category: "activity" + }, + field_hockey: { + keywords: [ "sports" ], + char: '\ud83c\udfd1', + fitzpatrick_scale: false, + category: "activity" + }, + lacrosse: { + keywords: [ "sports", "ball", "stick" ], + char: '\ud83e\udd4d', + fitzpatrick_scale: false, + category: "activity" + }, + cricket: { + keywords: [ "sports" ], + char: '\ud83c\udfcf', + fitzpatrick_scale: false, + category: "activity" + }, + ski: { + keywords: [ "sports", "winter", "cold", "snow" ], + char: '\ud83c\udfbf', + fitzpatrick_scale: false, + category: "activity" + }, + skier: { + keywords: [ "sports", "winter", "snow" ], + char: '\u26f7', + fitzpatrick_scale: false, + category: "activity" + }, + snowboarder: { + keywords: [ "sports", "winter" ], + char: '\ud83c\udfc2', + fitzpatrick_scale: true, + category: "activity" + }, + person_fencing: { + keywords: [ "sports", "fencing", "sword" ], + char: '\ud83e\udd3a', + fitzpatrick_scale: false, + category: "activity" + }, + women_wrestling: { + keywords: [ "sports", "wrestlers" ], + char: '\ud83e\udd3c\u200d\u2640\ufe0f', + fitzpatrick_scale: false, + category: "activity" + }, + men_wrestling: { + keywords: [ "sports", "wrestlers" ], + char: '\ud83e\udd3c\u200d\u2642\ufe0f', + fitzpatrick_scale: false, + category: "activity" + }, + woman_cartwheeling: { + keywords: [ "gymnastics" ], + char: '\ud83e\udd38\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "activity" + }, + man_cartwheeling: { + keywords: [ "gymnastics" ], + char: '\ud83e\udd38\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "activity" + }, + woman_playing_handball: { + keywords: [ "sports" ], + char: '\ud83e\udd3e\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "activity" + }, + man_playing_handball: { + keywords: [ "sports" ], + char: '\ud83e\udd3e\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "activity" + }, + ice_skate: { + keywords: [ "sports" ], + char: '\u26f8', + fitzpatrick_scale: false, + category: "activity" + }, + curling_stone: { + keywords: [ "sports" ], + char: '\ud83e\udd4c', + fitzpatrick_scale: false, + category: "activity" + }, + skateboard: { + keywords: [ "board" ], + char: '\ud83d\udef9', + fitzpatrick_scale: false, + category: "activity" + }, + sled: { + keywords: [ "sleigh", "luge", "toboggan" ], + char: '\ud83d\udef7', + fitzpatrick_scale: false, + category: "activity" + }, + bow_and_arrow: { + keywords: [ "sports" ], + char: '\ud83c\udff9', + fitzpatrick_scale: false, + category: "activity" + }, + fishing_pole_and_fish: { + keywords: [ "food", "hobby", "summer" ], + char: '\ud83c\udfa3', + fitzpatrick_scale: false, + category: "activity" + }, + boxing_glove: { + keywords: [ "sports", "fighting" ], + char: '\ud83e\udd4a', + fitzpatrick_scale: false, + category: "activity" + }, + martial_arts_uniform: { + keywords: [ "judo", "karate", "taekwondo" ], + char: '\ud83e\udd4b', + fitzpatrick_scale: false, + category: "activity" + }, + rowing_woman: { + keywords: [ "sports", "hobby", "water", "ship", "woman", "female" ], + char: '\ud83d\udea3\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "activity" + }, + rowing_man: { + keywords: [ "sports", "hobby", "water", "ship" ], + char: '\ud83d\udea3', + fitzpatrick_scale: true, + category: "activity" + }, + climbing_woman: { + keywords: [ "sports", "hobby", "woman", "female", "rock" ], + char: '\ud83e\uddd7\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "activity" + }, + climbing_man: { + keywords: [ "sports", "hobby", "man", "male", "rock" ], + char: '\ud83e\uddd7\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "activity" + }, + swimming_woman: { + keywords: [ "sports", "exercise", "human", "athlete", "water", "summer", "woman", "female" ], + char: '\ud83c\udfca\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "activity" + }, + swimming_man: { + keywords: [ "sports", "exercise", "human", "athlete", "water", "summer" ], + char: '\ud83c\udfca', + fitzpatrick_scale: true, + category: "activity" + }, + woman_playing_water_polo: { + keywords: [ "sports", "pool" ], + char: '\ud83e\udd3d\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "activity" + }, + man_playing_water_polo: { + keywords: [ "sports", "pool" ], + char: '\ud83e\udd3d\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "activity" + }, + woman_in_lotus_position: { + keywords: [ "woman", "female", "meditation", "yoga", "serenity", "zen", "mindfulness" ], + char: '\ud83e\uddd8\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "activity" + }, + man_in_lotus_position: { + keywords: [ "man", "male", "meditation", "yoga", "serenity", "zen", "mindfulness" ], + char: '\ud83e\uddd8\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "activity" + }, + surfing_woman: { + keywords: [ "sports", "ocean", "sea", "summer", "beach", "woman", "female" ], + char: '\ud83c\udfc4\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "activity" + }, + surfing_man: { + keywords: [ "sports", "ocean", "sea", "summer", "beach" ], + char: '\ud83c\udfc4', + fitzpatrick_scale: true, + category: "activity" + }, + bath: { + keywords: [ "clean", "shower", "bathroom" ], + char: '\ud83d\udec0', + fitzpatrick_scale: true, + category: "activity" + }, + basketball_woman: { + keywords: [ "sports", "human", "woman", "female" ], + char: '\u26f9\ufe0f\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "activity" + }, + basketball_man: { + keywords: [ "sports", "human" ], + char: '\u26f9', + fitzpatrick_scale: true, + category: "activity" + }, + weight_lifting_woman: { + keywords: [ "sports", "training", "exercise", "woman", "female" ], + char: '\ud83c\udfcb\ufe0f\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "activity" + }, + weight_lifting_man: { + keywords: [ "sports", "training", "exercise" ], + char: '\ud83c\udfcb', + fitzpatrick_scale: true, + category: "activity" + }, + biking_woman: { + keywords: [ "sports", "bike", "exercise", "hipster", "woman", "female" ], + char: '\ud83d\udeb4\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "activity" + }, + biking_man: { + keywords: [ "sports", "bike", "exercise", "hipster" ], + char: '\ud83d\udeb4', + fitzpatrick_scale: true, + category: "activity" + }, + mountain_biking_woman: { + keywords: [ "transportation", "sports", "human", "race", "bike", "woman", "female" ], + char: '\ud83d\udeb5\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "activity" + }, + mountain_biking_man: { + keywords: [ "transportation", "sports", "human", "race", "bike" ], + char: '\ud83d\udeb5', + fitzpatrick_scale: true, + category: "activity" + }, + horse_racing: { + keywords: [ "animal", "betting", "competition", "gambling", "luck" ], + char: '\ud83c\udfc7', + fitzpatrick_scale: true, + category: "activity" + }, + business_suit_levitating: { + keywords: [ "suit", "business", "levitate", "hover", "jump" ], + char: '\ud83d\udd74', + fitzpatrick_scale: true, + category: "activity" + }, + trophy: { + keywords: [ "win", "award", "contest", "place", "ftw", "ceremony" ], + char: '\ud83c\udfc6', + fitzpatrick_scale: false, + category: "activity" + }, + running_shirt_with_sash: { + keywords: [ "play", "pageant" ], + char: '\ud83c\udfbd', + fitzpatrick_scale: false, + category: "activity" + }, + medal_sports: { + keywords: [ "award", "winning" ], + char: '\ud83c\udfc5', + fitzpatrick_scale: false, + category: "activity" + }, + medal_military: { + keywords: [ "award", "winning", "army" ], + char: '\ud83c\udf96', + fitzpatrick_scale: false, + category: "activity" + }, + "1st_place_medal": { + keywords: [ "award", "winning", "first" ], + char: '\ud83e\udd47', + fitzpatrick_scale: false, + category: "activity" + }, + "2nd_place_medal": { + keywords: [ "award", "second" ], + char: '\ud83e\udd48', + fitzpatrick_scale: false, + category: "activity" + }, + "3rd_place_medal": { + keywords: [ "award", "third" ], + char: '\ud83e\udd49', + fitzpatrick_scale: false, + category: "activity" + }, + reminder_ribbon: { + keywords: [ "sports", "cause", "support", "awareness" ], + char: '\ud83c\udf97', + fitzpatrick_scale: false, + category: "activity" + }, + rosette: { + keywords: [ "flower", "decoration", "military" ], + char: '\ud83c\udff5', + fitzpatrick_scale: false, + category: "activity" + }, + ticket: { + keywords: [ "event", "concert", "pass" ], + char: '\ud83c\udfab', + fitzpatrick_scale: false, + category: "activity" + }, + tickets: { + keywords: [ "sports", "concert", "entrance" ], + char: '\ud83c\udf9f', + fitzpatrick_scale: false, + category: "activity" + }, + performing_arts: { + keywords: [ "acting", "theater", "drama" ], + char: '\ud83c\udfad', + fitzpatrick_scale: false, + category: "activity" + }, + art: { + keywords: [ "design", "paint", "draw", "colors" ], + char: '\ud83c\udfa8', + fitzpatrick_scale: false, + category: "activity" + }, + circus_tent: { + keywords: [ "festival", "carnival", "party" ], + char: '\ud83c\udfaa', + fitzpatrick_scale: false, + category: "activity" + }, + woman_juggling: { + keywords: [ "juggle", "balance", "skill", "multitask" ], + char: '\ud83e\udd39\u200d\u2640\ufe0f', + fitzpatrick_scale: true, + category: "activity" + }, + man_juggling: { + keywords: [ "juggle", "balance", "skill", "multitask" ], + char: '\ud83e\udd39\u200d\u2642\ufe0f', + fitzpatrick_scale: true, + category: "activity" + }, + microphone: { + keywords: [ "sound", "music", "PA", "sing", "talkshow" ], + char: '\ud83c\udfa4', + fitzpatrick_scale: false, + category: "activity" + }, + headphones: { + keywords: [ "music", "score", "gadgets" ], + char: '\ud83c\udfa7', + fitzpatrick_scale: false, + category: "activity" + }, + musical_score: { + keywords: [ "treble", "clef", "compose" ], + char: '\ud83c\udfbc', + fitzpatrick_scale: false, + category: "activity" + }, + musical_keyboard: { + keywords: [ "piano", "instrument", "compose" ], + char: '\ud83c\udfb9', + fitzpatrick_scale: false, + category: "activity" + }, + drum: { + keywords: [ "music", "instrument", "drumsticks", "snare" ], + char: '\ud83e\udd41', + fitzpatrick_scale: false, + category: "activity" + }, + saxophone: { + keywords: [ "music", "instrument", "jazz", "blues" ], + char: '\ud83c\udfb7', + fitzpatrick_scale: false, + category: "activity" + }, + trumpet: { + keywords: [ "music", "brass" ], + char: '\ud83c\udfba', + fitzpatrick_scale: false, + category: "activity" + }, + guitar: { + keywords: [ "music", "instrument" ], + char: '\ud83c\udfb8', + fitzpatrick_scale: false, + category: "activity" + }, + violin: { + keywords: [ "music", "instrument", "orchestra", "symphony" ], + char: '\ud83c\udfbb', + fitzpatrick_scale: false, + category: "activity" + }, + clapper: { + keywords: [ "movie", "film", "record" ], + char: '\ud83c\udfac', + fitzpatrick_scale: false, + category: "activity" + }, + video_game: { + keywords: [ "play", "console", "PS4", "controller" ], + char: '\ud83c\udfae', + fitzpatrick_scale: false, + category: "activity" + }, + space_invader: { + keywords: [ "game", "arcade", "play" ], + char: '\ud83d\udc7e', + fitzpatrick_scale: false, + category: "activity" + }, + dart: { + keywords: [ "game", "play", "bar", "target", "bullseye" ], + char: '\ud83c\udfaf', + fitzpatrick_scale: false, + category: "activity" + }, + game_die: { + keywords: [ "dice", "random", "tabletop", "play", "luck" ], + char: '\ud83c\udfb2', + fitzpatrick_scale: false, + category: "activity" + }, + chess_pawn: { + keywords: [ "expendable" ], + char: "\u265f", + fitzpatrick_scale: false, + category: "activity" + }, + slot_machine: { + keywords: [ "bet", "gamble", "vegas", "fruit machine", "luck", "casino" ], + char: '\ud83c\udfb0', + fitzpatrick_scale: false, + category: "activity" + }, + jigsaw: { + keywords: [ "interlocking", "puzzle", "piece" ], + char: '\ud83e\udde9', + fitzpatrick_scale: false, + category: "activity" + }, + bowling: { + keywords: [ "sports", "fun", "play" ], + char: '\ud83c\udfb3', + fitzpatrick_scale: false, + category: "activity" + }, + red_car: { + keywords: [ "red", "transportation", "vehicle" ], + char: '\ud83d\ude97', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + taxi: { + keywords: [ "uber", "vehicle", "cars", "transportation" ], + char: '\ud83d\ude95', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + blue_car: { + keywords: [ "transportation", "vehicle" ], + char: '\ud83d\ude99', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + bus: { + keywords: [ "car", "vehicle", "transportation" ], + char: '\ud83d\ude8c', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + trolleybus: { + keywords: [ "bart", "transportation", "vehicle" ], + char: '\ud83d\ude8e', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + racing_car: { + keywords: [ "sports", "race", "fast", "formula", "f1" ], + char: '\ud83c\udfce', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + police_car: { + keywords: [ "vehicle", "cars", "transportation", "law", "legal", "enforcement" ], + char: '\ud83d\ude93', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + ambulance: { + keywords: [ "health", "911", "hospital" ], + char: '\ud83d\ude91', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + fire_engine: { + keywords: [ "transportation", "cars", "vehicle" ], + char: '\ud83d\ude92', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + minibus: { + keywords: [ "vehicle", "car", "transportation" ], + char: '\ud83d\ude90', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + truck: { + keywords: [ "cars", "transportation" ], + char: '\ud83d\ude9a', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + articulated_lorry: { + keywords: [ "vehicle", "cars", "transportation", "express" ], + char: '\ud83d\ude9b', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + tractor: { + keywords: [ "vehicle", "car", "farming", "agriculture" ], + char: '\ud83d\ude9c', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + kick_scooter: { + keywords: [ "vehicle", "kick", "razor" ], + char: '\ud83d\udef4', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + motorcycle: { + keywords: [ "race", "sports", "fast" ], + char: '\ud83c\udfcd', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + bike: { + keywords: [ "sports", "bicycle", "exercise", "hipster" ], + char: '\ud83d\udeb2', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + motor_scooter: { + keywords: [ "vehicle", "vespa", "sasha" ], + char: '\ud83d\udef5', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + rotating_light: { + keywords: [ "police", "ambulance", "911", "emergency", "alert", "error", "pinged", "law", "legal" ], + char: '\ud83d\udea8', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + oncoming_police_car: { + keywords: [ "vehicle", "law", "legal", "enforcement", "911" ], + char: '\ud83d\ude94', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + oncoming_bus: { + keywords: [ "vehicle", "transportation" ], + char: '\ud83d\ude8d', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + oncoming_automobile: { + keywords: [ "car", "vehicle", "transportation" ], + char: '\ud83d\ude98', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + oncoming_taxi: { + keywords: [ "vehicle", "cars", "uber" ], + char: '\ud83d\ude96', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + aerial_tramway: { + keywords: [ "transportation", "vehicle", "ski" ], + char: '\ud83d\udea1', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + mountain_cableway: { + keywords: [ "transportation", "vehicle", "ski" ], + char: '\ud83d\udea0', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + suspension_railway: { + keywords: [ "vehicle", "transportation" ], + char: '\ud83d\ude9f', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + railway_car: { + keywords: [ "transportation", "vehicle" ], + char: '\ud83d\ude83', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + train: { + keywords: [ "transportation", "vehicle", "carriage", "public", "travel" ], + char: '\ud83d\ude8b', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + monorail: { + keywords: [ "transportation", "vehicle" ], + char: '\ud83d\ude9d', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + bullettrain_side: { + keywords: [ "transportation", "vehicle" ], + char: '\ud83d\ude84', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + bullettrain_front: { + keywords: [ "transportation", "vehicle", "speed", "fast", "public", "travel" ], + char: '\ud83d\ude85', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + light_rail: { + keywords: [ "transportation", "vehicle" ], + char: '\ud83d\ude88', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + mountain_railway: { + keywords: [ "transportation", "vehicle" ], + char: '\ud83d\ude9e', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + steam_locomotive: { + keywords: [ "transportation", "vehicle", "train" ], + char: '\ud83d\ude82', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + train2: { + keywords: [ "transportation", "vehicle" ], + char: '\ud83d\ude86', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + metro: { + keywords: [ "transportation", "blue-square", "mrt", "underground", "tube" ], + char: '\ud83d\ude87', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + tram: { + keywords: [ "transportation", "vehicle" ], + char: '\ud83d\ude8a', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + station: { + keywords: [ "transportation", "vehicle", "public" ], + char: '\ud83d\ude89', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + flying_saucer: { + keywords: [ "transportation", "vehicle", "ufo" ], + char: '\ud83d\udef8', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + helicopter: { + keywords: [ "transportation", "vehicle", "fly" ], + char: '\ud83d\ude81', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + small_airplane: { + keywords: [ "flight", "transportation", "fly", "vehicle" ], + char: '\ud83d\udee9', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + airplane: { + keywords: [ "vehicle", "transportation", "flight", "fly" ], + char: '\u2708\ufe0f', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + flight_departure: { + keywords: [ "airport", "flight", "landing" ], + char: '\ud83d\udeeb', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + flight_arrival: { + keywords: [ "airport", "flight", "boarding" ], + char: '\ud83d\udeec', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + sailboat: { + keywords: [ "ship", "summer", "transportation", "water", "sailing" ], + char: '\u26f5', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + motor_boat: { + keywords: [ "ship" ], + char: '\ud83d\udee5', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + speedboat: { + keywords: [ "ship", "transportation", "vehicle", "summer" ], + char: '\ud83d\udea4', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + ferry: { + keywords: [ "boat", "ship", "yacht" ], + char: '\u26f4', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + passenger_ship: { + keywords: [ "yacht", "cruise", "ferry" ], + char: '\ud83d\udef3', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + rocket: { + keywords: [ "launch", "ship", "staffmode", "NASA", "outer space", "outer_space", "fly" ], + char: '\ud83d\ude80', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + artificial_satellite: { + keywords: [ "communication", "gps", "orbit", "spaceflight", "NASA", "ISS" ], + char: '\ud83d\udef0', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + seat: { + keywords: [ "sit", "airplane", "transport", "bus", "flight", "fly" ], + char: '\ud83d\udcba', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + canoe: { + keywords: [ "boat", "paddle", "water", "ship" ], + char: '\ud83d\udef6', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + anchor: { + keywords: [ "ship", "ferry", "sea", "boat" ], + char: '\u2693', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + construction: { + keywords: [ "wip", "progress", "caution", "warning" ], + char: '\ud83d\udea7', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + fuelpump: { + keywords: [ "gas station", "petroleum" ], + char: '\u26fd', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + busstop: { + keywords: [ "transportation", "wait" ], + char: '\ud83d\ude8f', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + vertical_traffic_light: { + keywords: [ "transportation", "driving" ], + char: '\ud83d\udea6', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + traffic_light: { + keywords: [ "transportation", "signal" ], + char: '\ud83d\udea5', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + checkered_flag: { + keywords: [ "contest", "finishline", "race", "gokart" ], + char: '\ud83c\udfc1', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + ship: { + keywords: [ "transportation", "titanic", "deploy" ], + char: '\ud83d\udea2', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + ferris_wheel: { + keywords: [ "photo", "carnival", "londoneye" ], + char: '\ud83c\udfa1', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + roller_coaster: { + keywords: [ "carnival", "playground", "photo", "fun" ], + char: '\ud83c\udfa2', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + carousel_horse: { + keywords: [ "photo", "carnival" ], + char: '\ud83c\udfa0', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + building_construction: { + keywords: [ "wip", "working", "progress" ], + char: '\ud83c\udfd7', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + foggy: { + keywords: [ "photo", "mountain" ], + char: '\ud83c\udf01', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + tokyo_tower: { + keywords: [ "photo", "japanese" ], + char: '\ud83d\uddfc', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + factory: { + keywords: [ "building", "industry", "pollution", "smoke" ], + char: '\ud83c\udfed', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + fountain: { + keywords: [ "photo", "summer", "water", "fresh" ], + char: '\u26f2', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + rice_scene: { + keywords: [ "photo", "japan", "asia", "tsukimi" ], + char: '\ud83c\udf91', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + mountain: { + keywords: [ "photo", "nature", "environment" ], + char: '\u26f0', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + mountain_snow: { + keywords: [ "photo", "nature", "environment", "winter", "cold" ], + char: '\ud83c\udfd4', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + mount_fuji: { + keywords: [ "photo", "mountain", "nature", "japanese" ], + char: '\ud83d\uddfb', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + volcano: { + keywords: [ "photo", "nature", "disaster" ], + char: '\ud83c\udf0b', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + japan: { + keywords: [ "nation", "country", "japanese", "asia" ], + char: '\ud83d\uddfe', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + camping: { + keywords: [ "photo", "outdoors", "tent" ], + char: '\ud83c\udfd5', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + tent: { + keywords: [ "photo", "camping", "outdoors" ], + char: '\u26fa', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + national_park: { + keywords: [ "photo", "environment", "nature" ], + char: '\ud83c\udfde', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + motorway: { + keywords: [ "road", "cupertino", "interstate", "highway" ], + char: '\ud83d\udee3', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + railway_track: { + keywords: [ "train", "transportation" ], + char: '\ud83d\udee4', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + sunrise: { + keywords: [ "morning", "view", "vacation", "photo" ], + char: '\ud83c\udf05', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + sunrise_over_mountains: { + keywords: [ "view", "vacation", "photo" ], + char: '\ud83c\udf04', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + desert: { + keywords: [ "photo", "warm", "saharah" ], + char: '\ud83c\udfdc', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + beach_umbrella: { + keywords: [ "weather", "summer", "sunny", "sand", "mojito" ], + char: '\ud83c\udfd6', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + desert_island: { + keywords: [ "photo", "tropical", "mojito" ], + char: '\ud83c\udfdd', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + city_sunrise: { + keywords: [ "photo", "good morning", "dawn" ], + char: '\ud83c\udf07', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + city_sunset: { + keywords: [ "photo", "evening", "sky", "buildings" ], + char: '\ud83c\udf06', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + cityscape: { + keywords: [ "photo", "night life", "urban" ], + char: '\ud83c\udfd9', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + night_with_stars: { + keywords: [ "evening", "city", "downtown" ], + char: '\ud83c\udf03', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + bridge_at_night: { + keywords: [ "photo", "sanfrancisco" ], + char: '\ud83c\udf09', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + milky_way: { + keywords: [ "photo", "space", "stars" ], + char: '\ud83c\udf0c', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + stars: { + keywords: [ "night", "photo" ], + char: '\ud83c\udf20', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + sparkler: { + keywords: [ "stars", "night", "shine" ], + char: '\ud83c\udf87', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + fireworks: { + keywords: [ "photo", "festival", "carnival", "congratulations" ], + char: '\ud83c\udf86', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + rainbow: { + keywords: [ "nature", "happy", "unicorn_face", "photo", "sky", "spring" ], + char: '\ud83c\udf08', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + houses: { + keywords: [ "buildings", "photo" ], + char: '\ud83c\udfd8', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + european_castle: { + keywords: [ "building", "royalty", "history" ], + char: '\ud83c\udff0', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + japanese_castle: { + keywords: [ "photo", "building" ], + char: '\ud83c\udfef', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + stadium: { + keywords: [ "photo", "place", "sports", "concert", "venue" ], + char: '\ud83c\udfdf', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + statue_of_liberty: { + keywords: [ "american", "newyork" ], + char: '\ud83d\uddfd', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + house: { + keywords: [ "building", "home" ], + char: '\ud83c\udfe0', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + house_with_garden: { + keywords: [ "home", "plant", "nature" ], + char: '\ud83c\udfe1', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + derelict_house: { + keywords: [ "abandon", "evict", "broken", "building" ], + char: '\ud83c\udfda', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + office: { + keywords: [ "building", "bureau", "work" ], + char: '\ud83c\udfe2', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + department_store: { + keywords: [ "building", "shopping", "mall" ], + char: '\ud83c\udfec', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + post_office: { + keywords: [ "building", "envelope", "communication" ], + char: '\ud83c\udfe3', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + european_post_office: { + keywords: [ "building", "email" ], + char: '\ud83c\udfe4', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + hospital: { + keywords: [ "building", "health", "surgery", "doctor" ], + char: '\ud83c\udfe5', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + bank: { + keywords: [ "building", "money", "sales", "cash", "business", "enterprise" ], + char: '\ud83c\udfe6', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + hotel: { + keywords: [ "building", "accomodation", "checkin" ], + char: '\ud83c\udfe8', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + convenience_store: { + keywords: [ "building", "shopping", "groceries" ], + char: '\ud83c\udfea', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + school: { + keywords: [ "building", "student", "education", "learn", "teach" ], + char: '\ud83c\udfeb', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + love_hotel: { + keywords: [ "like", "affection", "dating" ], + char: '\ud83c\udfe9', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + wedding: { + keywords: [ "love", "like", "affection", "couple", "marriage", "bride", "groom" ], + char: '\ud83d\udc92', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + classical_building: { + keywords: [ "art", "culture", "history" ], + char: '\ud83c\udfdb', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + church: { + keywords: [ "building", "religion", "christ" ], + char: '\u26ea', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + mosque: { + keywords: [ "islam", "worship", "minaret" ], + char: '\ud83d\udd4c', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + synagogue: { + keywords: [ "judaism", "worship", "temple", "jewish" ], + char: '\ud83d\udd4d', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + kaaba: { + keywords: [ "mecca", "mosque", "islam" ], + char: '\ud83d\udd4b', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + shinto_shrine: { + keywords: [ "temple", "japan", "kyoto" ], + char: '\u26e9', + fitzpatrick_scale: false, + category: "travel_and_places" + }, + watch: { + keywords: [ "time", "accessories" ], + char: '\u231a', + fitzpatrick_scale: false, + category: "objects" + }, + iphone: { + keywords: [ "technology", "apple", "gadgets", "dial" ], + char: '\ud83d\udcf1', + fitzpatrick_scale: false, + category: "objects" + }, + calling: { + keywords: [ "iphone", "incoming" ], + char: '\ud83d\udcf2', + fitzpatrick_scale: false, + category: "objects" + }, + computer: { + keywords: [ "technology", "laptop", "screen", "display", "monitor" ], + char: '\ud83d\udcbb', + fitzpatrick_scale: false, + category: "objects" + }, + keyboard: { + keywords: [ "technology", "computer", "type", "input", "text" ], + char: '\u2328', + fitzpatrick_scale: false, + category: "objects" + }, + desktop_computer: { + keywords: [ "technology", "computing", "screen" ], + char: '\ud83d\udda5', + fitzpatrick_scale: false, + category: "objects" + }, + printer: { + keywords: [ "paper", "ink" ], + char: '\ud83d\udda8', + fitzpatrick_scale: false, + category: "objects" + }, + computer_mouse: { + keywords: [ "click" ], + char: '\ud83d\uddb1', + fitzpatrick_scale: false, + category: "objects" + }, + trackball: { + keywords: [ "technology", "trackpad" ], + char: '\ud83d\uddb2', + fitzpatrick_scale: false, + category: "objects" + }, + joystick: { + keywords: [ "game", "play" ], + char: '\ud83d\udd79', + fitzpatrick_scale: false, + category: "objects" + }, + clamp: { + keywords: [ "tool" ], + char: '\ud83d\udddc', + fitzpatrick_scale: false, + category: "objects" + }, + minidisc: { + keywords: [ "technology", "record", "data", "disk", "90s" ], + char: '\ud83d\udcbd', + fitzpatrick_scale: false, + category: "objects" + }, + floppy_disk: { + keywords: [ "oldschool", "technology", "save", "90s", "80s" ], + char: '\ud83d\udcbe', + fitzpatrick_scale: false, + category: "objects" + }, + cd: { + keywords: [ "technology", "dvd", "disk", "disc", "90s" ], + char: '\ud83d\udcbf', + fitzpatrick_scale: false, + category: "objects" + }, + dvd: { + keywords: [ "cd", "disk", "disc" ], + char: '\ud83d\udcc0', + fitzpatrick_scale: false, + category: "objects" + }, + vhs: { + keywords: [ "record", "video", "oldschool", "90s", "80s" ], + char: '\ud83d\udcfc', + fitzpatrick_scale: false, + category: "objects" + }, + camera: { + keywords: [ "gadgets", "photography" ], + char: '\ud83d\udcf7', + fitzpatrick_scale: false, + category: "objects" + }, + camera_flash: { + keywords: [ "photography", "gadgets" ], + char: '\ud83d\udcf8', + fitzpatrick_scale: false, + category: "objects" + }, + video_camera: { + keywords: [ "film", "record" ], + char: '\ud83d\udcf9', + fitzpatrick_scale: false, + category: "objects" + }, + movie_camera: { + keywords: [ "film", "record" ], + char: '\ud83c\udfa5', + fitzpatrick_scale: false, + category: "objects" + }, + film_projector: { + keywords: [ "video", "tape", "record", "movie" ], + char: '\ud83d\udcfd', + fitzpatrick_scale: false, + category: "objects" + }, + film_strip: { + keywords: [ "movie" ], + char: '\ud83c\udf9e', + fitzpatrick_scale: false, + category: "objects" + }, + telephone_receiver: { + keywords: [ "technology", "communication", "dial" ], + char: '\ud83d\udcde', + fitzpatrick_scale: false, + category: "objects" + }, + phone: { + keywords: [ "technology", "communication", "dial", "telephone" ], + char: '\u260e\ufe0f', + fitzpatrick_scale: false, + category: "objects" + }, + pager: { + keywords: [ "bbcall", "oldschool", "90s" ], + char: '\ud83d\udcdf', + fitzpatrick_scale: false, + category: "objects" + }, + fax: { + keywords: [ "communication", "technology" ], + char: '\ud83d\udce0', + fitzpatrick_scale: false, + category: "objects" + }, + tv: { + keywords: [ "technology", "program", "oldschool", "show", "television" ], + char: '\ud83d\udcfa', + fitzpatrick_scale: false, + category: "objects" + }, + radio: { + keywords: [ "communication", "music", "podcast", "program" ], + char: '\ud83d\udcfb', + fitzpatrick_scale: false, + category: "objects" + }, + studio_microphone: { + keywords: [ "sing", "recording", "artist", "talkshow" ], + char: '\ud83c\udf99', + fitzpatrick_scale: false, + category: "objects" + }, + level_slider: { + keywords: [ "scale" ], + char: '\ud83c\udf9a', + fitzpatrick_scale: false, + category: "objects" + }, + control_knobs: { + keywords: [ "dial" ], + char: '\ud83c\udf9b', + fitzpatrick_scale: false, + category: "objects" + }, + compass: { + keywords: [ "magnetic", "navigation", "orienteering" ], + char: '\ud83e\udded', + fitzpatrick_scale: false, + category: "objects" + }, + stopwatch: { + keywords: [ "time", "deadline" ], + char: '\u23f1', + fitzpatrick_scale: false, + category: "objects" + }, + timer_clock: { + keywords: [ "alarm" ], + char: '\u23f2', + fitzpatrick_scale: false, + category: "objects" + }, + alarm_clock: { + keywords: [ "time", "wake" ], + char: '\u23f0', + fitzpatrick_scale: false, + category: "objects" + }, + mantelpiece_clock: { + keywords: [ "time" ], + char: '\ud83d\udd70', + fitzpatrick_scale: false, + category: "objects" + }, + hourglass_flowing_sand: { + keywords: [ "oldschool", "time", "countdown" ], + char: '\u23f3', + fitzpatrick_scale: false, + category: "objects" + }, + hourglass: { + keywords: [ "time", "clock", "oldschool", "limit", "exam", "quiz", "test" ], + char: '\u231b', + fitzpatrick_scale: false, + category: "objects" + }, + satellite: { + keywords: [ "communication", "future", "radio", "space" ], + char: '\ud83d\udce1', + fitzpatrick_scale: false, + category: "objects" + }, + battery: { + keywords: [ "power", "energy", "sustain" ], + char: '\ud83d\udd0b', + fitzpatrick_scale: false, + category: "objects" + }, + electric_plug: { + keywords: [ "charger", "power" ], + char: '\ud83d\udd0c', + fitzpatrick_scale: false, + category: "objects" + }, + bulb: { + keywords: [ "light", "electricity", "idea" ], + char: '\ud83d\udca1', + fitzpatrick_scale: false, + category: "objects" + }, + flashlight: { + keywords: [ "dark", "camping", "sight", "night" ], + char: '\ud83d\udd26', + fitzpatrick_scale: false, + category: "objects" + }, + candle: { + keywords: [ "fire", "wax" ], + char: '\ud83d\udd6f', + fitzpatrick_scale: false, + category: "objects" + }, + fire_extinguisher: { + keywords: [ "quench" ], + char: '\ud83e\uddef', + fitzpatrick_scale: false, + category: "objects" + }, + wastebasket: { + keywords: [ "bin", "trash", "rubbish", "garbage", "toss" ], + char: '\ud83d\uddd1', + fitzpatrick_scale: false, + category: "objects" + }, + oil_drum: { + keywords: [ "barrell" ], + char: '\ud83d\udee2', + fitzpatrick_scale: false, + category: "objects" + }, + money_with_wings: { + keywords: [ "dollar", "bills", "payment", "sale" ], + char: '\ud83d\udcb8', + fitzpatrick_scale: false, + category: "objects" + }, + dollar: { + keywords: [ "money", "sales", "bill", "currency" ], + char: '\ud83d\udcb5', + fitzpatrick_scale: false, + category: "objects" + }, + yen: { + keywords: [ "money", "sales", "japanese", "dollar", "currency" ], + char: '\ud83d\udcb4', + fitzpatrick_scale: false, + category: "objects" + }, + euro: { + keywords: [ "money", "sales", "dollar", "currency" ], + char: '\ud83d\udcb6', + fitzpatrick_scale: false, + category: "objects" + }, + pound: { + keywords: [ "british", "sterling", "money", "sales", "bills", "uk", "england", "currency" ], + char: '\ud83d\udcb7', + fitzpatrick_scale: false, + category: "objects" + }, + moneybag: { + keywords: [ "dollar", "payment", "coins", "sale" ], + char: '\ud83d\udcb0', + fitzpatrick_scale: false, + category: "objects" + }, + credit_card: { + keywords: [ "money", "sales", "dollar", "bill", "payment", "shopping" ], + char: '\ud83d\udcb3', + fitzpatrick_scale: false, + category: "objects" + }, + gem: { + keywords: [ "blue", "ruby", "diamond", "jewelry" ], + char: '\ud83d\udc8e', + fitzpatrick_scale: false, + category: "objects" + }, + balance_scale: { + keywords: [ "law", "fairness", "weight" ], + char: '\u2696', + fitzpatrick_scale: false, + category: "objects" + }, + toolbox: { + keywords: [ "tools", "diy", "fix", "maintainer", "mechanic" ], + char: '\ud83e\uddf0', + fitzpatrick_scale: false, + category: "objects" + }, + wrench: { + keywords: [ "tools", "diy", "ikea", "fix", "maintainer" ], + char: '\ud83d\udd27', + fitzpatrick_scale: false, + category: "objects" + }, + hammer: { + keywords: [ "tools", "build", "create" ], + char: '\ud83d\udd28', + fitzpatrick_scale: false, + category: "objects" + }, + hammer_and_pick: { + keywords: [ "tools", "build", "create" ], + char: '\u2692', + fitzpatrick_scale: false, + category: "objects" + }, + hammer_and_wrench: { + keywords: [ "tools", "build", "create" ], + char: '\ud83d\udee0', + fitzpatrick_scale: false, + category: "objects" + }, + pick: { + keywords: [ "tools", "dig" ], + char: '\u26cf', + fitzpatrick_scale: false, + category: "objects" + }, + nut_and_bolt: { + keywords: [ "handy", "tools", "fix" ], + char: '\ud83d\udd29', + fitzpatrick_scale: false, + category: "objects" + }, + gear: { + keywords: [ "cog" ], + char: '\u2699', + fitzpatrick_scale: false, + category: "objects" + }, + brick: { + keywords: [ "bricks" ], + char: '\ud83e\uddf1', + fitzpatrick_scale: false, + category: "objects" + }, + chains: { + keywords: [ "lock", "arrest" ], + char: '\u26d3', + fitzpatrick_scale: false, + category: "objects" + }, + magnet: { + keywords: [ "attraction", "magnetic" ], + char: '\ud83e\uddf2', + fitzpatrick_scale: false, + category: "objects" + }, + gun: { + keywords: [ "violence", "weapon", "pistol", "revolver" ], + char: '\ud83d\udd2b', + fitzpatrick_scale: false, + category: "objects" + }, + bomb: { + keywords: [ "boom", "explode", "explosion", "terrorism" ], + char: '\ud83d\udca3', + fitzpatrick_scale: false, + category: "objects" + }, + firecracker: { + keywords: [ "dynamite", "boom", "explode", "explosion", "explosive" ], + char: '\ud83e\udde8', + fitzpatrick_scale: false, + category: "objects" + }, + hocho: { + keywords: [ "knife", "blade", "cutlery", "kitchen", "weapon" ], + char: '\ud83d\udd2a', + fitzpatrick_scale: false, + category: "objects" + }, + dagger: { + keywords: [ "weapon" ], + char: '\ud83d\udde1', + fitzpatrick_scale: false, + category: "objects" + }, + crossed_swords: { + keywords: [ "weapon" ], + char: '\u2694', + fitzpatrick_scale: false, + category: "objects" + }, + shield: { + keywords: [ "protection", "security" ], + char: '\ud83d\udee1', + fitzpatrick_scale: false, + category: "objects" + }, + smoking: { + keywords: [ "kills", "tobacco", "cigarette", "joint", "smoke" ], + char: '\ud83d\udeac', + fitzpatrick_scale: false, + category: "objects" + }, + skull_and_crossbones: { + keywords: [ "poison", "danger", "deadly", "scary", "death", "pirate", "evil" ], + char: '\u2620', + fitzpatrick_scale: false, + category: "objects" + }, + coffin: { + keywords: [ "vampire", "dead", "die", "death", "rip", "graveyard", "cemetery", "casket", "funeral", "box" ], + char: '\u26b0', + fitzpatrick_scale: false, + category: "objects" + }, + funeral_urn: { + keywords: [ "dead", "die", "death", "rip", "ashes" ], + char: '\u26b1', + fitzpatrick_scale: false, + category: "objects" + }, + amphora: { + keywords: [ "vase", "jar" ], + char: '\ud83c\udffa', + fitzpatrick_scale: false, + category: "objects" + }, + crystal_ball: { + keywords: [ "disco", "party", "magic", "circus", "fortune_teller" ], + char: '\ud83d\udd2e', + fitzpatrick_scale: false, + category: "objects" + }, + prayer_beads: { + keywords: [ "dhikr", "religious" ], + char: '\ud83d\udcff', + fitzpatrick_scale: false, + category: "objects" + }, + nazar_amulet: { + keywords: [ "bead", "charm" ], + char: '\ud83e\uddff', + fitzpatrick_scale: false, + category: "objects" + }, + barber: { + keywords: [ "hair", "salon", "style" ], + char: '\ud83d\udc88', + fitzpatrick_scale: false, + category: "objects" + }, + alembic: { + keywords: [ "distilling", "science", "experiment", "chemistry" ], + char: '\u2697', + fitzpatrick_scale: false, + category: "objects" + }, + telescope: { + keywords: [ "stars", "space", "zoom", "science", "astronomy" ], + char: '\ud83d\udd2d', + fitzpatrick_scale: false, + category: "objects" + }, + microscope: { + keywords: [ "laboratory", "experiment", "zoomin", "science", "study" ], + char: '\ud83d\udd2c', + fitzpatrick_scale: false, + category: "objects" + }, + hole: { + keywords: [ "embarrassing" ], + char: '\ud83d\udd73', + fitzpatrick_scale: false, + category: "objects" + }, + pill: { + keywords: [ "health", "medicine", "doctor", "pharmacy", "drug" ], + char: '\ud83d\udc8a', + fitzpatrick_scale: false, + category: "objects" + }, + syringe: { + keywords: [ "health", "hospital", "drugs", "blood", "medicine", "needle", "doctor", "nurse" ], + char: '\ud83d\udc89', + fitzpatrick_scale: false, + category: "objects" + }, + dna: { + keywords: [ "biologist", "genetics", "life" ], + char: '\ud83e\uddec', + fitzpatrick_scale: false, + category: "objects" + }, + microbe: { + keywords: [ "amoeba", "bacteria", "germs" ], + char: '\ud83e\udda0', + fitzpatrick_scale: false, + category: "objects" + }, + petri_dish: { + keywords: [ "bacteria", "biology", "culture", "lab" ], + char: '\ud83e\uddeb', + fitzpatrick_scale: false, + category: "objects" + }, + test_tube: { + keywords: [ "chemistry", "experiment", "lab", "science" ], + char: '\ud83e\uddea', + fitzpatrick_scale: false, + category: "objects" + }, + thermometer: { + keywords: [ "weather", "temperature", "hot", "cold" ], + char: '\ud83c\udf21', + fitzpatrick_scale: false, + category: "objects" + }, + broom: { + keywords: [ "cleaning", "sweeping", "witch" ], + char: '\ud83e\uddf9', + fitzpatrick_scale: false, + category: "objects" + }, + basket: { + keywords: [ "laundry" ], + char: '\ud83e\uddfa', + fitzpatrick_scale: false, + category: "objects" + }, + toilet_paper: { + keywords: [ "roll" ], + char: '\ud83e\uddfb', + fitzpatrick_scale: false, + category: "objects" + }, + label: { + keywords: [ "sale", "tag" ], + char: '\ud83c\udff7', + fitzpatrick_scale: false, + category: "objects" + }, + bookmark: { + keywords: [ "favorite", "label", "save" ], + char: '\ud83d\udd16', + fitzpatrick_scale: false, + category: "objects" + }, + toilet: { + keywords: [ "restroom", "wc", "washroom", "bathroom", "potty" ], + char: '\ud83d\udebd', + fitzpatrick_scale: false, + category: "objects" + }, + shower: { + keywords: [ "clean", "water", "bathroom" ], + char: '\ud83d\udebf', + fitzpatrick_scale: false, + category: "objects" + }, + bathtub: { + keywords: [ "clean", "shower", "bathroom" ], + char: '\ud83d\udec1', + fitzpatrick_scale: false, + category: "objects" + }, + soap: { + keywords: [ "bar", "bathing", "cleaning", "lather" ], + char: '\ud83e\uddfc', + fitzpatrick_scale: false, + category: "objects" + }, + sponge: { + keywords: [ "absorbing", "cleaning", "porous" ], + char: '\ud83e\uddfd', + fitzpatrick_scale: false, + category: "objects" + }, + lotion_bottle: { + keywords: [ "moisturizer", "sunscreen" ], + char: '\ud83e\uddf4', + fitzpatrick_scale: false, + category: "objects" + }, + key: { + keywords: [ "lock", "door", "password" ], + char: '\ud83d\udd11', + fitzpatrick_scale: false, + category: "objects" + }, + old_key: { + keywords: [ "lock", "door", "password" ], + char: '\ud83d\udddd', + fitzpatrick_scale: false, + category: "objects" + }, + couch_and_lamp: { + keywords: [ "read", "chill" ], + char: '\ud83d\udecb', + fitzpatrick_scale: false, + category: "objects" + }, + sleeping_bed: { + keywords: [ "bed", "rest" ], + char: '\ud83d\udecc', + fitzpatrick_scale: true, + category: "objects" + }, + bed: { + keywords: [ "sleep", "rest" ], + char: '\ud83d\udecf', + fitzpatrick_scale: false, + category: "objects" + }, + door: { + keywords: [ "house", "entry", "exit" ], + char: '\ud83d\udeaa', + fitzpatrick_scale: false, + category: "objects" + }, + bellhop_bell: { + keywords: [ "service" ], + char: '\ud83d\udece', + fitzpatrick_scale: false, + category: "objects" + }, + teddy_bear: { + keywords: [ "plush", "stuffed" ], + char: '\ud83e\uddf8', + fitzpatrick_scale: false, + category: "objects" + }, + framed_picture: { + keywords: [ "photography" ], + char: '\ud83d\uddbc', + fitzpatrick_scale: false, + category: "objects" + }, + world_map: { + keywords: [ "location", "direction" ], + char: '\ud83d\uddfa', + fitzpatrick_scale: false, + category: "objects" + }, + parasol_on_ground: { + keywords: [ "weather", "summer" ], + char: '\u26f1', + fitzpatrick_scale: false, + category: "objects" + }, + moyai: { + keywords: [ "rock", "easter island", "moai" ], + char: '\ud83d\uddff', + fitzpatrick_scale: false, + category: "objects" + }, + shopping: { + keywords: [ "mall", "buy", "purchase" ], + char: '\ud83d\udecd', + fitzpatrick_scale: false, + category: "objects" + }, + shopping_cart: { + keywords: [ "trolley" ], + char: '\ud83d\uded2', + fitzpatrick_scale: false, + category: "objects" + }, + balloon: { + keywords: [ "party", "celebration", "birthday", "circus" ], + char: '\ud83c\udf88', + fitzpatrick_scale: false, + category: "objects" + }, + flags: { + keywords: [ "fish", "japanese", "koinobori", "carp", "banner" ], + char: '\ud83c\udf8f', + fitzpatrick_scale: false, + category: "objects" + }, + ribbon: { + keywords: [ "decoration", "pink", "girl", "bowtie" ], + char: '\ud83c\udf80', + fitzpatrick_scale: false, + category: "objects" + }, + gift: { + keywords: [ "present", "birthday", "christmas", "xmas" ], + char: '\ud83c\udf81', + fitzpatrick_scale: false, + category: "objects" + }, + confetti_ball: { + keywords: [ "festival", "party", "birthday", "circus" ], + char: '\ud83c\udf8a', + fitzpatrick_scale: false, + category: "objects" + }, + tada: { + keywords: [ "party", "congratulations", "birthday", "magic", "circus", "celebration" ], + char: '\ud83c\udf89', + fitzpatrick_scale: false, + category: "objects" + }, + dolls: { + keywords: [ "japanese", "toy", "kimono" ], + char: '\ud83c\udf8e', + fitzpatrick_scale: false, + category: "objects" + }, + wind_chime: { + keywords: [ "nature", "ding", "spring", "bell" ], + char: '\ud83c\udf90', + fitzpatrick_scale: false, + category: "objects" + }, + crossed_flags: { + keywords: [ "japanese", "nation", "country", "border" ], + char: '\ud83c\udf8c', + fitzpatrick_scale: false, + category: "objects" + }, + izakaya_lantern: { + keywords: [ "light", "paper", "halloween", "spooky" ], + char: '\ud83c\udfee', + fitzpatrick_scale: false, + category: "objects" + }, + red_envelope: { + keywords: [ "gift" ], + char: '\ud83e\udde7', + fitzpatrick_scale: false, + category: "objects" + }, + email: { + keywords: [ "letter", "postal", "inbox", "communication" ], + char: '\u2709\ufe0f', + fitzpatrick_scale: false, + category: "objects" + }, + envelope_with_arrow: { + keywords: [ "email", "communication" ], + char: '\ud83d\udce9', + fitzpatrick_scale: false, + category: "objects" + }, + incoming_envelope: { + keywords: [ "email", "inbox" ], + char: '\ud83d\udce8', + fitzpatrick_scale: false, + category: "objects" + }, + "e-mail": { + keywords: [ "communication", "inbox" ], + char: '\ud83d\udce7', + fitzpatrick_scale: false, + category: "objects" + }, + love_letter: { + keywords: [ "email", "like", "affection", "envelope", "valentines" ], + char: '\ud83d\udc8c', + fitzpatrick_scale: false, + category: "objects" + }, + postbox: { + keywords: [ "email", "letter", "envelope" ], + char: '\ud83d\udcee', + fitzpatrick_scale: false, + category: "objects" + }, + mailbox_closed: { + keywords: [ "email", "communication", "inbox" ], + char: '\ud83d\udcea', + fitzpatrick_scale: false, + category: "objects" + }, + mailbox: { + keywords: [ "email", "inbox", "communication" ], + char: '\ud83d\udceb', + fitzpatrick_scale: false, + category: "objects" + }, + mailbox_with_mail: { + keywords: [ "email", "inbox", "communication" ], + char: '\ud83d\udcec', + fitzpatrick_scale: false, + category: "objects" + }, + mailbox_with_no_mail: { + keywords: [ "email", "inbox" ], + char: '\ud83d\udced', + fitzpatrick_scale: false, + category: "objects" + }, + package: { + keywords: [ "mail", "gift", "cardboard", "box", "moving" ], + char: '\ud83d\udce6', + fitzpatrick_scale: false, + category: "objects" + }, + postal_horn: { + keywords: [ "instrument", "music" ], + char: '\ud83d\udcef', + fitzpatrick_scale: false, + category: "objects" + }, + inbox_tray: { + keywords: [ "email", "documents" ], + char: '\ud83d\udce5', + fitzpatrick_scale: false, + category: "objects" + }, + outbox_tray: { + keywords: [ "inbox", "email" ], + char: '\ud83d\udce4', + fitzpatrick_scale: false, + category: "objects" + }, + scroll: { + keywords: [ "documents", "ancient", "history", "paper" ], + char: '\ud83d\udcdc', + fitzpatrick_scale: false, + category: "objects" + }, + page_with_curl: { + keywords: [ "documents", "office", "paper" ], + char: '\ud83d\udcc3', + fitzpatrick_scale: false, + category: "objects" + }, + bookmark_tabs: { + keywords: [ "favorite", "save", "order", "tidy" ], + char: '\ud83d\udcd1', + fitzpatrick_scale: false, + category: "objects" + }, + receipt: { + keywords: [ "accounting", "expenses" ], + char: '\ud83e\uddfe', + fitzpatrick_scale: false, + category: "objects" + }, + bar_chart: { + keywords: [ "graph", "presentation", "stats" ], + char: '\ud83d\udcca', + fitzpatrick_scale: false, + category: "objects" + }, + chart_with_upwards_trend: { + keywords: [ "graph", "presentation", "stats", "recovery", "business", "economics", "money", "sales", "good", "success" ], + char: '\ud83d\udcc8', + fitzpatrick_scale: false, + category: "objects" + }, + chart_with_downwards_trend: { + keywords: [ "graph", "presentation", "stats", "recession", "business", "economics", "money", "sales", "bad", "failure" ], + char: '\ud83d\udcc9', + fitzpatrick_scale: false, + category: "objects" + }, + page_facing_up: { + keywords: [ "documents", "office", "paper", "information" ], + char: '\ud83d\udcc4', + fitzpatrick_scale: false, + category: "objects" + }, + date: { + keywords: [ "calendar", "schedule" ], + char: '\ud83d\udcc5', + fitzpatrick_scale: false, + category: "objects" + }, + calendar: { + keywords: [ "schedule", "date", "planning" ], + char: '\ud83d\udcc6', + fitzpatrick_scale: false, + category: "objects" + }, + spiral_calendar: { + keywords: [ "date", "schedule", "planning" ], + char: '\ud83d\uddd3', + fitzpatrick_scale: false, + category: "objects" + }, + card_index: { + keywords: [ "business", "stationery" ], + char: '\ud83d\udcc7', + fitzpatrick_scale: false, + category: "objects" + }, + card_file_box: { + keywords: [ "business", "stationery" ], + char: '\ud83d\uddc3', + fitzpatrick_scale: false, + category: "objects" + }, + ballot_box: { + keywords: [ "election", "vote" ], + char: '\ud83d\uddf3', + fitzpatrick_scale: false, + category: "objects" + }, + file_cabinet: { + keywords: [ "filing", "organizing" ], + char: '\ud83d\uddc4', + fitzpatrick_scale: false, + category: "objects" + }, + clipboard: { + keywords: [ "stationery", "documents" ], + char: '\ud83d\udccb', + fitzpatrick_scale: false, + category: "objects" + }, + spiral_notepad: { + keywords: [ "memo", "stationery" ], + char: '\ud83d\uddd2', + fitzpatrick_scale: false, + category: "objects" + }, + file_folder: { + keywords: [ "documents", "business", "office" ], + char: '\ud83d\udcc1', + fitzpatrick_scale: false, + category: "objects" + }, + open_file_folder: { + keywords: [ "documents", "load" ], + char: '\ud83d\udcc2', + fitzpatrick_scale: false, + category: "objects" + }, + card_index_dividers: { + keywords: [ "organizing", "business", "stationery" ], + char: '\ud83d\uddc2', + fitzpatrick_scale: false, + category: "objects" + }, + newspaper_roll: { + keywords: [ "press", "headline" ], + char: '\ud83d\uddde', + fitzpatrick_scale: false, + category: "objects" + }, + newspaper: { + keywords: [ "press", "headline" ], + char: '\ud83d\udcf0', + fitzpatrick_scale: false, + category: "objects" + }, + notebook: { + keywords: [ "stationery", "record", "notes", "paper", "study" ], + char: '\ud83d\udcd3', + fitzpatrick_scale: false, + category: "objects" + }, + closed_book: { + keywords: [ "read", "library", "knowledge", "textbook", "learn" ], + char: '\ud83d\udcd5', + fitzpatrick_scale: false, + category: "objects" + }, + green_book: { + keywords: [ "read", "library", "knowledge", "study" ], + char: '\ud83d\udcd7', + fitzpatrick_scale: false, + category: "objects" + }, + blue_book: { + keywords: [ "read", "library", "knowledge", "learn", "study" ], + char: '\ud83d\udcd8', + fitzpatrick_scale: false, + category: "objects" + }, + orange_book: { + keywords: [ "read", "library", "knowledge", "textbook", "study" ], + char: '\ud83d\udcd9', + fitzpatrick_scale: false, + category: "objects" + }, + notebook_with_decorative_cover: { + keywords: [ "classroom", "notes", "record", "paper", "study" ], + char: '\ud83d\udcd4', + fitzpatrick_scale: false, + category: "objects" + }, + ledger: { + keywords: [ "notes", "paper" ], + char: '\ud83d\udcd2', + fitzpatrick_scale: false, + category: "objects" + }, + books: { + keywords: [ "literature", "library", "study" ], + char: '\ud83d\udcda', + fitzpatrick_scale: false, + category: "objects" + }, + open_book: { + keywords: [ "book", "read", "library", "knowledge", "literature", "learn", "study" ], + char: '\ud83d\udcd6', + fitzpatrick_scale: false, + category: "objects" + }, + safety_pin: { + keywords: [ "diaper" ], + char: '\ud83e\uddf7', + fitzpatrick_scale: false, + category: "objects" + }, + link: { + keywords: [ "rings", "url" ], + char: '\ud83d\udd17', + fitzpatrick_scale: false, + category: "objects" + }, + paperclip: { + keywords: [ "documents", "stationery" ], + char: '\ud83d\udcce', + fitzpatrick_scale: false, + category: "objects" + }, + paperclips: { + keywords: [ "documents", "stationery" ], + char: '\ud83d\udd87', + fitzpatrick_scale: false, + category: "objects" + }, + scissors: { + keywords: [ "stationery", "cut" ], + char: '\u2702\ufe0f', + fitzpatrick_scale: false, + category: "objects" + }, + triangular_ruler: { + keywords: [ "stationery", "math", "architect", "sketch" ], + char: '\ud83d\udcd0', + fitzpatrick_scale: false, + category: "objects" + }, + straight_ruler: { + keywords: [ "stationery", "calculate", "length", "math", "school", "drawing", "architect", "sketch" ], + char: '\ud83d\udccf', + fitzpatrick_scale: false, + category: "objects" + }, + abacus: { + keywords: [ "calculation" ], + char: '\ud83e\uddee', + fitzpatrick_scale: false, + category: "objects" + }, + pushpin: { + keywords: [ "stationery", "mark", "here" ], + char: '\ud83d\udccc', + fitzpatrick_scale: false, + category: "objects" + }, + round_pushpin: { + keywords: [ "stationery", "location", "map", "here" ], + char: '\ud83d\udccd', + fitzpatrick_scale: false, + category: "objects" + }, + triangular_flag_on_post: { + keywords: [ "mark", "milestone", "place" ], + char: '\ud83d\udea9', + fitzpatrick_scale: false, + category: "objects" + }, + white_flag: { + keywords: [ "losing", "loser", "lost", "surrender", "give up", "fail" ], + char: '\ud83c\udff3', + fitzpatrick_scale: false, + category: "objects" + }, + black_flag: { + keywords: [ "pirate" ], + char: '\ud83c\udff4', + fitzpatrick_scale: false, + category: "objects" + }, + rainbow_flag: { + keywords: [ "flag", "rainbow", "pride", "gay", "lgbt", "glbt", "queer", "homosexual", "lesbian", "bisexual", "transgender" ], + char: '\ud83c\udff3\ufe0f\u200d\ud83c\udf08', + fitzpatrick_scale: false, + category: "objects" + }, + closed_lock_with_key: { + keywords: [ "security", "privacy" ], + char: '\ud83d\udd10', + fitzpatrick_scale: false, + category: "objects" + }, + lock: { + keywords: [ "security", "password", "padlock" ], + char: '\ud83d\udd12', + fitzpatrick_scale: false, + category: "objects" + }, + unlock: { + keywords: [ "privacy", "security" ], + char: '\ud83d\udd13', + fitzpatrick_scale: false, + category: "objects" + }, + lock_with_ink_pen: { + keywords: [ "security", "secret" ], + char: '\ud83d\udd0f', + fitzpatrick_scale: false, + category: "objects" + }, + pen: { + keywords: [ "stationery", "writing", "write" ], + char: '\ud83d\udd8a', + fitzpatrick_scale: false, + category: "objects" + }, + fountain_pen: { + keywords: [ "stationery", "writing", "write" ], + char: '\ud83d\udd8b', + fitzpatrick_scale: false, + category: "objects" + }, + black_nib: { + keywords: [ "pen", "stationery", "writing", "write" ], + char: '\u2712\ufe0f', + fitzpatrick_scale: false, + category: "objects" + }, + memo: { + keywords: [ "write", "documents", "stationery", "pencil", "paper", "writing", "legal", "exam", "quiz", "test", "study", "compose" ], + char: '\ud83d\udcdd', + fitzpatrick_scale: false, + category: "objects" + }, + pencil2: { + keywords: [ "stationery", "write", "paper", "writing", "school", "study" ], + char: '\u270f\ufe0f', + fitzpatrick_scale: false, + category: "objects" + }, + crayon: { + keywords: [ "drawing", "creativity" ], + char: '\ud83d\udd8d', + fitzpatrick_scale: false, + category: "objects" + }, + paintbrush: { + keywords: [ "drawing", "creativity", "art" ], + char: '\ud83d\udd8c', + fitzpatrick_scale: false, + category: "objects" + }, + mag: { + keywords: [ "search", "zoom", "find", "detective" ], + char: '\ud83d\udd0d', + fitzpatrick_scale: false, + category: "objects" + }, + mag_right: { + keywords: [ "search", "zoom", "find", "detective" ], + char: '\ud83d\udd0e', + fitzpatrick_scale: false, + category: "objects" + }, + heart: { + keywords: [ "love", "like", "valentines" ], + char: '\u2764\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + orange_heart: { + keywords: [ "love", "like", "affection", "valentines" ], + char: '\ud83e\udde1', + fitzpatrick_scale: false, + category: "symbols" + }, + yellow_heart: { + keywords: [ "love", "like", "affection", "valentines" ], + char: '\ud83d\udc9b', + fitzpatrick_scale: false, + category: "symbols" + }, + green_heart: { + keywords: [ "love", "like", "affection", "valentines" ], + char: '\ud83d\udc9a', + fitzpatrick_scale: false, + category: "symbols" + }, + blue_heart: { + keywords: [ "love", "like", "affection", "valentines" ], + char: '\ud83d\udc99', + fitzpatrick_scale: false, + category: "symbols" + }, + purple_heart: { + keywords: [ "love", "like", "affection", "valentines" ], + char: '\ud83d\udc9c', + fitzpatrick_scale: false, + category: "symbols" + }, + black_heart: { + keywords: [ "evil" ], + char: '\ud83d\udda4', + fitzpatrick_scale: false, + category: "symbols" + }, + broken_heart: { + keywords: [ "sad", "sorry", "break", "heart", "heartbreak" ], + char: '\ud83d\udc94', + fitzpatrick_scale: false, + category: "symbols" + }, + heavy_heart_exclamation: { + keywords: [ "decoration", "love" ], + char: '\u2763', + fitzpatrick_scale: false, + category: "symbols" + }, + two_hearts: { + keywords: [ "love", "like", "affection", "valentines", "heart" ], + char: '\ud83d\udc95', + fitzpatrick_scale: false, + category: "symbols" + }, + revolving_hearts: { + keywords: [ "love", "like", "affection", "valentines" ], + char: '\ud83d\udc9e', + fitzpatrick_scale: false, + category: "symbols" + }, + heartbeat: { + keywords: [ "love", "like", "affection", "valentines", "pink", "heart" ], + char: '\ud83d\udc93', + fitzpatrick_scale: false, + category: "symbols" + }, + heartpulse: { + keywords: [ "like", "love", "affection", "valentines", "pink" ], + char: '\ud83d\udc97', + fitzpatrick_scale: false, + category: "symbols" + }, + sparkling_heart: { + keywords: [ "love", "like", "affection", "valentines" ], + char: '\ud83d\udc96', + fitzpatrick_scale: false, + category: "symbols" + }, + cupid: { + keywords: [ "love", "like", "heart", "affection", "valentines" ], + char: '\ud83d\udc98', + fitzpatrick_scale: false, + category: "symbols" + }, + gift_heart: { + keywords: [ "love", "valentines" ], + char: '\ud83d\udc9d', + fitzpatrick_scale: false, + category: "symbols" + }, + heart_decoration: { + keywords: [ "purple-square", "love", "like" ], + char: '\ud83d\udc9f', + fitzpatrick_scale: false, + category: "symbols" + }, + peace_symbol: { + keywords: [ "hippie" ], + char: '\u262e', + fitzpatrick_scale: false, + category: "symbols" + }, + latin_cross: { + keywords: [ "christianity" ], + char: '\u271d', + fitzpatrick_scale: false, + category: "symbols" + }, + star_and_crescent: { + keywords: [ "islam" ], + char: '\u262a', + fitzpatrick_scale: false, + category: "symbols" + }, + om: { + keywords: [ "hinduism", "buddhism", "sikhism", "jainism" ], + char: '\ud83d\udd49', + fitzpatrick_scale: false, + category: "symbols" + }, + wheel_of_dharma: { + keywords: [ "hinduism", "buddhism", "sikhism", "jainism" ], + char: '\u2638', + fitzpatrick_scale: false, + category: "symbols" + }, + star_of_david: { + keywords: [ "judaism" ], + char: '\u2721', + fitzpatrick_scale: false, + category: "symbols" + }, + six_pointed_star: { + keywords: [ "purple-square", "religion", "jewish", "hexagram" ], + char: '\ud83d\udd2f', + fitzpatrick_scale: false, + category: "symbols" + }, + menorah: { + keywords: [ "hanukkah", "candles", "jewish" ], + char: '\ud83d\udd4e', + fitzpatrick_scale: false, + category: "symbols" + }, + yin_yang: { + keywords: [ "balance" ], + char: '\u262f', + fitzpatrick_scale: false, + category: "symbols" + }, + orthodox_cross: { + keywords: [ "suppedaneum", "religion" ], + char: '\u2626', + fitzpatrick_scale: false, + category: "symbols" + }, + place_of_worship: { + keywords: [ "religion", "church", "temple", "prayer" ], + char: '\ud83d\uded0', + fitzpatrick_scale: false, + category: "symbols" + }, + ophiuchus: { + keywords: [ "sign", "purple-square", "constellation", "astrology" ], + char: '\u26ce', + fitzpatrick_scale: false, + category: "symbols" + }, + aries: { + keywords: [ "sign", "purple-square", "zodiac", "astrology" ], + char: '\u2648', + fitzpatrick_scale: false, + category: "symbols" + }, + taurus: { + keywords: [ "purple-square", "sign", "zodiac", "astrology" ], + char: '\u2649', + fitzpatrick_scale: false, + category: "symbols" + }, + gemini: { + keywords: [ "sign", "zodiac", "purple-square", "astrology" ], + char: '\u264a', + fitzpatrick_scale: false, + category: "symbols" + }, + cancer: { + keywords: [ "sign", "zodiac", "purple-square", "astrology" ], + char: '\u264b', + fitzpatrick_scale: false, + category: "symbols" + }, + leo: { + keywords: [ "sign", "purple-square", "zodiac", "astrology" ], + char: '\u264c', + fitzpatrick_scale: false, + category: "symbols" + }, + virgo: { + keywords: [ "sign", "zodiac", "purple-square", "astrology" ], + char: '\u264d', + fitzpatrick_scale: false, + category: "symbols" + }, + libra: { + keywords: [ "sign", "purple-square", "zodiac", "astrology" ], + char: '\u264e', + fitzpatrick_scale: false, + category: "symbols" + }, + scorpius: { + keywords: [ "sign", "zodiac", "purple-square", "astrology", "scorpio" ], + char: '\u264f', + fitzpatrick_scale: false, + category: "symbols" + }, + sagittarius: { + keywords: [ "sign", "zodiac", "purple-square", "astrology" ], + char: '\u2650', + fitzpatrick_scale: false, + category: "symbols" + }, + capricorn: { + keywords: [ "sign", "zodiac", "purple-square", "astrology" ], + char: '\u2651', + fitzpatrick_scale: false, + category: "symbols" + }, + aquarius: { + keywords: [ "sign", "purple-square", "zodiac", "astrology" ], + char: '\u2652', + fitzpatrick_scale: false, + category: "symbols" + }, + pisces: { + keywords: [ "purple-square", "sign", "zodiac", "astrology" ], + char: '\u2653', + fitzpatrick_scale: false, + category: "symbols" + }, + id: { + keywords: [ "purple-square", "words" ], + char: '\ud83c\udd94', + fitzpatrick_scale: false, + category: "symbols" + }, + atom_symbol: { + keywords: [ "science", "physics", "chemistry" ], + char: '\u269b', + fitzpatrick_scale: false, + category: "symbols" + }, + u7a7a: { + keywords: [ "kanji", "japanese", "chinese", "empty", "sky", "blue-square" ], + char: '\ud83c\ude33', + fitzpatrick_scale: false, + category: "symbols" + }, + u5272: { + keywords: [ "cut", "divide", "chinese", "kanji", "pink-square" ], + char: '\ud83c\ude39', + fitzpatrick_scale: false, + category: "symbols" + }, + radioactive: { + keywords: [ "nuclear", "danger" ], + char: '\u2622', + fitzpatrick_scale: false, + category: "symbols" + }, + biohazard: { + keywords: [ "danger" ], + char: '\u2623', + fitzpatrick_scale: false, + category: "symbols" + }, + mobile_phone_off: { + keywords: [ "mute", "orange-square", "silence", "quiet" ], + char: '\ud83d\udcf4', + fitzpatrick_scale: false, + category: "symbols" + }, + vibration_mode: { + keywords: [ "orange-square", "phone" ], + char: '\ud83d\udcf3', + fitzpatrick_scale: false, + category: "symbols" + }, + u6709: { + keywords: [ "orange-square", "chinese", "have", "kanji" ], + char: '\ud83c\ude36', + fitzpatrick_scale: false, + category: "symbols" + }, + u7121: { + keywords: [ "nothing", "chinese", "kanji", "japanese", "orange-square" ], + char: '\ud83c\ude1a', + fitzpatrick_scale: false, + category: "symbols" + }, + u7533: { + keywords: [ "chinese", "japanese", "kanji", "orange-square" ], + char: '\ud83c\ude38', + fitzpatrick_scale: false, + category: "symbols" + }, + u55b6: { + keywords: [ "japanese", "opening hours", "orange-square" ], + char: '\ud83c\ude3a', + fitzpatrick_scale: false, + category: "symbols" + }, + u6708: { + keywords: [ "chinese", "month", "moon", "japanese", "orange-square", "kanji" ], + char: '\ud83c\ude37\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + eight_pointed_black_star: { + keywords: [ "orange-square", "shape", "polygon" ], + char: '\u2734\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + vs: { + keywords: [ "words", "orange-square" ], + char: '\ud83c\udd9a', + fitzpatrick_scale: false, + category: "symbols" + }, + accept: { + keywords: [ "ok", "good", "chinese", "kanji", "agree", "yes", "orange-circle" ], + char: '\ud83c\ude51', + fitzpatrick_scale: false, + category: "symbols" + }, + white_flower: { + keywords: [ "japanese", "spring" ], + char: '\ud83d\udcae', + fitzpatrick_scale: false, + category: "symbols" + }, + ideograph_advantage: { + keywords: [ "chinese", "kanji", "obtain", "get", "circle" ], + char: '\ud83c\ude50', + fitzpatrick_scale: false, + category: "symbols" + }, + secret: { + keywords: [ "privacy", "chinese", "sshh", "kanji", "red-circle" ], + char: '\u3299\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + congratulations: { + keywords: [ "chinese", "kanji", "japanese", "red-circle" ], + char: '\u3297\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + u5408: { + keywords: [ "japanese", "chinese", "join", "kanji", "red-square" ], + char: '\ud83c\ude34', + fitzpatrick_scale: false, + category: "symbols" + }, + u6e80: { + keywords: [ "full", "chinese", "japanese", "red-square", "kanji" ], + char: '\ud83c\ude35', + fitzpatrick_scale: false, + category: "symbols" + }, + u7981: { + keywords: [ "kanji", "japanese", "chinese", "forbidden", "limit", "restricted", "red-square" ], + char: '\ud83c\ude32', + fitzpatrick_scale: false, + category: "symbols" + }, + a: { + keywords: [ "red-square", "alphabet", "letter" ], + char: '\ud83c\udd70\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + b: { + keywords: [ "red-square", "alphabet", "letter" ], + char: '\ud83c\udd71\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + ab: { + keywords: [ "red-square", "alphabet" ], + char: '\ud83c\udd8e', + fitzpatrick_scale: false, + category: "symbols" + }, + cl: { + keywords: [ "alphabet", "words", "red-square" ], + char: '\ud83c\udd91', + fitzpatrick_scale: false, + category: "symbols" + }, + o2: { + keywords: [ "alphabet", "red-square", "letter" ], + char: '\ud83c\udd7e\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + sos: { + keywords: [ "help", "red-square", "words", "emergency", "911" ], + char: '\ud83c\udd98', + fitzpatrick_scale: false, + category: "symbols" + }, + no_entry: { + keywords: [ "limit", "security", "privacy", "bad", "denied", "stop", "circle" ], + char: '\u26d4', + fitzpatrick_scale: false, + category: "symbols" + }, + name_badge: { + keywords: [ "fire", "forbid" ], + char: '\ud83d\udcdb', + fitzpatrick_scale: false, + category: "symbols" + }, + no_entry_sign: { + keywords: [ "forbid", "stop", "limit", "denied", "disallow", "circle" ], + char: '\ud83d\udeab', + fitzpatrick_scale: false, + category: "symbols" + }, + x: { + keywords: [ "no", "delete", "remove", "cancel", "red" ], + char: '\u274c', + fitzpatrick_scale: false, + category: "symbols" + }, + o: { + keywords: [ "circle", "round" ], + char: '\u2b55', + fitzpatrick_scale: false, + category: "symbols" + }, + stop_sign: { + keywords: [ "stop" ], + char: '\ud83d\uded1', + fitzpatrick_scale: false, + category: "symbols" + }, + anger: { + keywords: [ "angry", "mad" ], + char: '\ud83d\udca2', + fitzpatrick_scale: false, + category: "symbols" + }, + hotsprings: { + keywords: [ "bath", "warm", "relax" ], + char: '\u2668\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + no_pedestrians: { + keywords: [ "rules", "crossing", "walking", "circle" ], + char: '\ud83d\udeb7', + fitzpatrick_scale: false, + category: "symbols" + }, + do_not_litter: { + keywords: [ "trash", "bin", "garbage", "circle" ], + char: '\ud83d\udeaf', + fitzpatrick_scale: false, + category: "symbols" + }, + no_bicycles: { + keywords: [ "cyclist", "prohibited", "circle" ], + char: '\ud83d\udeb3', + fitzpatrick_scale: false, + category: "symbols" + }, + "non-potable_water": { + keywords: [ "drink", "faucet", "tap", "circle" ], + char: '\ud83d\udeb1', + fitzpatrick_scale: false, + category: "symbols" + }, + underage: { + keywords: [ "18", "drink", "pub", "night", "minor", "circle" ], + char: '\ud83d\udd1e', + fitzpatrick_scale: false, + category: "symbols" + }, + no_mobile_phones: { + keywords: [ "iphone", "mute", "circle" ], + char: '\ud83d\udcf5', + fitzpatrick_scale: false, + category: "symbols" + }, + exclamation: { + keywords: [ "heavy_exclamation_mark", "danger", "surprise", "punctuation", "wow", "warning" ], + char: '\u2757', + fitzpatrick_scale: false, + category: "symbols" + }, + grey_exclamation: { + keywords: [ "surprise", "punctuation", "gray", "wow", "warning" ], + char: '\u2755', + fitzpatrick_scale: false, + category: "symbols" + }, + question: { + keywords: [ "doubt", "confused" ], + char: '\u2753', + fitzpatrick_scale: false, + category: "symbols" + }, + grey_question: { + keywords: [ "doubts", "gray", "huh", "confused" ], + char: '\u2754', + fitzpatrick_scale: false, + category: "symbols" + }, + bangbang: { + keywords: [ "exclamation", "surprise" ], + char: '\u203c\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + interrobang: { + keywords: [ "wat", "punctuation", "surprise" ], + char: '\u2049\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + low_brightness: { + keywords: [ "sun", "afternoon", "warm", "summer" ], + char: '\ud83d\udd05', + fitzpatrick_scale: false, + category: "symbols" + }, + high_brightness: { + keywords: [ "sun", "light" ], + char: '\ud83d\udd06', + fitzpatrick_scale: false, + category: "symbols" + }, + trident: { + keywords: [ "weapon", "spear" ], + char: '\ud83d\udd31', + fitzpatrick_scale: false, + category: "symbols" + }, + fleur_de_lis: { + keywords: [ "decorative", "scout" ], + char: '\u269c', + fitzpatrick_scale: false, + category: "symbols" + }, + part_alternation_mark: { + keywords: [ "graph", "presentation", "stats", "business", "economics", "bad" ], + char: '\u303d\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + warning: { + keywords: [ "exclamation", "wip", "alert", "error", "problem", "issue" ], + char: '\u26a0\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + children_crossing: { + keywords: [ "school", "warning", "danger", "sign", "driving", "yellow-diamond" ], + char: '\ud83d\udeb8', + fitzpatrick_scale: false, + category: "symbols" + }, + beginner: { + keywords: [ "badge", "shield" ], + char: '\ud83d\udd30', + fitzpatrick_scale: false, + category: "symbols" + }, + recycle: { + keywords: [ "arrow", "environment", "garbage", "trash" ], + char: '\u267b\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + u6307: { + keywords: [ "chinese", "point", "green-square", "kanji" ], + char: '\ud83c\ude2f', + fitzpatrick_scale: false, + category: "symbols" + }, + chart: { + keywords: [ "green-square", "graph", "presentation", "stats" ], + char: '\ud83d\udcb9', + fitzpatrick_scale: false, + category: "symbols" + }, + sparkle: { + keywords: [ "stars", "green-square", "awesome", "good", "fireworks" ], + char: '\u2747\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + eight_spoked_asterisk: { + keywords: [ "star", "sparkle", "green-square" ], + char: '\u2733\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + negative_squared_cross_mark: { + keywords: [ "x", "green-square", "no", "deny" ], + char: '\u274e', + fitzpatrick_scale: false, + category: "symbols" + }, + white_check_mark: { + keywords: [ "green-square", "ok", "agree", "vote", "election", "answer", "tick" ], + char: '\u2705', + fitzpatrick_scale: false, + category: "symbols" + }, + diamond_shape_with_a_dot_inside: { + keywords: [ "jewel", "blue", "gem", "crystal", "fancy" ], + char: '\ud83d\udca0', + fitzpatrick_scale: false, + category: "symbols" + }, + cyclone: { + keywords: [ "weather", "swirl", "blue", "cloud", "vortex", "spiral", "whirlpool", "spin", "tornado", "hurricane", "typhoon" ], + char: '\ud83c\udf00', + fitzpatrick_scale: false, + category: "symbols" + }, + loop: { + keywords: [ "tape", "cassette" ], + char: '\u27bf', + fitzpatrick_scale: false, + category: "symbols" + }, + globe_with_meridians: { + keywords: [ "earth", "international", "world", "internet", "interweb", "i18n" ], + char: '\ud83c\udf10', + fitzpatrick_scale: false, + category: "symbols" + }, + m: { + keywords: [ "alphabet", "blue-circle", "letter" ], + char: '\u24c2\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + atm: { + keywords: [ "money", "sales", "cash", "blue-square", "payment", "bank" ], + char: '\ud83c\udfe7', + fitzpatrick_scale: false, + category: "symbols" + }, + sa: { + keywords: [ "japanese", "blue-square", "katakana" ], + char: '\ud83c\ude02\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + passport_control: { + keywords: [ "custom", "blue-square" ], + char: '\ud83d\udec2', + fitzpatrick_scale: false, + category: "symbols" + }, + customs: { + keywords: [ "passport", "border", "blue-square" ], + char: '\ud83d\udec3', + fitzpatrick_scale: false, + category: "symbols" + }, + baggage_claim: { + keywords: [ "blue-square", "airport", "transport" ], + char: '\ud83d\udec4', + fitzpatrick_scale: false, + category: "symbols" + }, + left_luggage: { + keywords: [ "blue-square", "travel" ], + char: '\ud83d\udec5', + fitzpatrick_scale: false, + category: "symbols" + }, + wheelchair: { + keywords: [ "blue-square", "disabled", "a11y", "accessibility" ], + char: '\u267f', + fitzpatrick_scale: false, + category: "symbols" + }, + no_smoking: { + keywords: [ "cigarette", "blue-square", "smell", "smoke" ], + char: '\ud83d\udead', + fitzpatrick_scale: false, + category: "symbols" + }, + wc: { + keywords: [ "toilet", "restroom", "blue-square" ], + char: '\ud83d\udebe', + fitzpatrick_scale: false, + category: "symbols" + }, + parking: { + keywords: [ "cars", "blue-square", "alphabet", "letter" ], + char: '\ud83c\udd7f\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + potable_water: { + keywords: [ "blue-square", "liquid", "restroom", "cleaning", "faucet" ], + char: '\ud83d\udeb0', + fitzpatrick_scale: false, + category: "symbols" + }, + mens: { + keywords: [ "toilet", "restroom", "wc", "blue-square", "gender", "male" ], + char: '\ud83d\udeb9', + fitzpatrick_scale: false, + category: "symbols" + }, + womens: { + keywords: [ "purple-square", "woman", "female", "toilet", "loo", "restroom", "gender" ], + char: '\ud83d\udeba', + fitzpatrick_scale: false, + category: "symbols" + }, + baby_symbol: { + keywords: [ "orange-square", "child" ], + char: '\ud83d\udebc', + fitzpatrick_scale: false, + category: "symbols" + }, + restroom: { + keywords: [ "blue-square", "toilet", "refresh", "wc", "gender" ], + char: '\ud83d\udebb', + fitzpatrick_scale: false, + category: "symbols" + }, + put_litter_in_its_place: { + keywords: [ "blue-square", "sign", "human", "info" ], + char: '\ud83d\udeae', + fitzpatrick_scale: false, + category: "symbols" + }, + cinema: { + keywords: [ "blue-square", "record", "film", "movie", "curtain", "stage", "theater" ], + char: '\ud83c\udfa6', + fitzpatrick_scale: false, + category: "symbols" + }, + signal_strength: { + keywords: [ "blue-square", "reception", "phone", "internet", "connection", "wifi", "bluetooth", "bars" ], + char: '\ud83d\udcf6', + fitzpatrick_scale: false, + category: "symbols" + }, + koko: { + keywords: [ "blue-square", "here", "katakana", "japanese", "destination" ], + char: '\ud83c\ude01', + fitzpatrick_scale: false, + category: "symbols" + }, + ng: { + keywords: [ "blue-square", "words", "shape", "icon" ], + char: '\ud83c\udd96', + fitzpatrick_scale: false, + category: "symbols" + }, + ok: { + keywords: [ "good", "agree", "yes", "blue-square" ], + char: '\ud83c\udd97', + fitzpatrick_scale: false, + category: "symbols" + }, + up: { + keywords: [ "blue-square", "above", "high" ], + char: '\ud83c\udd99', + fitzpatrick_scale: false, + category: "symbols" + }, + cool: { + keywords: [ "words", "blue-square" ], + char: '\ud83c\udd92', + fitzpatrick_scale: false, + category: "symbols" + }, + new: { + keywords: [ "blue-square", "words", "start" ], + char: '\ud83c\udd95', + fitzpatrick_scale: false, + category: "symbols" + }, + free: { + keywords: [ "blue-square", "words" ], + char: '\ud83c\udd93', + fitzpatrick_scale: false, + category: "symbols" + }, + zero: { + keywords: [ "0", "numbers", "blue-square", "null" ], + char: '0\ufe0f\u20e3', + fitzpatrick_scale: false, + category: "symbols" + }, + one: { + keywords: [ "blue-square", "numbers", "1" ], + char: '1\ufe0f\u20e3', + fitzpatrick_scale: false, + category: "symbols" + }, + two: { + keywords: [ "numbers", "2", "prime", "blue-square" ], + char: '2\ufe0f\u20e3', + fitzpatrick_scale: false, + category: "symbols" + }, + three: { + keywords: [ "3", "numbers", "prime", "blue-square" ], + char: '3\ufe0f\u20e3', + fitzpatrick_scale: false, + category: "symbols" + }, + four: { + keywords: [ "4", "numbers", "blue-square" ], + char: '4\ufe0f\u20e3', + fitzpatrick_scale: false, + category: "symbols" + }, + five: { + keywords: [ "5", "numbers", "blue-square", "prime" ], + char: '5\ufe0f\u20e3', + fitzpatrick_scale: false, + category: "symbols" + }, + six: { + keywords: [ "6", "numbers", "blue-square" ], + char: '6\ufe0f\u20e3', + fitzpatrick_scale: false, + category: "symbols" + }, + seven: { + keywords: [ "7", "numbers", "blue-square", "prime" ], + char: '7\ufe0f\u20e3', + fitzpatrick_scale: false, + category: "symbols" + }, + eight: { + keywords: [ "8", "blue-square", "numbers" ], + char: '8\ufe0f\u20e3', + fitzpatrick_scale: false, + category: "symbols" + }, + nine: { + keywords: [ "blue-square", "numbers", "9" ], + char: '9\ufe0f\u20e3', + fitzpatrick_scale: false, + category: "symbols" + }, + keycap_ten: { + keywords: [ "numbers", "10", "blue-square" ], + char: '\ud83d\udd1f', + fitzpatrick_scale: false, + category: "symbols" + }, + asterisk: { + keywords: [ "star", "keycap" ], + char: '*\u20e3', + fitzpatrick_scale: false, + category: "symbols" + }, + eject_button: { + keywords: [ "blue-square" ], + char: '\u23cf\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_forward: { + keywords: [ "blue-square", "right", "direction", "play" ], + char: '\u25b6\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + pause_button: { + keywords: [ "pause", "blue-square" ], + char: '\u23f8', + fitzpatrick_scale: false, + category: "symbols" + }, + next_track_button: { + keywords: [ "forward", "next", "blue-square" ], + char: '\u23ed', + fitzpatrick_scale: false, + category: "symbols" + }, + stop_button: { + keywords: [ "blue-square" ], + char: '\u23f9', + fitzpatrick_scale: false, + category: "symbols" + }, + record_button: { + keywords: [ "blue-square" ], + char: '\u23fa', + fitzpatrick_scale: false, + category: "symbols" + }, + play_or_pause_button: { + keywords: [ "blue-square", "play", "pause" ], + char: '\u23ef', + fitzpatrick_scale: false, + category: "symbols" + }, + previous_track_button: { + keywords: [ "backward" ], + char: '\u23ee', + fitzpatrick_scale: false, + category: "symbols" + }, + fast_forward: { + keywords: [ "blue-square", "play", "speed", "continue" ], + char: '\u23e9', + fitzpatrick_scale: false, + category: "symbols" + }, + rewind: { + keywords: [ "play", "blue-square" ], + char: '\u23ea', + fitzpatrick_scale: false, + category: "symbols" + }, + twisted_rightwards_arrows: { + keywords: [ "blue-square", "shuffle", "music", "random" ], + char: '\ud83d\udd00', + fitzpatrick_scale: false, + category: "symbols" + }, + repeat: { + keywords: [ "loop", "record" ], + char: '\ud83d\udd01', + fitzpatrick_scale: false, + category: "symbols" + }, + repeat_one: { + keywords: [ "blue-square", "loop" ], + char: '\ud83d\udd02', + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_backward: { + keywords: [ "blue-square", "left", "direction" ], + char: '\u25c0\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_up_small: { + keywords: [ "blue-square", "triangle", "direction", "point", "forward", "top" ], + char: '\ud83d\udd3c', + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_down_small: { + keywords: [ "blue-square", "direction", "bottom" ], + char: '\ud83d\udd3d', + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_double_up: { + keywords: [ "blue-square", "direction", "top" ], + char: '\u23eb', + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_double_down: { + keywords: [ "blue-square", "direction", "bottom" ], + char: '\u23ec', + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_right: { + keywords: [ "blue-square", "next" ], + char: '\u27a1\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_left: { + keywords: [ "blue-square", "previous", "back" ], + char: '\u2b05\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_up: { + keywords: [ "blue-square", "continue", "top", "direction" ], + char: '\u2b06\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_down: { + keywords: [ "blue-square", "direction", "bottom" ], + char: '\u2b07\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_upper_right: { + keywords: [ "blue-square", "point", "direction", "diagonal", "northeast" ], + char: '\u2197\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_lower_right: { + keywords: [ "blue-square", "direction", "diagonal", "southeast" ], + char: '\u2198\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_lower_left: { + keywords: [ "blue-square", "direction", "diagonal", "southwest" ], + char: '\u2199\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_upper_left: { + keywords: [ "blue-square", "point", "direction", "diagonal", "northwest" ], + char: '\u2196\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_up_down: { + keywords: [ "blue-square", "direction", "way", "vertical" ], + char: '\u2195\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + left_right_arrow: { + keywords: [ "shape", "direction", "horizontal", "sideways" ], + char: '\u2194\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + arrows_counterclockwise: { + keywords: [ "blue-square", "sync", "cycle" ], + char: '\ud83d\udd04', + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_right_hook: { + keywords: [ "blue-square", "return", "rotate", "direction" ], + char: '\u21aa\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + leftwards_arrow_with_hook: { + keywords: [ "back", "return", "blue-square", "undo", "enter" ], + char: '\u21a9\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_heading_up: { + keywords: [ "blue-square", "direction", "top" ], + char: '\u2934\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_heading_down: { + keywords: [ "blue-square", "direction", "bottom" ], + char: '\u2935\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + hash: { + keywords: [ "symbol", "blue-square", "twitter" ], + char: '#\ufe0f\u20e3', + fitzpatrick_scale: false, + category: "symbols" + }, + information_source: { + keywords: [ "blue-square", "alphabet", "letter" ], + char: '\u2139\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + abc: { + keywords: [ "blue-square", "alphabet" ], + char: '\ud83d\udd24', + fitzpatrick_scale: false, + category: "symbols" + }, + abcd: { + keywords: [ "blue-square", "alphabet" ], + char: '\ud83d\udd21', + fitzpatrick_scale: false, + category: "symbols" + }, + capital_abcd: { + keywords: [ "alphabet", "words", "blue-square" ], + char: '\ud83d\udd20', + fitzpatrick_scale: false, + category: "symbols" + }, + symbols: { + keywords: [ "blue-square", "music", "note", "ampersand", "percent", "glyphs", "characters" ], + char: '\ud83d\udd23', + fitzpatrick_scale: false, + category: "symbols" + }, + musical_note: { + keywords: [ "score", "tone", "sound" ], + char: '\ud83c\udfb5', + fitzpatrick_scale: false, + category: "symbols" + }, + notes: { + keywords: [ "music", "score" ], + char: '\ud83c\udfb6', + fitzpatrick_scale: false, + category: "symbols" + }, + wavy_dash: { + keywords: [ "draw", "line", "moustache", "mustache", "squiggle", "scribble" ], + char: '\u3030\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + curly_loop: { + keywords: [ "scribble", "draw", "shape", "squiggle" ], + char: '\u27b0', + fitzpatrick_scale: false, + category: "symbols" + }, + heavy_check_mark: { + keywords: [ "ok", "nike", "answer", "yes", "tick" ], + char: '\u2714\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + arrows_clockwise: { + keywords: [ "sync", "cycle", "round", "repeat" ], + char: '\ud83d\udd03', + fitzpatrick_scale: false, + category: "symbols" + }, + heavy_plus_sign: { + keywords: [ "math", "calculation", "addition", "more", "increase" ], + char: '\u2795', + fitzpatrick_scale: false, + category: "symbols" + }, + heavy_minus_sign: { + keywords: [ "math", "calculation", "subtract", "less" ], + char: '\u2796', + fitzpatrick_scale: false, + category: "symbols" + }, + heavy_division_sign: { + keywords: [ "divide", "math", "calculation" ], + char: '\u2797', + fitzpatrick_scale: false, + category: "symbols" + }, + heavy_multiplication_x: { + keywords: [ "math", "calculation" ], + char: '\u2716\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + infinity: { + keywords: [ "forever" ], + char: '\u267e', + fitzpatrick_scale: false, + category: "symbols" + }, + heavy_dollar_sign: { + keywords: [ "money", "sales", "payment", "currency", "buck" ], + char: '\ud83d\udcb2', + fitzpatrick_scale: false, + category: "symbols" + }, + currency_exchange: { + keywords: [ "money", "sales", "dollar", "travel" ], + char: '\ud83d\udcb1', + fitzpatrick_scale: false, + category: "symbols" + }, + copyright: { + keywords: [ "ip", "license", "circle", "law", "legal" ], + char: '\xa9\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + registered: { + keywords: [ "alphabet", "circle" ], + char: '\xae\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + tm: { + keywords: [ "trademark", "brand", "law", "legal" ], + char: '\u2122\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + end: { + keywords: [ "words", "arrow" ], + char: '\ud83d\udd1a', + fitzpatrick_scale: false, + category: "symbols" + }, + back: { + keywords: [ "arrow", "words", "return" ], + char: '\ud83d\udd19', + fitzpatrick_scale: false, + category: "symbols" + }, + on: { + keywords: [ "arrow", "words" ], + char: '\ud83d\udd1b', + fitzpatrick_scale: false, + category: "symbols" + }, + top: { + keywords: [ "words", "blue-square" ], + char: '\ud83d\udd1d', + fitzpatrick_scale: false, + category: "symbols" + }, + soon: { + keywords: [ "arrow", "words" ], + char: '\ud83d\udd1c', + fitzpatrick_scale: false, + category: "symbols" + }, + ballot_box_with_check: { + keywords: [ "ok", "agree", "confirm", "black-square", "vote", "election", "yes", "tick" ], + char: '\u2611\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + radio_button: { + keywords: [ "input", "old", "music", "circle" ], + char: '\ud83d\udd18', + fitzpatrick_scale: false, + category: "symbols" + }, + white_circle: { + keywords: [ "shape", "round" ], + char: '\u26aa', + fitzpatrick_scale: false, + category: "symbols" + }, + black_circle: { + keywords: [ "shape", "button", "round" ], + char: '\u26ab', + fitzpatrick_scale: false, + category: "symbols" + }, + red_circle: { + keywords: [ "shape", "error", "danger" ], + char: '\ud83d\udd34', + fitzpatrick_scale: false, + category: "symbols" + }, + large_blue_circle: { + keywords: [ "shape", "icon", "button" ], + char: '\ud83d\udd35', + fitzpatrick_scale: false, + category: "symbols" + }, + small_orange_diamond: { + keywords: [ "shape", "jewel", "gem" ], + char: '\ud83d\udd38', + fitzpatrick_scale: false, + category: "symbols" + }, + small_blue_diamond: { + keywords: [ "shape", "jewel", "gem" ], + char: '\ud83d\udd39', + fitzpatrick_scale: false, + category: "symbols" + }, + large_orange_diamond: { + keywords: [ "shape", "jewel", "gem" ], + char: '\ud83d\udd36', + fitzpatrick_scale: false, + category: "symbols" + }, + large_blue_diamond: { + keywords: [ "shape", "jewel", "gem" ], + char: '\ud83d\udd37', + fitzpatrick_scale: false, + category: "symbols" + }, + small_red_triangle: { + keywords: [ "shape", "direction", "up", "top" ], + char: '\ud83d\udd3a', + fitzpatrick_scale: false, + category: "symbols" + }, + black_small_square: { + keywords: [ "shape", "icon" ], + char: '\u25aa\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + white_small_square: { + keywords: [ "shape", "icon" ], + char: '\u25ab\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + black_large_square: { + keywords: [ "shape", "icon", "button" ], + char: '\u2b1b', + fitzpatrick_scale: false, + category: "symbols" + }, + white_large_square: { + keywords: [ "shape", "icon", "stone", "button" ], + char: '\u2b1c', + fitzpatrick_scale: false, + category: "symbols" + }, + small_red_triangle_down: { + keywords: [ "shape", "direction", "bottom" ], + char: '\ud83d\udd3b', + fitzpatrick_scale: false, + category: "symbols" + }, + black_medium_square: { + keywords: [ "shape", "button", "icon" ], + char: '\u25fc\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + white_medium_square: { + keywords: [ "shape", "stone", "icon" ], + char: '\u25fb\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + black_medium_small_square: { + keywords: [ "icon", "shape", "button" ], + char: '\u25fe', + fitzpatrick_scale: false, + category: "symbols" + }, + white_medium_small_square: { + keywords: [ "shape", "stone", "icon", "button" ], + char: '\u25fd', + fitzpatrick_scale: false, + category: "symbols" + }, + black_square_button: { + keywords: [ "shape", "input", "frame" ], + char: '\ud83d\udd32', + fitzpatrick_scale: false, + category: "symbols" + }, + white_square_button: { + keywords: [ "shape", "input" ], + char: '\ud83d\udd33', + fitzpatrick_scale: false, + category: "symbols" + }, + speaker: { + keywords: [ "sound", "volume", "silence", "broadcast" ], + char: '\ud83d\udd08', + fitzpatrick_scale: false, + category: "symbols" + }, + sound: { + keywords: [ "volume", "speaker", "broadcast" ], + char: '\ud83d\udd09', + fitzpatrick_scale: false, + category: "symbols" + }, + loud_sound: { + keywords: [ "volume", "noise", "noisy", "speaker", "broadcast" ], + char: '\ud83d\udd0a', + fitzpatrick_scale: false, + category: "symbols" + }, + mute: { + keywords: [ "sound", "volume", "silence", "quiet" ], + char: '\ud83d\udd07', + fitzpatrick_scale: false, + category: "symbols" + }, + mega: { + keywords: [ "sound", "speaker", "volume" ], + char: '\ud83d\udce3', + fitzpatrick_scale: false, + category: "symbols" + }, + loudspeaker: { + keywords: [ "volume", "sound" ], + char: '\ud83d\udce2', + fitzpatrick_scale: false, + category: "symbols" + }, + bell: { + keywords: [ "sound", "notification", "christmas", "xmas", "chime" ], + char: '\ud83d\udd14', + fitzpatrick_scale: false, + category: "symbols" + }, + no_bell: { + keywords: [ "sound", "volume", "mute", "quiet", "silent" ], + char: '\ud83d\udd15', + fitzpatrick_scale: false, + category: "symbols" + }, + black_joker: { + keywords: [ "poker", "cards", "game", "play", "magic" ], + char: '\ud83c\udccf', + fitzpatrick_scale: false, + category: "symbols" + }, + mahjong: { + keywords: [ "game", "play", "chinese", "kanji" ], + char: '\ud83c\udc04', + fitzpatrick_scale: false, + category: "symbols" + }, + spades: { + keywords: [ "poker", "cards", "suits", "magic" ], + char: '\u2660\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + clubs: { + keywords: [ "poker", "cards", "magic", "suits" ], + char: '\u2663\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + hearts: { + keywords: [ "poker", "cards", "magic", "suits" ], + char: '\u2665\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + diamonds: { + keywords: [ "poker", "cards", "magic", "suits" ], + char: '\u2666\ufe0f', + fitzpatrick_scale: false, + category: "symbols" + }, + flower_playing_cards: { + keywords: [ "game", "sunset", "red" ], + char: '\ud83c\udfb4', + fitzpatrick_scale: false, + category: "symbols" + }, + thought_balloon: { + keywords: [ "bubble", "cloud", "speech", "thinking", "dream" ], + char: '\ud83d\udcad', + fitzpatrick_scale: false, + category: "symbols" + }, + right_anger_bubble: { + keywords: [ "caption", "speech", "thinking", "mad" ], + char: '\ud83d\uddef', + fitzpatrick_scale: false, + category: "symbols" + }, + speech_balloon: { + keywords: [ "bubble", "words", "message", "talk", "chatting" ], + char: '\ud83d\udcac', + fitzpatrick_scale: false, + category: "symbols" + }, + left_speech_bubble: { + keywords: [ "words", "message", "talk", "chatting" ], + char: '\ud83d\udde8', + fitzpatrick_scale: false, + category: "symbols" + }, + clock1: { + keywords: [ "time", "late", "early", "schedule" ], + char: '\ud83d\udd50', + fitzpatrick_scale: false, + category: "symbols" + }, + clock2: { + keywords: [ "time", "late", "early", "schedule" ], + char: '\ud83d\udd51', + fitzpatrick_scale: false, + category: "symbols" + }, + clock3: { + keywords: [ "time", "late", "early", "schedule" ], + char: '\ud83d\udd52', + fitzpatrick_scale: false, + category: "symbols" + }, + clock4: { + keywords: [ "time", "late", "early", "schedule" ], + char: '\ud83d\udd53', + fitzpatrick_scale: false, + category: "symbols" + }, + clock5: { + keywords: [ "time", "late", "early", "schedule" ], + char: '\ud83d\udd54', + fitzpatrick_scale: false, + category: "symbols" + }, + clock6: { + keywords: [ "time", "late", "early", "schedule", "dawn", "dusk" ], + char: '\ud83d\udd55', + fitzpatrick_scale: false, + category: "symbols" + }, + clock7: { + keywords: [ "time", "late", "early", "schedule" ], + char: '\ud83d\udd56', + fitzpatrick_scale: false, + category: "symbols" + }, + clock8: { + keywords: [ "time", "late", "early", "schedule" ], + char: '\ud83d\udd57', + fitzpatrick_scale: false, + category: "symbols" + }, + clock9: { + keywords: [ "time", "late", "early", "schedule" ], + char: '\ud83d\udd58', + fitzpatrick_scale: false, + category: "symbols" + }, + clock10: { + keywords: [ "time", "late", "early", "schedule" ], + char: '\ud83d\udd59', + fitzpatrick_scale: false, + category: "symbols" + }, + clock11: { + keywords: [ "time", "late", "early", "schedule" ], + char: '\ud83d\udd5a', + fitzpatrick_scale: false, + category: "symbols" + }, + clock12: { + keywords: [ "time", "noon", "midnight", "midday", "late", "early", "schedule" ], + char: '\ud83d\udd5b', + fitzpatrick_scale: false, + category: "symbols" + }, + clock130: { + keywords: [ "time", "late", "early", "schedule" ], + char: '\ud83d\udd5c', + fitzpatrick_scale: false, + category: "symbols" + }, + clock230: { + keywords: [ "time", "late", "early", "schedule" ], + char: '\ud83d\udd5d', + fitzpatrick_scale: false, + category: "symbols" + }, + clock330: { + keywords: [ "time", "late", "early", "schedule" ], + char: '\ud83d\udd5e', + fitzpatrick_scale: false, + category: "symbols" + }, + clock430: { + keywords: [ "time", "late", "early", "schedule" ], + char: '\ud83d\udd5f', + fitzpatrick_scale: false, + category: "symbols" + }, + clock530: { + keywords: [ "time", "late", "early", "schedule" ], + char: '\ud83d\udd60', + fitzpatrick_scale: false, + category: "symbols" + }, + clock630: { + keywords: [ "time", "late", "early", "schedule" ], + char: '\ud83d\udd61', + fitzpatrick_scale: false, + category: "symbols" + }, + clock730: { + keywords: [ "time", "late", "early", "schedule" ], + char: '\ud83d\udd62', + fitzpatrick_scale: false, + category: "symbols" + }, + clock830: { + keywords: [ "time", "late", "early", "schedule" ], + char: '\ud83d\udd63', + fitzpatrick_scale: false, + category: "symbols" + }, + clock930: { + keywords: [ "time", "late", "early", "schedule" ], + char: '\ud83d\udd64', + fitzpatrick_scale: false, + category: "symbols" + }, + clock1030: { + keywords: [ "time", "late", "early", "schedule" ], + char: '\ud83d\udd65', + fitzpatrick_scale: false, + category: "symbols" + }, + clock1130: { + keywords: [ "time", "late", "early", "schedule" ], + char: '\ud83d\udd66', + fitzpatrick_scale: false, + category: "symbols" + }, + clock1230: { + keywords: [ "time", "late", "early", "schedule" ], + char: '\ud83d\udd67', + fitzpatrick_scale: false, + category: "symbols" + }, + afghanistan: { + keywords: [ "af", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde6\ud83c\uddeb', + fitzpatrick_scale: false, + category: "flags" + }, + aland_islands: { + keywords: [ "\xc5land", "islands", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde6\ud83c\uddfd', + fitzpatrick_scale: false, + category: "flags" + }, + albania: { + keywords: [ "al", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde6\ud83c\uddf1', + fitzpatrick_scale: false, + category: "flags" + }, + algeria: { + keywords: [ "dz", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde9\ud83c\uddff', + fitzpatrick_scale: false, + category: "flags" + }, + american_samoa: { + keywords: [ "american", "ws", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde6\ud83c\uddf8', + fitzpatrick_scale: false, + category: "flags" + }, + andorra: { + keywords: [ "ad", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde6\ud83c\udde9', + fitzpatrick_scale: false, + category: "flags" + }, + angola: { + keywords: [ "ao", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde6\ud83c\uddf4', + fitzpatrick_scale: false, + category: "flags" + }, + anguilla: { + keywords: [ "ai", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde6\ud83c\uddee', + fitzpatrick_scale: false, + category: "flags" + }, + antarctica: { + keywords: [ "aq", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde6\ud83c\uddf6', + fitzpatrick_scale: false, + category: "flags" + }, + antigua_barbuda: { + keywords: [ "antigua", "barbuda", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde6\ud83c\uddec', + fitzpatrick_scale: false, + category: "flags" + }, + argentina: { + keywords: [ "ar", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde6\ud83c\uddf7', + fitzpatrick_scale: false, + category: "flags" + }, + armenia: { + keywords: [ "am", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde6\ud83c\uddf2', + fitzpatrick_scale: false, + category: "flags" + }, + aruba: { + keywords: [ "aw", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde6\ud83c\uddfc', + fitzpatrick_scale: false, + category: "flags" + }, + australia: { + keywords: [ "au", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde6\ud83c\uddfa', + fitzpatrick_scale: false, + category: "flags" + }, + austria: { + keywords: [ "at", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde6\ud83c\uddf9', + fitzpatrick_scale: false, + category: "flags" + }, + azerbaijan: { + keywords: [ "az", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde6\ud83c\uddff', + fitzpatrick_scale: false, + category: "flags" + }, + bahamas: { + keywords: [ "bs", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde7\ud83c\uddf8', + fitzpatrick_scale: false, + category: "flags" + }, + bahrain: { + keywords: [ "bh", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde7\ud83c\udded', + fitzpatrick_scale: false, + category: "flags" + }, + bangladesh: { + keywords: [ "bd", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde7\ud83c\udde9', + fitzpatrick_scale: false, + category: "flags" + }, + barbados: { + keywords: [ "bb", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde7\ud83c\udde7', + fitzpatrick_scale: false, + category: "flags" + }, + belarus: { + keywords: [ "by", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde7\ud83c\uddfe', + fitzpatrick_scale: false, + category: "flags" + }, + belgium: { + keywords: [ "be", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde7\ud83c\uddea', + fitzpatrick_scale: false, + category: "flags" + }, + belize: { + keywords: [ "bz", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde7\ud83c\uddff', + fitzpatrick_scale: false, + category: "flags" + }, + benin: { + keywords: [ "bj", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde7\ud83c\uddef', + fitzpatrick_scale: false, + category: "flags" + }, + bermuda: { + keywords: [ "bm", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde7\ud83c\uddf2', + fitzpatrick_scale: false, + category: "flags" + }, + bhutan: { + keywords: [ "bt", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde7\ud83c\uddf9', + fitzpatrick_scale: false, + category: "flags" + }, + bolivia: { + keywords: [ "bo", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde7\ud83c\uddf4', + fitzpatrick_scale: false, + category: "flags" + }, + caribbean_netherlands: { + keywords: [ "bonaire", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde7\ud83c\uddf6', + fitzpatrick_scale: false, + category: "flags" + }, + bosnia_herzegovina: { + keywords: [ "bosnia", "herzegovina", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde7\ud83c\udde6', + fitzpatrick_scale: false, + category: "flags" + }, + botswana: { + keywords: [ "bw", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde7\ud83c\uddfc', + fitzpatrick_scale: false, + category: "flags" + }, + brazil: { + keywords: [ "br", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde7\ud83c\uddf7', + fitzpatrick_scale: false, + category: "flags" + }, + british_indian_ocean_territory: { + keywords: [ "british", "indian", "ocean", "territory", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddee\ud83c\uddf4', + fitzpatrick_scale: false, + category: "flags" + }, + british_virgin_islands: { + keywords: [ "british", "virgin", "islands", "bvi", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddfb\ud83c\uddec', + fitzpatrick_scale: false, + category: "flags" + }, + brunei: { + keywords: [ "bn", "darussalam", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde7\ud83c\uddf3', + fitzpatrick_scale: false, + category: "flags" + }, + bulgaria: { + keywords: [ "bg", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde7\ud83c\uddec', + fitzpatrick_scale: false, + category: "flags" + }, + burkina_faso: { + keywords: [ "burkina", "faso", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde7\ud83c\uddeb', + fitzpatrick_scale: false, + category: "flags" + }, + burundi: { + keywords: [ "bi", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde7\ud83c\uddee', + fitzpatrick_scale: false, + category: "flags" + }, + cape_verde: { + keywords: [ "cabo", "verde", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde8\ud83c\uddfb', + fitzpatrick_scale: false, + category: "flags" + }, + cambodia: { + keywords: [ "kh", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf0\ud83c\udded', + fitzpatrick_scale: false, + category: "flags" + }, + cameroon: { + keywords: [ "cm", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde8\ud83c\uddf2', + fitzpatrick_scale: false, + category: "flags" + }, + canada: { + keywords: [ "ca", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde8\ud83c\udde6', + fitzpatrick_scale: false, + category: "flags" + }, + canary_islands: { + keywords: [ "canary", "islands", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddee\ud83c\udde8', + fitzpatrick_scale: false, + category: "flags" + }, + cayman_islands: { + keywords: [ "cayman", "islands", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf0\ud83c\uddfe', + fitzpatrick_scale: false, + category: "flags" + }, + central_african_republic: { + keywords: [ "central", "african", "republic", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde8\ud83c\uddeb', + fitzpatrick_scale: false, + category: "flags" + }, + chad: { + keywords: [ "td", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf9\ud83c\udde9', + fitzpatrick_scale: false, + category: "flags" + }, + chile: { + keywords: [ "flag", "nation", "country", "banner" ], + char: '\ud83c\udde8\ud83c\uddf1', + fitzpatrick_scale: false, + category: "flags" + }, + cn: { + keywords: [ "china", "chinese", "prc", "flag", "country", "nation", "banner" ], + char: '\ud83c\udde8\ud83c\uddf3', + fitzpatrick_scale: false, + category: "flags" + }, + christmas_island: { + keywords: [ "christmas", "island", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde8\ud83c\uddfd', + fitzpatrick_scale: false, + category: "flags" + }, + cocos_islands: { + keywords: [ "cocos", "keeling", "islands", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde8\ud83c\udde8', + fitzpatrick_scale: false, + category: "flags" + }, + colombia: { + keywords: [ "co", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde8\ud83c\uddf4', + fitzpatrick_scale: false, + category: "flags" + }, + comoros: { + keywords: [ "km", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf0\ud83c\uddf2', + fitzpatrick_scale: false, + category: "flags" + }, + congo_brazzaville: { + keywords: [ "congo", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde8\ud83c\uddec', + fitzpatrick_scale: false, + category: "flags" + }, + congo_kinshasa: { + keywords: [ "congo", "democratic", "republic", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde8\ud83c\udde9', + fitzpatrick_scale: false, + category: "flags" + }, + cook_islands: { + keywords: [ "cook", "islands", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde8\ud83c\uddf0', + fitzpatrick_scale: false, + category: "flags" + }, + costa_rica: { + keywords: [ "costa", "rica", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde8\ud83c\uddf7', + fitzpatrick_scale: false, + category: "flags" + }, + croatia: { + keywords: [ "hr", "flag", "nation", "country", "banner" ], + char: '\ud83c\udded\ud83c\uddf7', + fitzpatrick_scale: false, + category: "flags" + }, + cuba: { + keywords: [ "cu", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde8\ud83c\uddfa', + fitzpatrick_scale: false, + category: "flags" + }, + curacao: { + keywords: [ "cura\xe7ao", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde8\ud83c\uddfc', + fitzpatrick_scale: false, + category: "flags" + }, + cyprus: { + keywords: [ "cy", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde8\ud83c\uddfe', + fitzpatrick_scale: false, + category: "flags" + }, + czech_republic: { + keywords: [ "cz", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde8\ud83c\uddff', + fitzpatrick_scale: false, + category: "flags" + }, + denmark: { + keywords: [ "dk", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde9\ud83c\uddf0', + fitzpatrick_scale: false, + category: "flags" + }, + djibouti: { + keywords: [ "dj", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde9\ud83c\uddef', + fitzpatrick_scale: false, + category: "flags" + }, + dominica: { + keywords: [ "dm", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde9\ud83c\uddf2', + fitzpatrick_scale: false, + category: "flags" + }, + dominican_republic: { + keywords: [ "dominican", "republic", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde9\ud83c\uddf4', + fitzpatrick_scale: false, + category: "flags" + }, + ecuador: { + keywords: [ "ec", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddea\ud83c\udde8', + fitzpatrick_scale: false, + category: "flags" + }, + egypt: { + keywords: [ "eg", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddea\ud83c\uddec', + fitzpatrick_scale: false, + category: "flags" + }, + el_salvador: { + keywords: [ "el", "salvador", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf8\ud83c\uddfb', + fitzpatrick_scale: false, + category: "flags" + }, + equatorial_guinea: { + keywords: [ "equatorial", "gn", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddec\ud83c\uddf6', + fitzpatrick_scale: false, + category: "flags" + }, + eritrea: { + keywords: [ "er", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddea\ud83c\uddf7', + fitzpatrick_scale: false, + category: "flags" + }, + estonia: { + keywords: [ "ee", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddea\ud83c\uddea', + fitzpatrick_scale: false, + category: "flags" + }, + ethiopia: { + keywords: [ "et", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddea\ud83c\uddf9', + fitzpatrick_scale: false, + category: "flags" + }, + eu: { + keywords: [ "european", "union", "flag", "banner" ], + char: '\ud83c\uddea\ud83c\uddfa', + fitzpatrick_scale: false, + category: "flags" + }, + falkland_islands: { + keywords: [ "falkland", "islands", "malvinas", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddeb\ud83c\uddf0', + fitzpatrick_scale: false, + category: "flags" + }, + faroe_islands: { + keywords: [ "faroe", "islands", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddeb\ud83c\uddf4', + fitzpatrick_scale: false, + category: "flags" + }, + fiji: { + keywords: [ "fj", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddeb\ud83c\uddef', + fitzpatrick_scale: false, + category: "flags" + }, + finland: { + keywords: [ "fi", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddeb\ud83c\uddee', + fitzpatrick_scale: false, + category: "flags" + }, + fr: { + keywords: [ "banner", "flag", "nation", "france", "french", "country" ], + char: '\ud83c\uddeb\ud83c\uddf7', + fitzpatrick_scale: false, + category: "flags" + }, + french_guiana: { + keywords: [ "french", "guiana", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddec\ud83c\uddeb', + fitzpatrick_scale: false, + category: "flags" + }, + french_polynesia: { + keywords: [ "french", "polynesia", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf5\ud83c\uddeb', + fitzpatrick_scale: false, + category: "flags" + }, + french_southern_territories: { + keywords: [ "french", "southern", "territories", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf9\ud83c\uddeb', + fitzpatrick_scale: false, + category: "flags" + }, + gabon: { + keywords: [ "ga", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddec\ud83c\udde6', + fitzpatrick_scale: false, + category: "flags" + }, + gambia: { + keywords: [ "gm", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddec\ud83c\uddf2', + fitzpatrick_scale: false, + category: "flags" + }, + georgia: { + keywords: [ "ge", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddec\ud83c\uddea', + fitzpatrick_scale: false, + category: "flags" + }, + de: { + keywords: [ "german", "nation", "flag", "country", "banner" ], + char: '\ud83c\udde9\ud83c\uddea', + fitzpatrick_scale: false, + category: "flags" + }, + ghana: { + keywords: [ "gh", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddec\ud83c\udded', + fitzpatrick_scale: false, + category: "flags" + }, + gibraltar: { + keywords: [ "gi", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddec\ud83c\uddee', + fitzpatrick_scale: false, + category: "flags" + }, + greece: { + keywords: [ "gr", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddec\ud83c\uddf7', + fitzpatrick_scale: false, + category: "flags" + }, + greenland: { + keywords: [ "gl", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddec\ud83c\uddf1', + fitzpatrick_scale: false, + category: "flags" + }, + grenada: { + keywords: [ "gd", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddec\ud83c\udde9', + fitzpatrick_scale: false, + category: "flags" + }, + guadeloupe: { + keywords: [ "gp", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddec\ud83c\uddf5', + fitzpatrick_scale: false, + category: "flags" + }, + guam: { + keywords: [ "gu", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddec\ud83c\uddfa', + fitzpatrick_scale: false, + category: "flags" + }, + guatemala: { + keywords: [ "gt", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddec\ud83c\uddf9', + fitzpatrick_scale: false, + category: "flags" + }, + guernsey: { + keywords: [ "gg", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddec\ud83c\uddec', + fitzpatrick_scale: false, + category: "flags" + }, + guinea: { + keywords: [ "gn", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddec\ud83c\uddf3', + fitzpatrick_scale: false, + category: "flags" + }, + guinea_bissau: { + keywords: [ "gw", "bissau", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddec\ud83c\uddfc', + fitzpatrick_scale: false, + category: "flags" + }, + guyana: { + keywords: [ "gy", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddec\ud83c\uddfe', + fitzpatrick_scale: false, + category: "flags" + }, + haiti: { + keywords: [ "ht", "flag", "nation", "country", "banner" ], + char: '\ud83c\udded\ud83c\uddf9', + fitzpatrick_scale: false, + category: "flags" + }, + honduras: { + keywords: [ "hn", "flag", "nation", "country", "banner" ], + char: '\ud83c\udded\ud83c\uddf3', + fitzpatrick_scale: false, + category: "flags" + }, + hong_kong: { + keywords: [ "hong", "kong", "flag", "nation", "country", "banner" ], + char: '\ud83c\udded\ud83c\uddf0', + fitzpatrick_scale: false, + category: "flags" + }, + hungary: { + keywords: [ "hu", "flag", "nation", "country", "banner" ], + char: '\ud83c\udded\ud83c\uddfa', + fitzpatrick_scale: false, + category: "flags" + }, + iceland: { + keywords: [ "is", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddee\ud83c\uddf8', + fitzpatrick_scale: false, + category: "flags" + }, + india: { + keywords: [ "in", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddee\ud83c\uddf3', + fitzpatrick_scale: false, + category: "flags" + }, + indonesia: { + keywords: [ "flag", "nation", "country", "banner" ], + char: '\ud83c\uddee\ud83c\udde9', + fitzpatrick_scale: false, + category: "flags" + }, + iran: { + keywords: [ "iran,", "islamic", "republic", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddee\ud83c\uddf7', + fitzpatrick_scale: false, + category: "flags" + }, + iraq: { + keywords: [ "iq", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddee\ud83c\uddf6', + fitzpatrick_scale: false, + category: "flags" + }, + ireland: { + keywords: [ "ie", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddee\ud83c\uddea', + fitzpatrick_scale: false, + category: "flags" + }, + isle_of_man: { + keywords: [ "isle", "man", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddee\ud83c\uddf2', + fitzpatrick_scale: false, + category: "flags" + }, + israel: { + keywords: [ "il", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddee\ud83c\uddf1', + fitzpatrick_scale: false, + category: "flags" + }, + it: { + keywords: [ "italy", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddee\ud83c\uddf9', + fitzpatrick_scale: false, + category: "flags" + }, + cote_divoire: { + keywords: [ "ivory", "coast", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde8\ud83c\uddee', + fitzpatrick_scale: false, + category: "flags" + }, + jamaica: { + keywords: [ "jm", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddef\ud83c\uddf2', + fitzpatrick_scale: false, + category: "flags" + }, + jp: { + keywords: [ "japanese", "nation", "flag", "country", "banner" ], + char: '\ud83c\uddef\ud83c\uddf5', + fitzpatrick_scale: false, + category: "flags" + }, + jersey: { + keywords: [ "je", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddef\ud83c\uddea', + fitzpatrick_scale: false, + category: "flags" + }, + jordan: { + keywords: [ "jo", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddef\ud83c\uddf4', + fitzpatrick_scale: false, + category: "flags" + }, + kazakhstan: { + keywords: [ "kz", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf0\ud83c\uddff', + fitzpatrick_scale: false, + category: "flags" + }, + kenya: { + keywords: [ "ke", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf0\ud83c\uddea', + fitzpatrick_scale: false, + category: "flags" + }, + kiribati: { + keywords: [ "ki", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf0\ud83c\uddee', + fitzpatrick_scale: false, + category: "flags" + }, + kosovo: { + keywords: [ "xk", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddfd\ud83c\uddf0', + fitzpatrick_scale: false, + category: "flags" + }, + kuwait: { + keywords: [ "kw", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf0\ud83c\uddfc', + fitzpatrick_scale: false, + category: "flags" + }, + kyrgyzstan: { + keywords: [ "kg", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf0\ud83c\uddec', + fitzpatrick_scale: false, + category: "flags" + }, + laos: { + keywords: [ "lao", "democratic", "republic", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf1\ud83c\udde6', + fitzpatrick_scale: false, + category: "flags" + }, + latvia: { + keywords: [ "lv", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf1\ud83c\uddfb', + fitzpatrick_scale: false, + category: "flags" + }, + lebanon: { + keywords: [ "lb", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf1\ud83c\udde7', + fitzpatrick_scale: false, + category: "flags" + }, + lesotho: { + keywords: [ "ls", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf1\ud83c\uddf8', + fitzpatrick_scale: false, + category: "flags" + }, + liberia: { + keywords: [ "lr", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf1\ud83c\uddf7', + fitzpatrick_scale: false, + category: "flags" + }, + libya: { + keywords: [ "ly", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf1\ud83c\uddfe', + fitzpatrick_scale: false, + category: "flags" + }, + liechtenstein: { + keywords: [ "li", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf1\ud83c\uddee', + fitzpatrick_scale: false, + category: "flags" + }, + lithuania: { + keywords: [ "lt", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf1\ud83c\uddf9', + fitzpatrick_scale: false, + category: "flags" + }, + luxembourg: { + keywords: [ "lu", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf1\ud83c\uddfa', + fitzpatrick_scale: false, + category: "flags" + }, + macau: { + keywords: [ "macao", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf2\ud83c\uddf4', + fitzpatrick_scale: false, + category: "flags" + }, + macedonia: { + keywords: [ "macedonia,", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf2\ud83c\uddf0', + fitzpatrick_scale: false, + category: "flags" + }, + madagascar: { + keywords: [ "mg", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf2\ud83c\uddec', + fitzpatrick_scale: false, + category: "flags" + }, + malawi: { + keywords: [ "mw", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf2\ud83c\uddfc', + fitzpatrick_scale: false, + category: "flags" + }, + malaysia: { + keywords: [ "my", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf2\ud83c\uddfe', + fitzpatrick_scale: false, + category: "flags" + }, + maldives: { + keywords: [ "mv", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf2\ud83c\uddfb', + fitzpatrick_scale: false, + category: "flags" + }, + mali: { + keywords: [ "ml", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf2\ud83c\uddf1', + fitzpatrick_scale: false, + category: "flags" + }, + malta: { + keywords: [ "mt", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf2\ud83c\uddf9', + fitzpatrick_scale: false, + category: "flags" + }, + marshall_islands: { + keywords: [ "marshall", "islands", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf2\ud83c\udded', + fitzpatrick_scale: false, + category: "flags" + }, + martinique: { + keywords: [ "mq", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf2\ud83c\uddf6', + fitzpatrick_scale: false, + category: "flags" + }, + mauritania: { + keywords: [ "mr", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf2\ud83c\uddf7', + fitzpatrick_scale: false, + category: "flags" + }, + mauritius: { + keywords: [ "mu", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf2\ud83c\uddfa', + fitzpatrick_scale: false, + category: "flags" + }, + mayotte: { + keywords: [ "yt", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddfe\ud83c\uddf9', + fitzpatrick_scale: false, + category: "flags" + }, + mexico: { + keywords: [ "mx", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf2\ud83c\uddfd', + fitzpatrick_scale: false, + category: "flags" + }, + micronesia: { + keywords: [ "micronesia,", "federated", "states", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddeb\ud83c\uddf2', + fitzpatrick_scale: false, + category: "flags" + }, + moldova: { + keywords: [ "moldova,", "republic", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf2\ud83c\udde9', + fitzpatrick_scale: false, + category: "flags" + }, + monaco: { + keywords: [ "mc", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf2\ud83c\udde8', + fitzpatrick_scale: false, + category: "flags" + }, + mongolia: { + keywords: [ "mn", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf2\ud83c\uddf3', + fitzpatrick_scale: false, + category: "flags" + }, + montenegro: { + keywords: [ "me", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf2\ud83c\uddea', + fitzpatrick_scale: false, + category: "flags" + }, + montserrat: { + keywords: [ "ms", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf2\ud83c\uddf8', + fitzpatrick_scale: false, + category: "flags" + }, + morocco: { + keywords: [ "ma", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf2\ud83c\udde6', + fitzpatrick_scale: false, + category: "flags" + }, + mozambique: { + keywords: [ "mz", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf2\ud83c\uddff', + fitzpatrick_scale: false, + category: "flags" + }, + myanmar: { + keywords: [ "mm", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf2\ud83c\uddf2', + fitzpatrick_scale: false, + category: "flags" + }, + namibia: { + keywords: [ "na", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf3\ud83c\udde6', + fitzpatrick_scale: false, + category: "flags" + }, + nauru: { + keywords: [ "nr", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf3\ud83c\uddf7', + fitzpatrick_scale: false, + category: "flags" + }, + nepal: { + keywords: [ "np", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf3\ud83c\uddf5', + fitzpatrick_scale: false, + category: "flags" + }, + netherlands: { + keywords: [ "nl", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf3\ud83c\uddf1', + fitzpatrick_scale: false, + category: "flags" + }, + new_caledonia: { + keywords: [ "new", "caledonia", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf3\ud83c\udde8', + fitzpatrick_scale: false, + category: "flags" + }, + new_zealand: { + keywords: [ "new", "zealand", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf3\ud83c\uddff', + fitzpatrick_scale: false, + category: "flags" + }, + nicaragua: { + keywords: [ "ni", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf3\ud83c\uddee', + fitzpatrick_scale: false, + category: "flags" + }, + niger: { + keywords: [ "ne", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf3\ud83c\uddea', + fitzpatrick_scale: false, + category: "flags" + }, + nigeria: { + keywords: [ "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf3\ud83c\uddec', + fitzpatrick_scale: false, + category: "flags" + }, + niue: { + keywords: [ "nu", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf3\ud83c\uddfa', + fitzpatrick_scale: false, + category: "flags" + }, + norfolk_island: { + keywords: [ "norfolk", "island", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf3\ud83c\uddeb', + fitzpatrick_scale: false, + category: "flags" + }, + northern_mariana_islands: { + keywords: [ "northern", "mariana", "islands", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf2\ud83c\uddf5', + fitzpatrick_scale: false, + category: "flags" + }, + north_korea: { + keywords: [ "north", "korea", "nation", "flag", "country", "banner" ], + char: '\ud83c\uddf0\ud83c\uddf5', + fitzpatrick_scale: false, + category: "flags" + }, + norway: { + keywords: [ "no", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf3\ud83c\uddf4', + fitzpatrick_scale: false, + category: "flags" + }, + oman: { + keywords: [ "om_symbol", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf4\ud83c\uddf2', + fitzpatrick_scale: false, + category: "flags" + }, + pakistan: { + keywords: [ "pk", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf5\ud83c\uddf0', + fitzpatrick_scale: false, + category: "flags" + }, + palau: { + keywords: [ "pw", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf5\ud83c\uddfc', + fitzpatrick_scale: false, + category: "flags" + }, + palestinian_territories: { + keywords: [ "palestine", "palestinian", "territories", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf5\ud83c\uddf8', + fitzpatrick_scale: false, + category: "flags" + }, + panama: { + keywords: [ "pa", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf5\ud83c\udde6', + fitzpatrick_scale: false, + category: "flags" + }, + papua_new_guinea: { + keywords: [ "papua", "new", "guinea", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf5\ud83c\uddec', + fitzpatrick_scale: false, + category: "flags" + }, + paraguay: { + keywords: [ "py", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf5\ud83c\uddfe', + fitzpatrick_scale: false, + category: "flags" + }, + peru: { + keywords: [ "pe", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf5\ud83c\uddea', + fitzpatrick_scale: false, + category: "flags" + }, + philippines: { + keywords: [ "ph", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf5\ud83c\udded', + fitzpatrick_scale: false, + category: "flags" + }, + pitcairn_islands: { + keywords: [ "pitcairn", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf5\ud83c\uddf3', + fitzpatrick_scale: false, + category: "flags" + }, + poland: { + keywords: [ "pl", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf5\ud83c\uddf1', + fitzpatrick_scale: false, + category: "flags" + }, + portugal: { + keywords: [ "pt", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf5\ud83c\uddf9', + fitzpatrick_scale: false, + category: "flags" + }, + puerto_rico: { + keywords: [ "puerto", "rico", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf5\ud83c\uddf7', + fitzpatrick_scale: false, + category: "flags" + }, + qatar: { + keywords: [ "qa", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf6\ud83c\udde6', + fitzpatrick_scale: false, + category: "flags" + }, + reunion: { + keywords: [ "r\xe9union", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf7\ud83c\uddea', + fitzpatrick_scale: false, + category: "flags" + }, + romania: { + keywords: [ "ro", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf7\ud83c\uddf4', + fitzpatrick_scale: false, + category: "flags" + }, + ru: { + keywords: [ "russian", "federation", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf7\ud83c\uddfa', + fitzpatrick_scale: false, + category: "flags" + }, + rwanda: { + keywords: [ "rw", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf7\ud83c\uddfc', + fitzpatrick_scale: false, + category: "flags" + }, + st_barthelemy: { + keywords: [ "saint", "barth\xe9lemy", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde7\ud83c\uddf1', + fitzpatrick_scale: false, + category: "flags" + }, + st_helena: { + keywords: [ "saint", "helena", "ascension", "tristan", "cunha", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf8\ud83c\udded', + fitzpatrick_scale: false, + category: "flags" + }, + st_kitts_nevis: { + keywords: [ "saint", "kitts", "nevis", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf0\ud83c\uddf3', + fitzpatrick_scale: false, + category: "flags" + }, + st_lucia: { + keywords: [ "saint", "lucia", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf1\ud83c\udde8', + fitzpatrick_scale: false, + category: "flags" + }, + st_pierre_miquelon: { + keywords: [ "saint", "pierre", "miquelon", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf5\ud83c\uddf2', + fitzpatrick_scale: false, + category: "flags" + }, + st_vincent_grenadines: { + keywords: [ "saint", "vincent", "grenadines", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddfb\ud83c\udde8', + fitzpatrick_scale: false, + category: "flags" + }, + samoa: { + keywords: [ "ws", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddfc\ud83c\uddf8', + fitzpatrick_scale: false, + category: "flags" + }, + san_marino: { + keywords: [ "san", "marino", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf8\ud83c\uddf2', + fitzpatrick_scale: false, + category: "flags" + }, + sao_tome_principe: { + keywords: [ "sao", "tome", "principe", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf8\ud83c\uddf9', + fitzpatrick_scale: false, + category: "flags" + }, + saudi_arabia: { + keywords: [ "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf8\ud83c\udde6', + fitzpatrick_scale: false, + category: "flags" + }, + senegal: { + keywords: [ "sn", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf8\ud83c\uddf3', + fitzpatrick_scale: false, + category: "flags" + }, + serbia: { + keywords: [ "rs", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf7\ud83c\uddf8', + fitzpatrick_scale: false, + category: "flags" + }, + seychelles: { + keywords: [ "sc", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf8\ud83c\udde8', + fitzpatrick_scale: false, + category: "flags" + }, + sierra_leone: { + keywords: [ "sierra", "leone", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf8\ud83c\uddf1', + fitzpatrick_scale: false, + category: "flags" + }, + singapore: { + keywords: [ "sg", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf8\ud83c\uddec', + fitzpatrick_scale: false, + category: "flags" + }, + sint_maarten: { + keywords: [ "sint", "maarten", "dutch", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf8\ud83c\uddfd', + fitzpatrick_scale: false, + category: "flags" + }, + slovakia: { + keywords: [ "sk", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf8\ud83c\uddf0', + fitzpatrick_scale: false, + category: "flags" + }, + slovenia: { + keywords: [ "si", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf8\ud83c\uddee', + fitzpatrick_scale: false, + category: "flags" + }, + solomon_islands: { + keywords: [ "solomon", "islands", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf8\ud83c\udde7', + fitzpatrick_scale: false, + category: "flags" + }, + somalia: { + keywords: [ "so", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf8\ud83c\uddf4', + fitzpatrick_scale: false, + category: "flags" + }, + south_africa: { + keywords: [ "south", "africa", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddff\ud83c\udde6', + fitzpatrick_scale: false, + category: "flags" + }, + south_georgia_south_sandwich_islands: { + keywords: [ "south", "georgia", "sandwich", "islands", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddec\ud83c\uddf8', + fitzpatrick_scale: false, + category: "flags" + }, + kr: { + keywords: [ "south", "korea", "nation", "flag", "country", "banner" ], + char: '\ud83c\uddf0\ud83c\uddf7', + fitzpatrick_scale: false, + category: "flags" + }, + south_sudan: { + keywords: [ "south", "sd", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf8\ud83c\uddf8', + fitzpatrick_scale: false, + category: "flags" + }, + es: { + keywords: [ "spain", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddea\ud83c\uddf8', + fitzpatrick_scale: false, + category: "flags" + }, + sri_lanka: { + keywords: [ "sri", "lanka", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf1\ud83c\uddf0', + fitzpatrick_scale: false, + category: "flags" + }, + sudan: { + keywords: [ "sd", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf8\ud83c\udde9', + fitzpatrick_scale: false, + category: "flags" + }, + suriname: { + keywords: [ "sr", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf8\ud83c\uddf7', + fitzpatrick_scale: false, + category: "flags" + }, + swaziland: { + keywords: [ "sz", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf8\ud83c\uddff', + fitzpatrick_scale: false, + category: "flags" + }, + sweden: { + keywords: [ "se", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf8\ud83c\uddea', + fitzpatrick_scale: false, + category: "flags" + }, + switzerland: { + keywords: [ "ch", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde8\ud83c\udded', + fitzpatrick_scale: false, + category: "flags" + }, + syria: { + keywords: [ "syrian", "arab", "republic", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf8\ud83c\uddfe', + fitzpatrick_scale: false, + category: "flags" + }, + taiwan: { + keywords: [ "tw", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf9\ud83c\uddfc', + fitzpatrick_scale: false, + category: "flags" + }, + tajikistan: { + keywords: [ "tj", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf9\ud83c\uddef', + fitzpatrick_scale: false, + category: "flags" + }, + tanzania: { + keywords: [ "tanzania,", "united", "republic", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf9\ud83c\uddff', + fitzpatrick_scale: false, + category: "flags" + }, + thailand: { + keywords: [ "th", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf9\ud83c\udded', + fitzpatrick_scale: false, + category: "flags" + }, + timor_leste: { + keywords: [ "timor", "leste", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf9\ud83c\uddf1', + fitzpatrick_scale: false, + category: "flags" + }, + togo: { + keywords: [ "tg", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf9\ud83c\uddec', + fitzpatrick_scale: false, + category: "flags" + }, + tokelau: { + keywords: [ "tk", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf9\ud83c\uddf0', + fitzpatrick_scale: false, + category: "flags" + }, + tonga: { + keywords: [ "to", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf9\ud83c\uddf4', + fitzpatrick_scale: false, + category: "flags" + }, + trinidad_tobago: { + keywords: [ "trinidad", "tobago", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf9\ud83c\uddf9', + fitzpatrick_scale: false, + category: "flags" + }, + tunisia: { + keywords: [ "tn", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf9\ud83c\uddf3', + fitzpatrick_scale: false, + category: "flags" + }, + tr: { + keywords: [ "turkey", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf9\ud83c\uddf7', + fitzpatrick_scale: false, + category: "flags" + }, + turkmenistan: { + keywords: [ "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf9\ud83c\uddf2', + fitzpatrick_scale: false, + category: "flags" + }, + turks_caicos_islands: { + keywords: [ "turks", "caicos", "islands", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf9\ud83c\udde8', + fitzpatrick_scale: false, + category: "flags" + }, + tuvalu: { + keywords: [ "flag", "nation", "country", "banner" ], + char: '\ud83c\uddf9\ud83c\uddfb', + fitzpatrick_scale: false, + category: "flags" + }, + uganda: { + keywords: [ "ug", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddfa\ud83c\uddec', + fitzpatrick_scale: false, + category: "flags" + }, + ukraine: { + keywords: [ "ua", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddfa\ud83c\udde6', + fitzpatrick_scale: false, + category: "flags" + }, + united_arab_emirates: { + keywords: [ "united", "arab", "emirates", "flag", "nation", "country", "banner" ], + char: '\ud83c\udde6\ud83c\uddea', + fitzpatrick_scale: false, + category: "flags" + }, + uk: { + keywords: [ "united", "kingdom", "great", "britain", "northern", "ireland", "flag", "nation", "country", "banner", "british", "UK", "english", "england", "union jack" ], + char: '\ud83c\uddec\ud83c\udde7', + fitzpatrick_scale: false, + category: "flags" + }, + england: { + keywords: [ "flag", "english" ], + char: '\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f', + fitzpatrick_scale: false, + category: "flags" + }, + scotland: { + keywords: [ "flag", "scottish" ], + char: '\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f', + fitzpatrick_scale: false, + category: "flags" + }, + wales: { + keywords: [ "flag", "welsh" ], + char: '\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc77\udb40\udc6c\udb40\udc73\udb40\udc7f', + fitzpatrick_scale: false, + category: "flags" + }, + us: { + keywords: [ "united", "states", "america", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddfa\ud83c\uddf8', + fitzpatrick_scale: false, + category: "flags" + }, + us_virgin_islands: { + keywords: [ "virgin", "islands", "us", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddfb\ud83c\uddee', + fitzpatrick_scale: false, + category: "flags" + }, + uruguay: { + keywords: [ "uy", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddfa\ud83c\uddfe', + fitzpatrick_scale: false, + category: "flags" + }, + uzbekistan: { + keywords: [ "uz", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddfa\ud83c\uddff', + fitzpatrick_scale: false, + category: "flags" + }, + vanuatu: { + keywords: [ "vu", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddfb\ud83c\uddfa', + fitzpatrick_scale: false, + category: "flags" + }, + vatican_city: { + keywords: [ "vatican", "city", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddfb\ud83c\udde6', + fitzpatrick_scale: false, + category: "flags" + }, + venezuela: { + keywords: [ "ve", "bolivarian", "republic", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddfb\ud83c\uddea', + fitzpatrick_scale: false, + category: "flags" + }, + vietnam: { + keywords: [ "viet", "nam", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddfb\ud83c\uddf3', + fitzpatrick_scale: false, + category: "flags" + }, + wallis_futuna: { + keywords: [ "wallis", "futuna", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddfc\ud83c\uddeb', + fitzpatrick_scale: false, + category: "flags" + }, + western_sahara: { + keywords: [ "western", "sahara", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddea\ud83c\udded', + fitzpatrick_scale: false, + category: "flags" + }, + yemen: { + keywords: [ "ye", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddfe\ud83c\uddea', + fitzpatrick_scale: false, + category: "flags" + }, + zambia: { + keywords: [ "zm", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddff\ud83c\uddf2', + fitzpatrick_scale: false, + category: "flags" + }, + zimbabwe: { + keywords: [ "zw", "flag", "nation", "country", "banner" ], + char: '\ud83c\uddff\ud83c\uddfc', + fitzpatrick_scale: false, + category: "flags" + }, + united_nations: { + keywords: [ "un", "flag", "banner" ], + char: '\ud83c\uddfa\ud83c\uddf3', + fitzpatrick_scale: false, + category: "flags" + }, + pirate_flag: { + keywords: [ "skull", "crossbones", "flag", "banner" ], + char: '\ud83c\udff4\u200d\u2620\ufe0f', + fitzpatrick_scale: false, + category: "flags" + } +}); \ No newline at end of file diff --git a/public/static/js/tinymce5/plugins/emoticons/js/emojiimages.min.js b/public/static/js/tinymce5/plugins/emoticons/js/emojiimages.min.js new file mode 100755 index 0000000..a045162 --- /dev/null +++ b/public/static/js/tinymce5/plugins/emoticons/js/emojiimages.min.js @@ -0,0 +1,3 @@ +// Source: npm package: emojilib +// Images provided by twemoji: https://github.com/twitter/twemoji +window.tinymce.Resource.add("tinymce.plugins.emoticons",{100:{keywords:["score","perfect","numbers","century","exam","quiz","test","pass","hundred"],char:'\ud83d\udcaf',fitzpatrick_scale:!1,category:"symbols"},1234:{keywords:["numbers","blue-square"],char:'\ud83d\udd22',fitzpatrick_scale:!1,category:"symbols"},grinning:{keywords:["face","smile","happy","joy",":D","grin"],char:'\ud83d\ude00',fitzpatrick_scale:!1,category:"people"},grimacing:{keywords:["face","grimace","teeth"],char:'\ud83d\ude2c',fitzpatrick_scale:!1,category:"people"},grin:{keywords:["face","happy","smile","joy","kawaii"],char:'\ud83d\ude01',fitzpatrick_scale:!1,category:"people"},joy:{keywords:["face","cry","tears","weep","happy","happytears","haha"],char:'\ud83d\ude02',fitzpatrick_scale:!1,category:"people"},rofl:{keywords:["face","rolling","floor","laughing","lol","haha"],char:'\ud83e\udd23',fitzpatrick_scale:!1,category:"people"},partying:{keywords:["face","celebration","woohoo"],char:'\ud83e\udd73',fitzpatrick_scale:!1,category:"people"},smiley:{keywords:["face","happy","joy","haha",":D",":)","smile","funny"],char:'\ud83d\ude03',fitzpatrick_scale:!1,category:"people"},smile:{keywords:["face","happy","joy","funny","haha","laugh","like",":D",":)"],char:'\ud83d\ude04',fitzpatrick_scale:!1,category:"people"},sweat_smile:{keywords:["face","hot","happy","laugh","sweat","smile","relief"],char:'\ud83d\ude05',fitzpatrick_scale:!1,category:"people"},laughing:{keywords:["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],char:'\ud83d\ude06',fitzpatrick_scale:!1,category:"people"},innocent:{keywords:["face","angel","heaven","halo"],char:'\ud83d\ude07',fitzpatrick_scale:!1,category:"people"},wink:{keywords:["face","happy","mischievous","secret",";)","smile","eye"],char:'\ud83d\ude09',fitzpatrick_scale:!1,category:"people"},blush:{keywords:["face","smile","happy","flushed","crush","embarrassed","shy","joy"],char:'\ud83d\ude0a',fitzpatrick_scale:!1,category:"people"},slightly_smiling_face:{keywords:["face","smile"],char:'\ud83d\ude42',fitzpatrick_scale:!1,category:"people"},upside_down_face:{keywords:["face","flipped","silly","smile"],char:'\ud83d\ude43',fitzpatrick_scale:!1,category:"people"},relaxed:{keywords:["face","blush","massage","happiness"],char:'\u263a\ufe0f',fitzpatrick_scale:!1,category:"people"},yum:{keywords:["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],char:'\ud83d\ude0b',fitzpatrick_scale:!1,category:"people"},relieved:{keywords:["face","relaxed","phew","massage","happiness"],char:'\ud83d\ude0c',fitzpatrick_scale:!1,category:"people"},heart_eyes:{keywords:["face","love","like","affection","valentines","infatuation","crush","heart"],char:'\ud83d\ude0d',fitzpatrick_scale:!1,category:"people"},smiling_face_with_three_hearts:{keywords:["face","love","like","affection","valentines","infatuation","crush","hearts","adore"],char:'\ud83e\udd70',fitzpatrick_scale:!1,category:"people"},kissing_heart:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:'\ud83d\ude18',fitzpatrick_scale:!1,category:"people"},kissing:{keywords:["love","like","face","3","valentines","infatuation","kiss"],char:'\ud83d\ude17',fitzpatrick_scale:!1,category:"people"},kissing_smiling_eyes:{keywords:["face","affection","valentines","infatuation","kiss"],char:'\ud83d\ude19',fitzpatrick_scale:!1,category:"people"},kissing_closed_eyes:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:'\ud83d\ude1a',fitzpatrick_scale:!1,category:"people"},stuck_out_tongue_winking_eye:{keywords:["face","prank","childish","playful","mischievous","smile","wink","tongue"],char:'\ud83d\ude1c',fitzpatrick_scale:!1,category:"people"},zany:{keywords:["face","goofy","crazy"],char:'\ud83e\udd2a',fitzpatrick_scale:!1,category:"people"},raised_eyebrow:{keywords:["face","distrust","scepticism","disapproval","disbelief","surprise"],char:'\ud83e\udd28',fitzpatrick_scale:!1,category:"people"},monocle:{keywords:["face","stuffy","wealthy"],char:'\ud83e\uddd0',fitzpatrick_scale:!1,category:"people"},stuck_out_tongue_closed_eyes:{keywords:["face","prank","playful","mischievous","smile","tongue"],char:'\ud83d\ude1d',fitzpatrick_scale:!1,category:"people"},stuck_out_tongue:{keywords:["face","prank","childish","playful","mischievous","smile","tongue"],char:'\ud83d\ude1b',fitzpatrick_scale:!1,category:"people"},money_mouth_face:{keywords:["face","rich","dollar","money"],char:'\ud83e\udd11',fitzpatrick_scale:!1,category:"people"},nerd_face:{keywords:["face","nerdy","geek","dork"],char:'\ud83e\udd13',fitzpatrick_scale:!1,category:"people"},sunglasses:{keywords:["face","cool","smile","summer","beach","sunglass"],char:'\ud83d\ude0e',fitzpatrick_scale:!1,category:"people"},star_struck:{keywords:["face","smile","starry","eyes","grinning"],char:'\ud83e\udd29',fitzpatrick_scale:!1,category:"people"},clown_face:{keywords:["face"],char:'\ud83e\udd21',fitzpatrick_scale:!1,category:"people"},cowboy_hat_face:{keywords:["face","cowgirl","hat"],char:'\ud83e\udd20',fitzpatrick_scale:!1,category:"people"},hugs:{keywords:["face","smile","hug"],char:'\ud83e\udd17',fitzpatrick_scale:!1,category:"people"},smirk:{keywords:["face","smile","mean","prank","smug","sarcasm"],char:'\ud83d\ude0f',fitzpatrick_scale:!1,category:"people"},no_mouth:{keywords:["face","hellokitty"],char:'\ud83d\ude36',fitzpatrick_scale:!1,category:"people"},neutral_face:{keywords:["indifference","meh",":|","neutral"],char:'\ud83d\ude10',fitzpatrick_scale:!1,category:"people"},expressionless:{keywords:["face","indifferent","-_-","meh","deadpan"],char:'\ud83d\ude11',fitzpatrick_scale:!1,category:"people"},unamused:{keywords:["indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],char:'\ud83d\ude12',fitzpatrick_scale:!1,category:"people"},roll_eyes:{keywords:["face","eyeroll","frustrated"],char:'\ud83d\ude44',fitzpatrick_scale:!1,category:"people"},thinking:{keywords:["face","hmmm","think","consider"],char:'\ud83e\udd14',fitzpatrick_scale:!1,category:"people"},lying_face:{keywords:["face","lie","pinocchio"],char:'\ud83e\udd25',fitzpatrick_scale:!1,category:"people"},hand_over_mouth:{keywords:["face","whoops","shock","surprise"],char:'\ud83e\udd2d',fitzpatrick_scale:!1,category:"people"},shushing:{keywords:["face","quiet","shhh"],char:'\ud83e\udd2b',fitzpatrick_scale:!1,category:"people"},symbols_over_mouth:{keywords:["face","swearing","cursing","cussing","profanity","expletive"],char:'\ud83e\udd2c',fitzpatrick_scale:!1,category:"people"},exploding_head:{keywords:["face","shocked","mind","blown"],char:'\ud83e\udd2f',fitzpatrick_scale:!1,category:"people"},flushed:{keywords:["face","blush","shy","flattered"],char:'\ud83d\ude33',fitzpatrick_scale:!1,category:"people"},disappointed:{keywords:["face","sad","upset","depressed",":("],char:'\ud83d\ude1e',fitzpatrick_scale:!1,category:"people"},worried:{keywords:["face","concern","nervous",":("],char:'\ud83d\ude1f',fitzpatrick_scale:!1,category:"people"},angry:{keywords:["mad","face","annoyed","frustrated"],char:'\ud83d\ude20',fitzpatrick_scale:!1,category:"people"},rage:{keywords:["angry","mad","hate","despise"],char:'\ud83d\ude21',fitzpatrick_scale:!1,category:"people"},pensive:{keywords:["face","sad","depressed","upset"],char:'\ud83d\ude14',fitzpatrick_scale:!1,category:"people"},confused:{keywords:["face","indifference","huh","weird","hmmm",":/"],char:'\ud83d\ude15',fitzpatrick_scale:!1,category:"people"},slightly_frowning_face:{keywords:["face","frowning","disappointed","sad","upset"],char:'\ud83d\ude41',fitzpatrick_scale:!1,category:"people"},frowning_face:{keywords:["face","sad","upset","frown"],char:'\u2639',fitzpatrick_scale:!1,category:"people"},persevere:{keywords:["face","sick","no","upset","oops"],char:'\ud83d\ude23',fitzpatrick_scale:!1,category:"people"},confounded:{keywords:["face","confused","sick","unwell","oops",":S"],char:'\ud83d\ude16',fitzpatrick_scale:!1,category:"people"},tired_face:{keywords:["sick","whine","upset","frustrated"],char:'\ud83d\ude2b',fitzpatrick_scale:!1,category:"people"},weary:{keywords:["face","tired","sleepy","sad","frustrated","upset"],char:'\ud83d\ude29',fitzpatrick_scale:!1,category:"people"},pleading:{keywords:["face","begging","mercy"],char:'\ud83e\udd7a',fitzpatrick_scale:!1,category:"people"},triumph:{keywords:["face","gas","phew","proud","pride"],char:'\ud83d\ude24',fitzpatrick_scale:!1,category:"people"},open_mouth:{keywords:["face","surprise","impressed","wow","whoa",":O"],char:'\ud83d\ude2e',fitzpatrick_scale:!1,category:"people"},scream:{keywords:["face","munch","scared","omg"],char:'\ud83d\ude31',fitzpatrick_scale:!1,category:"people"},fearful:{keywords:["face","scared","terrified","nervous","oops","huh"],char:'\ud83d\ude28',fitzpatrick_scale:!1,category:"people"},cold_sweat:{keywords:["face","nervous","sweat"],char:'\ud83d\ude30',fitzpatrick_scale:!1,category:"people"},hushed:{keywords:["face","woo","shh"],char:'\ud83d\ude2f',fitzpatrick_scale:!1,category:"people"},frowning:{keywords:["face","aw","what"],char:'\ud83d\ude26',fitzpatrick_scale:!1,category:"people"},anguished:{keywords:["face","stunned","nervous"],char:'\ud83d\ude27',fitzpatrick_scale:!1,category:"people"},cry:{keywords:["face","tears","sad","depressed","upset",":'("],char:'\ud83d\ude22',fitzpatrick_scale:!1,category:"people"},disappointed_relieved:{keywords:["face","phew","sweat","nervous"],char:'\ud83d\ude25',fitzpatrick_scale:!1,category:"people"},drooling_face:{keywords:["face"],char:'\ud83e\udd24',fitzpatrick_scale:!1,category:"people"},sleepy:{keywords:["face","tired","rest","nap"],char:'\ud83d\ude2a',fitzpatrick_scale:!1,category:"people"},sweat:{keywords:["face","hot","sad","tired","exercise"],char:'\ud83d\ude13',fitzpatrick_scale:!1,category:"people"},hot:{keywords:["face","feverish","heat","red","sweating"],char:'\ud83e\udd75',fitzpatrick_scale:!1,category:"people"},cold:{keywords:["face","blue","freezing","frozen","frostbite","icicles"],char:'\ud83e\udd76',fitzpatrick_scale:!1,category:"people"},sob:{keywords:["face","cry","tears","sad","upset","depressed"],char:'\ud83d\ude2d',fitzpatrick_scale:!1,category:"people"},dizzy_face:{keywords:["spent","unconscious","xox","dizzy"],char:'\ud83d\ude35',fitzpatrick_scale:!1,category:"people"},astonished:{keywords:["face","xox","surprised","poisoned"],char:'\ud83d\ude32',fitzpatrick_scale:!1,category:"people"},zipper_mouth_face:{keywords:["face","sealed","zipper","secret"],char:'\ud83e\udd10',fitzpatrick_scale:!1,category:"people"},nauseated_face:{keywords:["face","vomit","gross","green","sick","throw up","ill"],char:'\ud83e\udd22',fitzpatrick_scale:!1,category:"people"},sneezing_face:{keywords:["face","gesundheit","sneeze","sick","allergy"],char:'\ud83e\udd27',fitzpatrick_scale:!1,category:"people"},vomiting:{keywords:["face","sick"],char:'\ud83e\udd2e',fitzpatrick_scale:!1,category:"people"},mask:{keywords:["face","sick","ill","disease"],char:'\ud83d\ude37',fitzpatrick_scale:!1,category:"people"},face_with_thermometer:{keywords:["sick","temperature","thermometer","cold","fever"],char:'\ud83e\udd12',fitzpatrick_scale:!1,category:"people"},face_with_head_bandage:{keywords:["injured","clumsy","bandage","hurt"],char:'\ud83e\udd15',fitzpatrick_scale:!1,category:"people"},woozy:{keywords:["face","dizzy","intoxicated","tipsy","wavy"],char:'\ud83e\udd74',fitzpatrick_scale:!1,category:"people"},sleeping:{keywords:["face","tired","sleepy","night","zzz"],char:'\ud83d\ude34',fitzpatrick_scale:!1,category:"people"},zzz:{keywords:["sleepy","tired","dream"],char:'\ud83d\udca4',fitzpatrick_scale:!1,category:"people"},poop:{keywords:["hankey","shitface","fail","turd","shit"],char:'\ud83d\udca9',fitzpatrick_scale:!1,category:"people"},smiling_imp:{keywords:["devil","horns"],char:'\ud83d\ude08',fitzpatrick_scale:!1,category:"people"},imp:{keywords:["devil","angry","horns"],char:'\ud83d\udc7f',fitzpatrick_scale:!1,category:"people"},japanese_ogre:{keywords:["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],char:'\ud83d\udc79',fitzpatrick_scale:!1,category:"people"},japanese_goblin:{keywords:["red","evil","mask","monster","scary","creepy","japanese","goblin"],char:'\ud83d\udc7a',fitzpatrick_scale:!1,category:"people"},skull:{keywords:["dead","skeleton","creepy","death"],char:'\ud83d\udc80',fitzpatrick_scale:!1,category:"people"},ghost:{keywords:["halloween","spooky","scary"],char:'\ud83d\udc7b',fitzpatrick_scale:!1,category:"people"},alien:{keywords:["UFO","paul","weird","outer_space"],char:'\ud83d\udc7d',fitzpatrick_scale:!1,category:"people"},robot:{keywords:["computer","machine","bot"],char:'\ud83e\udd16',fitzpatrick_scale:!1,category:"people"},smiley_cat:{keywords:["animal","cats","happy","smile"],char:'\ud83d\ude3a',fitzpatrick_scale:!1,category:"people"},smile_cat:{keywords:["animal","cats","smile"],char:'\ud83d\ude38',fitzpatrick_scale:!1,category:"people"},joy_cat:{keywords:["animal","cats","haha","happy","tears"],char:'\ud83d\ude39',fitzpatrick_scale:!1,category:"people"},heart_eyes_cat:{keywords:["animal","love","like","affection","cats","valentines","heart"],char:'\ud83d\ude3b',fitzpatrick_scale:!1,category:"people"},smirk_cat:{keywords:["animal","cats","smirk"],char:'\ud83d\ude3c',fitzpatrick_scale:!1,category:"people"},kissing_cat:{keywords:["animal","cats","kiss"],char:'\ud83d\ude3d',fitzpatrick_scale:!1,category:"people"},scream_cat:{keywords:["animal","cats","munch","scared","scream"],char:'\ud83d\ude40',fitzpatrick_scale:!1,category:"people"},crying_cat_face:{keywords:["animal","tears","weep","sad","cats","upset","cry"],char:'\ud83d\ude3f',fitzpatrick_scale:!1,category:"people"},pouting_cat:{keywords:["animal","cats"],char:'\ud83d\ude3e',fitzpatrick_scale:!1,category:"people"},palms_up:{keywords:["hands","gesture","cupped","prayer"],char:'\ud83e\udd32',fitzpatrick_scale:!0,category:"people"},raised_hands:{keywords:["gesture","hooray","yea","celebration","hands"],char:'\ud83d\ude4c',fitzpatrick_scale:!0,category:"people"},clap:{keywords:["hands","praise","applause","congrats","yay"],char:'\ud83d\udc4f',fitzpatrick_scale:!0,category:"people"},wave:{keywords:["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],char:'\ud83d\udc4b',fitzpatrick_scale:!0,category:"people"},call_me_hand:{keywords:["hands","gesture"],char:'\ud83e\udd19',fitzpatrick_scale:!0,category:"people"},"+1":{keywords:["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],char:'\ud83d\udc4d',fitzpatrick_scale:!0,category:"people"},"-1":{keywords:["thumbsdown","no","dislike","hand"],char:'\ud83d\udc4e',fitzpatrick_scale:!0,category:"people"},facepunch:{keywords:["angry","violence","fist","hit","attack","hand"],char:'\ud83d\udc4a',fitzpatrick_scale:!0,category:"people"},fist:{keywords:["fingers","hand","grasp"],char:'\u270a',fitzpatrick_scale:!0,category:"people"},fist_left:{keywords:["hand","fistbump"],char:'\ud83e\udd1b',fitzpatrick_scale:!0,category:"people"},fist_right:{keywords:["hand","fistbump"],char:'\ud83e\udd1c',fitzpatrick_scale:!0,category:"people"},v:{keywords:["fingers","ohyeah","hand","peace","victory","two"],char:'\u270c',fitzpatrick_scale:!0,category:"people"},ok_hand:{keywords:["fingers","limbs","perfect","ok","okay"],char:'\ud83d\udc4c',fitzpatrick_scale:!0,category:"people"},raised_hand:{keywords:["fingers","stop","highfive","palm","ban"],char:'\u270b',fitzpatrick_scale:!0,category:"people"},raised_back_of_hand:{keywords:["fingers","raised","backhand"],char:'\ud83e\udd1a',fitzpatrick_scale:!0,category:"people"},open_hands:{keywords:["fingers","butterfly","hands","open"],char:'\ud83d\udc50',fitzpatrick_scale:!0,category:"people"},muscle:{keywords:["arm","flex","hand","summer","strong","biceps"],char:'\ud83d\udcaa',fitzpatrick_scale:!0,category:"people"},pray:{keywords:["please","hope","wish","namaste","highfive"],char:'\ud83d\ude4f',fitzpatrick_scale:!0,category:"people"},foot:{keywords:["kick","stomp"],char:'\ud83e\uddb6',fitzpatrick_scale:!0,category:"people"},leg:{keywords:["kick","limb"],char:'\ud83e\uddb5',fitzpatrick_scale:!0,category:"people"},handshake:{keywords:["agreement","shake"],char:'\ud83e\udd1d',fitzpatrick_scale:!1,category:"people"},point_up:{keywords:["hand","fingers","direction","up"],char:'\u261d',fitzpatrick_scale:!0,category:"people"},point_up_2:{keywords:["fingers","hand","direction","up"],char:'\ud83d\udc46',fitzpatrick_scale:!0,category:"people"},point_down:{keywords:["fingers","hand","direction","down"],char:'\ud83d\udc47',fitzpatrick_scale:!0,category:"people"},point_left:{keywords:["direction","fingers","hand","left"],char:'\ud83d\udc48',fitzpatrick_scale:!0,category:"people"},point_right:{keywords:["fingers","hand","direction","right"],char:'\ud83d\udc49',fitzpatrick_scale:!0,category:"people"},fu:{keywords:["hand","fingers","rude","middle","flipping"],char:'\ud83d\udd95',fitzpatrick_scale:!0,category:"people"},raised_hand_with_fingers_splayed:{keywords:["hand","fingers","palm"],char:'\ud83d\udd90',fitzpatrick_scale:!0,category:"people"},love_you:{keywords:["hand","fingers","gesture"],char:'\ud83e\udd1f',fitzpatrick_scale:!0,category:"people"},metal:{keywords:["hand","fingers","evil_eye","sign_of_horns","rock_on"],char:'\ud83e\udd18',fitzpatrick_scale:!0,category:"people"},crossed_fingers:{keywords:["good","lucky"],char:'\ud83e\udd1e',fitzpatrick_scale:!0,category:"people"},vulcan_salute:{keywords:["hand","fingers","spock","star trek"],char:'\ud83d\udd96',fitzpatrick_scale:!0,category:"people"},writing_hand:{keywords:["lower_left_ballpoint_pen","stationery","write","compose"],char:'\u270d',fitzpatrick_scale:!0,category:"people"},selfie:{keywords:["camera","phone"],char:'\ud83e\udd33',fitzpatrick_scale:!0,category:"people"},nail_care:{keywords:["beauty","manicure","finger","fashion","nail"],char:'\ud83d\udc85',fitzpatrick_scale:!0,category:"people"},lips:{keywords:["mouth","kiss"],char:'\ud83d\udc44',fitzpatrick_scale:!1,category:"people"},tooth:{keywords:["teeth","dentist"],char:'\ud83e\uddb7',fitzpatrick_scale:!1,category:"people"},tongue:{keywords:["mouth","playful"],char:'\ud83d\udc45',fitzpatrick_scale:!1,category:"people"},ear:{keywords:["face","hear","sound","listen"],char:'\ud83d\udc42',fitzpatrick_scale:!0,category:"people"},nose:{keywords:["smell","sniff"],char:'\ud83d\udc43',fitzpatrick_scale:!0,category:"people"},eye:{keywords:["face","look","see","watch","stare"],char:'\ud83d\udc41',fitzpatrick_scale:!1,category:"people"},eyes:{keywords:["look","watch","stalk","peek","see"],char:'\ud83d\udc40',fitzpatrick_scale:!1,category:"people"},brain:{keywords:["smart","intelligent"],char:'\ud83e\udde0',fitzpatrick_scale:!1,category:"people"},bust_in_silhouette:{keywords:["user","person","human"],char:'\ud83d\udc64',fitzpatrick_scale:!1,category:"people"},busts_in_silhouette:{keywords:["user","person","human","group","team"],char:'\ud83d\udc65',fitzpatrick_scale:!1,category:"people"},speaking_head:{keywords:["user","person","human","sing","say","talk"],char:'\ud83d\udde3',fitzpatrick_scale:!1,category:"people"},baby:{keywords:["child","boy","girl","toddler"],char:'\ud83d\udc76',fitzpatrick_scale:!0,category:"people"},child:{keywords:["gender-neutral","young"],char:'\ud83e\uddd2',fitzpatrick_scale:!0,category:"people"},boy:{keywords:["man","male","guy","teenager"],char:'\ud83d\udc66',fitzpatrick_scale:!0,category:"people"},girl:{keywords:["female","woman","teenager"],char:'\ud83d\udc67',fitzpatrick_scale:!0,category:"people"},adult:{keywords:["gender-neutral","person"],char:'\ud83e\uddd1',fitzpatrick_scale:!0,category:"people"},man:{keywords:["mustache","father","dad","guy","classy","sir","moustache"],char:'\ud83d\udc68',fitzpatrick_scale:!0,category:"people"},woman:{keywords:["female","girls","lady"],char:'\ud83d\udc69',fitzpatrick_scale:!0,category:"people"},blonde_woman:{keywords:["woman","female","girl","blonde","person"],char:'\ud83d\udc71\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},blonde_man:{keywords:["man","male","boy","blonde","guy","person"],char:'\ud83d\udc71',fitzpatrick_scale:!0,category:"people"},bearded_person:{keywords:["person","bewhiskered"],char:'\ud83e\uddd4',fitzpatrick_scale:!0,category:"people"},older_adult:{keywords:["human","elder","senior","gender-neutral"],char:'\ud83e\uddd3',fitzpatrick_scale:!0,category:"people"},older_man:{keywords:["human","male","men","old","elder","senior"],char:'\ud83d\udc74',fitzpatrick_scale:!0,category:"people"},older_woman:{keywords:["human","female","women","lady","old","elder","senior"],char:'\ud83d\udc75',fitzpatrick_scale:!0,category:"people"},man_with_gua_pi_mao:{keywords:["male","boy","chinese"],char:'\ud83d\udc72',fitzpatrick_scale:!0,category:"people"},woman_with_headscarf:{keywords:["female","hijab","mantilla","tichel"],char:'\ud83e\uddd5',fitzpatrick_scale:!0,category:"people"},woman_with_turban:{keywords:["female","indian","hinduism","arabs","woman"],char:'\ud83d\udc73\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},man_with_turban:{keywords:["male","indian","hinduism","arabs"],char:'\ud83d\udc73',fitzpatrick_scale:!0,category:"people"},policewoman:{keywords:["woman","police","law","legal","enforcement","arrest","911","female"],char:'\ud83d\udc6e\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},policeman:{keywords:["man","police","law","legal","enforcement","arrest","911"],char:'\ud83d\udc6e',fitzpatrick_scale:!0,category:"people"},construction_worker_woman:{keywords:["female","human","wip","build","construction","worker","labor","woman"],char:'\ud83d\udc77\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},construction_worker_man:{keywords:["male","human","wip","guy","build","construction","worker","labor"],char:'\ud83d\udc77',fitzpatrick_scale:!0,category:"people"},guardswoman:{keywords:["uk","gb","british","female","royal","woman"],char:'\ud83d\udc82\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},guardsman:{keywords:["uk","gb","british","male","guy","royal"],char:'\ud83d\udc82',fitzpatrick_scale:!0,category:"people"},female_detective:{keywords:["human","spy","detective","female","woman"],char:'\ud83d\udd75\ufe0f\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},male_detective:{keywords:["human","spy","detective"],char:'\ud83d\udd75',fitzpatrick_scale:!0,category:"people"},woman_health_worker:{keywords:["doctor","nurse","therapist","healthcare","woman","human"],char:'\ud83d\udc69\u200d\u2695\ufe0f',fitzpatrick_scale:!0,category:"people"},man_health_worker:{keywords:["doctor","nurse","therapist","healthcare","man","human"],char:'\ud83d\udc68\u200d\u2695\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_farmer:{keywords:["rancher","gardener","woman","human"],char:'\ud83d\udc69\u200d\ud83c\udf3e',fitzpatrick_scale:!0,category:"people"},man_farmer:{keywords:["rancher","gardener","man","human"],char:'\ud83d\udc68\u200d\ud83c\udf3e',fitzpatrick_scale:!0,category:"people"},woman_cook:{keywords:["chef","woman","human"],char:'\ud83d\udc69\u200d\ud83c\udf73',fitzpatrick_scale:!0,category:"people"},man_cook:{keywords:["chef","man","human"],char:'\ud83d\udc68\u200d\ud83c\udf73',fitzpatrick_scale:!0,category:"people"},woman_student:{keywords:["graduate","woman","human"],char:'\ud83d\udc69\u200d\ud83c\udf93',fitzpatrick_scale:!0,category:"people"},man_student:{keywords:["graduate","man","human"],char:'\ud83d\udc68\u200d\ud83c\udf93',fitzpatrick_scale:!0,category:"people"},woman_singer:{keywords:["rockstar","entertainer","woman","human"],char:'\ud83d\udc69\u200d\ud83c\udfa4',fitzpatrick_scale:!0,category:"people"},man_singer:{keywords:["rockstar","entertainer","man","human"],char:'\ud83d\udc68\u200d\ud83c\udfa4',fitzpatrick_scale:!0,category:"people"},woman_teacher:{keywords:["instructor","professor","woman","human"],char:'\ud83d\udc69\u200d\ud83c\udfeb',fitzpatrick_scale:!0,category:"people"},man_teacher:{keywords:["instructor","professor","man","human"],char:'\ud83d\udc68\u200d\ud83c\udfeb',fitzpatrick_scale:!0,category:"people"},woman_factory_worker:{keywords:["assembly","industrial","woman","human"],char:'\ud83d\udc69\u200d\ud83c\udfed',fitzpatrick_scale:!0,category:"people"},man_factory_worker:{keywords:["assembly","industrial","man","human"],char:'\ud83d\udc68\u200d\ud83c\udfed',fitzpatrick_scale:!0,category:"people"},woman_technologist:{keywords:["coder","developer","engineer","programmer","software","woman","human","laptop","computer"],char:'\ud83d\udc69\u200d\ud83d\udcbb',fitzpatrick_scale:!0,category:"people"},man_technologist:{keywords:["coder","developer","engineer","programmer","software","man","human","laptop","computer"],char:'\ud83d\udc68\u200d\ud83d\udcbb',fitzpatrick_scale:!0,category:"people"},woman_office_worker:{keywords:["business","manager","woman","human"],char:'\ud83d\udc69\u200d\ud83d\udcbc',fitzpatrick_scale:!0,category:"people"},man_office_worker:{keywords:["business","manager","man","human"],char:'\ud83d\udc68\u200d\ud83d\udcbc',fitzpatrick_scale:!0,category:"people"},woman_mechanic:{keywords:["plumber","woman","human","wrench"],char:'\ud83d\udc69\u200d\ud83d\udd27',fitzpatrick_scale:!0,category:"people"},man_mechanic:{keywords:["plumber","man","human","wrench"],char:'\ud83d\udc68\u200d\ud83d\udd27',fitzpatrick_scale:!0,category:"people"},woman_scientist:{keywords:["biologist","chemist","engineer","physicist","woman","human"],char:'\ud83d\udc69\u200d\ud83d\udd2c',fitzpatrick_scale:!0,category:"people"},man_scientist:{keywords:["biologist","chemist","engineer","physicist","man","human"],char:'\ud83d\udc68\u200d\ud83d\udd2c',fitzpatrick_scale:!0,category:"people"},woman_artist:{keywords:["painter","woman","human"],char:'\ud83d\udc69\u200d\ud83c\udfa8',fitzpatrick_scale:!0,category:"people"},man_artist:{keywords:["painter","man","human"],char:'\ud83d\udc68\u200d\ud83c\udfa8',fitzpatrick_scale:!0,category:"people"},woman_firefighter:{keywords:["fireman","woman","human"],char:'\ud83d\udc69\u200d\ud83d\ude92',fitzpatrick_scale:!0,category:"people"},man_firefighter:{keywords:["fireman","man","human"],char:'\ud83d\udc68\u200d\ud83d\ude92',fitzpatrick_scale:!0,category:"people"},woman_pilot:{keywords:["aviator","plane","woman","human"],char:'\ud83d\udc69\u200d\u2708\ufe0f',fitzpatrick_scale:!0,category:"people"},man_pilot:{keywords:["aviator","plane","man","human"],char:'\ud83d\udc68\u200d\u2708\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_astronaut:{keywords:["space","rocket","woman","human"],char:'\ud83d\udc69\u200d\ud83d\ude80',fitzpatrick_scale:!0,category:"people"},man_astronaut:{keywords:["space","rocket","man","human"],char:'\ud83d\udc68\u200d\ud83d\ude80',fitzpatrick_scale:!0,category:"people"},woman_judge:{keywords:["justice","court","woman","human"],char:'\ud83d\udc69\u200d\u2696\ufe0f',fitzpatrick_scale:!0,category:"people"},man_judge:{keywords:["justice","court","man","human"],char:'\ud83d\udc68\u200d\u2696\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_superhero:{keywords:["woman","female","good","heroine","superpowers"],char:'\ud83e\uddb8\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},man_superhero:{keywords:["man","male","good","hero","superpowers"],char:'\ud83e\uddb8\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_supervillain:{keywords:["woman","female","evil","bad","criminal","heroine","superpowers"],char:'\ud83e\uddb9\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},man_supervillain:{keywords:["man","male","evil","bad","criminal","hero","superpowers"],char:'\ud83e\uddb9\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},mrs_claus:{keywords:["woman","female","xmas","mother christmas"],char:'\ud83e\udd36',fitzpatrick_scale:!0,category:"people"},santa:{keywords:["festival","man","male","xmas","father christmas"],char:'\ud83c\udf85',fitzpatrick_scale:!0,category:"people"},sorceress:{keywords:["woman","female","mage","witch"],char:'\ud83e\uddd9\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},wizard:{keywords:["man","male","mage","sorcerer"],char:'\ud83e\uddd9\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_elf:{keywords:["woman","female"],char:'\ud83e\udddd\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},man_elf:{keywords:["man","male"],char:'\ud83e\udddd\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_vampire:{keywords:["woman","female"],char:'\ud83e\udddb\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},man_vampire:{keywords:["man","male","dracula"],char:'\ud83e\udddb\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_zombie:{keywords:["woman","female","undead","walking dead"],char:'\ud83e\udddf\u200d\u2640\ufe0f',fitzpatrick_scale:!1,category:"people"},man_zombie:{keywords:["man","male","dracula","undead","walking dead"],char:'\ud83e\udddf\u200d\u2642\ufe0f',fitzpatrick_scale:!1,category:"people"},woman_genie:{keywords:["woman","female"],char:'\ud83e\uddde\u200d\u2640\ufe0f',fitzpatrick_scale:!1,category:"people"},man_genie:{keywords:["man","male"],char:'\ud83e\uddde\u200d\u2642\ufe0f',fitzpatrick_scale:!1,category:"people"},mermaid:{keywords:["woman","female","merwoman","ariel"],char:'\ud83e\udddc\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},merman:{keywords:["man","male","triton"],char:'\ud83e\udddc\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_fairy:{keywords:["woman","female"],char:'\ud83e\uddda\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},man_fairy:{keywords:["man","male"],char:'\ud83e\uddda\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},angel:{keywords:["heaven","wings","halo"],char:'\ud83d\udc7c',fitzpatrick_scale:!0,category:"people"},pregnant_woman:{keywords:["baby"],char:'\ud83e\udd30',fitzpatrick_scale:!0,category:"people"},breastfeeding:{keywords:["nursing","baby"],char:'\ud83e\udd31',fitzpatrick_scale:!0,category:"people"},princess:{keywords:["girl","woman","female","blond","crown","royal","queen"],char:'\ud83d\udc78',fitzpatrick_scale:!0,category:"people"},prince:{keywords:["boy","man","male","crown","royal","king"],char:'\ud83e\udd34',fitzpatrick_scale:!0,category:"people"},bride_with_veil:{keywords:["couple","marriage","wedding","woman","bride"],char:'\ud83d\udc70',fitzpatrick_scale:!0,category:"people"},man_in_tuxedo:{keywords:["couple","marriage","wedding","groom"],char:'\ud83e\udd35',fitzpatrick_scale:!0,category:"people"},running_woman:{keywords:["woman","walking","exercise","race","running","female"],char:'\ud83c\udfc3\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},running_man:{keywords:["man","walking","exercise","race","running"],char:'\ud83c\udfc3',fitzpatrick_scale:!0,category:"people"},walking_woman:{keywords:["human","feet","steps","woman","female"],char:'\ud83d\udeb6\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},walking_man:{keywords:["human","feet","steps"],char:'\ud83d\udeb6',fitzpatrick_scale:!0,category:"people"},dancer:{keywords:["female","girl","woman","fun"],char:'\ud83d\udc83',fitzpatrick_scale:!0,category:"people"},man_dancing:{keywords:["male","boy","fun","dancer"],char:'\ud83d\udd7a',fitzpatrick_scale:!0,category:"people"},dancing_women:{keywords:["female","bunny","women","girls"],char:'\ud83d\udc6f',fitzpatrick_scale:!1,category:"people"},dancing_men:{keywords:["male","bunny","men","boys"],char:'\ud83d\udc6f\u200d\u2642\ufe0f',fitzpatrick_scale:!1,category:"people"},couple:{keywords:["pair","people","human","love","date","dating","like","affection","valentines","marriage"],char:'\ud83d\udc6b',fitzpatrick_scale:!1,category:"people"},two_men_holding_hands:{keywords:["pair","couple","love","like","bromance","friendship","people","human"],char:'\ud83d\udc6c',fitzpatrick_scale:!1,category:"people"},two_women_holding_hands:{keywords:["pair","friendship","couple","love","like","female","people","human"],char:'\ud83d\udc6d',fitzpatrick_scale:!1,category:"people"},bowing_woman:{keywords:["woman","female","girl"],char:'\ud83d\ude47\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},bowing_man:{keywords:["man","male","boy"],char:'\ud83d\ude47',fitzpatrick_scale:!0,category:"people"},man_facepalming:{keywords:["man","male","boy","disbelief"],char:'\ud83e\udd26\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_facepalming:{keywords:["woman","female","girl","disbelief"],char:'\ud83e\udd26\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_shrugging:{keywords:["woman","female","girl","confused","indifferent","doubt"],char:'\ud83e\udd37',fitzpatrick_scale:!0,category:"people"},man_shrugging:{keywords:["man","male","boy","confused","indifferent","doubt"],char:'\ud83e\udd37\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},tipping_hand_woman:{keywords:["female","girl","woman","human","information"],char:'\ud83d\udc81',fitzpatrick_scale:!0,category:"people"},tipping_hand_man:{keywords:["male","boy","man","human","information"],char:'\ud83d\udc81\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},no_good_woman:{keywords:["female","girl","woman","nope"],char:'\ud83d\ude45',fitzpatrick_scale:!0,category:"people"},no_good_man:{keywords:["male","boy","man","nope"],char:'\ud83d\ude45\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},ok_woman:{keywords:["women","girl","female","pink","human","woman"],char:'\ud83d\ude46',fitzpatrick_scale:!0,category:"people"},ok_man:{keywords:["men","boy","male","blue","human","man"],char:'\ud83d\ude46\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},raising_hand_woman:{keywords:["female","girl","woman"],char:'\ud83d\ude4b',fitzpatrick_scale:!0,category:"people"},raising_hand_man:{keywords:["male","boy","man"],char:'\ud83d\ude4b\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},pouting_woman:{keywords:["female","girl","woman"],char:'\ud83d\ude4e',fitzpatrick_scale:!0,category:"people"},pouting_man:{keywords:["male","boy","man"],char:'\ud83d\ude4e\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},frowning_woman:{keywords:["female","girl","woman","sad","depressed","discouraged","unhappy"],char:'\ud83d\ude4d',fitzpatrick_scale:!0,category:"people"},frowning_man:{keywords:["male","boy","man","sad","depressed","discouraged","unhappy"],char:'\ud83d\ude4d\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},haircut_woman:{keywords:["female","girl","woman"],char:'\ud83d\udc87',fitzpatrick_scale:!0,category:"people"},haircut_man:{keywords:["male","boy","man"],char:'\ud83d\udc87\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},massage_woman:{keywords:["female","girl","woman","head"],char:'\ud83d\udc86',fitzpatrick_scale:!0,category:"people"},massage_man:{keywords:["male","boy","man","head"],char:'\ud83d\udc86\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},woman_in_steamy_room:{keywords:["female","woman","spa","steamroom","sauna"],char:'\ud83e\uddd6\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"people"},man_in_steamy_room:{keywords:["male","man","spa","steamroom","sauna"],char:'\ud83e\uddd6\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"people"},couple_with_heart_woman_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:'\ud83d\udc91',fitzpatrick_scale:!1,category:"people"},couple_with_heart_woman_woman:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:'\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc69',fitzpatrick_scale:!1,category:"people"},couple_with_heart_man_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:'\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68',fitzpatrick_scale:!1,category:"people"},couplekiss_man_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:'\ud83d\udc8f',fitzpatrick_scale:!1,category:"people"},couplekiss_woman_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:'\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69',fitzpatrick_scale:!1,category:"people"},couplekiss_man_man:{keywords:["pair","valentines","love","like","dating","marriage"],char:'\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68',fitzpatrick_scale:!1,category:"people"},family_man_woman_boy:{keywords:["home","parents","child","mom","dad","father","mother","people","human"],char:'\ud83d\udc6a',fitzpatrick_scale:!1,category:"people"},family_man_woman_girl:{keywords:["home","parents","people","human","child"],char:'\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67',fitzpatrick_scale:!1,category:"people"},family_man_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:'\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc66',fitzpatrick_scale:!1,category:"people"},family_man_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:'\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66',fitzpatrick_scale:!1,category:"people"},family_man_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:'\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc67',fitzpatrick_scale:!1,category:"people"},family_woman_woman_boy:{keywords:["home","parents","people","human","children"],char:'\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66',fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl:{keywords:["home","parents","people","human","children"],char:'\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67',fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:'\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc66',fitzpatrick_scale:!1,category:"people"},family_woman_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:'\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66',fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:'\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc67',fitzpatrick_scale:!1,category:"people"},family_man_man_boy:{keywords:["home","parents","people","human","children"],char:'\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66',fitzpatrick_scale:!1,category:"people"},family_man_man_girl:{keywords:["home","parents","people","human","children"],char:'\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67',fitzpatrick_scale:!1,category:"people"},family_man_man_girl_boy:{keywords:["home","parents","people","human","children"],char:'\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d\udc66',fitzpatrick_scale:!1,category:"people"},family_man_man_boy_boy:{keywords:["home","parents","people","human","children"],char:'\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66',fitzpatrick_scale:!1,category:"people"},family_man_man_girl_girl:{keywords:["home","parents","people","human","children"],char:'\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d\udc67',fitzpatrick_scale:!1,category:"people"},family_woman_boy:{keywords:["home","parent","people","human","child"],char:'\ud83d\udc69\u200d\ud83d\udc66',fitzpatrick_scale:!1,category:"people"},family_woman_girl:{keywords:["home","parent","people","human","child"],char:'\ud83d\udc69\u200d\ud83d\udc67',fitzpatrick_scale:!1,category:"people"},family_woman_girl_boy:{keywords:["home","parent","people","human","children"],char:'\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc66',fitzpatrick_scale:!1,category:"people"},family_woman_boy_boy:{keywords:["home","parent","people","human","children"],char:'\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66',fitzpatrick_scale:!1,category:"people"},family_woman_girl_girl:{keywords:["home","parent","people","human","children"],char:'\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc67',fitzpatrick_scale:!1,category:"people"},family_man_boy:{keywords:["home","parent","people","human","child"],char:'\ud83d\udc68\u200d\ud83d\udc66',fitzpatrick_scale:!1,category:"people"},family_man_girl:{keywords:["home","parent","people","human","child"],char:'\ud83d\udc68\u200d\ud83d\udc67',fitzpatrick_scale:!1,category:"people"},family_man_girl_boy:{keywords:["home","parent","people","human","children"],char:'\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d\udc66',fitzpatrick_scale:!1,category:"people"},family_man_boy_boy:{keywords:["home","parent","people","human","children"],char:'\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66',fitzpatrick_scale:!1,category:"people"},family_man_girl_girl:{keywords:["home","parent","people","human","children"],char:'\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d\udc67',fitzpatrick_scale:!1,category:"people"},yarn:{keywords:["ball","crochet","knit"],char:'\ud83e\uddf6',fitzpatrick_scale:!1,category:"people"},thread:{keywords:["needle","sewing","spool","string"],char:'\ud83e\uddf5',fitzpatrick_scale:!1,category:"people"},coat:{keywords:["jacket"],char:'\ud83e\udde5',fitzpatrick_scale:!1,category:"people"},labcoat:{keywords:["doctor","experiment","scientist","chemist"],char:'\ud83e\udd7c',fitzpatrick_scale:!1,category:"people"},womans_clothes:{keywords:["fashion","shopping_bags","female"],char:'\ud83d\udc5a',fitzpatrick_scale:!1,category:"people"},tshirt:{keywords:["fashion","cloth","casual","shirt","tee"],char:'\ud83d\udc55',fitzpatrick_scale:!1,category:"people"},jeans:{keywords:["fashion","shopping"],char:'\ud83d\udc56',fitzpatrick_scale:!1,category:"people"},necktie:{keywords:["shirt","suitup","formal","fashion","cloth","business"],char:'\ud83d\udc54',fitzpatrick_scale:!1,category:"people"},dress:{keywords:["clothes","fashion","shopping"],char:'\ud83d\udc57',fitzpatrick_scale:!1,category:"people"},bikini:{keywords:["swimming","female","woman","girl","fashion","beach","summer"],char:'\ud83d\udc59',fitzpatrick_scale:!1,category:"people"},kimono:{keywords:["dress","fashion","women","female","japanese"],char:'\ud83d\udc58',fitzpatrick_scale:!1,category:"people"},lipstick:{keywords:["female","girl","fashion","woman"],char:'\ud83d\udc84',fitzpatrick_scale:!1,category:"people"},kiss:{keywords:["face","lips","love","like","affection","valentines"],char:'\ud83d\udc8b',fitzpatrick_scale:!1,category:"people"},footprints:{keywords:["feet","tracking","walking","beach"],char:'\ud83d\udc63',fitzpatrick_scale:!1,category:"people"},flat_shoe:{keywords:["ballet","slip-on","slipper"],char:'\ud83e\udd7f',fitzpatrick_scale:!1,category:"people"},high_heel:{keywords:["fashion","shoes","female","pumps","stiletto"],char:'\ud83d\udc60',fitzpatrick_scale:!1,category:"people"},sandal:{keywords:["shoes","fashion","flip flops"],char:'\ud83d\udc61',fitzpatrick_scale:!1,category:"people"},boot:{keywords:["shoes","fashion"],char:'\ud83d\udc62',fitzpatrick_scale:!1,category:"people"},mans_shoe:{keywords:["fashion","male"],char:'\ud83d\udc5e',fitzpatrick_scale:!1,category:"people"},athletic_shoe:{keywords:["shoes","sports","sneakers"],char:'\ud83d\udc5f',fitzpatrick_scale:!1,category:"people"},hiking_boot:{keywords:["backpacking","camping","hiking"],char:'\ud83e\udd7e',fitzpatrick_scale:!1,category:"people"},socks:{keywords:["stockings","clothes"],char:'\ud83e\udde6',fitzpatrick_scale:!1,category:"people"},gloves:{keywords:["hands","winter","clothes"],char:'\ud83e\udde4',fitzpatrick_scale:!1,category:"people"},scarf:{keywords:["neck","winter","clothes"],char:'\ud83e\udde3',fitzpatrick_scale:!1,category:"people"},womans_hat:{keywords:["fashion","accessories","female","lady","spring"],char:'\ud83d\udc52',fitzpatrick_scale:!1,category:"people"},tophat:{keywords:["magic","gentleman","classy","circus"],char:'\ud83c\udfa9',fitzpatrick_scale:!1,category:"people"},billed_hat:{keywords:["cap","baseball"],char:'\ud83e\udde2',fitzpatrick_scale:!1,category:"people"},rescue_worker_helmet:{keywords:["construction","build"],char:'\u26d1',fitzpatrick_scale:!1,category:"people"},mortar_board:{keywords:["school","college","degree","university","graduation","cap","hat","legal","learn","education"],char:'\ud83c\udf93',fitzpatrick_scale:!1,category:"people"},crown:{keywords:["king","kod","leader","royalty","lord"],char:'\ud83d\udc51',fitzpatrick_scale:!1,category:"people"},school_satchel:{keywords:["student","education","bag","backpack"],char:'\ud83c\udf92',fitzpatrick_scale:!1,category:"people"},luggage:{keywords:["packing","travel"],char:'\ud83e\uddf3',fitzpatrick_scale:!1,category:"people"},pouch:{keywords:["bag","accessories","shopping"],char:'\ud83d\udc5d',fitzpatrick_scale:!1,category:"people"},purse:{keywords:["fashion","accessories","money","sales","shopping"],char:'\ud83d\udc5b',fitzpatrick_scale:!1,category:"people"},handbag:{keywords:["fashion","accessory","accessories","shopping"],char:'\ud83d\udc5c',fitzpatrick_scale:!1,category:"people"},briefcase:{keywords:["business","documents","work","law","legal","job","career"],char:'\ud83d\udcbc',fitzpatrick_scale:!1,category:"people"},eyeglasses:{keywords:["fashion","accessories","eyesight","nerdy","dork","geek"],char:'\ud83d\udc53',fitzpatrick_scale:!1,category:"people"},dark_sunglasses:{keywords:["face","cool","accessories"],char:'\ud83d\udd76',fitzpatrick_scale:!1,category:"people"},goggles:{keywords:["eyes","protection","safety"],char:'\ud83e\udd7d',fitzpatrick_scale:!1,category:"people"},ring:{keywords:["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],char:'\ud83d\udc8d',fitzpatrick_scale:!1,category:"people"},closed_umbrella:{keywords:["weather","rain","drizzle"],char:'\ud83c\udf02',fitzpatrick_scale:!1,category:"people"},dog:{keywords:["animal","friend","nature","woof","puppy","pet","faithful"],char:'\ud83d\udc36',fitzpatrick_scale:!1,category:"animals_and_nature"},cat:{keywords:["animal","meow","nature","pet","kitten"],char:'\ud83d\udc31',fitzpatrick_scale:!1,category:"animals_and_nature"},mouse:{keywords:["animal","nature","cheese_wedge","rodent"],char:'\ud83d\udc2d',fitzpatrick_scale:!1,category:"animals_and_nature"},hamster:{keywords:["animal","nature"],char:'\ud83d\udc39',fitzpatrick_scale:!1,category:"animals_and_nature"},rabbit:{keywords:["animal","nature","pet","spring","magic","bunny"],char:'\ud83d\udc30',fitzpatrick_scale:!1,category:"animals_and_nature"},fox_face:{keywords:["animal","nature","face"],char:'\ud83e\udd8a',fitzpatrick_scale:!1,category:"animals_and_nature"},bear:{keywords:["animal","nature","wild"],char:'\ud83d\udc3b',fitzpatrick_scale:!1,category:"animals_and_nature"},panda_face:{keywords:["animal","nature","panda"],char:'\ud83d\udc3c',fitzpatrick_scale:!1,category:"animals_and_nature"},koala:{keywords:["animal","nature"],char:'\ud83d\udc28',fitzpatrick_scale:!1,category:"animals_and_nature"},tiger:{keywords:["animal","cat","danger","wild","nature","roar"],char:'\ud83d\udc2f',fitzpatrick_scale:!1,category:"animals_and_nature"},lion:{keywords:["animal","nature"],char:'\ud83e\udd81',fitzpatrick_scale:!1,category:"animals_and_nature"},cow:{keywords:["beef","ox","animal","nature","moo","milk"],char:'\ud83d\udc2e',fitzpatrick_scale:!1,category:"animals_and_nature"},pig:{keywords:["animal","oink","nature"],char:'\ud83d\udc37',fitzpatrick_scale:!1,category:"animals_and_nature"},pig_nose:{keywords:["animal","oink"],char:'\ud83d\udc3d',fitzpatrick_scale:!1,category:"animals_and_nature"},frog:{keywords:["animal","nature","croak","toad"],char:'\ud83d\udc38',fitzpatrick_scale:!1,category:"animals_and_nature"},squid:{keywords:["animal","nature","ocean","sea"],char:'\ud83e\udd91',fitzpatrick_scale:!1,category:"animals_and_nature"},octopus:{keywords:["animal","creature","ocean","sea","nature","beach"],char:'\ud83d\udc19',fitzpatrick_scale:!1,category:"animals_and_nature"},shrimp:{keywords:["animal","ocean","nature","seafood"],char:'\ud83e\udd90',fitzpatrick_scale:!1,category:"animals_and_nature"},monkey_face:{keywords:["animal","nature","circus"],char:'\ud83d\udc35',fitzpatrick_scale:!1,category:"animals_and_nature"},gorilla:{keywords:["animal","nature","circus"],char:'\ud83e\udd8d',fitzpatrick_scale:!1,category:"animals_and_nature"},see_no_evil:{keywords:["monkey","animal","nature","haha"],char:'\ud83d\ude48',fitzpatrick_scale:!1,category:"animals_and_nature"},hear_no_evil:{keywords:["animal","monkey","nature"],char:'\ud83d\ude49',fitzpatrick_scale:!1,category:"animals_and_nature"},speak_no_evil:{keywords:["monkey","animal","nature","omg"],char:'\ud83d\ude4a',fitzpatrick_scale:!1,category:"animals_and_nature"},monkey:{keywords:["animal","nature","banana","circus"],char:'\ud83d\udc12',fitzpatrick_scale:!1,category:"animals_and_nature"},chicken:{keywords:["animal","cluck","nature","bird"],char:'\ud83d\udc14',fitzpatrick_scale:!1,category:"animals_and_nature"},penguin:{keywords:["animal","nature"],char:'\ud83d\udc27',fitzpatrick_scale:!1,category:"animals_and_nature"},bird:{keywords:["animal","nature","fly","tweet","spring"],char:'\ud83d\udc26',fitzpatrick_scale:!1,category:"animals_and_nature"},baby_chick:{keywords:["animal","chicken","bird"],char:'\ud83d\udc24',fitzpatrick_scale:!1,category:"animals_and_nature"},hatching_chick:{keywords:["animal","chicken","egg","born","baby","bird"],char:'\ud83d\udc23',fitzpatrick_scale:!1,category:"animals_and_nature"},hatched_chick:{keywords:["animal","chicken","baby","bird"],char:'\ud83d\udc25',fitzpatrick_scale:!1,category:"animals_and_nature"},duck:{keywords:["animal","nature","bird","mallard"],char:'\ud83e\udd86',fitzpatrick_scale:!1,category:"animals_and_nature"},eagle:{keywords:["animal","nature","bird"],char:'\ud83e\udd85',fitzpatrick_scale:!1,category:"animals_and_nature"},owl:{keywords:["animal","nature","bird","hoot"],char:'\ud83e\udd89',fitzpatrick_scale:!1,category:"animals_and_nature"},bat:{keywords:["animal","nature","blind","vampire"],char:'\ud83e\udd87',fitzpatrick_scale:!1,category:"animals_and_nature"},wolf:{keywords:["animal","nature","wild"],char:'\ud83d\udc3a',fitzpatrick_scale:!1,category:"animals_and_nature"},boar:{keywords:["animal","nature"],char:'\ud83d\udc17',fitzpatrick_scale:!1,category:"animals_and_nature"},horse:{keywords:["animal","brown","nature"],char:'\ud83d\udc34',fitzpatrick_scale:!1,category:"animals_and_nature"},unicorn:{keywords:["animal","nature","mystical"],char:'\ud83e\udd84',fitzpatrick_scale:!1,category:"animals_and_nature"},honeybee:{keywords:["animal","insect","nature","bug","spring","honey"],char:'\ud83d\udc1d',fitzpatrick_scale:!1,category:"animals_and_nature"},bug:{keywords:["animal","insect","nature","worm"],char:'\ud83d\udc1b',fitzpatrick_scale:!1,category:"animals_and_nature"},butterfly:{keywords:["animal","insect","nature","caterpillar"],char:'\ud83e\udd8b',fitzpatrick_scale:!1,category:"animals_and_nature"},snail:{keywords:["slow","animal","shell"],char:'\ud83d\udc0c',fitzpatrick_scale:!1,category:"animals_and_nature"},beetle:{keywords:["animal","insect","nature","ladybug"],char:'\ud83d\udc1e',fitzpatrick_scale:!1,category:"animals_and_nature"},ant:{keywords:["animal","insect","nature","bug"],char:'\ud83d\udc1c',fitzpatrick_scale:!1,category:"animals_and_nature"},grasshopper:{keywords:["animal","cricket","chirp"],char:'\ud83e\udd97',fitzpatrick_scale:!1,category:"animals_and_nature"},spider:{keywords:["animal","arachnid"],char:'\ud83d\udd77',fitzpatrick_scale:!1,category:"animals_and_nature"},scorpion:{keywords:["animal","arachnid"],char:'\ud83e\udd82',fitzpatrick_scale:!1,category:"animals_and_nature"},crab:{keywords:["animal","crustacean"],char:'\ud83e\udd80',fitzpatrick_scale:!1,category:"animals_and_nature"},snake:{keywords:["animal","evil","nature","hiss","python"],char:'\ud83d\udc0d',fitzpatrick_scale:!1,category:"animals_and_nature"},lizard:{keywords:["animal","nature","reptile"],char:'\ud83e\udd8e',fitzpatrick_scale:!1,category:"animals_and_nature"},"t-rex":{keywords:["animal","nature","dinosaur","tyrannosaurus","extinct"],char:'\ud83e\udd96',fitzpatrick_scale:!1,category:"animals_and_nature"},sauropod:{keywords:["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],char:'\ud83e\udd95',fitzpatrick_scale:!1,category:"animals_and_nature"},turtle:{keywords:["animal","slow","nature","tortoise"],char:'\ud83d\udc22',fitzpatrick_scale:!1,category:"animals_and_nature"},tropical_fish:{keywords:["animal","swim","ocean","beach","nemo"],char:'\ud83d\udc20',fitzpatrick_scale:!1,category:"animals_and_nature"},fish:{keywords:["animal","food","nature"],char:'\ud83d\udc1f',fitzpatrick_scale:!1,category:"animals_and_nature"},blowfish:{keywords:["animal","nature","food","sea","ocean"],char:'\ud83d\udc21',fitzpatrick_scale:!1,category:"animals_and_nature"},dolphin:{keywords:["animal","nature","fish","sea","ocean","flipper","fins","beach"],char:'\ud83d\udc2c',fitzpatrick_scale:!1,category:"animals_and_nature"},shark:{keywords:["animal","nature","fish","sea","ocean","jaws","fins","beach"],char:'\ud83e\udd88',fitzpatrick_scale:!1,category:"animals_and_nature"},whale:{keywords:["animal","nature","sea","ocean"],char:'\ud83d\udc33',fitzpatrick_scale:!1,category:"animals_and_nature"},whale2:{keywords:["animal","nature","sea","ocean"],char:'\ud83d\udc0b',fitzpatrick_scale:!1,category:"animals_and_nature"},crocodile:{keywords:["animal","nature","reptile","lizard","alligator"],char:'\ud83d\udc0a',fitzpatrick_scale:!1,category:"animals_and_nature"},leopard:{keywords:["animal","nature"],char:'\ud83d\udc06',fitzpatrick_scale:!1,category:"animals_and_nature"},zebra:{keywords:["animal","nature","stripes","safari"],char:'\ud83e\udd93',fitzpatrick_scale:!1,category:"animals_and_nature"},tiger2:{keywords:["animal","nature","roar"],char:'\ud83d\udc05',fitzpatrick_scale:!1,category:"animals_and_nature"},water_buffalo:{keywords:["animal","nature","ox","cow"],char:'\ud83d\udc03',fitzpatrick_scale:!1,category:"animals_and_nature"},ox:{keywords:["animal","cow","beef"],char:'\ud83d\udc02',fitzpatrick_scale:!1,category:"animals_and_nature"},cow2:{keywords:["beef","ox","animal","nature","moo","milk"],char:'\ud83d\udc04',fitzpatrick_scale:!1,category:"animals_and_nature"},deer:{keywords:["animal","nature","horns","venison"],char:'\ud83e\udd8c',fitzpatrick_scale:!1,category:"animals_and_nature"},dromedary_camel:{keywords:["animal","hot","desert","hump"],char:'\ud83d\udc2a',fitzpatrick_scale:!1,category:"animals_and_nature"},camel:{keywords:["animal","nature","hot","desert","hump"],char:'\ud83d\udc2b',fitzpatrick_scale:!1,category:"animals_and_nature"},giraffe:{keywords:["animal","nature","spots","safari"],char:'\ud83e\udd92',fitzpatrick_scale:!1,category:"animals_and_nature"},elephant:{keywords:["animal","nature","nose","th","circus"],char:'\ud83d\udc18',fitzpatrick_scale:!1,category:"animals_and_nature"},rhinoceros:{keywords:["animal","nature","horn"],char:'\ud83e\udd8f',fitzpatrick_scale:!1,category:"animals_and_nature"},goat:{keywords:["animal","nature"],char:'\ud83d\udc10',fitzpatrick_scale:!1,category:"animals_and_nature"},ram:{keywords:["animal","sheep","nature"],char:'\ud83d\udc0f',fitzpatrick_scale:!1,category:"animals_and_nature"},sheep:{keywords:["animal","nature","wool","shipit"],char:'\ud83d\udc11',fitzpatrick_scale:!1,category:"animals_and_nature"},racehorse:{keywords:["animal","gamble","luck"],char:'\ud83d\udc0e',fitzpatrick_scale:!1,category:"animals_and_nature"},pig2:{keywords:["animal","nature"],char:'\ud83d\udc16',fitzpatrick_scale:!1,category:"animals_and_nature"},rat:{keywords:["animal","mouse","rodent"],char:'\ud83d\udc00',fitzpatrick_scale:!1,category:"animals_and_nature"},mouse2:{keywords:["animal","nature","rodent"],char:'\ud83d\udc01',fitzpatrick_scale:!1,category:"animals_and_nature"},rooster:{keywords:["animal","nature","chicken"],char:'\ud83d\udc13',fitzpatrick_scale:!1,category:"animals_and_nature"},turkey:{keywords:["animal","bird"],char:'\ud83e\udd83',fitzpatrick_scale:!1,category:"animals_and_nature"},dove:{keywords:["animal","bird"],char:'\ud83d\udd4a',fitzpatrick_scale:!1,category:"animals_and_nature"},dog2:{keywords:["animal","nature","friend","doge","pet","faithful"],char:'\ud83d\udc15',fitzpatrick_scale:!1,category:"animals_and_nature"},poodle:{keywords:["dog","animal","101","nature","pet"],char:'\ud83d\udc29',fitzpatrick_scale:!1,category:"animals_and_nature"},cat2:{keywords:["animal","meow","pet","cats"],char:'\ud83d\udc08',fitzpatrick_scale:!1,category:"animals_and_nature"},rabbit2:{keywords:["animal","nature","pet","magic","spring"],char:'\ud83d\udc07',fitzpatrick_scale:!1,category:"animals_and_nature"},chipmunk:{keywords:["animal","nature","rodent","squirrel"],char:'\ud83d\udc3f',fitzpatrick_scale:!1,category:"animals_and_nature"},hedgehog:{keywords:["animal","nature","spiny"],char:'\ud83e\udd94',fitzpatrick_scale:!1,category:"animals_and_nature"},raccoon:{keywords:["animal","nature"],char:'\ud83e\udd9d',fitzpatrick_scale:!1,category:"animals_and_nature"},llama:{keywords:["animal","nature","alpaca"],char:'\ud83e\udd99',fitzpatrick_scale:!1,category:"animals_and_nature"},hippopotamus:{keywords:["animal","nature"],char:'\ud83e\udd9b',fitzpatrick_scale:!1,category:"animals_and_nature"},kangaroo:{keywords:["animal","nature","australia","joey","hop","marsupial"],char:'\ud83e\udd98',fitzpatrick_scale:!1,category:"animals_and_nature"},badger:{keywords:["animal","nature","honey"],char:'\ud83e\udda1',fitzpatrick_scale:!1,category:"animals_and_nature"},swan:{keywords:["animal","nature","bird"],char:'\ud83e\udda2',fitzpatrick_scale:!1,category:"animals_and_nature"},peacock:{keywords:["animal","nature","peahen","bird"],char:'\ud83e\udd9a',fitzpatrick_scale:!1,category:"animals_and_nature"},parrot:{keywords:["animal","nature","bird","pirate","talk"],char:'\ud83e\udd9c',fitzpatrick_scale:!1,category:"animals_and_nature"},lobster:{keywords:["animal","nature","bisque","claws","seafood"],char:'\ud83e\udd9e',fitzpatrick_scale:!1,category:"animals_and_nature"},mosquito:{keywords:["animal","nature","insect","malaria"],char:'\ud83e\udd9f',fitzpatrick_scale:!1,category:"animals_and_nature"},paw_prints:{keywords:["animal","tracking","footprints","dog","cat","pet","feet"],char:'\ud83d\udc3e',fitzpatrick_scale:!1,category:"animals_and_nature"},dragon:{keywords:["animal","myth","nature","chinese","green"],char:'\ud83d\udc09',fitzpatrick_scale:!1,category:"animals_and_nature"},dragon_face:{keywords:["animal","myth","nature","chinese","green"],char:'\ud83d\udc32',fitzpatrick_scale:!1,category:"animals_and_nature"},cactus:{keywords:["vegetable","plant","nature"],char:'\ud83c\udf35',fitzpatrick_scale:!1,category:"animals_and_nature"},christmas_tree:{keywords:["festival","vacation","december","xmas","celebration"],char:'\ud83c\udf84',fitzpatrick_scale:!1,category:"animals_and_nature"},evergreen_tree:{keywords:["plant","nature"],char:'\ud83c\udf32',fitzpatrick_scale:!1,category:"animals_and_nature"},deciduous_tree:{keywords:["plant","nature"],char:'\ud83c\udf33',fitzpatrick_scale:!1,category:"animals_and_nature"},palm_tree:{keywords:["plant","vegetable","nature","summer","beach","mojito","tropical"],char:'\ud83c\udf34',fitzpatrick_scale:!1,category:"animals_and_nature"},seedling:{keywords:["plant","nature","grass","lawn","spring"],char:'\ud83c\udf31',fitzpatrick_scale:!1,category:"animals_and_nature"},herb:{keywords:["vegetable","plant","medicine","weed","grass","lawn"],char:'\ud83c\udf3f',fitzpatrick_scale:!1,category:"animals_and_nature"},shamrock:{keywords:["vegetable","plant","nature","irish","clover"],char:'\u2618',fitzpatrick_scale:!1,category:"animals_and_nature"},four_leaf_clover:{keywords:["vegetable","plant","nature","lucky","irish"],char:'\ud83c\udf40',fitzpatrick_scale:!1,category:"animals_and_nature"},bamboo:{keywords:["plant","nature","vegetable","panda","pine_decoration"],char:'\ud83c\udf8d',fitzpatrick_scale:!1,category:"animals_and_nature"},tanabata_tree:{keywords:["plant","nature","branch","summer"],char:'\ud83c\udf8b',fitzpatrick_scale:!1,category:"animals_and_nature"},leaves:{keywords:["nature","plant","tree","vegetable","grass","lawn","spring"],char:'\ud83c\udf43',fitzpatrick_scale:!1,category:"animals_and_nature"},fallen_leaf:{keywords:["nature","plant","vegetable","leaves"],char:'\ud83c\udf42',fitzpatrick_scale:!1,category:"animals_and_nature"},maple_leaf:{keywords:["nature","plant","vegetable","ca","fall"],char:'\ud83c\udf41',fitzpatrick_scale:!1,category:"animals_and_nature"},ear_of_rice:{keywords:["nature","plant"],char:'\ud83c\udf3e',fitzpatrick_scale:!1,category:"animals_and_nature"},hibiscus:{keywords:["plant","vegetable","flowers","beach"],char:'\ud83c\udf3a',fitzpatrick_scale:!1,category:"animals_and_nature"},sunflower:{keywords:["nature","plant","fall"],char:'\ud83c\udf3b',fitzpatrick_scale:!1,category:"animals_and_nature"},rose:{keywords:["flowers","valentines","love","spring"],char:'\ud83c\udf39',fitzpatrick_scale:!1,category:"animals_and_nature"},wilted_flower:{keywords:["plant","nature","flower"],char:'\ud83e\udd40',fitzpatrick_scale:!1,category:"animals_and_nature"},tulip:{keywords:["flowers","plant","nature","summer","spring"],char:'\ud83c\udf37',fitzpatrick_scale:!1,category:"animals_and_nature"},blossom:{keywords:["nature","flowers","yellow"],char:'\ud83c\udf3c',fitzpatrick_scale:!1,category:"animals_and_nature"},cherry_blossom:{keywords:["nature","plant","spring","flower"],char:'\ud83c\udf38',fitzpatrick_scale:!1,category:"animals_and_nature"},bouquet:{keywords:["flowers","nature","spring"],char:'\ud83d\udc90',fitzpatrick_scale:!1,category:"animals_and_nature"},mushroom:{keywords:["plant","vegetable"],char:'\ud83c\udf44',fitzpatrick_scale:!1,category:"animals_and_nature"},chestnut:{keywords:["food","squirrel"],char:'\ud83c\udf30',fitzpatrick_scale:!1,category:"animals_and_nature"},jack_o_lantern:{keywords:["halloween","light","pumpkin","creepy","fall"],char:'\ud83c\udf83',fitzpatrick_scale:!1,category:"animals_and_nature"},shell:{keywords:["nature","sea","beach"],char:'\ud83d\udc1a',fitzpatrick_scale:!1,category:"animals_and_nature"},spider_web:{keywords:["animal","insect","arachnid","silk"],char:'\ud83d\udd78',fitzpatrick_scale:!1,category:"animals_and_nature"},earth_americas:{keywords:["globe","world","USA","international"],char:'\ud83c\udf0e',fitzpatrick_scale:!1,category:"animals_and_nature"},earth_africa:{keywords:["globe","world","international"],char:'\ud83c\udf0d',fitzpatrick_scale:!1,category:"animals_and_nature"},earth_asia:{keywords:["globe","world","east","international"],char:'\ud83c\udf0f',fitzpatrick_scale:!1,category:"animals_and_nature"},full_moon:{keywords:["nature","yellow","twilight","planet","space","night","evening","sleep"],char:'\ud83c\udf15',fitzpatrick_scale:!1,category:"animals_and_nature"},waning_gibbous_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],char:'\ud83c\udf16',fitzpatrick_scale:!1,category:"animals_and_nature"},last_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\ud83c\udf17',fitzpatrick_scale:!1,category:"animals_and_nature"},waning_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\ud83c\udf18',fitzpatrick_scale:!1,category:"animals_and_nature"},new_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\ud83c\udf11',fitzpatrick_scale:!1,category:"animals_and_nature"},waxing_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\ud83c\udf12',fitzpatrick_scale:!1,category:"animals_and_nature"},first_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\ud83c\udf13',fitzpatrick_scale:!1,category:"animals_and_nature"},waxing_gibbous_moon:{keywords:["nature","night","sky","gray","twilight","planet","space","evening","sleep"],char:'\ud83c\udf14',fitzpatrick_scale:!1,category:"animals_and_nature"},new_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\ud83c\udf1a',fitzpatrick_scale:!1,category:"animals_and_nature"},full_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\ud83c\udf1d',fitzpatrick_scale:!1,category:"animals_and_nature"},first_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\ud83c\udf1b',fitzpatrick_scale:!1,category:"animals_and_nature"},last_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:'\ud83c\udf1c',fitzpatrick_scale:!1,category:"animals_and_nature"},sun_with_face:{keywords:["nature","morning","sky"],char:'\ud83c\udf1e',fitzpatrick_scale:!1,category:"animals_and_nature"},crescent_moon:{keywords:["night","sleep","sky","evening","magic"],char:'\ud83c\udf19',fitzpatrick_scale:!1,category:"animals_and_nature"},star:{keywords:["night","yellow"],char:'\u2b50',fitzpatrick_scale:!1,category:"animals_and_nature"},star2:{keywords:["night","sparkle","awesome","good","magic"],char:'\ud83c\udf1f',fitzpatrick_scale:!1,category:"animals_and_nature"},dizzy:{keywords:["star","sparkle","shoot","magic"],char:'\ud83d\udcab',fitzpatrick_scale:!1,category:"animals_and_nature"},sparkles:{keywords:["stars","shine","shiny","cool","awesome","good","magic"],char:'\u2728',fitzpatrick_scale:!1,category:"animals_and_nature"},comet:{keywords:["space"],char:'\u2604',fitzpatrick_scale:!1,category:"animals_and_nature"},sunny:{keywords:["weather","nature","brightness","summer","beach","spring"],char:'\u2600\ufe0f',fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_small_cloud:{keywords:["weather"],char:'\ud83c\udf24',fitzpatrick_scale:!1,category:"animals_and_nature"},partly_sunny:{keywords:["weather","nature","cloudy","morning","fall","spring"],char:'\u26c5',fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_large_cloud:{keywords:["weather"],char:'\ud83c\udf25',fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_rain_cloud:{keywords:["weather"],char:'\ud83c\udf26',fitzpatrick_scale:!1,category:"animals_and_nature"},cloud:{keywords:["weather","sky"],char:'\u2601\ufe0f',fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_rain:{keywords:["weather"],char:'\ud83c\udf27',fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_lightning_and_rain:{keywords:["weather","lightning"],char:'\u26c8',fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_lightning:{keywords:["weather","thunder"],char:'\ud83c\udf29',fitzpatrick_scale:!1,category:"animals_and_nature"},zap:{keywords:["thunder","weather","lightning bolt","fast"],char:'\u26a1',fitzpatrick_scale:!1,category:"animals_and_nature"},fire:{keywords:["hot","cook","flame"],char:'\ud83d\udd25',fitzpatrick_scale:!1,category:"animals_and_nature"},boom:{keywords:["bomb","explode","explosion","collision","blown"],char:'\ud83d\udca5',fitzpatrick_scale:!1,category:"animals_and_nature"},snowflake:{keywords:["winter","season","cold","weather","christmas","xmas"],char:'\u2744\ufe0f',fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_snow:{keywords:["weather"],char:'\ud83c\udf28',fitzpatrick_scale:!1,category:"animals_and_nature"},snowman:{keywords:["winter","season","cold","weather","christmas","xmas","frozen","without_snow"],char:'\u26c4',fitzpatrick_scale:!1,category:"animals_and_nature"},snowman_with_snow:{keywords:["winter","season","cold","weather","christmas","xmas","frozen"],char:'\u2603',fitzpatrick_scale:!1,category:"animals_and_nature"},wind_face:{keywords:["gust","air"],char:'\ud83c\udf2c',fitzpatrick_scale:!1,category:"animals_and_nature"},dash:{keywords:["wind","air","fast","shoo","fart","smoke","puff"],char:'\ud83d\udca8',fitzpatrick_scale:!1,category:"animals_and_nature"},tornado:{keywords:["weather","cyclone","twister"],char:'\ud83c\udf2a',fitzpatrick_scale:!1,category:"animals_and_nature"},fog:{keywords:["weather"],char:'\ud83c\udf2b',fitzpatrick_scale:!1,category:"animals_and_nature"},open_umbrella:{keywords:["weather","spring"],char:'\u2602',fitzpatrick_scale:!1,category:"animals_and_nature"},umbrella:{keywords:["rainy","weather","spring"],char:'\u2614',fitzpatrick_scale:!1,category:"animals_and_nature"},droplet:{keywords:["water","drip","faucet","spring"],char:'\ud83d\udca7',fitzpatrick_scale:!1,category:"animals_and_nature"},sweat_drops:{keywords:["water","drip","oops"],char:'\ud83d\udca6',fitzpatrick_scale:!1,category:"animals_and_nature"},ocean:{keywords:["sea","water","wave","nature","tsunami","disaster"],char:'\ud83c\udf0a',fitzpatrick_scale:!1,category:"animals_and_nature"},green_apple:{keywords:["fruit","nature"],char:'\ud83c\udf4f',fitzpatrick_scale:!1,category:"food_and_drink"},apple:{keywords:["fruit","mac","school"],char:'\ud83c\udf4e',fitzpatrick_scale:!1,category:"food_and_drink"},pear:{keywords:["fruit","nature","food"],char:'\ud83c\udf50',fitzpatrick_scale:!1,category:"food_and_drink"},tangerine:{keywords:["food","fruit","nature","orange"],char:'\ud83c\udf4a',fitzpatrick_scale:!1,category:"food_and_drink"},lemon:{keywords:["fruit","nature"],char:'\ud83c\udf4b',fitzpatrick_scale:!1,category:"food_and_drink"},banana:{keywords:["fruit","food","monkey"],char:'\ud83c\udf4c',fitzpatrick_scale:!1,category:"food_and_drink"},watermelon:{keywords:["fruit","food","picnic","summer"],char:'\ud83c\udf49',fitzpatrick_scale:!1,category:"food_and_drink"},grapes:{keywords:["fruit","food","wine"],char:'\ud83c\udf47',fitzpatrick_scale:!1,category:"food_and_drink"},strawberry:{keywords:["fruit","food","nature"],char:'\ud83c\udf53',fitzpatrick_scale:!1,category:"food_and_drink"},melon:{keywords:["fruit","nature","food"],char:'\ud83c\udf48',fitzpatrick_scale:!1,category:"food_and_drink"},cherries:{keywords:["food","fruit"],char:'\ud83c\udf52',fitzpatrick_scale:!1,category:"food_and_drink"},peach:{keywords:["fruit","nature","food"],char:'\ud83c\udf51',fitzpatrick_scale:!1,category:"food_and_drink"},pineapple:{keywords:["fruit","nature","food"],char:'\ud83c\udf4d',fitzpatrick_scale:!1,category:"food_and_drink"},coconut:{keywords:["fruit","nature","food","palm"],char:'\ud83e\udd65',fitzpatrick_scale:!1,category:"food_and_drink"},kiwi_fruit:{keywords:["fruit","food"],char:'\ud83e\udd5d',fitzpatrick_scale:!1,category:"food_and_drink"},mango:{keywords:["fruit","food","tropical"],char:'\ud83e\udd6d',fitzpatrick_scale:!1,category:"food_and_drink"},avocado:{keywords:["fruit","food"],char:'\ud83e\udd51',fitzpatrick_scale:!1,category:"food_and_drink"},broccoli:{keywords:["fruit","food","vegetable"],char:'\ud83e\udd66',fitzpatrick_scale:!1,category:"food_and_drink"},tomato:{keywords:["fruit","vegetable","nature","food"],char:'\ud83c\udf45',fitzpatrick_scale:!1,category:"food_and_drink"},eggplant:{keywords:["vegetable","nature","food","aubergine"],char:'\ud83c\udf46',fitzpatrick_scale:!1,category:"food_and_drink"},cucumber:{keywords:["fruit","food","pickle"],char:'\ud83e\udd52',fitzpatrick_scale:!1,category:"food_and_drink"},carrot:{keywords:["vegetable","food","orange"],char:'\ud83e\udd55',fitzpatrick_scale:!1,category:"food_and_drink"},hot_pepper:{keywords:["food","spicy","chilli","chili"],char:'\ud83c\udf36',fitzpatrick_scale:!1,category:"food_and_drink"},potato:{keywords:["food","tuber","vegatable","starch"],char:'\ud83e\udd54',fitzpatrick_scale:!1,category:"food_and_drink"},corn:{keywords:["food","vegetable","plant"],char:'\ud83c\udf3d',fitzpatrick_scale:!1,category:"food_and_drink"},leafy_greens:{keywords:["food","vegetable","plant","bok choy","cabbage","kale","lettuce"],char:'\ud83e\udd6c',fitzpatrick_scale:!1,category:"food_and_drink"},sweet_potato:{keywords:["food","nature"],char:'\ud83c\udf60',fitzpatrick_scale:!1,category:"food_and_drink"},peanuts:{keywords:["food","nut"],char:'\ud83e\udd5c',fitzpatrick_scale:!1,category:"food_and_drink"},honey_pot:{keywords:["bees","sweet","kitchen"],char:'\ud83c\udf6f',fitzpatrick_scale:!1,category:"food_and_drink"},croissant:{keywords:["food","bread","french"],char:'\ud83e\udd50',fitzpatrick_scale:!1,category:"food_and_drink"},bread:{keywords:["food","wheat","breakfast","toast"],char:'\ud83c\udf5e',fitzpatrick_scale:!1,category:"food_and_drink"},baguette_bread:{keywords:["food","bread","french"],char:'\ud83e\udd56',fitzpatrick_scale:!1,category:"food_and_drink"},bagel:{keywords:["food","bread","bakery","schmear"],char:'\ud83e\udd6f',fitzpatrick_scale:!1,category:"food_and_drink"},pretzel:{keywords:["food","bread","twisted"],char:'\ud83e\udd68',fitzpatrick_scale:!1,category:"food_and_drink"},cheese:{keywords:["food","chadder"],char:'\ud83e\uddc0',fitzpatrick_scale:!1,category:"food_and_drink"},egg:{keywords:["food","chicken","breakfast"],char:'\ud83e\udd5a',fitzpatrick_scale:!1,category:"food_and_drink"},bacon:{keywords:["food","breakfast","pork","pig","meat"],char:'\ud83e\udd53',fitzpatrick_scale:!1,category:"food_and_drink"},steak:{keywords:["food","cow","meat","cut","chop","lambchop","porkchop"],char:'\ud83e\udd69',fitzpatrick_scale:!1,category:"food_and_drink"},pancakes:{keywords:["food","breakfast","flapjacks","hotcakes"],char:'\ud83e\udd5e',fitzpatrick_scale:!1,category:"food_and_drink"},poultry_leg:{keywords:["food","meat","drumstick","bird","chicken","turkey"],char:'\ud83c\udf57',fitzpatrick_scale:!1,category:"food_and_drink"},meat_on_bone:{keywords:["good","food","drumstick"],char:'\ud83c\udf56',fitzpatrick_scale:!1,category:"food_and_drink"},bone:{keywords:["skeleton"],char:'\ud83e\uddb4',fitzpatrick_scale:!1,category:"food_and_drink"},fried_shrimp:{keywords:["food","animal","appetizer","summer"],char:'\ud83c\udf64',fitzpatrick_scale:!1,category:"food_and_drink"},fried_egg:{keywords:["food","breakfast","kitchen","egg"],char:'\ud83c\udf73',fitzpatrick_scale:!1,category:"food_and_drink"},hamburger:{keywords:["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],char:'\ud83c\udf54',fitzpatrick_scale:!1,category:"food_and_drink"},fries:{keywords:["chips","snack","fast food"],char:'\ud83c\udf5f',fitzpatrick_scale:!1,category:"food_and_drink"},stuffed_flatbread:{keywords:["food","flatbread","stuffed","gyro"],char:'\ud83e\udd59',fitzpatrick_scale:!1,category:"food_and_drink"},hotdog:{keywords:["food","frankfurter"],char:'\ud83c\udf2d',fitzpatrick_scale:!1,category:"food_and_drink"},pizza:{keywords:["food","party"],char:'\ud83c\udf55',fitzpatrick_scale:!1,category:"food_and_drink"},sandwich:{keywords:["food","lunch","bread"],char:'\ud83e\udd6a',fitzpatrick_scale:!1,category:"food_and_drink"},canned_food:{keywords:["food","soup"],char:'\ud83e\udd6b',fitzpatrick_scale:!1,category:"food_and_drink"},spaghetti:{keywords:["food","italian","noodle"],char:'\ud83c\udf5d',fitzpatrick_scale:!1,category:"food_and_drink"},taco:{keywords:["food","mexican"],char:'\ud83c\udf2e',fitzpatrick_scale:!1,category:"food_and_drink"},burrito:{keywords:["food","mexican"],char:'\ud83c\udf2f',fitzpatrick_scale:!1,category:"food_and_drink"},green_salad:{keywords:["food","healthy","lettuce"],char:'\ud83e\udd57',fitzpatrick_scale:!1,category:"food_and_drink"},shallow_pan_of_food:{keywords:["food","cooking","casserole","paella"],char:'\ud83e\udd58',fitzpatrick_scale:!1,category:"food_and_drink"},ramen:{keywords:["food","japanese","noodle","chopsticks"],char:'\ud83c\udf5c',fitzpatrick_scale:!1,category:"food_and_drink"},stew:{keywords:["food","meat","soup"],char:'\ud83c\udf72',fitzpatrick_scale:!1,category:"food_and_drink"},fish_cake:{keywords:["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],char:'\ud83c\udf65',fitzpatrick_scale:!1,category:"food_and_drink"},fortune_cookie:{keywords:["food","prophecy"],char:'\ud83e\udd60',fitzpatrick_scale:!1,category:"food_and_drink"},sushi:{keywords:["food","fish","japanese","rice"],char:'\ud83c\udf63',fitzpatrick_scale:!1,category:"food_and_drink"},bento:{keywords:["food","japanese","box"],char:'\ud83c\udf71',fitzpatrick_scale:!1,category:"food_and_drink"},curry:{keywords:["food","spicy","hot","indian"],char:'\ud83c\udf5b',fitzpatrick_scale:!1,category:"food_and_drink"},rice_ball:{keywords:["food","japanese"],char:'\ud83c\udf59',fitzpatrick_scale:!1,category:"food_and_drink"},rice:{keywords:["food","china","asian"],char:'\ud83c\udf5a',fitzpatrick_scale:!1,category:"food_and_drink"},rice_cracker:{keywords:["food","japanese"],char:'\ud83c\udf58',fitzpatrick_scale:!1,category:"food_and_drink"},oden:{keywords:["food","japanese"],char:'\ud83c\udf62',fitzpatrick_scale:!1,category:"food_and_drink"},dango:{keywords:["food","dessert","sweet","japanese","barbecue","meat"],char:'\ud83c\udf61',fitzpatrick_scale:!1,category:"food_and_drink"},shaved_ice:{keywords:["hot","dessert","summer"],char:'\ud83c\udf67',fitzpatrick_scale:!1,category:"food_and_drink"},ice_cream:{keywords:["food","hot","dessert"],char:'\ud83c\udf68',fitzpatrick_scale:!1,category:"food_and_drink"},icecream:{keywords:["food","hot","dessert","summer"],char:'\ud83c\udf66',fitzpatrick_scale:!1,category:"food_and_drink"},pie:{keywords:["food","dessert","pastry"],char:'\ud83e\udd67',fitzpatrick_scale:!1,category:"food_and_drink"},cake:{keywords:["food","dessert"],char:'\ud83c\udf70',fitzpatrick_scale:!1,category:"food_and_drink"},cupcake:{keywords:["food","dessert","bakery","sweet"],char:'\ud83e\uddc1',fitzpatrick_scale:!1,category:"food_and_drink"},moon_cake:{keywords:["food","autumn"],char:'\ud83e\udd6e',fitzpatrick_scale:!1,category:"food_and_drink"},birthday:{keywords:["food","dessert","cake"],char:'\ud83c\udf82',fitzpatrick_scale:!1,category:"food_and_drink"},custard:{keywords:["dessert","food"],char:'\ud83c\udf6e',fitzpatrick_scale:!1,category:"food_and_drink"},candy:{keywords:["snack","dessert","sweet","lolly"],char:'\ud83c\udf6c',fitzpatrick_scale:!1,category:"food_and_drink"},lollipop:{keywords:["food","snack","candy","sweet"],char:'\ud83c\udf6d',fitzpatrick_scale:!1,category:"food_and_drink"},chocolate_bar:{keywords:["food","snack","dessert","sweet"],char:'\ud83c\udf6b',fitzpatrick_scale:!1,category:"food_and_drink"},popcorn:{keywords:["food","movie theater","films","snack"],char:'\ud83c\udf7f',fitzpatrick_scale:!1,category:"food_and_drink"},dumpling:{keywords:["food","empanada","pierogi","potsticker"],char:'\ud83e\udd5f',fitzpatrick_scale:!1,category:"food_and_drink"},doughnut:{keywords:["food","dessert","snack","sweet","donut"],char:'\ud83c\udf69',fitzpatrick_scale:!1,category:"food_and_drink"},cookie:{keywords:["food","snack","oreo","chocolate","sweet","dessert"],char:'\ud83c\udf6a',fitzpatrick_scale:!1,category:"food_and_drink"},milk_glass:{keywords:["beverage","drink","cow"],char:'\ud83e\udd5b',fitzpatrick_scale:!1,category:"food_and_drink"},beer:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:'\ud83c\udf7a',fitzpatrick_scale:!1,category:"food_and_drink"},beers:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:'\ud83c\udf7b',fitzpatrick_scale:!1,category:"food_and_drink"},clinking_glasses:{keywords:["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],char:'\ud83e\udd42',fitzpatrick_scale:!1,category:"food_and_drink"},wine_glass:{keywords:["drink","beverage","drunk","alcohol","booze"],char:'\ud83c\udf77',fitzpatrick_scale:!1,category:"food_and_drink"},tumbler_glass:{keywords:["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],char:'\ud83e\udd43',fitzpatrick_scale:!1,category:"food_and_drink"},cocktail:{keywords:["drink","drunk","alcohol","beverage","booze","mojito"],char:'\ud83c\udf78',fitzpatrick_scale:!1,category:"food_and_drink"},tropical_drink:{keywords:["beverage","cocktail","summer","beach","alcohol","booze","mojito"],char:'\ud83c\udf79',fitzpatrick_scale:!1,category:"food_and_drink"},champagne:{keywords:["drink","wine","bottle","celebration"],char:'\ud83c\udf7e',fitzpatrick_scale:!1,category:"food_and_drink"},sake:{keywords:["wine","drink","drunk","beverage","japanese","alcohol","booze"],char:'\ud83c\udf76',fitzpatrick_scale:!1,category:"food_and_drink"},tea:{keywords:["drink","bowl","breakfast","green","british"],char:'\ud83c\udf75',fitzpatrick_scale:!1,category:"food_and_drink"},cup_with_straw:{keywords:["drink","soda"],char:'\ud83e\udd64',fitzpatrick_scale:!1,category:"food_and_drink"},coffee:{keywords:["beverage","caffeine","latte","espresso"],char:'\u2615',fitzpatrick_scale:!1,category:"food_and_drink"},baby_bottle:{keywords:["food","container","milk"],char:'\ud83c\udf7c',fitzpatrick_scale:!1,category:"food_and_drink"},salt:{keywords:["condiment","shaker"],char:'\ud83e\uddc2',fitzpatrick_scale:!1,category:"food_and_drink"},spoon:{keywords:["cutlery","kitchen","tableware"],char:'\ud83e\udd44',fitzpatrick_scale:!1,category:"food_and_drink"},fork_and_knife:{keywords:["cutlery","kitchen"],char:'\ud83c\udf74',fitzpatrick_scale:!1,category:"food_and_drink"},plate_with_cutlery:{keywords:["food","eat","meal","lunch","dinner","restaurant"],char:'\ud83c\udf7d',fitzpatrick_scale:!1,category:"food_and_drink"},bowl_with_spoon:{keywords:["food","breakfast","cereal","oatmeal","porridge"],char:'\ud83e\udd63',fitzpatrick_scale:!1,category:"food_and_drink"},takeout_box:{keywords:["food","leftovers"],char:'\ud83e\udd61',fitzpatrick_scale:!1,category:"food_and_drink"},chopsticks:{keywords:["food"],char:'\ud83e\udd62',fitzpatrick_scale:!1,category:"food_and_drink"},soccer:{keywords:["sports","football"],char:'\u26bd',fitzpatrick_scale:!1,category:"activity"},basketball:{keywords:["sports","balls","NBA"],char:'\ud83c\udfc0',fitzpatrick_scale:!1,category:"activity"},football:{keywords:["sports","balls","NFL"],char:'\ud83c\udfc8',fitzpatrick_scale:!1,category:"activity"},baseball:{keywords:["sports","balls"],char:'\u26be',fitzpatrick_scale:!1,category:"activity"},softball:{keywords:["sports","balls"],char:'\ud83e\udd4e',fitzpatrick_scale:!1,category:"activity"},tennis:{keywords:["sports","balls","green"],char:'\ud83c\udfbe',fitzpatrick_scale:!1,category:"activity"},volleyball:{keywords:["sports","balls"],char:'\ud83c\udfd0',fitzpatrick_scale:!1,category:"activity"},rugby_football:{keywords:["sports","team"],char:'\ud83c\udfc9',fitzpatrick_scale:!1,category:"activity"},flying_disc:{keywords:["sports","frisbee","ultimate"],char:'\ud83e\udd4f',fitzpatrick_scale:!1,category:"activity"},"8ball":{keywords:["pool","hobby","game","luck","magic"],char:'\ud83c\udfb1',fitzpatrick_scale:!1,category:"activity"},golf:{keywords:["sports","business","flag","hole","summer"],char:'\u26f3',fitzpatrick_scale:!1,category:"activity"},golfing_woman:{keywords:["sports","business","woman","female"],char:'\ud83c\udfcc\ufe0f\u200d\u2640\ufe0f',fitzpatrick_scale:!1,category:"activity"},golfing_man:{keywords:["sports","business"],char:'\ud83c\udfcc',fitzpatrick_scale:!0,category:"activity"},ping_pong:{keywords:["sports","pingpong"],char:'\ud83c\udfd3',fitzpatrick_scale:!1,category:"activity"},badminton:{keywords:["sports"],char:'\ud83c\udff8',fitzpatrick_scale:!1,category:"activity"},goal_net:{keywords:["sports"],char:'\ud83e\udd45',fitzpatrick_scale:!1,category:"activity"},ice_hockey:{keywords:["sports"],char:'\ud83c\udfd2',fitzpatrick_scale:!1,category:"activity"},field_hockey:{keywords:["sports"],char:'\ud83c\udfd1',fitzpatrick_scale:!1,category:"activity"},lacrosse:{keywords:["sports","ball","stick"],char:'\ud83e\udd4d',fitzpatrick_scale:!1,category:"activity"},cricket:{keywords:["sports"],char:'\ud83c\udfcf',fitzpatrick_scale:!1,category:"activity"},ski:{keywords:["sports","winter","cold","snow"],char:'\ud83c\udfbf',fitzpatrick_scale:!1,category:"activity"},skier:{keywords:["sports","winter","snow"],char:'\u26f7',fitzpatrick_scale:!1,category:"activity"},snowboarder:{keywords:["sports","winter"],char:'\ud83c\udfc2',fitzpatrick_scale:!0,category:"activity"},person_fencing:{keywords:["sports","fencing","sword"],char:'\ud83e\udd3a',fitzpatrick_scale:!1,category:"activity"},women_wrestling:{keywords:["sports","wrestlers"],char:'\ud83e\udd3c\u200d\u2640\ufe0f',fitzpatrick_scale:!1,category:"activity"},men_wrestling:{keywords:["sports","wrestlers"],char:'\ud83e\udd3c\u200d\u2642\ufe0f',fitzpatrick_scale:!1,category:"activity"},woman_cartwheeling:{keywords:["gymnastics"],char:'\ud83e\udd38\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},man_cartwheeling:{keywords:["gymnastics"],char:'\ud83e\udd38\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"activity"},woman_playing_handball:{keywords:["sports"],char:'\ud83e\udd3e\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},man_playing_handball:{keywords:["sports"],char:'\ud83e\udd3e\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"activity"},ice_skate:{keywords:["sports"],char:'\u26f8',fitzpatrick_scale:!1,category:"activity"},curling_stone:{keywords:["sports"],char:'\ud83e\udd4c',fitzpatrick_scale:!1,category:"activity"},skateboard:{keywords:["board"],char:'\ud83d\udef9',fitzpatrick_scale:!1,category:"activity"},sled:{keywords:["sleigh","luge","toboggan"],char:'\ud83d\udef7',fitzpatrick_scale:!1,category:"activity"},bow_and_arrow:{keywords:["sports"],char:'\ud83c\udff9',fitzpatrick_scale:!1,category:"activity"},fishing_pole_and_fish:{keywords:["food","hobby","summer"],char:'\ud83c\udfa3',fitzpatrick_scale:!1,category:"activity"},boxing_glove:{keywords:["sports","fighting"],char:'\ud83e\udd4a',fitzpatrick_scale:!1,category:"activity"},martial_arts_uniform:{keywords:["judo","karate","taekwondo"],char:'\ud83e\udd4b',fitzpatrick_scale:!1,category:"activity"},rowing_woman:{keywords:["sports","hobby","water","ship","woman","female"],char:'\ud83d\udea3\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},rowing_man:{keywords:["sports","hobby","water","ship"],char:'\ud83d\udea3',fitzpatrick_scale:!0,category:"activity"},climbing_woman:{keywords:["sports","hobby","woman","female","rock"],char:'\ud83e\uddd7\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},climbing_man:{keywords:["sports","hobby","man","male","rock"],char:'\ud83e\uddd7\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"activity"},swimming_woman:{keywords:["sports","exercise","human","athlete","water","summer","woman","female"],char:'\ud83c\udfca\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},swimming_man:{keywords:["sports","exercise","human","athlete","water","summer"],char:'\ud83c\udfca',fitzpatrick_scale:!0,category:"activity"},woman_playing_water_polo:{keywords:["sports","pool"],char:'\ud83e\udd3d\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},man_playing_water_polo:{keywords:["sports","pool"],char:'\ud83e\udd3d\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"activity"},woman_in_lotus_position:{keywords:["woman","female","meditation","yoga","serenity","zen","mindfulness"],char:'\ud83e\uddd8\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},man_in_lotus_position:{keywords:["man","male","meditation","yoga","serenity","zen","mindfulness"],char:'\ud83e\uddd8\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"activity"},surfing_woman:{keywords:["sports","ocean","sea","summer","beach","woman","female"],char:'\ud83c\udfc4\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},surfing_man:{keywords:["sports","ocean","sea","summer","beach"],char:'\ud83c\udfc4',fitzpatrick_scale:!0,category:"activity"},bath:{keywords:["clean","shower","bathroom"],char:'\ud83d\udec0',fitzpatrick_scale:!0,category:"activity"},basketball_woman:{keywords:["sports","human","woman","female"],char:'\u26f9\ufe0f\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},basketball_man:{keywords:["sports","human"],char:'\u26f9',fitzpatrick_scale:!0,category:"activity"},weight_lifting_woman:{keywords:["sports","training","exercise","woman","female"],char:'\ud83c\udfcb\ufe0f\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},weight_lifting_man:{keywords:["sports","training","exercise"],char:'\ud83c\udfcb',fitzpatrick_scale:!0,category:"activity"},biking_woman:{keywords:["sports","bike","exercise","hipster","woman","female"],char:'\ud83d\udeb4\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},biking_man:{keywords:["sports","bike","exercise","hipster"],char:'\ud83d\udeb4',fitzpatrick_scale:!0,category:"activity"},mountain_biking_woman:{keywords:["transportation","sports","human","race","bike","woman","female"],char:'\ud83d\udeb5\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},mountain_biking_man:{keywords:["transportation","sports","human","race","bike"],char:'\ud83d\udeb5',fitzpatrick_scale:!0,category:"activity"},horse_racing:{keywords:["animal","betting","competition","gambling","luck"],char:'\ud83c\udfc7',fitzpatrick_scale:!0,category:"activity"},business_suit_levitating:{keywords:["suit","business","levitate","hover","jump"],char:'\ud83d\udd74',fitzpatrick_scale:!0,category:"activity"},trophy:{keywords:["win","award","contest","place","ftw","ceremony"],char:'\ud83c\udfc6',fitzpatrick_scale:!1,category:"activity"},running_shirt_with_sash:{keywords:["play","pageant"],char:'\ud83c\udfbd',fitzpatrick_scale:!1,category:"activity"},medal_sports:{keywords:["award","winning"],char:'\ud83c\udfc5',fitzpatrick_scale:!1,category:"activity"},medal_military:{keywords:["award","winning","army"],char:'\ud83c\udf96',fitzpatrick_scale:!1,category:"activity"},"1st_place_medal":{keywords:["award","winning","first"],char:'\ud83e\udd47',fitzpatrick_scale:!1,category:"activity"},"2nd_place_medal":{keywords:["award","second"],char:'\ud83e\udd48',fitzpatrick_scale:!1,category:"activity"},"3rd_place_medal":{keywords:["award","third"],char:'\ud83e\udd49',fitzpatrick_scale:!1,category:"activity"},reminder_ribbon:{keywords:["sports","cause","support","awareness"],char:'\ud83c\udf97',fitzpatrick_scale:!1,category:"activity"},rosette:{keywords:["flower","decoration","military"],char:'\ud83c\udff5',fitzpatrick_scale:!1,category:"activity"},ticket:{keywords:["event","concert","pass"],char:'\ud83c\udfab',fitzpatrick_scale:!1,category:"activity"},tickets:{keywords:["sports","concert","entrance"],char:'\ud83c\udf9f',fitzpatrick_scale:!1,category:"activity"},performing_arts:{keywords:["acting","theater","drama"],char:'\ud83c\udfad',fitzpatrick_scale:!1,category:"activity"},art:{keywords:["design","paint","draw","colors"],char:'\ud83c\udfa8',fitzpatrick_scale:!1,category:"activity"},circus_tent:{keywords:["festival","carnival","party"],char:'\ud83c\udfaa',fitzpatrick_scale:!1,category:"activity"},woman_juggling:{keywords:["juggle","balance","skill","multitask"],char:'\ud83e\udd39\u200d\u2640\ufe0f',fitzpatrick_scale:!0,category:"activity"},man_juggling:{keywords:["juggle","balance","skill","multitask"],char:'\ud83e\udd39\u200d\u2642\ufe0f',fitzpatrick_scale:!0,category:"activity"},microphone:{keywords:["sound","music","PA","sing","talkshow"],char:'\ud83c\udfa4',fitzpatrick_scale:!1,category:"activity"},headphones:{keywords:["music","score","gadgets"],char:'\ud83c\udfa7',fitzpatrick_scale:!1,category:"activity"},musical_score:{keywords:["treble","clef","compose"],char:'\ud83c\udfbc',fitzpatrick_scale:!1,category:"activity"},musical_keyboard:{keywords:["piano","instrument","compose"],char:'\ud83c\udfb9',fitzpatrick_scale:!1,category:"activity"},drum:{keywords:["music","instrument","drumsticks","snare"],char:'\ud83e\udd41',fitzpatrick_scale:!1,category:"activity"},saxophone:{keywords:["music","instrument","jazz","blues"],char:'\ud83c\udfb7',fitzpatrick_scale:!1,category:"activity"},trumpet:{keywords:["music","brass"],char:'\ud83c\udfba',fitzpatrick_scale:!1,category:"activity"},guitar:{keywords:["music","instrument"],char:'\ud83c\udfb8',fitzpatrick_scale:!1,category:"activity"},violin:{keywords:["music","instrument","orchestra","symphony"],char:'\ud83c\udfbb',fitzpatrick_scale:!1,category:"activity"},clapper:{keywords:["movie","film","record"],char:'\ud83c\udfac',fitzpatrick_scale:!1,category:"activity"},video_game:{keywords:["play","console","PS4","controller"],char:'\ud83c\udfae',fitzpatrick_scale:!1,category:"activity"},space_invader:{keywords:["game","arcade","play"],char:'\ud83d\udc7e',fitzpatrick_scale:!1,category:"activity"},dart:{keywords:["game","play","bar","target","bullseye"],char:'\ud83c\udfaf',fitzpatrick_scale:!1,category:"activity"},game_die:{keywords:["dice","random","tabletop","play","luck"],char:'\ud83c\udfb2',fitzpatrick_scale:!1,category:"activity"},chess_pawn:{keywords:["expendable"],char:"\u265f",fitzpatrick_scale:!1,category:"activity"},slot_machine:{keywords:["bet","gamble","vegas","fruit machine","luck","casino"],char:'\ud83c\udfb0',fitzpatrick_scale:!1,category:"activity"},jigsaw:{keywords:["interlocking","puzzle","piece"],char:'\ud83e\udde9',fitzpatrick_scale:!1,category:"activity"},bowling:{keywords:["sports","fun","play"],char:'\ud83c\udfb3',fitzpatrick_scale:!1,category:"activity"},red_car:{keywords:["red","transportation","vehicle"],char:'\ud83d\ude97',fitzpatrick_scale:!1,category:"travel_and_places"},taxi:{keywords:["uber","vehicle","cars","transportation"],char:'\ud83d\ude95',fitzpatrick_scale:!1,category:"travel_and_places"},blue_car:{keywords:["transportation","vehicle"],char:'\ud83d\ude99',fitzpatrick_scale:!1,category:"travel_and_places"},bus:{keywords:["car","vehicle","transportation"],char:'\ud83d\ude8c',fitzpatrick_scale:!1,category:"travel_and_places"},trolleybus:{keywords:["bart","transportation","vehicle"],char:'\ud83d\ude8e',fitzpatrick_scale:!1,category:"travel_and_places"},racing_car:{keywords:["sports","race","fast","formula","f1"],char:'\ud83c\udfce',fitzpatrick_scale:!1,category:"travel_and_places"},police_car:{keywords:["vehicle","cars","transportation","law","legal","enforcement"],char:'\ud83d\ude93',fitzpatrick_scale:!1,category:"travel_and_places"},ambulance:{keywords:["health","911","hospital"],char:'\ud83d\ude91',fitzpatrick_scale:!1,category:"travel_and_places"},fire_engine:{keywords:["transportation","cars","vehicle"],char:'\ud83d\ude92',fitzpatrick_scale:!1,category:"travel_and_places"},minibus:{keywords:["vehicle","car","transportation"],char:'\ud83d\ude90',fitzpatrick_scale:!1,category:"travel_and_places"},truck:{keywords:["cars","transportation"],char:'\ud83d\ude9a',fitzpatrick_scale:!1,category:"travel_and_places"},articulated_lorry:{keywords:["vehicle","cars","transportation","express"],char:'\ud83d\ude9b',fitzpatrick_scale:!1,category:"travel_and_places"},tractor:{keywords:["vehicle","car","farming","agriculture"],char:'\ud83d\ude9c',fitzpatrick_scale:!1,category:"travel_and_places"},kick_scooter:{keywords:["vehicle","kick","razor"],char:'\ud83d\udef4',fitzpatrick_scale:!1,category:"travel_and_places"},motorcycle:{keywords:["race","sports","fast"],char:'\ud83c\udfcd',fitzpatrick_scale:!1,category:"travel_and_places"},bike:{keywords:["sports","bicycle","exercise","hipster"],char:'\ud83d\udeb2',fitzpatrick_scale:!1,category:"travel_and_places"},motor_scooter:{keywords:["vehicle","vespa","sasha"],char:'\ud83d\udef5',fitzpatrick_scale:!1,category:"travel_and_places"},rotating_light:{keywords:["police","ambulance","911","emergency","alert","error","pinged","law","legal"],char:'\ud83d\udea8',fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_police_car:{keywords:["vehicle","law","legal","enforcement","911"],char:'\ud83d\ude94',fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_bus:{keywords:["vehicle","transportation"],char:'\ud83d\ude8d',fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_automobile:{keywords:["car","vehicle","transportation"],char:'\ud83d\ude98',fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_taxi:{keywords:["vehicle","cars","uber"],char:'\ud83d\ude96',fitzpatrick_scale:!1,category:"travel_and_places"},aerial_tramway:{keywords:["transportation","vehicle","ski"],char:'\ud83d\udea1',fitzpatrick_scale:!1,category:"travel_and_places"},mountain_cableway:{keywords:["transportation","vehicle","ski"],char:'\ud83d\udea0',fitzpatrick_scale:!1,category:"travel_and_places"},suspension_railway:{keywords:["vehicle","transportation"],char:'\ud83d\ude9f',fitzpatrick_scale:!1,category:"travel_and_places"},railway_car:{keywords:["transportation","vehicle"],char:'\ud83d\ude83',fitzpatrick_scale:!1,category:"travel_and_places"},train:{keywords:["transportation","vehicle","carriage","public","travel"],char:'\ud83d\ude8b',fitzpatrick_scale:!1,category:"travel_and_places"},monorail:{keywords:["transportation","vehicle"],char:'\ud83d\ude9d',fitzpatrick_scale:!1,category:"travel_and_places"},bullettrain_side:{keywords:["transportation","vehicle"],char:'\ud83d\ude84',fitzpatrick_scale:!1,category:"travel_and_places"},bullettrain_front:{keywords:["transportation","vehicle","speed","fast","public","travel"],char:'\ud83d\ude85',fitzpatrick_scale:!1,category:"travel_and_places"},light_rail:{keywords:["transportation","vehicle"],char:'\ud83d\ude88',fitzpatrick_scale:!1,category:"travel_and_places"},mountain_railway:{keywords:["transportation","vehicle"],char:'\ud83d\ude9e',fitzpatrick_scale:!1,category:"travel_and_places"},steam_locomotive:{keywords:["transportation","vehicle","train"],char:'\ud83d\ude82',fitzpatrick_scale:!1,category:"travel_and_places"},train2:{keywords:["transportation","vehicle"],char:'\ud83d\ude86',fitzpatrick_scale:!1,category:"travel_and_places"},metro:{keywords:["transportation","blue-square","mrt","underground","tube"],char:'\ud83d\ude87',fitzpatrick_scale:!1,category:"travel_and_places"},tram:{keywords:["transportation","vehicle"],char:'\ud83d\ude8a',fitzpatrick_scale:!1,category:"travel_and_places"},station:{keywords:["transportation","vehicle","public"],char:'\ud83d\ude89',fitzpatrick_scale:!1,category:"travel_and_places"},flying_saucer:{keywords:["transportation","vehicle","ufo"],char:'\ud83d\udef8',fitzpatrick_scale:!1,category:"travel_and_places"},helicopter:{keywords:["transportation","vehicle","fly"],char:'\ud83d\ude81',fitzpatrick_scale:!1,category:"travel_and_places"},small_airplane:{keywords:["flight","transportation","fly","vehicle"],char:'\ud83d\udee9',fitzpatrick_scale:!1,category:"travel_and_places"},airplane:{keywords:["vehicle","transportation","flight","fly"],char:'\u2708\ufe0f',fitzpatrick_scale:!1,category:"travel_and_places"},flight_departure:{keywords:["airport","flight","landing"],char:'\ud83d\udeeb',fitzpatrick_scale:!1,category:"travel_and_places"},flight_arrival:{keywords:["airport","flight","boarding"],char:'\ud83d\udeec',fitzpatrick_scale:!1,category:"travel_and_places"},sailboat:{keywords:["ship","summer","transportation","water","sailing"],char:'\u26f5',fitzpatrick_scale:!1,category:"travel_and_places"},motor_boat:{keywords:["ship"],char:'\ud83d\udee5',fitzpatrick_scale:!1,category:"travel_and_places"},speedboat:{keywords:["ship","transportation","vehicle","summer"],char:'\ud83d\udea4',fitzpatrick_scale:!1,category:"travel_and_places"},ferry:{keywords:["boat","ship","yacht"],char:'\u26f4',fitzpatrick_scale:!1,category:"travel_and_places"},passenger_ship:{keywords:["yacht","cruise","ferry"],char:'\ud83d\udef3',fitzpatrick_scale:!1,category:"travel_and_places"},rocket:{keywords:["launch","ship","staffmode","NASA","outer space","outer_space","fly"],char:'\ud83d\ude80',fitzpatrick_scale:!1,category:"travel_and_places"},artificial_satellite:{keywords:["communication","gps","orbit","spaceflight","NASA","ISS"],char:'\ud83d\udef0',fitzpatrick_scale:!1,category:"travel_and_places"},seat:{keywords:["sit","airplane","transport","bus","flight","fly"],char:'\ud83d\udcba',fitzpatrick_scale:!1,category:"travel_and_places"},canoe:{keywords:["boat","paddle","water","ship"],char:'\ud83d\udef6',fitzpatrick_scale:!1,category:"travel_and_places"},anchor:{keywords:["ship","ferry","sea","boat"],char:'\u2693',fitzpatrick_scale:!1,category:"travel_and_places"},construction:{keywords:["wip","progress","caution","warning"],char:'\ud83d\udea7',fitzpatrick_scale:!1,category:"travel_and_places"},fuelpump:{keywords:["gas station","petroleum"],char:'\u26fd',fitzpatrick_scale:!1,category:"travel_and_places"},busstop:{keywords:["transportation","wait"],char:'\ud83d\ude8f',fitzpatrick_scale:!1,category:"travel_and_places"},vertical_traffic_light:{keywords:["transportation","driving"],char:'\ud83d\udea6',fitzpatrick_scale:!1,category:"travel_and_places"},traffic_light:{keywords:["transportation","signal"],char:'\ud83d\udea5',fitzpatrick_scale:!1,category:"travel_and_places"},checkered_flag:{keywords:["contest","finishline","race","gokart"],char:'\ud83c\udfc1',fitzpatrick_scale:!1,category:"travel_and_places"},ship:{keywords:["transportation","titanic","deploy"],char:'\ud83d\udea2',fitzpatrick_scale:!1,category:"travel_and_places"},ferris_wheel:{keywords:["photo","carnival","londoneye"],char:'\ud83c\udfa1',fitzpatrick_scale:!1,category:"travel_and_places"},roller_coaster:{keywords:["carnival","playground","photo","fun"],char:'\ud83c\udfa2',fitzpatrick_scale:!1,category:"travel_and_places"},carousel_horse:{keywords:["photo","carnival"],char:'\ud83c\udfa0',fitzpatrick_scale:!1,category:"travel_and_places"},building_construction:{keywords:["wip","working","progress"],char:'\ud83c\udfd7',fitzpatrick_scale:!1,category:"travel_and_places"},foggy:{keywords:["photo","mountain"],char:'\ud83c\udf01',fitzpatrick_scale:!1,category:"travel_and_places"},tokyo_tower:{keywords:["photo","japanese"],char:'\ud83d\uddfc',fitzpatrick_scale:!1,category:"travel_and_places"},factory:{keywords:["building","industry","pollution","smoke"],char:'\ud83c\udfed',fitzpatrick_scale:!1,category:"travel_and_places"},fountain:{keywords:["photo","summer","water","fresh"],char:'\u26f2',fitzpatrick_scale:!1,category:"travel_and_places"},rice_scene:{keywords:["photo","japan","asia","tsukimi"],char:'\ud83c\udf91',fitzpatrick_scale:!1,category:"travel_and_places"},mountain:{keywords:["photo","nature","environment"],char:'\u26f0',fitzpatrick_scale:!1,category:"travel_and_places"},mountain_snow:{keywords:["photo","nature","environment","winter","cold"],char:'\ud83c\udfd4',fitzpatrick_scale:!1,category:"travel_and_places"},mount_fuji:{keywords:["photo","mountain","nature","japanese"],char:'\ud83d\uddfb',fitzpatrick_scale:!1,category:"travel_and_places"},volcano:{keywords:["photo","nature","disaster"],char:'\ud83c\udf0b',fitzpatrick_scale:!1,category:"travel_and_places"},japan:{keywords:["nation","country","japanese","asia"],char:'\ud83d\uddfe',fitzpatrick_scale:!1,category:"travel_and_places"},camping:{keywords:["photo","outdoors","tent"],char:'\ud83c\udfd5',fitzpatrick_scale:!1,category:"travel_and_places"},tent:{keywords:["photo","camping","outdoors"],char:'\u26fa',fitzpatrick_scale:!1,category:"travel_and_places"},national_park:{keywords:["photo","environment","nature"],char:'\ud83c\udfde',fitzpatrick_scale:!1,category:"travel_and_places"},motorway:{keywords:["road","cupertino","interstate","highway"],char:'\ud83d\udee3',fitzpatrick_scale:!1,category:"travel_and_places"},railway_track:{keywords:["train","transportation"],char:'\ud83d\udee4',fitzpatrick_scale:!1,category:"travel_and_places"},sunrise:{keywords:["morning","view","vacation","photo"],char:'\ud83c\udf05',fitzpatrick_scale:!1,category:"travel_and_places"},sunrise_over_mountains:{keywords:["view","vacation","photo"],char:'\ud83c\udf04',fitzpatrick_scale:!1,category:"travel_and_places"},desert:{keywords:["photo","warm","saharah"],char:'\ud83c\udfdc',fitzpatrick_scale:!1,category:"travel_and_places"},beach_umbrella:{keywords:["weather","summer","sunny","sand","mojito"],char:'\ud83c\udfd6',fitzpatrick_scale:!1,category:"travel_and_places"},desert_island:{keywords:["photo","tropical","mojito"],char:'\ud83c\udfdd',fitzpatrick_scale:!1,category:"travel_and_places"},city_sunrise:{keywords:["photo","good morning","dawn"],char:'\ud83c\udf07',fitzpatrick_scale:!1,category:"travel_and_places"},city_sunset:{keywords:["photo","evening","sky","buildings"],char:'\ud83c\udf06',fitzpatrick_scale:!1,category:"travel_and_places"},cityscape:{keywords:["photo","night life","urban"],char:'\ud83c\udfd9',fitzpatrick_scale:!1,category:"travel_and_places"},night_with_stars:{keywords:["evening","city","downtown"],char:'\ud83c\udf03',fitzpatrick_scale:!1,category:"travel_and_places"},bridge_at_night:{keywords:["photo","sanfrancisco"],char:'\ud83c\udf09',fitzpatrick_scale:!1,category:"travel_and_places"},milky_way:{keywords:["photo","space","stars"],char:'\ud83c\udf0c',fitzpatrick_scale:!1,category:"travel_and_places"},stars:{keywords:["night","photo"],char:'\ud83c\udf20',fitzpatrick_scale:!1,category:"travel_and_places"},sparkler:{keywords:["stars","night","shine"],char:'\ud83c\udf87',fitzpatrick_scale:!1,category:"travel_and_places"},fireworks:{keywords:["photo","festival","carnival","congratulations"],char:'\ud83c\udf86',fitzpatrick_scale:!1,category:"travel_and_places"},rainbow:{keywords:["nature","happy","unicorn_face","photo","sky","spring"],char:'\ud83c\udf08',fitzpatrick_scale:!1,category:"travel_and_places"},houses:{keywords:["buildings","photo"],char:'\ud83c\udfd8',fitzpatrick_scale:!1,category:"travel_and_places"},european_castle:{keywords:["building","royalty","history"],char:'\ud83c\udff0',fitzpatrick_scale:!1,category:"travel_and_places"},japanese_castle:{keywords:["photo","building"],char:'\ud83c\udfef',fitzpatrick_scale:!1,category:"travel_and_places"},stadium:{keywords:["photo","place","sports","concert","venue"],char:'\ud83c\udfdf',fitzpatrick_scale:!1,category:"travel_and_places"},statue_of_liberty:{keywords:["american","newyork"],char:'\ud83d\uddfd',fitzpatrick_scale:!1,category:"travel_and_places"},house:{keywords:["building","home"],char:'\ud83c\udfe0',fitzpatrick_scale:!1,category:"travel_and_places"},house_with_garden:{keywords:["home","plant","nature"],char:'\ud83c\udfe1',fitzpatrick_scale:!1,category:"travel_and_places"},derelict_house:{keywords:["abandon","evict","broken","building"],char:'\ud83c\udfda',fitzpatrick_scale:!1,category:"travel_and_places"},office:{keywords:["building","bureau","work"],char:'\ud83c\udfe2',fitzpatrick_scale:!1,category:"travel_and_places"},department_store:{keywords:["building","shopping","mall"],char:'\ud83c\udfec',fitzpatrick_scale:!1,category:"travel_and_places"},post_office:{keywords:["building","envelope","communication"],char:'\ud83c\udfe3',fitzpatrick_scale:!1,category:"travel_and_places"},european_post_office:{keywords:["building","email"],char:'\ud83c\udfe4',fitzpatrick_scale:!1,category:"travel_and_places"},hospital:{keywords:["building","health","surgery","doctor"],char:'\ud83c\udfe5',fitzpatrick_scale:!1,category:"travel_and_places"},bank:{keywords:["building","money","sales","cash","business","enterprise"],char:'\ud83c\udfe6',fitzpatrick_scale:!1,category:"travel_and_places"},hotel:{keywords:["building","accomodation","checkin"],char:'\ud83c\udfe8',fitzpatrick_scale:!1,category:"travel_and_places"},convenience_store:{keywords:["building","shopping","groceries"],char:'\ud83c\udfea',fitzpatrick_scale:!1,category:"travel_and_places"},school:{keywords:["building","student","education","learn","teach"],char:'\ud83c\udfeb',fitzpatrick_scale:!1,category:"travel_and_places"},love_hotel:{keywords:["like","affection","dating"],char:'\ud83c\udfe9',fitzpatrick_scale:!1,category:"travel_and_places"},wedding:{keywords:["love","like","affection","couple","marriage","bride","groom"],char:'\ud83d\udc92',fitzpatrick_scale:!1,category:"travel_and_places"},classical_building:{keywords:["art","culture","history"],char:'\ud83c\udfdb',fitzpatrick_scale:!1,category:"travel_and_places"},church:{keywords:["building","religion","christ"],char:'\u26ea',fitzpatrick_scale:!1,category:"travel_and_places"},mosque:{keywords:["islam","worship","minaret"],char:'\ud83d\udd4c',fitzpatrick_scale:!1,category:"travel_and_places"},synagogue:{keywords:["judaism","worship","temple","jewish"],char:'\ud83d\udd4d',fitzpatrick_scale:!1,category:"travel_and_places"},kaaba:{keywords:["mecca","mosque","islam"],char:'\ud83d\udd4b',fitzpatrick_scale:!1,category:"travel_and_places"},shinto_shrine:{keywords:["temple","japan","kyoto"],char:'\u26e9',fitzpatrick_scale:!1,category:"travel_and_places"},watch:{keywords:["time","accessories"],char:'\u231a',fitzpatrick_scale:!1,category:"objects"},iphone:{keywords:["technology","apple","gadgets","dial"],char:'\ud83d\udcf1',fitzpatrick_scale:!1,category:"objects"},calling:{keywords:["iphone","incoming"],char:'\ud83d\udcf2',fitzpatrick_scale:!1,category:"objects"},computer:{keywords:["technology","laptop","screen","display","monitor"],char:'\ud83d\udcbb',fitzpatrick_scale:!1,category:"objects"},keyboard:{keywords:["technology","computer","type","input","text"],char:'\u2328',fitzpatrick_scale:!1,category:"objects"},desktop_computer:{keywords:["technology","computing","screen"],char:'\ud83d\udda5',fitzpatrick_scale:!1,category:"objects"},printer:{keywords:["paper","ink"],char:'\ud83d\udda8',fitzpatrick_scale:!1,category:"objects"},computer_mouse:{keywords:["click"],char:'\ud83d\uddb1',fitzpatrick_scale:!1,category:"objects"},trackball:{keywords:["technology","trackpad"],char:'\ud83d\uddb2',fitzpatrick_scale:!1,category:"objects"},joystick:{keywords:["game","play"],char:'\ud83d\udd79',fitzpatrick_scale:!1,category:"objects"},clamp:{keywords:["tool"],char:'\ud83d\udddc',fitzpatrick_scale:!1,category:"objects"},minidisc:{keywords:["technology","record","data","disk","90s"],char:'\ud83d\udcbd',fitzpatrick_scale:!1,category:"objects"},floppy_disk:{keywords:["oldschool","technology","save","90s","80s"],char:'\ud83d\udcbe',fitzpatrick_scale:!1,category:"objects"},cd:{keywords:["technology","dvd","disk","disc","90s"],char:'\ud83d\udcbf',fitzpatrick_scale:!1,category:"objects"},dvd:{keywords:["cd","disk","disc"],char:'\ud83d\udcc0',fitzpatrick_scale:!1,category:"objects"},vhs:{keywords:["record","video","oldschool","90s","80s"],char:'\ud83d\udcfc',fitzpatrick_scale:!1,category:"objects"},camera:{keywords:["gadgets","photography"],char:'\ud83d\udcf7',fitzpatrick_scale:!1,category:"objects"},camera_flash:{keywords:["photography","gadgets"],char:'\ud83d\udcf8',fitzpatrick_scale:!1,category:"objects"},video_camera:{keywords:["film","record"],char:'\ud83d\udcf9',fitzpatrick_scale:!1,category:"objects"},movie_camera:{keywords:["film","record"],char:'\ud83c\udfa5',fitzpatrick_scale:!1,category:"objects"},film_projector:{keywords:["video","tape","record","movie"],char:'\ud83d\udcfd',fitzpatrick_scale:!1,category:"objects"},film_strip:{keywords:["movie"],char:'\ud83c\udf9e',fitzpatrick_scale:!1,category:"objects"},telephone_receiver:{keywords:["technology","communication","dial"],char:'\ud83d\udcde',fitzpatrick_scale:!1,category:"objects"},phone:{keywords:["technology","communication","dial","telephone"],char:'\u260e\ufe0f',fitzpatrick_scale:!1,category:"objects"},pager:{keywords:["bbcall","oldschool","90s"],char:'\ud83d\udcdf',fitzpatrick_scale:!1,category:"objects"},fax:{keywords:["communication","technology"],char:'\ud83d\udce0',fitzpatrick_scale:!1,category:"objects"},tv:{keywords:["technology","program","oldschool","show","television"],char:'\ud83d\udcfa',fitzpatrick_scale:!1,category:"objects"},radio:{keywords:["communication","music","podcast","program"],char:'\ud83d\udcfb',fitzpatrick_scale:!1,category:"objects"},studio_microphone:{keywords:["sing","recording","artist","talkshow"],char:'\ud83c\udf99',fitzpatrick_scale:!1,category:"objects"},level_slider:{keywords:["scale"],char:'\ud83c\udf9a',fitzpatrick_scale:!1,category:"objects"},control_knobs:{keywords:["dial"],char:'\ud83c\udf9b',fitzpatrick_scale:!1,category:"objects"},compass:{keywords:["magnetic","navigation","orienteering"],char:'\ud83e\udded',fitzpatrick_scale:!1,category:"objects"},stopwatch:{keywords:["time","deadline"],char:'\u23f1',fitzpatrick_scale:!1,category:"objects"},timer_clock:{keywords:["alarm"],char:'\u23f2',fitzpatrick_scale:!1,category:"objects"},alarm_clock:{keywords:["time","wake"],char:'\u23f0',fitzpatrick_scale:!1,category:"objects"},mantelpiece_clock:{keywords:["time"],char:'\ud83d\udd70',fitzpatrick_scale:!1,category:"objects"},hourglass_flowing_sand:{keywords:["oldschool","time","countdown"],char:'\u23f3',fitzpatrick_scale:!1,category:"objects"},hourglass:{keywords:["time","clock","oldschool","limit","exam","quiz","test"],char:'\u231b',fitzpatrick_scale:!1,category:"objects"},satellite:{keywords:["communication","future","radio","space"],char:'\ud83d\udce1',fitzpatrick_scale:!1,category:"objects"},battery:{keywords:["power","energy","sustain"],char:'\ud83d\udd0b',fitzpatrick_scale:!1,category:"objects"},electric_plug:{keywords:["charger","power"],char:'\ud83d\udd0c',fitzpatrick_scale:!1,category:"objects"},bulb:{keywords:["light","electricity","idea"],char:'\ud83d\udca1',fitzpatrick_scale:!1,category:"objects"},flashlight:{keywords:["dark","camping","sight","night"],char:'\ud83d\udd26',fitzpatrick_scale:!1,category:"objects"},candle:{keywords:["fire","wax"],char:'\ud83d\udd6f',fitzpatrick_scale:!1,category:"objects"},fire_extinguisher:{keywords:["quench"],char:'\ud83e\uddef',fitzpatrick_scale:!1,category:"objects"},wastebasket:{keywords:["bin","trash","rubbish","garbage","toss"],char:'\ud83d\uddd1',fitzpatrick_scale:!1,category:"objects"},oil_drum:{keywords:["barrell"],char:'\ud83d\udee2',fitzpatrick_scale:!1,category:"objects"},money_with_wings:{keywords:["dollar","bills","payment","sale"],char:'\ud83d\udcb8',fitzpatrick_scale:!1,category:"objects"},dollar:{keywords:["money","sales","bill","currency"],char:'\ud83d\udcb5',fitzpatrick_scale:!1,category:"objects"},yen:{keywords:["money","sales","japanese","dollar","currency"],char:'\ud83d\udcb4',fitzpatrick_scale:!1,category:"objects"},euro:{keywords:["money","sales","dollar","currency"],char:'\ud83d\udcb6',fitzpatrick_scale:!1,category:"objects"},pound:{keywords:["british","sterling","money","sales","bills","uk","england","currency"],char:'\ud83d\udcb7',fitzpatrick_scale:!1,category:"objects"},moneybag:{keywords:["dollar","payment","coins","sale"],char:'\ud83d\udcb0',fitzpatrick_scale:!1,category:"objects"},credit_card:{keywords:["money","sales","dollar","bill","payment","shopping"],char:'\ud83d\udcb3',fitzpatrick_scale:!1,category:"objects"},gem:{keywords:["blue","ruby","diamond","jewelry"],char:'\ud83d\udc8e',fitzpatrick_scale:!1,category:"objects"},balance_scale:{keywords:["law","fairness","weight"],char:'\u2696',fitzpatrick_scale:!1,category:"objects"},toolbox:{keywords:["tools","diy","fix","maintainer","mechanic"],char:'\ud83e\uddf0',fitzpatrick_scale:!1,category:"objects"},wrench:{keywords:["tools","diy","ikea","fix","maintainer"],char:'\ud83d\udd27',fitzpatrick_scale:!1,category:"objects"},hammer:{keywords:["tools","build","create"],char:'\ud83d\udd28',fitzpatrick_scale:!1,category:"objects"},hammer_and_pick:{keywords:["tools","build","create"],char:'\u2692',fitzpatrick_scale:!1,category:"objects"},hammer_and_wrench:{keywords:["tools","build","create"],char:'\ud83d\udee0',fitzpatrick_scale:!1,category:"objects"},pick:{keywords:["tools","dig"],char:'\u26cf',fitzpatrick_scale:!1,category:"objects"},nut_and_bolt:{keywords:["handy","tools","fix"],char:'\ud83d\udd29',fitzpatrick_scale:!1,category:"objects"},gear:{keywords:["cog"],char:'\u2699',fitzpatrick_scale:!1,category:"objects"},brick:{keywords:["bricks"],char:'\ud83e\uddf1',fitzpatrick_scale:!1,category:"objects"},chains:{keywords:["lock","arrest"],char:'\u26d3',fitzpatrick_scale:!1,category:"objects"},magnet:{keywords:["attraction","magnetic"],char:'\ud83e\uddf2',fitzpatrick_scale:!1,category:"objects"},gun:{keywords:["violence","weapon","pistol","revolver"],char:'\ud83d\udd2b',fitzpatrick_scale:!1,category:"objects"},bomb:{keywords:["boom","explode","explosion","terrorism"],char:'\ud83d\udca3',fitzpatrick_scale:!1,category:"objects"},firecracker:{keywords:["dynamite","boom","explode","explosion","explosive"],char:'\ud83e\udde8',fitzpatrick_scale:!1,category:"objects"},hocho:{keywords:["knife","blade","cutlery","kitchen","weapon"],char:'\ud83d\udd2a',fitzpatrick_scale:!1,category:"objects"},dagger:{keywords:["weapon"],char:'\ud83d\udde1',fitzpatrick_scale:!1,category:"objects"},crossed_swords:{keywords:["weapon"],char:'\u2694',fitzpatrick_scale:!1,category:"objects"},shield:{keywords:["protection","security"],char:'\ud83d\udee1',fitzpatrick_scale:!1,category:"objects"},smoking:{keywords:["kills","tobacco","cigarette","joint","smoke"],char:'\ud83d\udeac',fitzpatrick_scale:!1,category:"objects"},skull_and_crossbones:{keywords:["poison","danger","deadly","scary","death","pirate","evil"],char:'\u2620',fitzpatrick_scale:!1,category:"objects"},coffin:{keywords:["vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],char:'\u26b0',fitzpatrick_scale:!1,category:"objects"},funeral_urn:{keywords:["dead","die","death","rip","ashes"],char:'\u26b1',fitzpatrick_scale:!1,category:"objects"},amphora:{keywords:["vase","jar"],char:'\ud83c\udffa',fitzpatrick_scale:!1,category:"objects"},crystal_ball:{keywords:["disco","party","magic","circus","fortune_teller"],char:'\ud83d\udd2e',fitzpatrick_scale:!1,category:"objects"},prayer_beads:{keywords:["dhikr","religious"],char:'\ud83d\udcff',fitzpatrick_scale:!1,category:"objects"},nazar_amulet:{keywords:["bead","charm"],char:'\ud83e\uddff',fitzpatrick_scale:!1,category:"objects"},barber:{keywords:["hair","salon","style"],char:'\ud83d\udc88',fitzpatrick_scale:!1,category:"objects"},alembic:{keywords:["distilling","science","experiment","chemistry"],char:'\u2697',fitzpatrick_scale:!1,category:"objects"},telescope:{keywords:["stars","space","zoom","science","astronomy"],char:'\ud83d\udd2d',fitzpatrick_scale:!1,category:"objects"},microscope:{keywords:["laboratory","experiment","zoomin","science","study"],char:'\ud83d\udd2c',fitzpatrick_scale:!1,category:"objects"},hole:{keywords:["embarrassing"],char:'\ud83d\udd73',fitzpatrick_scale:!1,category:"objects"},pill:{keywords:["health","medicine","doctor","pharmacy","drug"],char:'\ud83d\udc8a',fitzpatrick_scale:!1,category:"objects"},syringe:{keywords:["health","hospital","drugs","blood","medicine","needle","doctor","nurse"],char:'\ud83d\udc89',fitzpatrick_scale:!1,category:"objects"},dna:{keywords:["biologist","genetics","life"],char:'\ud83e\uddec',fitzpatrick_scale:!1,category:"objects"},microbe:{keywords:["amoeba","bacteria","germs"],char:'\ud83e\udda0',fitzpatrick_scale:!1,category:"objects"},petri_dish:{keywords:["bacteria","biology","culture","lab"],char:'\ud83e\uddeb',fitzpatrick_scale:!1,category:"objects"},test_tube:{keywords:["chemistry","experiment","lab","science"],char:'\ud83e\uddea',fitzpatrick_scale:!1,category:"objects"},thermometer:{keywords:["weather","temperature","hot","cold"],char:'\ud83c\udf21',fitzpatrick_scale:!1,category:"objects"},broom:{keywords:["cleaning","sweeping","witch"],char:'\ud83e\uddf9',fitzpatrick_scale:!1,category:"objects"},basket:{keywords:["laundry"],char:'\ud83e\uddfa',fitzpatrick_scale:!1,category:"objects"},toilet_paper:{keywords:["roll"],char:'\ud83e\uddfb',fitzpatrick_scale:!1,category:"objects"},label:{keywords:["sale","tag"],char:'\ud83c\udff7',fitzpatrick_scale:!1,category:"objects"},bookmark:{keywords:["favorite","label","save"],char:'\ud83d\udd16',fitzpatrick_scale:!1,category:"objects"},toilet:{keywords:["restroom","wc","washroom","bathroom","potty"],char:'\ud83d\udebd',fitzpatrick_scale:!1,category:"objects"},shower:{keywords:["clean","water","bathroom"],char:'\ud83d\udebf',fitzpatrick_scale:!1,category:"objects"},bathtub:{keywords:["clean","shower","bathroom"],char:'\ud83d\udec1',fitzpatrick_scale:!1,category:"objects"},soap:{keywords:["bar","bathing","cleaning","lather"],char:'\ud83e\uddfc',fitzpatrick_scale:!1,category:"objects"},sponge:{keywords:["absorbing","cleaning","porous"],char:'\ud83e\uddfd',fitzpatrick_scale:!1,category:"objects"},lotion_bottle:{keywords:["moisturizer","sunscreen"],char:'\ud83e\uddf4',fitzpatrick_scale:!1,category:"objects"},key:{keywords:["lock","door","password"],char:'\ud83d\udd11',fitzpatrick_scale:!1,category:"objects"},old_key:{keywords:["lock","door","password"],char:'\ud83d\udddd',fitzpatrick_scale:!1,category:"objects"},couch_and_lamp:{keywords:["read","chill"],char:'\ud83d\udecb',fitzpatrick_scale:!1,category:"objects"},sleeping_bed:{keywords:["bed","rest"],char:'\ud83d\udecc',fitzpatrick_scale:!0,category:"objects"},bed:{keywords:["sleep","rest"],char:'\ud83d\udecf',fitzpatrick_scale:!1,category:"objects"},door:{keywords:["house","entry","exit"],char:'\ud83d\udeaa',fitzpatrick_scale:!1,category:"objects"},bellhop_bell:{keywords:["service"],char:'\ud83d\udece',fitzpatrick_scale:!1,category:"objects"},teddy_bear:{keywords:["plush","stuffed"],char:'\ud83e\uddf8',fitzpatrick_scale:!1,category:"objects"},framed_picture:{keywords:["photography"],char:'\ud83d\uddbc',fitzpatrick_scale:!1,category:"objects"},world_map:{keywords:["location","direction"],char:'\ud83d\uddfa',fitzpatrick_scale:!1,category:"objects"},parasol_on_ground:{keywords:["weather","summer"],char:'\u26f1',fitzpatrick_scale:!1,category:"objects"},moyai:{keywords:["rock","easter island","moai"],char:'\ud83d\uddff',fitzpatrick_scale:!1,category:"objects"},shopping:{keywords:["mall","buy","purchase"],char:'\ud83d\udecd',fitzpatrick_scale:!1,category:"objects"},shopping_cart:{keywords:["trolley"],char:'\ud83d\uded2',fitzpatrick_scale:!1,category:"objects"},balloon:{keywords:["party","celebration","birthday","circus"],char:'\ud83c\udf88',fitzpatrick_scale:!1,category:"objects"},flags:{keywords:["fish","japanese","koinobori","carp","banner"],char:'\ud83c\udf8f',fitzpatrick_scale:!1,category:"objects"},ribbon:{keywords:["decoration","pink","girl","bowtie"],char:'\ud83c\udf80',fitzpatrick_scale:!1,category:"objects"},gift:{keywords:["present","birthday","christmas","xmas"],char:'\ud83c\udf81',fitzpatrick_scale:!1,category:"objects"},confetti_ball:{keywords:["festival","party","birthday","circus"],char:'\ud83c\udf8a',fitzpatrick_scale:!1,category:"objects"},tada:{keywords:["party","congratulations","birthday","magic","circus","celebration"],char:'\ud83c\udf89',fitzpatrick_scale:!1,category:"objects"},dolls:{keywords:["japanese","toy","kimono"],char:'\ud83c\udf8e',fitzpatrick_scale:!1,category:"objects"},wind_chime:{keywords:["nature","ding","spring","bell"],char:'\ud83c\udf90',fitzpatrick_scale:!1,category:"objects"},crossed_flags:{keywords:["japanese","nation","country","border"],char:'\ud83c\udf8c',fitzpatrick_scale:!1,category:"objects"},izakaya_lantern:{keywords:["light","paper","halloween","spooky"],char:'\ud83c\udfee',fitzpatrick_scale:!1,category:"objects"},red_envelope:{keywords:["gift"],char:'\ud83e\udde7',fitzpatrick_scale:!1,category:"objects"},email:{keywords:["letter","postal","inbox","communication"],char:'\u2709\ufe0f',fitzpatrick_scale:!1,category:"objects"},envelope_with_arrow:{keywords:["email","communication"],char:'\ud83d\udce9',fitzpatrick_scale:!1,category:"objects"},incoming_envelope:{keywords:["email","inbox"],char:'\ud83d\udce8',fitzpatrick_scale:!1,category:"objects"},"e-mail":{keywords:["communication","inbox"],char:'\ud83d\udce7',fitzpatrick_scale:!1,category:"objects"},love_letter:{keywords:["email","like","affection","envelope","valentines"],char:'\ud83d\udc8c',fitzpatrick_scale:!1,category:"objects"},postbox:{keywords:["email","letter","envelope"],char:'\ud83d\udcee',fitzpatrick_scale:!1,category:"objects"},mailbox_closed:{keywords:["email","communication","inbox"],char:'\ud83d\udcea',fitzpatrick_scale:!1,category:"objects"},mailbox:{keywords:["email","inbox","communication"],char:'\ud83d\udceb',fitzpatrick_scale:!1,category:"objects"},mailbox_with_mail:{keywords:["email","inbox","communication"],char:'\ud83d\udcec',fitzpatrick_scale:!1,category:"objects"},mailbox_with_no_mail:{keywords:["email","inbox"],char:'\ud83d\udced',fitzpatrick_scale:!1,category:"objects"},package:{keywords:["mail","gift","cardboard","box","moving"],char:'\ud83d\udce6',fitzpatrick_scale:!1,category:"objects"},postal_horn:{keywords:["instrument","music"],char:'\ud83d\udcef',fitzpatrick_scale:!1,category:"objects"},inbox_tray:{keywords:["email","documents"],char:'\ud83d\udce5',fitzpatrick_scale:!1,category:"objects"},outbox_tray:{keywords:["inbox","email"],char:'\ud83d\udce4',fitzpatrick_scale:!1,category:"objects"},scroll:{keywords:["documents","ancient","history","paper"],char:'\ud83d\udcdc',fitzpatrick_scale:!1,category:"objects"},page_with_curl:{keywords:["documents","office","paper"],char:'\ud83d\udcc3',fitzpatrick_scale:!1,category:"objects"},bookmark_tabs:{keywords:["favorite","save","order","tidy"],char:'\ud83d\udcd1',fitzpatrick_scale:!1,category:"objects"},receipt:{keywords:["accounting","expenses"],char:'\ud83e\uddfe',fitzpatrick_scale:!1,category:"objects"},bar_chart:{keywords:["graph","presentation","stats"],char:'\ud83d\udcca',fitzpatrick_scale:!1,category:"objects"},chart_with_upwards_trend:{keywords:["graph","presentation","stats","recovery","business","economics","money","sales","good","success"],char:'\ud83d\udcc8',fitzpatrick_scale:!1,category:"objects"},chart_with_downwards_trend:{keywords:["graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],char:'\ud83d\udcc9',fitzpatrick_scale:!1,category:"objects"},page_facing_up:{keywords:["documents","office","paper","information"],char:'\ud83d\udcc4',fitzpatrick_scale:!1,category:"objects"},date:{keywords:["calendar","schedule"],char:'\ud83d\udcc5',fitzpatrick_scale:!1,category:"objects"},calendar:{keywords:["schedule","date","planning"],char:'\ud83d\udcc6',fitzpatrick_scale:!1,category:"objects"},spiral_calendar:{keywords:["date","schedule","planning"],char:'\ud83d\uddd3',fitzpatrick_scale:!1,category:"objects"},card_index:{keywords:["business","stationery"],char:'\ud83d\udcc7',fitzpatrick_scale:!1,category:"objects"},card_file_box:{keywords:["business","stationery"],char:'\ud83d\uddc3',fitzpatrick_scale:!1,category:"objects"},ballot_box:{keywords:["election","vote"],char:'\ud83d\uddf3',fitzpatrick_scale:!1,category:"objects"},file_cabinet:{keywords:["filing","organizing"],char:'\ud83d\uddc4',fitzpatrick_scale:!1,category:"objects"},clipboard:{keywords:["stationery","documents"],char:'\ud83d\udccb',fitzpatrick_scale:!1,category:"objects"},spiral_notepad:{keywords:["memo","stationery"],char:'\ud83d\uddd2',fitzpatrick_scale:!1,category:"objects"},file_folder:{keywords:["documents","business","office"],char:'\ud83d\udcc1',fitzpatrick_scale:!1,category:"objects"},open_file_folder:{keywords:["documents","load"],char:'\ud83d\udcc2',fitzpatrick_scale:!1,category:"objects"},card_index_dividers:{keywords:["organizing","business","stationery"],char:'\ud83d\uddc2',fitzpatrick_scale:!1,category:"objects"},newspaper_roll:{keywords:["press","headline"],char:'\ud83d\uddde',fitzpatrick_scale:!1,category:"objects"},newspaper:{keywords:["press","headline"],char:'\ud83d\udcf0',fitzpatrick_scale:!1,category:"objects"},notebook:{keywords:["stationery","record","notes","paper","study"],char:'\ud83d\udcd3',fitzpatrick_scale:!1,category:"objects"},closed_book:{keywords:["read","library","knowledge","textbook","learn"],char:'\ud83d\udcd5',fitzpatrick_scale:!1,category:"objects"},green_book:{keywords:["read","library","knowledge","study"],char:'\ud83d\udcd7',fitzpatrick_scale:!1,category:"objects"},blue_book:{keywords:["read","library","knowledge","learn","study"],char:'\ud83d\udcd8',fitzpatrick_scale:!1,category:"objects"},orange_book:{keywords:["read","library","knowledge","textbook","study"],char:'\ud83d\udcd9',fitzpatrick_scale:!1,category:"objects"},notebook_with_decorative_cover:{keywords:["classroom","notes","record","paper","study"],char:'\ud83d\udcd4',fitzpatrick_scale:!1,category:"objects"},ledger:{keywords:["notes","paper"],char:'\ud83d\udcd2',fitzpatrick_scale:!1,category:"objects"},books:{keywords:["literature","library","study"],char:'\ud83d\udcda',fitzpatrick_scale:!1,category:"objects"},open_book:{keywords:["book","read","library","knowledge","literature","learn","study"],char:'\ud83d\udcd6',fitzpatrick_scale:!1,category:"objects"},safety_pin:{keywords:["diaper"],char:'\ud83e\uddf7',fitzpatrick_scale:!1,category:"objects"},link:{keywords:["rings","url"],char:'\ud83d\udd17',fitzpatrick_scale:!1,category:"objects"},paperclip:{keywords:["documents","stationery"],char:'\ud83d\udcce',fitzpatrick_scale:!1,category:"objects"},paperclips:{keywords:["documents","stationery"],char:'\ud83d\udd87',fitzpatrick_scale:!1,category:"objects"},scissors:{keywords:["stationery","cut"],char:'\u2702\ufe0f',fitzpatrick_scale:!1,category:"objects"},triangular_ruler:{keywords:["stationery","math","architect","sketch"],char:'\ud83d\udcd0',fitzpatrick_scale:!1,category:"objects"},straight_ruler:{keywords:["stationery","calculate","length","math","school","drawing","architect","sketch"],char:'\ud83d\udccf',fitzpatrick_scale:!1,category:"objects"},abacus:{keywords:["calculation"],char:'\ud83e\uddee',fitzpatrick_scale:!1,category:"objects"},pushpin:{keywords:["stationery","mark","here"],char:'\ud83d\udccc',fitzpatrick_scale:!1,category:"objects"},round_pushpin:{keywords:["stationery","location","map","here"],char:'\ud83d\udccd',fitzpatrick_scale:!1,category:"objects"},triangular_flag_on_post:{keywords:["mark","milestone","place"],char:'\ud83d\udea9',fitzpatrick_scale:!1,category:"objects"},white_flag:{keywords:["losing","loser","lost","surrender","give up","fail"],char:'\ud83c\udff3',fitzpatrick_scale:!1,category:"objects"},black_flag:{keywords:["pirate"],char:'\ud83c\udff4',fitzpatrick_scale:!1,category:"objects"},rainbow_flag:{keywords:["flag","rainbow","pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],char:'\ud83c\udff3\ufe0f\u200d\ud83c\udf08',fitzpatrick_scale:!1,category:"objects"},closed_lock_with_key:{keywords:["security","privacy"],char:'\ud83d\udd10',fitzpatrick_scale:!1,category:"objects"},lock:{keywords:["security","password","padlock"],char:'\ud83d\udd12',fitzpatrick_scale:!1,category:"objects"},unlock:{keywords:["privacy","security"],char:'\ud83d\udd13',fitzpatrick_scale:!1,category:"objects"},lock_with_ink_pen:{keywords:["security","secret"],char:'\ud83d\udd0f',fitzpatrick_scale:!1,category:"objects"},pen:{keywords:["stationery","writing","write"],char:'\ud83d\udd8a',fitzpatrick_scale:!1,category:"objects"},fountain_pen:{keywords:["stationery","writing","write"],char:'\ud83d\udd8b',fitzpatrick_scale:!1,category:"objects"},black_nib:{keywords:["pen","stationery","writing","write"],char:'\u2712\ufe0f',fitzpatrick_scale:!1,category:"objects"},memo:{keywords:["write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],char:'\ud83d\udcdd',fitzpatrick_scale:!1,category:"objects"},pencil2:{keywords:["stationery","write","paper","writing","school","study"],char:'\u270f\ufe0f',fitzpatrick_scale:!1,category:"objects"},crayon:{keywords:["drawing","creativity"],char:'\ud83d\udd8d',fitzpatrick_scale:!1,category:"objects"},paintbrush:{keywords:["drawing","creativity","art"],char:'\ud83d\udd8c',fitzpatrick_scale:!1,category:"objects"},mag:{keywords:["search","zoom","find","detective"],char:'\ud83d\udd0d',fitzpatrick_scale:!1,category:"objects"},mag_right:{keywords:["search","zoom","find","detective"],char:'\ud83d\udd0e',fitzpatrick_scale:!1,category:"objects"},heart:{keywords:["love","like","valentines"],char:'\u2764\ufe0f',fitzpatrick_scale:!1,category:"symbols"},orange_heart:{keywords:["love","like","affection","valentines"],char:'\ud83e\udde1',fitzpatrick_scale:!1,category:"symbols"},yellow_heart:{keywords:["love","like","affection","valentines"],char:'\ud83d\udc9b',fitzpatrick_scale:!1,category:"symbols"},green_heart:{keywords:["love","like","affection","valentines"],char:'\ud83d\udc9a',fitzpatrick_scale:!1,category:"symbols"},blue_heart:{keywords:["love","like","affection","valentines"],char:'\ud83d\udc99',fitzpatrick_scale:!1,category:"symbols"},purple_heart:{keywords:["love","like","affection","valentines"],char:'\ud83d\udc9c',fitzpatrick_scale:!1,category:"symbols"},black_heart:{keywords:["evil"],char:'\ud83d\udda4',fitzpatrick_scale:!1,category:"symbols"},broken_heart:{keywords:["sad","sorry","break","heart","heartbreak"],char:'\ud83d\udc94',fitzpatrick_scale:!1,category:"symbols"},heavy_heart_exclamation:{keywords:["decoration","love"],char:'\u2763',fitzpatrick_scale:!1,category:"symbols"},two_hearts:{keywords:["love","like","affection","valentines","heart"],char:'\ud83d\udc95',fitzpatrick_scale:!1,category:"symbols"},revolving_hearts:{keywords:["love","like","affection","valentines"],char:'\ud83d\udc9e',fitzpatrick_scale:!1,category:"symbols"},heartbeat:{keywords:["love","like","affection","valentines","pink","heart"],char:'\ud83d\udc93',fitzpatrick_scale:!1,category:"symbols"},heartpulse:{keywords:["like","love","affection","valentines","pink"],char:'\ud83d\udc97',fitzpatrick_scale:!1,category:"symbols"},sparkling_heart:{keywords:["love","like","affection","valentines"],char:'\ud83d\udc96',fitzpatrick_scale:!1,category:"symbols"},cupid:{keywords:["love","like","heart","affection","valentines"],char:'\ud83d\udc98',fitzpatrick_scale:!1,category:"symbols"},gift_heart:{keywords:["love","valentines"],char:'\ud83d\udc9d',fitzpatrick_scale:!1,category:"symbols"},heart_decoration:{keywords:["purple-square","love","like"],char:'\ud83d\udc9f',fitzpatrick_scale:!1,category:"symbols"},peace_symbol:{keywords:["hippie"],char:'\u262e',fitzpatrick_scale:!1,category:"symbols"},latin_cross:{keywords:["christianity"],char:'\u271d',fitzpatrick_scale:!1,category:"symbols"},star_and_crescent:{keywords:["islam"],char:'\u262a',fitzpatrick_scale:!1,category:"symbols"},om:{keywords:["hinduism","buddhism","sikhism","jainism"],char:'\ud83d\udd49',fitzpatrick_scale:!1,category:"symbols"},wheel_of_dharma:{keywords:["hinduism","buddhism","sikhism","jainism"],char:'\u2638',fitzpatrick_scale:!1,category:"symbols"},star_of_david:{keywords:["judaism"],char:'\u2721',fitzpatrick_scale:!1,category:"symbols"},six_pointed_star:{keywords:["purple-square","religion","jewish","hexagram"],char:'\ud83d\udd2f',fitzpatrick_scale:!1,category:"symbols"},menorah:{keywords:["hanukkah","candles","jewish"],char:'\ud83d\udd4e',fitzpatrick_scale:!1,category:"symbols"},yin_yang:{keywords:["balance"],char:'\u262f',fitzpatrick_scale:!1,category:"symbols"},orthodox_cross:{keywords:["suppedaneum","religion"],char:'\u2626',fitzpatrick_scale:!1,category:"symbols"},place_of_worship:{keywords:["religion","church","temple","prayer"],char:'\ud83d\uded0',fitzpatrick_scale:!1,category:"symbols"},ophiuchus:{keywords:["sign","purple-square","constellation","astrology"],char:'\u26ce',fitzpatrick_scale:!1,category:"symbols"},aries:{keywords:["sign","purple-square","zodiac","astrology"],char:'\u2648',fitzpatrick_scale:!1,category:"symbols"},taurus:{keywords:["purple-square","sign","zodiac","astrology"],char:'\u2649',fitzpatrick_scale:!1,category:"symbols"},gemini:{keywords:["sign","zodiac","purple-square","astrology"],char:'\u264a',fitzpatrick_scale:!1,category:"symbols"},cancer:{keywords:["sign","zodiac","purple-square","astrology"],char:'\u264b',fitzpatrick_scale:!1,category:"symbols"},leo:{keywords:["sign","purple-square","zodiac","astrology"],char:'\u264c',fitzpatrick_scale:!1,category:"symbols"},virgo:{keywords:["sign","zodiac","purple-square","astrology"],char:'\u264d',fitzpatrick_scale:!1,category:"symbols"},libra:{keywords:["sign","purple-square","zodiac","astrology"],char:'\u264e',fitzpatrick_scale:!1,category:"symbols"},scorpius:{keywords:["sign","zodiac","purple-square","astrology","scorpio"],char:'\u264f',fitzpatrick_scale:!1,category:"symbols"},sagittarius:{keywords:["sign","zodiac","purple-square","astrology"],char:'\u2650',fitzpatrick_scale:!1,category:"symbols"},capricorn:{keywords:["sign","zodiac","purple-square","astrology"],char:'\u2651',fitzpatrick_scale:!1,category:"symbols"},aquarius:{keywords:["sign","purple-square","zodiac","astrology"],char:'\u2652',fitzpatrick_scale:!1,category:"symbols"},pisces:{keywords:["purple-square","sign","zodiac","astrology"],char:'\u2653',fitzpatrick_scale:!1,category:"symbols"},id:{keywords:["purple-square","words"],char:'\ud83c\udd94',fitzpatrick_scale:!1,category:"symbols"},atom_symbol:{keywords:["science","physics","chemistry"],char:'\u269b',fitzpatrick_scale:!1,category:"symbols"},u7a7a:{keywords:["kanji","japanese","chinese","empty","sky","blue-square"],char:'\ud83c\ude33',fitzpatrick_scale:!1,category:"symbols"},u5272:{keywords:["cut","divide","chinese","kanji","pink-square"],char:'\ud83c\ude39',fitzpatrick_scale:!1,category:"symbols"},radioactive:{keywords:["nuclear","danger"],char:'\u2622',fitzpatrick_scale:!1,category:"symbols"},biohazard:{keywords:["danger"],char:'\u2623',fitzpatrick_scale:!1,category:"symbols"},mobile_phone_off:{keywords:["mute","orange-square","silence","quiet"],char:'\ud83d\udcf4',fitzpatrick_scale:!1,category:"symbols"},vibration_mode:{keywords:["orange-square","phone"],char:'\ud83d\udcf3',fitzpatrick_scale:!1,category:"symbols"},u6709:{keywords:["orange-square","chinese","have","kanji"],char:'\ud83c\ude36',fitzpatrick_scale:!1,category:"symbols"},u7121:{keywords:["nothing","chinese","kanji","japanese","orange-square"],char:'\ud83c\ude1a',fitzpatrick_scale:!1,category:"symbols"},u7533:{keywords:["chinese","japanese","kanji","orange-square"],char:'\ud83c\ude38',fitzpatrick_scale:!1,category:"symbols"},u55b6:{keywords:["japanese","opening hours","orange-square"],char:'\ud83c\ude3a',fitzpatrick_scale:!1,category:"symbols"},u6708:{keywords:["chinese","month","moon","japanese","orange-square","kanji"],char:'\ud83c\ude37\ufe0f',fitzpatrick_scale:!1,category:"symbols"},eight_pointed_black_star:{keywords:["orange-square","shape","polygon"],char:'\u2734\ufe0f',fitzpatrick_scale:!1,category:"symbols"},vs:{keywords:["words","orange-square"],char:'\ud83c\udd9a',fitzpatrick_scale:!1,category:"symbols"},accept:{keywords:["ok","good","chinese","kanji","agree","yes","orange-circle"],char:'\ud83c\ude51',fitzpatrick_scale:!1,category:"symbols"},white_flower:{keywords:["japanese","spring"],char:'\ud83d\udcae',fitzpatrick_scale:!1,category:"symbols"},ideograph_advantage:{keywords:["chinese","kanji","obtain","get","circle"],char:'\ud83c\ude50',fitzpatrick_scale:!1,category:"symbols"},secret:{keywords:["privacy","chinese","sshh","kanji","red-circle"],char:'\u3299\ufe0f',fitzpatrick_scale:!1,category:"symbols"},congratulations:{keywords:["chinese","kanji","japanese","red-circle"],char:'\u3297\ufe0f',fitzpatrick_scale:!1,category:"symbols"},u5408:{keywords:["japanese","chinese","join","kanji","red-square"],char:'\ud83c\ude34',fitzpatrick_scale:!1,category:"symbols"},u6e80:{keywords:["full","chinese","japanese","red-square","kanji"],char:'\ud83c\ude35',fitzpatrick_scale:!1,category:"symbols"},u7981:{keywords:["kanji","japanese","chinese","forbidden","limit","restricted","red-square"],char:'\ud83c\ude32',fitzpatrick_scale:!1,category:"symbols"},a:{keywords:["red-square","alphabet","letter"],char:'\ud83c\udd70\ufe0f',fitzpatrick_scale:!1,category:"symbols"},b:{keywords:["red-square","alphabet","letter"],char:'\ud83c\udd71\ufe0f',fitzpatrick_scale:!1,category:"symbols"},ab:{keywords:["red-square","alphabet"],char:'\ud83c\udd8e',fitzpatrick_scale:!1,category:"symbols"},cl:{keywords:["alphabet","words","red-square"],char:'\ud83c\udd91',fitzpatrick_scale:!1,category:"symbols"},o2:{keywords:["alphabet","red-square","letter"],char:'\ud83c\udd7e\ufe0f',fitzpatrick_scale:!1,category:"symbols"},sos:{keywords:["help","red-square","words","emergency","911"],char:'\ud83c\udd98',fitzpatrick_scale:!1,category:"symbols"},no_entry:{keywords:["limit","security","privacy","bad","denied","stop","circle"],char:'\u26d4',fitzpatrick_scale:!1,category:"symbols"},name_badge:{keywords:["fire","forbid"],char:'\ud83d\udcdb',fitzpatrick_scale:!1,category:"symbols"},no_entry_sign:{keywords:["forbid","stop","limit","denied","disallow","circle"],char:'\ud83d\udeab',fitzpatrick_scale:!1,category:"symbols"},x:{keywords:["no","delete","remove","cancel","red"],char:'\u274c',fitzpatrick_scale:!1,category:"symbols"},o:{keywords:["circle","round"],char:'\u2b55',fitzpatrick_scale:!1,category:"symbols"},stop_sign:{keywords:["stop"],char:'\ud83d\uded1',fitzpatrick_scale:!1,category:"symbols"},anger:{keywords:["angry","mad"],char:'\ud83d\udca2',fitzpatrick_scale:!1,category:"symbols"},hotsprings:{keywords:["bath","warm","relax"],char:'\u2668\ufe0f',fitzpatrick_scale:!1,category:"symbols"},no_pedestrians:{keywords:["rules","crossing","walking","circle"],char:'\ud83d\udeb7',fitzpatrick_scale:!1,category:"symbols"},do_not_litter:{keywords:["trash","bin","garbage","circle"],char:'\ud83d\udeaf',fitzpatrick_scale:!1,category:"symbols"},no_bicycles:{keywords:["cyclist","prohibited","circle"],char:'\ud83d\udeb3',fitzpatrick_scale:!1,category:"symbols"},"non-potable_water":{keywords:["drink","faucet","tap","circle"],char:'\ud83d\udeb1',fitzpatrick_scale:!1,category:"symbols"},underage:{keywords:["18","drink","pub","night","minor","circle"],char:'\ud83d\udd1e',fitzpatrick_scale:!1,category:"symbols"},no_mobile_phones:{keywords:["iphone","mute","circle"],char:'\ud83d\udcf5',fitzpatrick_scale:!1,category:"symbols"},exclamation:{keywords:["heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],char:'\u2757',fitzpatrick_scale:!1,category:"symbols"},grey_exclamation:{keywords:["surprise","punctuation","gray","wow","warning"],char:'\u2755',fitzpatrick_scale:!1,category:"symbols"},question:{keywords:["doubt","confused"],char:'\u2753',fitzpatrick_scale:!1,category:"symbols"},grey_question:{keywords:["doubts","gray","huh","confused"],char:'\u2754',fitzpatrick_scale:!1,category:"symbols"},bangbang:{keywords:["exclamation","surprise"],char:'\u203c\ufe0f',fitzpatrick_scale:!1,category:"symbols"},interrobang:{keywords:["wat","punctuation","surprise"],char:'\u2049\ufe0f',fitzpatrick_scale:!1,category:"symbols"},low_brightness:{keywords:["sun","afternoon","warm","summer"],char:'\ud83d\udd05',fitzpatrick_scale:!1,category:"symbols"},high_brightness:{keywords:["sun","light"],char:'\ud83d\udd06',fitzpatrick_scale:!1,category:"symbols"},trident:{keywords:["weapon","spear"],char:'\ud83d\udd31',fitzpatrick_scale:!1,category:"symbols"},fleur_de_lis:{keywords:["decorative","scout"],char:'\u269c',fitzpatrick_scale:!1,category:"symbols"},part_alternation_mark:{keywords:["graph","presentation","stats","business","economics","bad"],char:'\u303d\ufe0f',fitzpatrick_scale:!1,category:"symbols"},warning:{keywords:["exclamation","wip","alert","error","problem","issue"],char:'\u26a0\ufe0f',fitzpatrick_scale:!1,category:"symbols"},children_crossing:{keywords:["school","warning","danger","sign","driving","yellow-diamond"],char:'\ud83d\udeb8',fitzpatrick_scale:!1,category:"symbols"},beginner:{keywords:["badge","shield"],char:'\ud83d\udd30',fitzpatrick_scale:!1,category:"symbols"},recycle:{keywords:["arrow","environment","garbage","trash"],char:'\u267b\ufe0f',fitzpatrick_scale:!1,category:"symbols"},u6307:{keywords:["chinese","point","green-square","kanji"],char:'\ud83c\ude2f',fitzpatrick_scale:!1,category:"symbols"},chart:{keywords:["green-square","graph","presentation","stats"],char:'\ud83d\udcb9',fitzpatrick_scale:!1,category:"symbols"},sparkle:{keywords:["stars","green-square","awesome","good","fireworks"],char:'\u2747\ufe0f',fitzpatrick_scale:!1,category:"symbols"},eight_spoked_asterisk:{keywords:["star","sparkle","green-square"],char:'\u2733\ufe0f',fitzpatrick_scale:!1,category:"symbols"},negative_squared_cross_mark:{keywords:["x","green-square","no","deny"],char:'\u274e',fitzpatrick_scale:!1,category:"symbols"},white_check_mark:{keywords:["green-square","ok","agree","vote","election","answer","tick"],char:'\u2705',fitzpatrick_scale:!1,category:"symbols"},diamond_shape_with_a_dot_inside:{keywords:["jewel","blue","gem","crystal","fancy"],char:'\ud83d\udca0',fitzpatrick_scale:!1,category:"symbols"},cyclone:{keywords:["weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],char:'\ud83c\udf00',fitzpatrick_scale:!1,category:"symbols"},loop:{keywords:["tape","cassette"],char:'\u27bf',fitzpatrick_scale:!1,category:"symbols"},globe_with_meridians:{keywords:["earth","international","world","internet","interweb","i18n"],char:'\ud83c\udf10',fitzpatrick_scale:!1,category:"symbols"},m:{keywords:["alphabet","blue-circle","letter"],char:'\u24c2\ufe0f',fitzpatrick_scale:!1,category:"symbols"},atm:{keywords:["money","sales","cash","blue-square","payment","bank"],char:'\ud83c\udfe7',fitzpatrick_scale:!1,category:"symbols"},sa:{keywords:["japanese","blue-square","katakana"],char:'\ud83c\ude02\ufe0f',fitzpatrick_scale:!1,category:"symbols"},passport_control:{keywords:["custom","blue-square"],char:'\ud83d\udec2',fitzpatrick_scale:!1,category:"symbols"},customs:{keywords:["passport","border","blue-square"],char:'\ud83d\udec3',fitzpatrick_scale:!1,category:"symbols"},baggage_claim:{keywords:["blue-square","airport","transport"],char:'\ud83d\udec4',fitzpatrick_scale:!1,category:"symbols"},left_luggage:{keywords:["blue-square","travel"],char:'\ud83d\udec5',fitzpatrick_scale:!1,category:"symbols"},wheelchair:{keywords:["blue-square","disabled","a11y","accessibility"],char:'\u267f',fitzpatrick_scale:!1,category:"symbols"},no_smoking:{keywords:["cigarette","blue-square","smell","smoke"],char:'\ud83d\udead',fitzpatrick_scale:!1,category:"symbols"},wc:{keywords:["toilet","restroom","blue-square"],char:'\ud83d\udebe',fitzpatrick_scale:!1,category:"symbols"},parking:{keywords:["cars","blue-square","alphabet","letter"],char:'\ud83c\udd7f\ufe0f',fitzpatrick_scale:!1,category:"symbols"},potable_water:{keywords:["blue-square","liquid","restroom","cleaning","faucet"],char:'\ud83d\udeb0',fitzpatrick_scale:!1,category:"symbols"},mens:{keywords:["toilet","restroom","wc","blue-square","gender","male"],char:'\ud83d\udeb9',fitzpatrick_scale:!1,category:"symbols"},womens:{keywords:["purple-square","woman","female","toilet","loo","restroom","gender"],char:'\ud83d\udeba',fitzpatrick_scale:!1,category:"symbols"},baby_symbol:{keywords:["orange-square","child"],char:'\ud83d\udebc',fitzpatrick_scale:!1,category:"symbols"},restroom:{keywords:["blue-square","toilet","refresh","wc","gender"],char:'\ud83d\udebb',fitzpatrick_scale:!1,category:"symbols"},put_litter_in_its_place:{keywords:["blue-square","sign","human","info"],char:'\ud83d\udeae',fitzpatrick_scale:!1,category:"symbols"},cinema:{keywords:["blue-square","record","film","movie","curtain","stage","theater"],char:'\ud83c\udfa6',fitzpatrick_scale:!1,category:"symbols"},signal_strength:{keywords:["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],char:'\ud83d\udcf6',fitzpatrick_scale:!1,category:"symbols"},koko:{keywords:["blue-square","here","katakana","japanese","destination"],char:'\ud83c\ude01',fitzpatrick_scale:!1,category:"symbols"},ng:{keywords:["blue-square","words","shape","icon"],char:'\ud83c\udd96',fitzpatrick_scale:!1,category:"symbols"},ok:{keywords:["good","agree","yes","blue-square"],char:'\ud83c\udd97',fitzpatrick_scale:!1,category:"symbols"},up:{keywords:["blue-square","above","high"],char:'\ud83c\udd99',fitzpatrick_scale:!1,category:"symbols"},cool:{keywords:["words","blue-square"],char:'\ud83c\udd92',fitzpatrick_scale:!1,category:"symbols"},new:{keywords:["blue-square","words","start"],char:'\ud83c\udd95',fitzpatrick_scale:!1,category:"symbols"},free:{keywords:["blue-square","words"],char:'\ud83c\udd93',fitzpatrick_scale:!1,category:"symbols"},zero:{keywords:["0","numbers","blue-square","null"],char:'0\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},one:{keywords:["blue-square","numbers","1"],char:'1\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},two:{keywords:["numbers","2","prime","blue-square"],char:'2\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},three:{keywords:["3","numbers","prime","blue-square"],char:'3\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},four:{keywords:["4","numbers","blue-square"],char:'4\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},five:{keywords:["5","numbers","blue-square","prime"],char:'5\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},six:{keywords:["6","numbers","blue-square"],char:'6\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},seven:{keywords:["7","numbers","blue-square","prime"],char:'7\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},eight:{keywords:["8","blue-square","numbers"],char:'8\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},nine:{keywords:["blue-square","numbers","9"],char:'9\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},keycap_ten:{keywords:["numbers","10","blue-square"],char:'\ud83d\udd1f',fitzpatrick_scale:!1,category:"symbols"},asterisk:{keywords:["star","keycap"],char:'*\u20e3',fitzpatrick_scale:!1,category:"symbols"},eject_button:{keywords:["blue-square"],char:'\u23cf\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_forward:{keywords:["blue-square","right","direction","play"],char:'\u25b6\ufe0f',fitzpatrick_scale:!1,category:"symbols"},pause_button:{keywords:["pause","blue-square"],char:'\u23f8',fitzpatrick_scale:!1,category:"symbols"},next_track_button:{keywords:["forward","next","blue-square"],char:'\u23ed',fitzpatrick_scale:!1,category:"symbols"},stop_button:{keywords:["blue-square"],char:'\u23f9',fitzpatrick_scale:!1,category:"symbols"},record_button:{keywords:["blue-square"],char:'\u23fa',fitzpatrick_scale:!1,category:"symbols"},play_or_pause_button:{keywords:["blue-square","play","pause"],char:'\u23ef',fitzpatrick_scale:!1,category:"symbols"},previous_track_button:{keywords:["backward"],char:'\u23ee',fitzpatrick_scale:!1,category:"symbols"},fast_forward:{keywords:["blue-square","play","speed","continue"],char:'\u23e9',fitzpatrick_scale:!1,category:"symbols"},rewind:{keywords:["play","blue-square"],char:'\u23ea',fitzpatrick_scale:!1,category:"symbols"},twisted_rightwards_arrows:{keywords:["blue-square","shuffle","music","random"],char:'\ud83d\udd00',fitzpatrick_scale:!1,category:"symbols"},repeat:{keywords:["loop","record"],char:'\ud83d\udd01',fitzpatrick_scale:!1,category:"symbols"},repeat_one:{keywords:["blue-square","loop"],char:'\ud83d\udd02',fitzpatrick_scale:!1,category:"symbols"},arrow_backward:{keywords:["blue-square","left","direction"],char:'\u25c0\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_up_small:{keywords:["blue-square","triangle","direction","point","forward","top"],char:'\ud83d\udd3c',fitzpatrick_scale:!1,category:"symbols"},arrow_down_small:{keywords:["blue-square","direction","bottom"],char:'\ud83d\udd3d',fitzpatrick_scale:!1,category:"symbols"},arrow_double_up:{keywords:["blue-square","direction","top"],char:'\u23eb',fitzpatrick_scale:!1,category:"symbols"},arrow_double_down:{keywords:["blue-square","direction","bottom"],char:'\u23ec',fitzpatrick_scale:!1,category:"symbols"},arrow_right:{keywords:["blue-square","next"],char:'\u27a1\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_left:{keywords:["blue-square","previous","back"],char:'\u2b05\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_up:{keywords:["blue-square","continue","top","direction"],char:'\u2b06\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_down:{keywords:["blue-square","direction","bottom"],char:'\u2b07\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_upper_right:{keywords:["blue-square","point","direction","diagonal","northeast"],char:'\u2197\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_lower_right:{keywords:["blue-square","direction","diagonal","southeast"],char:'\u2198\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_lower_left:{keywords:["blue-square","direction","diagonal","southwest"],char:'\u2199\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_upper_left:{keywords:["blue-square","point","direction","diagonal","northwest"],char:'\u2196\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_up_down:{keywords:["blue-square","direction","way","vertical"],char:'\u2195\ufe0f',fitzpatrick_scale:!1,category:"symbols"},left_right_arrow:{keywords:["shape","direction","horizontal","sideways"],char:'\u2194\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrows_counterclockwise:{keywords:["blue-square","sync","cycle"],char:'\ud83d\udd04',fitzpatrick_scale:!1,category:"symbols"},arrow_right_hook:{keywords:["blue-square","return","rotate","direction"],char:'\u21aa\ufe0f',fitzpatrick_scale:!1,category:"symbols"},leftwards_arrow_with_hook:{keywords:["back","return","blue-square","undo","enter"],char:'\u21a9\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_heading_up:{keywords:["blue-square","direction","top"],char:'\u2934\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrow_heading_down:{keywords:["blue-square","direction","bottom"],char:'\u2935\ufe0f',fitzpatrick_scale:!1,category:"symbols"},hash:{keywords:["symbol","blue-square","twitter"],char:'#\ufe0f\u20e3',fitzpatrick_scale:!1,category:"symbols"},information_source:{keywords:["blue-square","alphabet","letter"],char:'\u2139\ufe0f',fitzpatrick_scale:!1,category:"symbols"},abc:{keywords:["blue-square","alphabet"],char:'\ud83d\udd24',fitzpatrick_scale:!1,category:"symbols"},abcd:{keywords:["blue-square","alphabet"],char:'\ud83d\udd21',fitzpatrick_scale:!1,category:"symbols"},capital_abcd:{keywords:["alphabet","words","blue-square"],char:'\ud83d\udd20',fitzpatrick_scale:!1,category:"symbols"},symbols:{keywords:["blue-square","music","note","ampersand","percent","glyphs","characters"],char:'\ud83d\udd23',fitzpatrick_scale:!1,category:"symbols"},musical_note:{keywords:["score","tone","sound"],char:'\ud83c\udfb5',fitzpatrick_scale:!1,category:"symbols"},notes:{keywords:["music","score"],char:'\ud83c\udfb6',fitzpatrick_scale:!1,category:"symbols"},wavy_dash:{keywords:["draw","line","moustache","mustache","squiggle","scribble"],char:'\u3030\ufe0f',fitzpatrick_scale:!1,category:"symbols"},curly_loop:{keywords:["scribble","draw","shape","squiggle"],char:'\u27b0',fitzpatrick_scale:!1,category:"symbols"},heavy_check_mark:{keywords:["ok","nike","answer","yes","tick"],char:'\u2714\ufe0f',fitzpatrick_scale:!1,category:"symbols"},arrows_clockwise:{keywords:["sync","cycle","round","repeat"],char:'\ud83d\udd03',fitzpatrick_scale:!1,category:"symbols"},heavy_plus_sign:{keywords:["math","calculation","addition","more","increase"],char:'\u2795',fitzpatrick_scale:!1,category:"symbols"},heavy_minus_sign:{keywords:["math","calculation","subtract","less"],char:'\u2796',fitzpatrick_scale:!1,category:"symbols"},heavy_division_sign:{keywords:["divide","math","calculation"],char:'\u2797',fitzpatrick_scale:!1,category:"symbols"},heavy_multiplication_x:{keywords:["math","calculation"],char:'\u2716\ufe0f',fitzpatrick_scale:!1,category:"symbols"},infinity:{keywords:["forever"],char:'\u267e',fitzpatrick_scale:!1,category:"symbols"},heavy_dollar_sign:{keywords:["money","sales","payment","currency","buck"],char:'\ud83d\udcb2',fitzpatrick_scale:!1,category:"symbols"},currency_exchange:{keywords:["money","sales","dollar","travel"],char:'\ud83d\udcb1',fitzpatrick_scale:!1,category:"symbols"},copyright:{keywords:["ip","license","circle","law","legal"],char:'\xa9\ufe0f',fitzpatrick_scale:!1,category:"symbols"},registered:{keywords:["alphabet","circle"],char:'\xae\ufe0f',fitzpatrick_scale:!1,category:"symbols"},tm:{keywords:["trademark","brand","law","legal"],char:'\u2122\ufe0f',fitzpatrick_scale:!1,category:"symbols"},end:{keywords:["words","arrow"],char:'\ud83d\udd1a',fitzpatrick_scale:!1,category:"symbols"},back:{keywords:["arrow","words","return"],char:'\ud83d\udd19',fitzpatrick_scale:!1,category:"symbols"},on:{keywords:["arrow","words"],char:'\ud83d\udd1b',fitzpatrick_scale:!1,category:"symbols"},top:{keywords:["words","blue-square"],char:'\ud83d\udd1d',fitzpatrick_scale:!1,category:"symbols"},soon:{keywords:["arrow","words"],char:'\ud83d\udd1c',fitzpatrick_scale:!1,category:"symbols"},ballot_box_with_check:{keywords:["ok","agree","confirm","black-square","vote","election","yes","tick"],char:'\u2611\ufe0f',fitzpatrick_scale:!1,category:"symbols"},radio_button:{keywords:["input","old","music","circle"],char:'\ud83d\udd18',fitzpatrick_scale:!1,category:"symbols"},white_circle:{keywords:["shape","round"],char:'\u26aa',fitzpatrick_scale:!1,category:"symbols"},black_circle:{keywords:["shape","button","round"],char:'\u26ab',fitzpatrick_scale:!1,category:"symbols"},red_circle:{keywords:["shape","error","danger"],char:'\ud83d\udd34',fitzpatrick_scale:!1,category:"symbols"},large_blue_circle:{keywords:["shape","icon","button"],char:'\ud83d\udd35',fitzpatrick_scale:!1,category:"symbols"},small_orange_diamond:{keywords:["shape","jewel","gem"],char:'\ud83d\udd38',fitzpatrick_scale:!1,category:"symbols"},small_blue_diamond:{keywords:["shape","jewel","gem"],char:'\ud83d\udd39',fitzpatrick_scale:!1,category:"symbols"},large_orange_diamond:{keywords:["shape","jewel","gem"],char:'\ud83d\udd36',fitzpatrick_scale:!1,category:"symbols"},large_blue_diamond:{keywords:["shape","jewel","gem"],char:'\ud83d\udd37',fitzpatrick_scale:!1,category:"symbols"},small_red_triangle:{keywords:["shape","direction","up","top"],char:'\ud83d\udd3a',fitzpatrick_scale:!1,category:"symbols"},black_small_square:{keywords:["shape","icon"],char:'\u25aa\ufe0f',fitzpatrick_scale:!1,category:"symbols"},white_small_square:{keywords:["shape","icon"],char:'\u25ab\ufe0f',fitzpatrick_scale:!1,category:"symbols"},black_large_square:{keywords:["shape","icon","button"],char:'\u2b1b',fitzpatrick_scale:!1,category:"symbols"},white_large_square:{keywords:["shape","icon","stone","button"],char:'\u2b1c',fitzpatrick_scale:!1,category:"symbols"},small_red_triangle_down:{keywords:["shape","direction","bottom"],char:'\ud83d\udd3b',fitzpatrick_scale:!1,category:"symbols"},black_medium_square:{keywords:["shape","button","icon"],char:'\u25fc\ufe0f',fitzpatrick_scale:!1,category:"symbols"},white_medium_square:{keywords:["shape","stone","icon"],char:'\u25fb\ufe0f',fitzpatrick_scale:!1,category:"symbols"},black_medium_small_square:{keywords:["icon","shape","button"],char:'\u25fe',fitzpatrick_scale:!1,category:"symbols"},white_medium_small_square:{keywords:["shape","stone","icon","button"],char:'\u25fd',fitzpatrick_scale:!1,category:"symbols"},black_square_button:{keywords:["shape","input","frame"],char:'\ud83d\udd32',fitzpatrick_scale:!1,category:"symbols"},white_square_button:{keywords:["shape","input"],char:'\ud83d\udd33',fitzpatrick_scale:!1,category:"symbols"},speaker:{keywords:["sound","volume","silence","broadcast"],char:'\ud83d\udd08',fitzpatrick_scale:!1,category:"symbols"},sound:{keywords:["volume","speaker","broadcast"],char:'\ud83d\udd09',fitzpatrick_scale:!1,category:"symbols"},loud_sound:{keywords:["volume","noise","noisy","speaker","broadcast"],char:'\ud83d\udd0a',fitzpatrick_scale:!1,category:"symbols"},mute:{keywords:["sound","volume","silence","quiet"],char:'\ud83d\udd07',fitzpatrick_scale:!1,category:"symbols"},mega:{keywords:["sound","speaker","volume"],char:'\ud83d\udce3',fitzpatrick_scale:!1,category:"symbols"},loudspeaker:{keywords:["volume","sound"],char:'\ud83d\udce2',fitzpatrick_scale:!1,category:"symbols"},bell:{keywords:["sound","notification","christmas","xmas","chime"],char:'\ud83d\udd14',fitzpatrick_scale:!1,category:"symbols"},no_bell:{keywords:["sound","volume","mute","quiet","silent"],char:'\ud83d\udd15',fitzpatrick_scale:!1,category:"symbols"},black_joker:{keywords:["poker","cards","game","play","magic"],char:'\ud83c\udccf',fitzpatrick_scale:!1,category:"symbols"},mahjong:{keywords:["game","play","chinese","kanji"],char:'\ud83c\udc04',fitzpatrick_scale:!1,category:"symbols"},spades:{keywords:["poker","cards","suits","magic"],char:'\u2660\ufe0f',fitzpatrick_scale:!1,category:"symbols"},clubs:{keywords:["poker","cards","magic","suits"],char:'\u2663\ufe0f',fitzpatrick_scale:!1,category:"symbols"},hearts:{keywords:["poker","cards","magic","suits"],char:'\u2665\ufe0f',fitzpatrick_scale:!1,category:"symbols"},diamonds:{keywords:["poker","cards","magic","suits"],char:'\u2666\ufe0f',fitzpatrick_scale:!1,category:"symbols"},flower_playing_cards:{keywords:["game","sunset","red"],char:'\ud83c\udfb4',fitzpatrick_scale:!1,category:"symbols"},thought_balloon:{keywords:["bubble","cloud","speech","thinking","dream"],char:'\ud83d\udcad',fitzpatrick_scale:!1,category:"symbols"},right_anger_bubble:{keywords:["caption","speech","thinking","mad"],char:'\ud83d\uddef',fitzpatrick_scale:!1,category:"symbols"},speech_balloon:{keywords:["bubble","words","message","talk","chatting"],char:'\ud83d\udcac',fitzpatrick_scale:!1,category:"symbols"},left_speech_bubble:{keywords:["words","message","talk","chatting"],char:'\ud83d\udde8',fitzpatrick_scale:!1,category:"symbols"},clock1:{keywords:["time","late","early","schedule"],char:'\ud83d\udd50',fitzpatrick_scale:!1,category:"symbols"},clock2:{keywords:["time","late","early","schedule"],char:'\ud83d\udd51',fitzpatrick_scale:!1,category:"symbols"},clock3:{keywords:["time","late","early","schedule"],char:'\ud83d\udd52',fitzpatrick_scale:!1,category:"symbols"},clock4:{keywords:["time","late","early","schedule"],char:'\ud83d\udd53',fitzpatrick_scale:!1,category:"symbols"},clock5:{keywords:["time","late","early","schedule"],char:'\ud83d\udd54',fitzpatrick_scale:!1,category:"symbols"},clock6:{keywords:["time","late","early","schedule","dawn","dusk"],char:'\ud83d\udd55',fitzpatrick_scale:!1,category:"symbols"},clock7:{keywords:["time","late","early","schedule"],char:'\ud83d\udd56',fitzpatrick_scale:!1,category:"symbols"},clock8:{keywords:["time","late","early","schedule"],char:'\ud83d\udd57',fitzpatrick_scale:!1,category:"symbols"},clock9:{keywords:["time","late","early","schedule"],char:'\ud83d\udd58',fitzpatrick_scale:!1,category:"symbols"},clock10:{keywords:["time","late","early","schedule"],char:'\ud83d\udd59',fitzpatrick_scale:!1,category:"symbols"},clock11:{keywords:["time","late","early","schedule"],char:'\ud83d\udd5a',fitzpatrick_scale:!1,category:"symbols"},clock12:{keywords:["time","noon","midnight","midday","late","early","schedule"],char:'\ud83d\udd5b',fitzpatrick_scale:!1,category:"symbols"},clock130:{keywords:["time","late","early","schedule"],char:'\ud83d\udd5c',fitzpatrick_scale:!1,category:"symbols"},clock230:{keywords:["time","late","early","schedule"],char:'\ud83d\udd5d',fitzpatrick_scale:!1,category:"symbols"},clock330:{keywords:["time","late","early","schedule"],char:'\ud83d\udd5e',fitzpatrick_scale:!1,category:"symbols"},clock430:{keywords:["time","late","early","schedule"],char:'\ud83d\udd5f',fitzpatrick_scale:!1,category:"symbols"},clock530:{keywords:["time","late","early","schedule"],char:'\ud83d\udd60',fitzpatrick_scale:!1,category:"symbols"},clock630:{keywords:["time","late","early","schedule"],char:'\ud83d\udd61',fitzpatrick_scale:!1,category:"symbols"},clock730:{keywords:["time","late","early","schedule"],char:'\ud83d\udd62',fitzpatrick_scale:!1,category:"symbols"},clock830:{keywords:["time","late","early","schedule"],char:'\ud83d\udd63',fitzpatrick_scale:!1,category:"symbols"},clock930:{keywords:["time","late","early","schedule"],char:'\ud83d\udd64',fitzpatrick_scale:!1,category:"symbols"},clock1030:{keywords:["time","late","early","schedule"],char:'\ud83d\udd65',fitzpatrick_scale:!1,category:"symbols"},clock1130:{keywords:["time","late","early","schedule"],char:'\ud83d\udd66',fitzpatrick_scale:!1,category:"symbols"},clock1230:{keywords:["time","late","early","schedule"],char:'\ud83d\udd67',fitzpatrick_scale:!1,category:"symbols"},afghanistan:{keywords:["af","flag","nation","country","banner"],char:'\ud83c\udde6\ud83c\uddeb',fitzpatrick_scale:!1,category:"flags"},aland_islands:{keywords:["\xc5land","islands","flag","nation","country","banner"],char:'\ud83c\udde6\ud83c\uddfd',fitzpatrick_scale:!1,category:"flags"},albania:{keywords:["al","flag","nation","country","banner"],char:'\ud83c\udde6\ud83c\uddf1',fitzpatrick_scale:!1,category:"flags"},algeria:{keywords:["dz","flag","nation","country","banner"],char:'\ud83c\udde9\ud83c\uddff',fitzpatrick_scale:!1,category:"flags"},american_samoa:{keywords:["american","ws","flag","nation","country","banner"],char:'\ud83c\udde6\ud83c\uddf8',fitzpatrick_scale:!1,category:"flags"},andorra:{keywords:["ad","flag","nation","country","banner"],char:'\ud83c\udde6\ud83c\udde9',fitzpatrick_scale:!1,category:"flags"},angola:{keywords:["ao","flag","nation","country","banner"],char:'\ud83c\udde6\ud83c\uddf4',fitzpatrick_scale:!1,category:"flags"},anguilla:{keywords:["ai","flag","nation","country","banner"],char:'\ud83c\udde6\ud83c\uddee',fitzpatrick_scale:!1,category:"flags"},antarctica:{keywords:["aq","flag","nation","country","banner"],char:'\ud83c\udde6\ud83c\uddf6',fitzpatrick_scale:!1,category:"flags"},antigua_barbuda:{keywords:["antigua","barbuda","flag","nation","country","banner"],char:'\ud83c\udde6\ud83c\uddec',fitzpatrick_scale:!1,category:"flags"},argentina:{keywords:["ar","flag","nation","country","banner"],char:'\ud83c\udde6\ud83c\uddf7',fitzpatrick_scale:!1,category:"flags"},armenia:{keywords:["am","flag","nation","country","banner"],char:'\ud83c\udde6\ud83c\uddf2',fitzpatrick_scale:!1,category:"flags"},aruba:{keywords:["aw","flag","nation","country","banner"],char:'\ud83c\udde6\ud83c\uddfc',fitzpatrick_scale:!1,category:"flags"},australia:{keywords:["au","flag","nation","country","banner"],char:'\ud83c\udde6\ud83c\uddfa',fitzpatrick_scale:!1,category:"flags"},austria:{keywords:["at","flag","nation","country","banner"],char:'\ud83c\udde6\ud83c\uddf9',fitzpatrick_scale:!1,category:"flags"},azerbaijan:{keywords:["az","flag","nation","country","banner"],char:'\ud83c\udde6\ud83c\uddff',fitzpatrick_scale:!1,category:"flags"},bahamas:{keywords:["bs","flag","nation","country","banner"],char:'\ud83c\udde7\ud83c\uddf8',fitzpatrick_scale:!1,category:"flags"},bahrain:{keywords:["bh","flag","nation","country","banner"],char:'\ud83c\udde7\ud83c\udded',fitzpatrick_scale:!1,category:"flags"},bangladesh:{keywords:["bd","flag","nation","country","banner"],char:'\ud83c\udde7\ud83c\udde9',fitzpatrick_scale:!1,category:"flags"},barbados:{keywords:["bb","flag","nation","country","banner"],char:'\ud83c\udde7\ud83c\udde7',fitzpatrick_scale:!1,category:"flags"},belarus:{keywords:["by","flag","nation","country","banner"],char:'\ud83c\udde7\ud83c\uddfe',fitzpatrick_scale:!1,category:"flags"},belgium:{keywords:["be","flag","nation","country","banner"],char:'\ud83c\udde7\ud83c\uddea',fitzpatrick_scale:!1,category:"flags"},belize:{keywords:["bz","flag","nation","country","banner"],char:'\ud83c\udde7\ud83c\uddff',fitzpatrick_scale:!1,category:"flags"},benin:{keywords:["bj","flag","nation","country","banner"],char:'\ud83c\udde7\ud83c\uddef',fitzpatrick_scale:!1,category:"flags"},bermuda:{keywords:["bm","flag","nation","country","banner"],char:'\ud83c\udde7\ud83c\uddf2',fitzpatrick_scale:!1,category:"flags"},bhutan:{keywords:["bt","flag","nation","country","banner"],char:'\ud83c\udde7\ud83c\uddf9',fitzpatrick_scale:!1,category:"flags"},bolivia:{keywords:["bo","flag","nation","country","banner"],char:'\ud83c\udde7\ud83c\uddf4',fitzpatrick_scale:!1,category:"flags"},caribbean_netherlands:{keywords:["bonaire","flag","nation","country","banner"],char:'\ud83c\udde7\ud83c\uddf6',fitzpatrick_scale:!1,category:"flags"},bosnia_herzegovina:{keywords:["bosnia","herzegovina","flag","nation","country","banner"],char:'\ud83c\udde7\ud83c\udde6',fitzpatrick_scale:!1,category:"flags"},botswana:{keywords:["bw","flag","nation","country","banner"],char:'\ud83c\udde7\ud83c\uddfc',fitzpatrick_scale:!1,category:"flags"},brazil:{keywords:["br","flag","nation","country","banner"],char:'\ud83c\udde7\ud83c\uddf7',fitzpatrick_scale:!1,category:"flags"},british_indian_ocean_territory:{keywords:["british","indian","ocean","territory","flag","nation","country","banner"],char:'\ud83c\uddee\ud83c\uddf4',fitzpatrick_scale:!1,category:"flags"},british_virgin_islands:{keywords:["british","virgin","islands","bvi","flag","nation","country","banner"],char:'\ud83c\uddfb\ud83c\uddec',fitzpatrick_scale:!1,category:"flags"},brunei:{keywords:["bn","darussalam","flag","nation","country","banner"],char:'\ud83c\udde7\ud83c\uddf3',fitzpatrick_scale:!1,category:"flags"},bulgaria:{keywords:["bg","flag","nation","country","banner"],char:'\ud83c\udde7\ud83c\uddec',fitzpatrick_scale:!1,category:"flags"},burkina_faso:{keywords:["burkina","faso","flag","nation","country","banner"],char:'\ud83c\udde7\ud83c\uddeb',fitzpatrick_scale:!1,category:"flags"},burundi:{keywords:["bi","flag","nation","country","banner"],char:'\ud83c\udde7\ud83c\uddee',fitzpatrick_scale:!1,category:"flags"},cape_verde:{keywords:["cabo","verde","flag","nation","country","banner"],char:'\ud83c\udde8\ud83c\uddfb',fitzpatrick_scale:!1,category:"flags"},cambodia:{keywords:["kh","flag","nation","country","banner"],char:'\ud83c\uddf0\ud83c\udded',fitzpatrick_scale:!1,category:"flags"},cameroon:{keywords:["cm","flag","nation","country","banner"],char:'\ud83c\udde8\ud83c\uddf2',fitzpatrick_scale:!1,category:"flags"},canada:{keywords:["ca","flag","nation","country","banner"],char:'\ud83c\udde8\ud83c\udde6',fitzpatrick_scale:!1,category:"flags"},canary_islands:{keywords:["canary","islands","flag","nation","country","banner"],char:'\ud83c\uddee\ud83c\udde8',fitzpatrick_scale:!1,category:"flags"},cayman_islands:{keywords:["cayman","islands","flag","nation","country","banner"],char:'\ud83c\uddf0\ud83c\uddfe',fitzpatrick_scale:!1,category:"flags"},central_african_republic:{keywords:["central","african","republic","flag","nation","country","banner"],char:'\ud83c\udde8\ud83c\uddeb',fitzpatrick_scale:!1,category:"flags"},chad:{keywords:["td","flag","nation","country","banner"],char:'\ud83c\uddf9\ud83c\udde9',fitzpatrick_scale:!1,category:"flags"},chile:{keywords:["flag","nation","country","banner"],char:'\ud83c\udde8\ud83c\uddf1',fitzpatrick_scale:!1,category:"flags"},cn:{keywords:["china","chinese","prc","flag","country","nation","banner"],char:'\ud83c\udde8\ud83c\uddf3',fitzpatrick_scale:!1,category:"flags"},christmas_island:{keywords:["christmas","island","flag","nation","country","banner"],char:'\ud83c\udde8\ud83c\uddfd',fitzpatrick_scale:!1,category:"flags"},cocos_islands:{keywords:["cocos","keeling","islands","flag","nation","country","banner"],char:'\ud83c\udde8\ud83c\udde8',fitzpatrick_scale:!1,category:"flags"},colombia:{keywords:["co","flag","nation","country","banner"],char:'\ud83c\udde8\ud83c\uddf4',fitzpatrick_scale:!1,category:"flags"},comoros:{keywords:["km","flag","nation","country","banner"],char:'\ud83c\uddf0\ud83c\uddf2',fitzpatrick_scale:!1,category:"flags"},congo_brazzaville:{keywords:["congo","flag","nation","country","banner"],char:'\ud83c\udde8\ud83c\uddec',fitzpatrick_scale:!1,category:"flags"},congo_kinshasa:{keywords:["congo","democratic","republic","flag","nation","country","banner"],char:'\ud83c\udde8\ud83c\udde9',fitzpatrick_scale:!1,category:"flags"},cook_islands:{keywords:["cook","islands","flag","nation","country","banner"],char:'\ud83c\udde8\ud83c\uddf0',fitzpatrick_scale:!1,category:"flags"},costa_rica:{keywords:["costa","rica","flag","nation","country","banner"],char:'\ud83c\udde8\ud83c\uddf7',fitzpatrick_scale:!1,category:"flags"},croatia:{keywords:["hr","flag","nation","country","banner"],char:'\ud83c\udded\ud83c\uddf7',fitzpatrick_scale:!1,category:"flags"},cuba:{keywords:["cu","flag","nation","country","banner"],char:'\ud83c\udde8\ud83c\uddfa',fitzpatrick_scale:!1,category:"flags"},curacao:{keywords:["cura\xe7ao","flag","nation","country","banner"],char:'\ud83c\udde8\ud83c\uddfc',fitzpatrick_scale:!1,category:"flags"},cyprus:{keywords:["cy","flag","nation","country","banner"],char:'\ud83c\udde8\ud83c\uddfe',fitzpatrick_scale:!1,category:"flags"},czech_republic:{keywords:["cz","flag","nation","country","banner"],char:'\ud83c\udde8\ud83c\uddff',fitzpatrick_scale:!1,category:"flags"},denmark:{keywords:["dk","flag","nation","country","banner"],char:'\ud83c\udde9\ud83c\uddf0',fitzpatrick_scale:!1,category:"flags"},djibouti:{keywords:["dj","flag","nation","country","banner"],char:'\ud83c\udde9\ud83c\uddef',fitzpatrick_scale:!1,category:"flags"},dominica:{keywords:["dm","flag","nation","country","banner"],char:'\ud83c\udde9\ud83c\uddf2',fitzpatrick_scale:!1,category:"flags"},dominican_republic:{keywords:["dominican","republic","flag","nation","country","banner"],char:'\ud83c\udde9\ud83c\uddf4',fitzpatrick_scale:!1,category:"flags"},ecuador:{keywords:["ec","flag","nation","country","banner"],char:'\ud83c\uddea\ud83c\udde8',fitzpatrick_scale:!1,category:"flags"},egypt:{keywords:["eg","flag","nation","country","banner"],char:'\ud83c\uddea\ud83c\uddec',fitzpatrick_scale:!1,category:"flags"},el_salvador:{keywords:["el","salvador","flag","nation","country","banner"],char:'\ud83c\uddf8\ud83c\uddfb',fitzpatrick_scale:!1,category:"flags"},equatorial_guinea:{keywords:["equatorial","gn","flag","nation","country","banner"],char:'\ud83c\uddec\ud83c\uddf6',fitzpatrick_scale:!1,category:"flags"},eritrea:{keywords:["er","flag","nation","country","banner"],char:'\ud83c\uddea\ud83c\uddf7',fitzpatrick_scale:!1,category:"flags"},estonia:{keywords:["ee","flag","nation","country","banner"],char:'\ud83c\uddea\ud83c\uddea',fitzpatrick_scale:!1,category:"flags"},ethiopia:{keywords:["et","flag","nation","country","banner"],char:'\ud83c\uddea\ud83c\uddf9',fitzpatrick_scale:!1,category:"flags"},eu:{keywords:["european","union","flag","banner"],char:'\ud83c\uddea\ud83c\uddfa',fitzpatrick_scale:!1,category:"flags"},falkland_islands:{keywords:["falkland","islands","malvinas","flag","nation","country","banner"],char:'\ud83c\uddeb\ud83c\uddf0',fitzpatrick_scale:!1,category:"flags"},faroe_islands:{keywords:["faroe","islands","flag","nation","country","banner"],char:'\ud83c\uddeb\ud83c\uddf4',fitzpatrick_scale:!1,category:"flags"},fiji:{keywords:["fj","flag","nation","country","banner"],char:'\ud83c\uddeb\ud83c\uddef',fitzpatrick_scale:!1,category:"flags"},finland:{keywords:["fi","flag","nation","country","banner"],char:'\ud83c\uddeb\ud83c\uddee',fitzpatrick_scale:!1,category:"flags"},fr:{keywords:["banner","flag","nation","france","french","country"],char:'\ud83c\uddeb\ud83c\uddf7',fitzpatrick_scale:!1,category:"flags"},french_guiana:{keywords:["french","guiana","flag","nation","country","banner"],char:'\ud83c\uddec\ud83c\uddeb',fitzpatrick_scale:!1,category:"flags"},french_polynesia:{keywords:["french","polynesia","flag","nation","country","banner"],char:'\ud83c\uddf5\ud83c\uddeb',fitzpatrick_scale:!1,category:"flags"},french_southern_territories:{keywords:["french","southern","territories","flag","nation","country","banner"],char:'\ud83c\uddf9\ud83c\uddeb',fitzpatrick_scale:!1,category:"flags"},gabon:{keywords:["ga","flag","nation","country","banner"],char:'\ud83c\uddec\ud83c\udde6',fitzpatrick_scale:!1,category:"flags"},gambia:{keywords:["gm","flag","nation","country","banner"],char:'\ud83c\uddec\ud83c\uddf2',fitzpatrick_scale:!1,category:"flags"},georgia:{keywords:["ge","flag","nation","country","banner"],char:'\ud83c\uddec\ud83c\uddea',fitzpatrick_scale:!1,category:"flags"},de:{keywords:["german","nation","flag","country","banner"],char:'\ud83c\udde9\ud83c\uddea',fitzpatrick_scale:!1,category:"flags"},ghana:{keywords:["gh","flag","nation","country","banner"],char:'\ud83c\uddec\ud83c\udded',fitzpatrick_scale:!1,category:"flags"},gibraltar:{keywords:["gi","flag","nation","country","banner"],char:'\ud83c\uddec\ud83c\uddee',fitzpatrick_scale:!1,category:"flags"},greece:{keywords:["gr","flag","nation","country","banner"],char:'\ud83c\uddec\ud83c\uddf7',fitzpatrick_scale:!1,category:"flags"},greenland:{keywords:["gl","flag","nation","country","banner"],char:'\ud83c\uddec\ud83c\uddf1',fitzpatrick_scale:!1,category:"flags"},grenada:{keywords:["gd","flag","nation","country","banner"],char:'\ud83c\uddec\ud83c\udde9',fitzpatrick_scale:!1,category:"flags"},guadeloupe:{keywords:["gp","flag","nation","country","banner"],char:'\ud83c\uddec\ud83c\uddf5',fitzpatrick_scale:!1,category:"flags"},guam:{keywords:["gu","flag","nation","country","banner"],char:'\ud83c\uddec\ud83c\uddfa',fitzpatrick_scale:!1,category:"flags"},guatemala:{keywords:["gt","flag","nation","country","banner"],char:'\ud83c\uddec\ud83c\uddf9',fitzpatrick_scale:!1,category:"flags"},guernsey:{keywords:["gg","flag","nation","country","banner"],char:'\ud83c\uddec\ud83c\uddec',fitzpatrick_scale:!1,category:"flags"},guinea:{keywords:["gn","flag","nation","country","banner"],char:'\ud83c\uddec\ud83c\uddf3',fitzpatrick_scale:!1,category:"flags"},guinea_bissau:{keywords:["gw","bissau","flag","nation","country","banner"],char:'\ud83c\uddec\ud83c\uddfc',fitzpatrick_scale:!1,category:"flags"},guyana:{keywords:["gy","flag","nation","country","banner"],char:'\ud83c\uddec\ud83c\uddfe',fitzpatrick_scale:!1,category:"flags"},haiti:{keywords:["ht","flag","nation","country","banner"],char:'\ud83c\udded\ud83c\uddf9',fitzpatrick_scale:!1,category:"flags"},honduras:{keywords:["hn","flag","nation","country","banner"],char:'\ud83c\udded\ud83c\uddf3',fitzpatrick_scale:!1,category:"flags"},hong_kong:{keywords:["hong","kong","flag","nation","country","banner"],char:'\ud83c\udded\ud83c\uddf0',fitzpatrick_scale:!1,category:"flags"},hungary:{keywords:["hu","flag","nation","country","banner"],char:'\ud83c\udded\ud83c\uddfa',fitzpatrick_scale:!1,category:"flags"},iceland:{keywords:["is","flag","nation","country","banner"],char:'\ud83c\uddee\ud83c\uddf8',fitzpatrick_scale:!1,category:"flags"},india:{keywords:["in","flag","nation","country","banner"],char:'\ud83c\uddee\ud83c\uddf3',fitzpatrick_scale:!1,category:"flags"},indonesia:{keywords:["flag","nation","country","banner"],char:'\ud83c\uddee\ud83c\udde9',fitzpatrick_scale:!1,category:"flags"},iran:{keywords:["iran,","islamic","republic","flag","nation","country","banner"],char:'\ud83c\uddee\ud83c\uddf7',fitzpatrick_scale:!1,category:"flags"},iraq:{keywords:["iq","flag","nation","country","banner"],char:'\ud83c\uddee\ud83c\uddf6',fitzpatrick_scale:!1,category:"flags"},ireland:{keywords:["ie","flag","nation","country","banner"],char:'\ud83c\uddee\ud83c\uddea',fitzpatrick_scale:!1,category:"flags"},isle_of_man:{keywords:["isle","man","flag","nation","country","banner"],char:'\ud83c\uddee\ud83c\uddf2',fitzpatrick_scale:!1,category:"flags"},israel:{keywords:["il","flag","nation","country","banner"],char:'\ud83c\uddee\ud83c\uddf1',fitzpatrick_scale:!1,category:"flags"},it:{keywords:["italy","flag","nation","country","banner"],char:'\ud83c\uddee\ud83c\uddf9',fitzpatrick_scale:!1,category:"flags"},cote_divoire:{keywords:["ivory","coast","flag","nation","country","banner"],char:'\ud83c\udde8\ud83c\uddee',fitzpatrick_scale:!1,category:"flags"},jamaica:{keywords:["jm","flag","nation","country","banner"],char:'\ud83c\uddef\ud83c\uddf2',fitzpatrick_scale:!1,category:"flags"},jp:{keywords:["japanese","nation","flag","country","banner"],char:'\ud83c\uddef\ud83c\uddf5',fitzpatrick_scale:!1,category:"flags"},jersey:{keywords:["je","flag","nation","country","banner"],char:'\ud83c\uddef\ud83c\uddea',fitzpatrick_scale:!1,category:"flags"},jordan:{keywords:["jo","flag","nation","country","banner"],char:'\ud83c\uddef\ud83c\uddf4',fitzpatrick_scale:!1,category:"flags"},kazakhstan:{keywords:["kz","flag","nation","country","banner"],char:'\ud83c\uddf0\ud83c\uddff',fitzpatrick_scale:!1,category:"flags"},kenya:{keywords:["ke","flag","nation","country","banner"],char:'\ud83c\uddf0\ud83c\uddea',fitzpatrick_scale:!1,category:"flags"},kiribati:{keywords:["ki","flag","nation","country","banner"],char:'\ud83c\uddf0\ud83c\uddee',fitzpatrick_scale:!1,category:"flags"},kosovo:{keywords:["xk","flag","nation","country","banner"],char:'\ud83c\uddfd\ud83c\uddf0',fitzpatrick_scale:!1,category:"flags"},kuwait:{keywords:["kw","flag","nation","country","banner"],char:'\ud83c\uddf0\ud83c\uddfc',fitzpatrick_scale:!1,category:"flags"},kyrgyzstan:{keywords:["kg","flag","nation","country","banner"],char:'\ud83c\uddf0\ud83c\uddec',fitzpatrick_scale:!1,category:"flags"},laos:{keywords:["lao","democratic","republic","flag","nation","country","banner"],char:'\ud83c\uddf1\ud83c\udde6',fitzpatrick_scale:!1,category:"flags"},latvia:{keywords:["lv","flag","nation","country","banner"],char:'\ud83c\uddf1\ud83c\uddfb',fitzpatrick_scale:!1,category:"flags"},lebanon:{keywords:["lb","flag","nation","country","banner"],char:'\ud83c\uddf1\ud83c\udde7',fitzpatrick_scale:!1,category:"flags"},lesotho:{keywords:["ls","flag","nation","country","banner"],char:'\ud83c\uddf1\ud83c\uddf8',fitzpatrick_scale:!1,category:"flags"},liberia:{keywords:["lr","flag","nation","country","banner"],char:'\ud83c\uddf1\ud83c\uddf7',fitzpatrick_scale:!1,category:"flags"},libya:{keywords:["ly","flag","nation","country","banner"],char:'\ud83c\uddf1\ud83c\uddfe',fitzpatrick_scale:!1,category:"flags"},liechtenstein:{keywords:["li","flag","nation","country","banner"],char:'\ud83c\uddf1\ud83c\uddee',fitzpatrick_scale:!1,category:"flags"},lithuania:{keywords:["lt","flag","nation","country","banner"],char:'\ud83c\uddf1\ud83c\uddf9',fitzpatrick_scale:!1,category:"flags"},luxembourg:{keywords:["lu","flag","nation","country","banner"],char:'\ud83c\uddf1\ud83c\uddfa',fitzpatrick_scale:!1,category:"flags"},macau:{keywords:["macao","flag","nation","country","banner"],char:'\ud83c\uddf2\ud83c\uddf4',fitzpatrick_scale:!1,category:"flags"},macedonia:{keywords:["macedonia,","flag","nation","country","banner"],char:'\ud83c\uddf2\ud83c\uddf0',fitzpatrick_scale:!1,category:"flags"},madagascar:{keywords:["mg","flag","nation","country","banner"],char:'\ud83c\uddf2\ud83c\uddec',fitzpatrick_scale:!1,category:"flags"},malawi:{keywords:["mw","flag","nation","country","banner"],char:'\ud83c\uddf2\ud83c\uddfc',fitzpatrick_scale:!1,category:"flags"},malaysia:{keywords:["my","flag","nation","country","banner"],char:'\ud83c\uddf2\ud83c\uddfe',fitzpatrick_scale:!1,category:"flags"},maldives:{keywords:["mv","flag","nation","country","banner"],char:'\ud83c\uddf2\ud83c\uddfb',fitzpatrick_scale:!1,category:"flags"},mali:{keywords:["ml","flag","nation","country","banner"],char:'\ud83c\uddf2\ud83c\uddf1',fitzpatrick_scale:!1,category:"flags"},malta:{keywords:["mt","flag","nation","country","banner"],char:'\ud83c\uddf2\ud83c\uddf9',fitzpatrick_scale:!1,category:"flags"},marshall_islands:{keywords:["marshall","islands","flag","nation","country","banner"],char:'\ud83c\uddf2\ud83c\udded',fitzpatrick_scale:!1,category:"flags"},martinique:{keywords:["mq","flag","nation","country","banner"],char:'\ud83c\uddf2\ud83c\uddf6',fitzpatrick_scale:!1,category:"flags"},mauritania:{keywords:["mr","flag","nation","country","banner"],char:'\ud83c\uddf2\ud83c\uddf7',fitzpatrick_scale:!1,category:"flags"},mauritius:{keywords:["mu","flag","nation","country","banner"],char:'\ud83c\uddf2\ud83c\uddfa',fitzpatrick_scale:!1,category:"flags"},mayotte:{keywords:["yt","flag","nation","country","banner"],char:'\ud83c\uddfe\ud83c\uddf9',fitzpatrick_scale:!1,category:"flags"},mexico:{keywords:["mx","flag","nation","country","banner"],char:'\ud83c\uddf2\ud83c\uddfd',fitzpatrick_scale:!1,category:"flags"},micronesia:{keywords:["micronesia,","federated","states","flag","nation","country","banner"],char:'\ud83c\uddeb\ud83c\uddf2',fitzpatrick_scale:!1,category:"flags"},moldova:{keywords:["moldova,","republic","flag","nation","country","banner"],char:'\ud83c\uddf2\ud83c\udde9',fitzpatrick_scale:!1,category:"flags"},monaco:{keywords:["mc","flag","nation","country","banner"],char:'\ud83c\uddf2\ud83c\udde8',fitzpatrick_scale:!1,category:"flags"},mongolia:{keywords:["mn","flag","nation","country","banner"],char:'\ud83c\uddf2\ud83c\uddf3',fitzpatrick_scale:!1,category:"flags"},montenegro:{keywords:["me","flag","nation","country","banner"],char:'\ud83c\uddf2\ud83c\uddea',fitzpatrick_scale:!1,category:"flags"},montserrat:{keywords:["ms","flag","nation","country","banner"],char:'\ud83c\uddf2\ud83c\uddf8',fitzpatrick_scale:!1,category:"flags"},morocco:{keywords:["ma","flag","nation","country","banner"],char:'\ud83c\uddf2\ud83c\udde6',fitzpatrick_scale:!1,category:"flags"},mozambique:{keywords:["mz","flag","nation","country","banner"],char:'\ud83c\uddf2\ud83c\uddff',fitzpatrick_scale:!1,category:"flags"},myanmar:{keywords:["mm","flag","nation","country","banner"],char:'\ud83c\uddf2\ud83c\uddf2',fitzpatrick_scale:!1,category:"flags"},namibia:{keywords:["na","flag","nation","country","banner"],char:'\ud83c\uddf3\ud83c\udde6',fitzpatrick_scale:!1,category:"flags"},nauru:{keywords:["nr","flag","nation","country","banner"],char:'\ud83c\uddf3\ud83c\uddf7',fitzpatrick_scale:!1,category:"flags"},nepal:{keywords:["np","flag","nation","country","banner"],char:'\ud83c\uddf3\ud83c\uddf5',fitzpatrick_scale:!1,category:"flags"},netherlands:{keywords:["nl","flag","nation","country","banner"],char:'\ud83c\uddf3\ud83c\uddf1',fitzpatrick_scale:!1,category:"flags"},new_caledonia:{keywords:["new","caledonia","flag","nation","country","banner"],char:'\ud83c\uddf3\ud83c\udde8',fitzpatrick_scale:!1,category:"flags"},new_zealand:{keywords:["new","zealand","flag","nation","country","banner"],char:'\ud83c\uddf3\ud83c\uddff',fitzpatrick_scale:!1,category:"flags"},nicaragua:{keywords:["ni","flag","nation","country","banner"],char:'\ud83c\uddf3\ud83c\uddee',fitzpatrick_scale:!1,category:"flags"},niger:{keywords:["ne","flag","nation","country","banner"],char:'\ud83c\uddf3\ud83c\uddea',fitzpatrick_scale:!1,category:"flags"},nigeria:{keywords:["flag","nation","country","banner"],char:'\ud83c\uddf3\ud83c\uddec',fitzpatrick_scale:!1,category:"flags"},niue:{keywords:["nu","flag","nation","country","banner"],char:'\ud83c\uddf3\ud83c\uddfa',fitzpatrick_scale:!1,category:"flags"},norfolk_island:{keywords:["norfolk","island","flag","nation","country","banner"],char:'\ud83c\uddf3\ud83c\uddeb',fitzpatrick_scale:!1,category:"flags"},northern_mariana_islands:{keywords:["northern","mariana","islands","flag","nation","country","banner"],char:'\ud83c\uddf2\ud83c\uddf5',fitzpatrick_scale:!1,category:"flags"},north_korea:{keywords:["north","korea","nation","flag","country","banner"],char:'\ud83c\uddf0\ud83c\uddf5',fitzpatrick_scale:!1,category:"flags"},norway:{keywords:["no","flag","nation","country","banner"],char:'\ud83c\uddf3\ud83c\uddf4',fitzpatrick_scale:!1,category:"flags"},oman:{keywords:["om_symbol","flag","nation","country","banner"],char:'\ud83c\uddf4\ud83c\uddf2',fitzpatrick_scale:!1,category:"flags"},pakistan:{keywords:["pk","flag","nation","country","banner"],char:'\ud83c\uddf5\ud83c\uddf0',fitzpatrick_scale:!1,category:"flags"},palau:{keywords:["pw","flag","nation","country","banner"],char:'\ud83c\uddf5\ud83c\uddfc',fitzpatrick_scale:!1,category:"flags"},palestinian_territories:{keywords:["palestine","palestinian","territories","flag","nation","country","banner"],char:'\ud83c\uddf5\ud83c\uddf8',fitzpatrick_scale:!1,category:"flags"},panama:{keywords:["pa","flag","nation","country","banner"],char:'\ud83c\uddf5\ud83c\udde6',fitzpatrick_scale:!1,category:"flags"},papua_new_guinea:{keywords:["papua","new","guinea","flag","nation","country","banner"],char:'\ud83c\uddf5\ud83c\uddec',fitzpatrick_scale:!1,category:"flags"},paraguay:{keywords:["py","flag","nation","country","banner"],char:'\ud83c\uddf5\ud83c\uddfe',fitzpatrick_scale:!1,category:"flags"},peru:{keywords:["pe","flag","nation","country","banner"],char:'\ud83c\uddf5\ud83c\uddea',fitzpatrick_scale:!1,category:"flags"},philippines:{keywords:["ph","flag","nation","country","banner"],char:'\ud83c\uddf5\ud83c\udded',fitzpatrick_scale:!1,category:"flags"},pitcairn_islands:{keywords:["pitcairn","flag","nation","country","banner"],char:'\ud83c\uddf5\ud83c\uddf3',fitzpatrick_scale:!1,category:"flags"},poland:{keywords:["pl","flag","nation","country","banner"],char:'\ud83c\uddf5\ud83c\uddf1',fitzpatrick_scale:!1,category:"flags"},portugal:{keywords:["pt","flag","nation","country","banner"],char:'\ud83c\uddf5\ud83c\uddf9',fitzpatrick_scale:!1,category:"flags"},puerto_rico:{keywords:["puerto","rico","flag","nation","country","banner"],char:'\ud83c\uddf5\ud83c\uddf7',fitzpatrick_scale:!1,category:"flags"},qatar:{keywords:["qa","flag","nation","country","banner"],char:'\ud83c\uddf6\ud83c\udde6',fitzpatrick_scale:!1,category:"flags"},reunion:{keywords:["r\xe9union","flag","nation","country","banner"],char:'\ud83c\uddf7\ud83c\uddea',fitzpatrick_scale:!1,category:"flags"},romania:{keywords:["ro","flag","nation","country","banner"],char:'\ud83c\uddf7\ud83c\uddf4',fitzpatrick_scale:!1,category:"flags"},ru:{keywords:["russian","federation","flag","nation","country","banner"],char:'\ud83c\uddf7\ud83c\uddfa',fitzpatrick_scale:!1,category:"flags"},rwanda:{keywords:["rw","flag","nation","country","banner"],char:'\ud83c\uddf7\ud83c\uddfc',fitzpatrick_scale:!1,category:"flags"},st_barthelemy:{keywords:["saint","barth\xe9lemy","flag","nation","country","banner"],char:'\ud83c\udde7\ud83c\uddf1',fitzpatrick_scale:!1,category:"flags"},st_helena:{keywords:["saint","helena","ascension","tristan","cunha","flag","nation","country","banner"],char:'\ud83c\uddf8\ud83c\udded',fitzpatrick_scale:!1,category:"flags"},st_kitts_nevis:{keywords:["saint","kitts","nevis","flag","nation","country","banner"],char:'\ud83c\uddf0\ud83c\uddf3',fitzpatrick_scale:!1,category:"flags"},st_lucia:{keywords:["saint","lucia","flag","nation","country","banner"],char:'\ud83c\uddf1\ud83c\udde8',fitzpatrick_scale:!1,category:"flags"},st_pierre_miquelon:{keywords:["saint","pierre","miquelon","flag","nation","country","banner"],char:'\ud83c\uddf5\ud83c\uddf2',fitzpatrick_scale:!1,category:"flags"},st_vincent_grenadines:{keywords:["saint","vincent","grenadines","flag","nation","country","banner"],char:'\ud83c\uddfb\ud83c\udde8',fitzpatrick_scale:!1,category:"flags"},samoa:{keywords:["ws","flag","nation","country","banner"],char:'\ud83c\uddfc\ud83c\uddf8',fitzpatrick_scale:!1,category:"flags"},san_marino:{keywords:["san","marino","flag","nation","country","banner"],char:'\ud83c\uddf8\ud83c\uddf2',fitzpatrick_scale:!1,category:"flags"},sao_tome_principe:{keywords:["sao","tome","principe","flag","nation","country","banner"],char:'\ud83c\uddf8\ud83c\uddf9',fitzpatrick_scale:!1,category:"flags"},saudi_arabia:{keywords:["flag","nation","country","banner"],char:'\ud83c\uddf8\ud83c\udde6',fitzpatrick_scale:!1,category:"flags"},senegal:{keywords:["sn","flag","nation","country","banner"],char:'\ud83c\uddf8\ud83c\uddf3',fitzpatrick_scale:!1,category:"flags"},serbia:{keywords:["rs","flag","nation","country","banner"],char:'\ud83c\uddf7\ud83c\uddf8',fitzpatrick_scale:!1,category:"flags"},seychelles:{keywords:["sc","flag","nation","country","banner"],char:'\ud83c\uddf8\ud83c\udde8',fitzpatrick_scale:!1,category:"flags"},sierra_leone:{keywords:["sierra","leone","flag","nation","country","banner"],char:'\ud83c\uddf8\ud83c\uddf1',fitzpatrick_scale:!1,category:"flags"},singapore:{keywords:["sg","flag","nation","country","banner"],char:'\ud83c\uddf8\ud83c\uddec',fitzpatrick_scale:!1,category:"flags"},sint_maarten:{keywords:["sint","maarten","dutch","flag","nation","country","banner"],char:'\ud83c\uddf8\ud83c\uddfd',fitzpatrick_scale:!1,category:"flags"},slovakia:{keywords:["sk","flag","nation","country","banner"],char:'\ud83c\uddf8\ud83c\uddf0',fitzpatrick_scale:!1,category:"flags"},slovenia:{keywords:["si","flag","nation","country","banner"],char:'\ud83c\uddf8\ud83c\uddee',fitzpatrick_scale:!1,category:"flags"},solomon_islands:{keywords:["solomon","islands","flag","nation","country","banner"],char:'\ud83c\uddf8\ud83c\udde7',fitzpatrick_scale:!1,category:"flags"},somalia:{keywords:["so","flag","nation","country","banner"],char:'\ud83c\uddf8\ud83c\uddf4',fitzpatrick_scale:!1,category:"flags"},south_africa:{keywords:["south","africa","flag","nation","country","banner"],char:'\ud83c\uddff\ud83c\udde6',fitzpatrick_scale:!1,category:"flags"},south_georgia_south_sandwich_islands:{keywords:["south","georgia","sandwich","islands","flag","nation","country","banner"],char:'\ud83c\uddec\ud83c\uddf8',fitzpatrick_scale:!1,category:"flags"},kr:{keywords:["south","korea","nation","flag","country","banner"],char:'\ud83c\uddf0\ud83c\uddf7',fitzpatrick_scale:!1,category:"flags"},south_sudan:{keywords:["south","sd","flag","nation","country","banner"],char:'\ud83c\uddf8\ud83c\uddf8',fitzpatrick_scale:!1,category:"flags"},es:{keywords:["spain","flag","nation","country","banner"],char:'\ud83c\uddea\ud83c\uddf8',fitzpatrick_scale:!1,category:"flags"},sri_lanka:{keywords:["sri","lanka","flag","nation","country","banner"],char:'\ud83c\uddf1\ud83c\uddf0',fitzpatrick_scale:!1,category:"flags"},sudan:{keywords:["sd","flag","nation","country","banner"],char:'\ud83c\uddf8\ud83c\udde9',fitzpatrick_scale:!1,category:"flags"},suriname:{keywords:["sr","flag","nation","country","banner"],char:'\ud83c\uddf8\ud83c\uddf7',fitzpatrick_scale:!1,category:"flags"},swaziland:{keywords:["sz","flag","nation","country","banner"],char:'\ud83c\uddf8\ud83c\uddff',fitzpatrick_scale:!1,category:"flags"},sweden:{keywords:["se","flag","nation","country","banner"],char:'\ud83c\uddf8\ud83c\uddea',fitzpatrick_scale:!1,category:"flags"},switzerland:{keywords:["ch","flag","nation","country","banner"],char:'\ud83c\udde8\ud83c\udded',fitzpatrick_scale:!1,category:"flags"},syria:{keywords:["syrian","arab","republic","flag","nation","country","banner"],char:'\ud83c\uddf8\ud83c\uddfe',fitzpatrick_scale:!1,category:"flags"},taiwan:{keywords:["tw","flag","nation","country","banner"],char:'\ud83c\uddf9\ud83c\uddfc',fitzpatrick_scale:!1,category:"flags"},tajikistan:{keywords:["tj","flag","nation","country","banner"],char:'\ud83c\uddf9\ud83c\uddef',fitzpatrick_scale:!1,category:"flags"},tanzania:{keywords:["tanzania,","united","republic","flag","nation","country","banner"],char:'\ud83c\uddf9\ud83c\uddff',fitzpatrick_scale:!1,category:"flags"},thailand:{keywords:["th","flag","nation","country","banner"],char:'\ud83c\uddf9\ud83c\udded',fitzpatrick_scale:!1,category:"flags"},timor_leste:{keywords:["timor","leste","flag","nation","country","banner"],char:'\ud83c\uddf9\ud83c\uddf1',fitzpatrick_scale:!1,category:"flags"},togo:{keywords:["tg","flag","nation","country","banner"],char:'\ud83c\uddf9\ud83c\uddec',fitzpatrick_scale:!1,category:"flags"},tokelau:{keywords:["tk","flag","nation","country","banner"],char:'\ud83c\uddf9\ud83c\uddf0',fitzpatrick_scale:!1,category:"flags"},tonga:{keywords:["to","flag","nation","country","banner"],char:'\ud83c\uddf9\ud83c\uddf4',fitzpatrick_scale:!1,category:"flags"},trinidad_tobago:{keywords:["trinidad","tobago","flag","nation","country","banner"],char:'\ud83c\uddf9\ud83c\uddf9',fitzpatrick_scale:!1,category:"flags"},tunisia:{keywords:["tn","flag","nation","country","banner"],char:'\ud83c\uddf9\ud83c\uddf3',fitzpatrick_scale:!1,category:"flags"},tr:{keywords:["turkey","flag","nation","country","banner"],char:'\ud83c\uddf9\ud83c\uddf7',fitzpatrick_scale:!1,category:"flags"},turkmenistan:{keywords:["flag","nation","country","banner"],char:'\ud83c\uddf9\ud83c\uddf2',fitzpatrick_scale:!1,category:"flags"},turks_caicos_islands:{keywords:["turks","caicos","islands","flag","nation","country","banner"],char:'\ud83c\uddf9\ud83c\udde8',fitzpatrick_scale:!1,category:"flags"},tuvalu:{keywords:["flag","nation","country","banner"],char:'\ud83c\uddf9\ud83c\uddfb',fitzpatrick_scale:!1,category:"flags"},uganda:{keywords:["ug","flag","nation","country","banner"],char:'\ud83c\uddfa\ud83c\uddec',fitzpatrick_scale:!1,category:"flags"},ukraine:{keywords:["ua","flag","nation","country","banner"],char:'\ud83c\uddfa\ud83c\udde6',fitzpatrick_scale:!1,category:"flags"},united_arab_emirates:{keywords:["united","arab","emirates","flag","nation","country","banner"],char:'\ud83c\udde6\ud83c\uddea',fitzpatrick_scale:!1,category:"flags"},uk:{keywords:["united","kingdom","great","britain","northern","ireland","flag","nation","country","banner","british","UK","english","england","union jack"],char:'\ud83c\uddec\ud83c\udde7',fitzpatrick_scale:!1,category:"flags"},england:{keywords:["flag","english"],char:'\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f',fitzpatrick_scale:!1,category:"flags"},scotland:{keywords:["flag","scottish"],char:'\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f',fitzpatrick_scale:!1,category:"flags"},wales:{keywords:["flag","welsh"],char:'\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc77\udb40\udc6c\udb40\udc73\udb40\udc7f',fitzpatrick_scale:!1,category:"flags"},us:{keywords:["united","states","america","flag","nation","country","banner"],char:'\ud83c\uddfa\ud83c\uddf8',fitzpatrick_scale:!1,category:"flags"},us_virgin_islands:{keywords:["virgin","islands","us","flag","nation","country","banner"],char:'\ud83c\uddfb\ud83c\uddee',fitzpatrick_scale:!1,category:"flags"},uruguay:{keywords:["uy","flag","nation","country","banner"],char:'\ud83c\uddfa\ud83c\uddfe',fitzpatrick_scale:!1,category:"flags"},uzbekistan:{keywords:["uz","flag","nation","country","banner"],char:'\ud83c\uddfa\ud83c\uddff',fitzpatrick_scale:!1,category:"flags"},vanuatu:{keywords:["vu","flag","nation","country","banner"],char:'\ud83c\uddfb\ud83c\uddfa',fitzpatrick_scale:!1,category:"flags"},vatican_city:{keywords:["vatican","city","flag","nation","country","banner"],char:'\ud83c\uddfb\ud83c\udde6',fitzpatrick_scale:!1,category:"flags"},venezuela:{keywords:["ve","bolivarian","republic","flag","nation","country","banner"],char:'\ud83c\uddfb\ud83c\uddea',fitzpatrick_scale:!1,category:"flags"},vietnam:{keywords:["viet","nam","flag","nation","country","banner"],char:'\ud83c\uddfb\ud83c\uddf3',fitzpatrick_scale:!1,category:"flags"},wallis_futuna:{keywords:["wallis","futuna","flag","nation","country","banner"],char:'\ud83c\uddfc\ud83c\uddeb',fitzpatrick_scale:!1,category:"flags"},western_sahara:{keywords:["western","sahara","flag","nation","country","banner"],char:'\ud83c\uddea\ud83c\udded',fitzpatrick_scale:!1,category:"flags"},yemen:{keywords:["ye","flag","nation","country","banner"],char:'\ud83c\uddfe\ud83c\uddea',fitzpatrick_scale:!1,category:"flags"},zambia:{keywords:["zm","flag","nation","country","banner"],char:'\ud83c\uddff\ud83c\uddf2',fitzpatrick_scale:!1,category:"flags"},zimbabwe:{keywords:["zw","flag","nation","country","banner"],char:'\ud83c\uddff\ud83c\uddfc',fitzpatrick_scale:!1,category:"flags"},united_nations:{keywords:["un","flag","banner"],char:'\ud83c\uddfa\ud83c\uddf3',fitzpatrick_scale:!1,category:"flags"},pirate_flag:{keywords:["skull","crossbones","flag","banner"],char:'\ud83c\udff4\u200d\u2620\ufe0f',fitzpatrick_scale:!1,category:"flags"}}); \ No newline at end of file diff --git a/public/static/js/tinymce5/plugins/emoticons/js/emojis.js b/public/static/js/tinymce5/plugins/emoticons/js/emojis.js new file mode 100755 index 0000000..cf7f472 --- /dev/null +++ b/public/static/js/tinymce5/plugins/emoticons/js/emojis.js @@ -0,0 +1,9423 @@ +// Source: npm package: emojilib, file:emojis.json +window.tinymce.Resource.add("tinymce.plugins.emoticons", { + grinning: { + keywords: [ "face", "smile", "happy", "joy", ":D", "grin" ], + char: "\ud83d\ude00", + fitzpatrick_scale: false, + category: "people" + }, + grimacing: { + keywords: [ "face", "grimace", "teeth" ], + char: "\ud83d\ude2c", + fitzpatrick_scale: false, + category: "people" + }, + grin: { + keywords: [ "face", "happy", "smile", "joy", "kawaii" ], + char: "\ud83d\ude01", + fitzpatrick_scale: false, + category: "people" + }, + joy: { + keywords: [ "face", "cry", "tears", "weep", "happy", "happytears", "haha" ], + char: "\ud83d\ude02", + fitzpatrick_scale: false, + category: "people" + }, + rofl: { + keywords: [ "face", "rolling", "floor", "laughing", "lol", "haha" ], + char: "\ud83e\udd23", + fitzpatrick_scale: false, + category: "people" + }, + partying: { + keywords: [ "face", "celebration", "woohoo" ], + char: "\ud83e\udd73", + fitzpatrick_scale: false, + category: "people" + }, + smiley: { + keywords: [ "face", "happy", "joy", "haha", ":D", ":)", "smile", "funny" ], + char: "\ud83d\ude03", + fitzpatrick_scale: false, + category: "people" + }, + smile: { + keywords: [ "face", "happy", "joy", "funny", "haha", "laugh", "like", ":D", ":)" ], + char: "\ud83d\ude04", + fitzpatrick_scale: false, + category: "people" + }, + sweat_smile: { + keywords: [ "face", "hot", "happy", "laugh", "sweat", "smile", "relief" ], + char: "\ud83d\ude05", + fitzpatrick_scale: false, + category: "people" + }, + laughing: { + keywords: [ "happy", "joy", "lol", "satisfied", "haha", "face", "glad", "XD", "laugh" ], + char: "\ud83d\ude06", + fitzpatrick_scale: false, + category: "people" + }, + innocent: { + keywords: [ "face", "angel", "heaven", "halo" ], + char: "\ud83d\ude07", + fitzpatrick_scale: false, + category: "people" + }, + wink: { + keywords: [ "face", "happy", "mischievous", "secret", ";)", "smile", "eye" ], + char: "\ud83d\ude09", + fitzpatrick_scale: false, + category: "people" + }, + blush: { + keywords: [ "face", "smile", "happy", "flushed", "crush", "embarrassed", "shy", "joy" ], + char: "\ud83d\ude0a", + fitzpatrick_scale: false, + category: "people" + }, + slightly_smiling_face: { + keywords: [ "face", "smile" ], + char: "\ud83d\ude42", + fitzpatrick_scale: false, + category: "people" + }, + upside_down_face: { + keywords: [ "face", "flipped", "silly", "smile" ], + char: "\ud83d\ude43", + fitzpatrick_scale: false, + category: "people" + }, + relaxed: { + keywords: [ "face", "blush", "massage", "happiness" ], + char: "\u263a\ufe0f", + fitzpatrick_scale: false, + category: "people" + }, + yum: { + keywords: [ "happy", "joy", "tongue", "smile", "face", "silly", "yummy", "nom", "delicious", "savouring" ], + char: "\ud83d\ude0b", + fitzpatrick_scale: false, + category: "people" + }, + relieved: { + keywords: [ "face", "relaxed", "phew", "massage", "happiness" ], + char: "\ud83d\ude0c", + fitzpatrick_scale: false, + category: "people" + }, + heart_eyes: { + keywords: [ "face", "love", "like", "affection", "valentines", "infatuation", "crush", "heart" ], + char: "\ud83d\ude0d", + fitzpatrick_scale: false, + category: "people" + }, + smiling_face_with_three_hearts: { + keywords: [ "face", "love", "like", "affection", "valentines", "infatuation", "crush", "hearts", "adore" ], + char: "\ud83e\udd70", + fitzpatrick_scale: false, + category: "people" + }, + kissing_heart: { + keywords: [ "face", "love", "like", "affection", "valentines", "infatuation", "kiss" ], + char: "\ud83d\ude18", + fitzpatrick_scale: false, + category: "people" + }, + kissing: { + keywords: [ "love", "like", "face", "3", "valentines", "infatuation", "kiss" ], + char: "\ud83d\ude17", + fitzpatrick_scale: false, + category: "people" + }, + kissing_smiling_eyes: { + keywords: [ "face", "affection", "valentines", "infatuation", "kiss" ], + char: "\ud83d\ude19", + fitzpatrick_scale: false, + category: "people" + }, + kissing_closed_eyes: { + keywords: [ "face", "love", "like", "affection", "valentines", "infatuation", "kiss" ], + char: "\ud83d\ude1a", + fitzpatrick_scale: false, + category: "people" + }, + stuck_out_tongue_winking_eye: { + keywords: [ "face", "prank", "childish", "playful", "mischievous", "smile", "wink", "tongue" ], + char: "\ud83d\ude1c", + fitzpatrick_scale: false, + category: "people" + }, + zany: { + keywords: [ "face", "goofy", "crazy" ], + char: "\ud83e\udd2a", + fitzpatrick_scale: false, + category: "people" + }, + raised_eyebrow: { + keywords: [ "face", "distrust", "scepticism", "disapproval", "disbelief", "surprise" ], + char: "\ud83e\udd28", + fitzpatrick_scale: false, + category: "people" + }, + monocle: { + keywords: [ "face", "stuffy", "wealthy" ], + char: "\ud83e\uddd0", + fitzpatrick_scale: false, + category: "people" + }, + stuck_out_tongue_closed_eyes: { + keywords: [ "face", "prank", "playful", "mischievous", "smile", "tongue" ], + char: "\ud83d\ude1d", + fitzpatrick_scale: false, + category: "people" + }, + stuck_out_tongue: { + keywords: [ "face", "prank", "childish", "playful", "mischievous", "smile", "tongue" ], + char: "\ud83d\ude1b", + fitzpatrick_scale: false, + category: "people" + }, + money_mouth_face: { + keywords: [ "face", "rich", "dollar", "money" ], + char: "\ud83e\udd11", + fitzpatrick_scale: false, + category: "people" + }, + nerd_face: { + keywords: [ "face", "nerdy", "geek", "dork" ], + char: "\ud83e\udd13", + fitzpatrick_scale: false, + category: "people" + }, + sunglasses: { + keywords: [ "face", "cool", "smile", "summer", "beach", "sunglass" ], + char: "\ud83d\ude0e", + fitzpatrick_scale: false, + category: "people" + }, + star_struck: { + keywords: [ "face", "smile", "starry", "eyes", "grinning" ], + char: "\ud83e\udd29", + fitzpatrick_scale: false, + category: "people" + }, + clown_face: { + keywords: [ "face" ], + char: "\ud83e\udd21", + fitzpatrick_scale: false, + category: "people" + }, + cowboy_hat_face: { + keywords: [ "face", "cowgirl", "hat" ], + char: "\ud83e\udd20", + fitzpatrick_scale: false, + category: "people" + }, + hugs: { + keywords: [ "face", "smile", "hug" ], + char: "\ud83e\udd17", + fitzpatrick_scale: false, + category: "people" + }, + smirk: { + keywords: [ "face", "smile", "mean", "prank", "smug", "sarcasm" ], + char: "\ud83d\ude0f", + fitzpatrick_scale: false, + category: "people" + }, + no_mouth: { + keywords: [ "face", "hellokitty" ], + char: "\ud83d\ude36", + fitzpatrick_scale: false, + category: "people" + }, + neutral_face: { + keywords: [ "indifference", "meh", ":|", "neutral" ], + char: "\ud83d\ude10", + fitzpatrick_scale: false, + category: "people" + }, + expressionless: { + keywords: [ "face", "indifferent", "-_-", "meh", "deadpan" ], + char: "\ud83d\ude11", + fitzpatrick_scale: false, + category: "people" + }, + unamused: { + keywords: [ "indifference", "bored", "straight face", "serious", "sarcasm", "unimpressed", "skeptical", "dubious", "side_eye" ], + char: "\ud83d\ude12", + fitzpatrick_scale: false, + category: "people" + }, + roll_eyes: { + keywords: [ "face", "eyeroll", "frustrated" ], + char: "\ud83d\ude44", + fitzpatrick_scale: false, + category: "people" + }, + thinking: { + keywords: [ "face", "hmmm", "think", "consider" ], + char: "\ud83e\udd14", + fitzpatrick_scale: false, + category: "people" + }, + lying_face: { + keywords: [ "face", "lie", "pinocchio" ], + char: "\ud83e\udd25", + fitzpatrick_scale: false, + category: "people" + }, + hand_over_mouth: { + keywords: [ "face", "whoops", "shock", "surprise" ], + char: "\ud83e\udd2d", + fitzpatrick_scale: false, + category: "people" + }, + shushing: { + keywords: [ "face", "quiet", "shhh" ], + char: "\ud83e\udd2b", + fitzpatrick_scale: false, + category: "people" + }, + symbols_over_mouth: { + keywords: [ "face", "swearing", "cursing", "cussing", "profanity", "expletive" ], + char: "\ud83e\udd2c", + fitzpatrick_scale: false, + category: "people" + }, + exploding_head: { + keywords: [ "face", "shocked", "mind", "blown" ], + char: "\ud83e\udd2f", + fitzpatrick_scale: false, + category: "people" + }, + flushed: { + keywords: [ "face", "blush", "shy", "flattered" ], + char: "\ud83d\ude33", + fitzpatrick_scale: false, + category: "people" + }, + disappointed: { + keywords: [ "face", "sad", "upset", "depressed", ":(" ], + char: "\ud83d\ude1e", + fitzpatrick_scale: false, + category: "people" + }, + worried: { + keywords: [ "face", "concern", "nervous", ":(" ], + char: "\ud83d\ude1f", + fitzpatrick_scale: false, + category: "people" + }, + angry: { + keywords: [ "mad", "face", "annoyed", "frustrated" ], + char: "\ud83d\ude20", + fitzpatrick_scale: false, + category: "people" + }, + rage: { + keywords: [ "angry", "mad", "hate", "despise" ], + char: "\ud83d\ude21", + fitzpatrick_scale: false, + category: "people" + }, + pensive: { + keywords: [ "face", "sad", "depressed", "upset" ], + char: "\ud83d\ude14", + fitzpatrick_scale: false, + category: "people" + }, + confused: { + keywords: [ "face", "indifference", "huh", "weird", "hmmm", ":/" ], + char: "\ud83d\ude15", + fitzpatrick_scale: false, + category: "people" + }, + slightly_frowning_face: { + keywords: [ "face", "frowning", "disappointed", "sad", "upset" ], + char: "\ud83d\ude41", + fitzpatrick_scale: false, + category: "people" + }, + frowning_face: { + keywords: [ "face", "sad", "upset", "frown" ], + char: "\u2639", + fitzpatrick_scale: false, + category: "people" + }, + persevere: { + keywords: [ "face", "sick", "no", "upset", "oops" ], + char: "\ud83d\ude23", + fitzpatrick_scale: false, + category: "people" + }, + confounded: { + keywords: [ "face", "confused", "sick", "unwell", "oops", ":S" ], + char: "\ud83d\ude16", + fitzpatrick_scale: false, + category: "people" + }, + tired_face: { + keywords: [ "sick", "whine", "upset", "frustrated" ], + char: "\ud83d\ude2b", + fitzpatrick_scale: false, + category: "people" + }, + weary: { + keywords: [ "face", "tired", "sleepy", "sad", "frustrated", "upset" ], + char: "\ud83d\ude29", + fitzpatrick_scale: false, + category: "people" + }, + pleading: { + keywords: [ "face", "begging", "mercy" ], + char: "\ud83e\udd7a", + fitzpatrick_scale: false, + category: "people" + }, + triumph: { + keywords: [ "face", "gas", "phew", "proud", "pride" ], + char: "\ud83d\ude24", + fitzpatrick_scale: false, + category: "people" + }, + open_mouth: { + keywords: [ "face", "surprise", "impressed", "wow", "whoa", ":O" ], + char: "\ud83d\ude2e", + fitzpatrick_scale: false, + category: "people" + }, + scream: { + keywords: [ "face", "munch", "scared", "omg" ], + char: "\ud83d\ude31", + fitzpatrick_scale: false, + category: "people" + }, + fearful: { + keywords: [ "face", "scared", "terrified", "nervous", "oops", "huh" ], + char: "\ud83d\ude28", + fitzpatrick_scale: false, + category: "people" + }, + cold_sweat: { + keywords: [ "face", "nervous", "sweat" ], + char: "\ud83d\ude30", + fitzpatrick_scale: false, + category: "people" + }, + hushed: { + keywords: [ "face", "woo", "shh" ], + char: "\ud83d\ude2f", + fitzpatrick_scale: false, + category: "people" + }, + frowning: { + keywords: [ "face", "aw", "what" ], + char: "\ud83d\ude26", + fitzpatrick_scale: false, + category: "people" + }, + anguished: { + keywords: [ "face", "stunned", "nervous" ], + char: "\ud83d\ude27", + fitzpatrick_scale: false, + category: "people" + }, + cry: { + keywords: [ "face", "tears", "sad", "depressed", "upset", ":'(" ], + char: "\ud83d\ude22", + fitzpatrick_scale: false, + category: "people" + }, + disappointed_relieved: { + keywords: [ "face", "phew", "sweat", "nervous" ], + char: "\ud83d\ude25", + fitzpatrick_scale: false, + category: "people" + }, + drooling_face: { + keywords: [ "face" ], + char: "\ud83e\udd24", + fitzpatrick_scale: false, + category: "people" + }, + sleepy: { + keywords: [ "face", "tired", "rest", "nap" ], + char: "\ud83d\ude2a", + fitzpatrick_scale: false, + category: "people" + }, + sweat: { + keywords: [ "face", "hot", "sad", "tired", "exercise" ], + char: "\ud83d\ude13", + fitzpatrick_scale: false, + category: "people" + }, + hot: { + keywords: [ "face", "feverish", "heat", "red", "sweating" ], + char: "\ud83e\udd75", + fitzpatrick_scale: false, + category: "people" + }, + cold: { + keywords: [ "face", "blue", "freezing", "frozen", "frostbite", "icicles" ], + char: "\ud83e\udd76", + fitzpatrick_scale: false, + category: "people" + }, + sob: { + keywords: [ "face", "cry", "tears", "sad", "upset", "depressed" ], + char: "\ud83d\ude2d", + fitzpatrick_scale: false, + category: "people" + }, + dizzy_face: { + keywords: [ "spent", "unconscious", "xox", "dizzy" ], + char: "\ud83d\ude35", + fitzpatrick_scale: false, + category: "people" + }, + astonished: { + keywords: [ "face", "xox", "surprised", "poisoned" ], + char: "\ud83d\ude32", + fitzpatrick_scale: false, + category: "people" + }, + zipper_mouth_face: { + keywords: [ "face", "sealed", "zipper", "secret" ], + char: "\ud83e\udd10", + fitzpatrick_scale: false, + category: "people" + }, + nauseated_face: { + keywords: [ "face", "vomit", "gross", "green", "sick", "throw up", "ill" ], + char: "\ud83e\udd22", + fitzpatrick_scale: false, + category: "people" + }, + sneezing_face: { + keywords: [ "face", "gesundheit", "sneeze", "sick", "allergy" ], + char: "\ud83e\udd27", + fitzpatrick_scale: false, + category: "people" + }, + vomiting: { + keywords: [ "face", "sick" ], + char: "\ud83e\udd2e", + fitzpatrick_scale: false, + category: "people" + }, + mask: { + keywords: [ "face", "sick", "ill", "disease" ], + char: "\ud83d\ude37", + fitzpatrick_scale: false, + category: "people" + }, + face_with_thermometer: { + keywords: [ "sick", "temperature", "thermometer", "cold", "fever" ], + char: "\ud83e\udd12", + fitzpatrick_scale: false, + category: "people" + }, + face_with_head_bandage: { + keywords: [ "injured", "clumsy", "bandage", "hurt" ], + char: "\ud83e\udd15", + fitzpatrick_scale: false, + category: "people" + }, + woozy: { + keywords: [ "face", "dizzy", "intoxicated", "tipsy", "wavy" ], + char: "\ud83e\udd74", + fitzpatrick_scale: false, + category: "people" + }, + sleeping: { + keywords: [ "face", "tired", "sleepy", "night", "zzz" ], + char: "\ud83d\ude34", + fitzpatrick_scale: false, + category: "people" + }, + zzz: { + keywords: [ "sleepy", "tired", "dream" ], + char: "\ud83d\udca4", + fitzpatrick_scale: false, + category: "people" + }, + poop: { + keywords: [ "hankey", "shitface", "fail", "turd", "shit" ], + char: "\ud83d\udca9", + fitzpatrick_scale: false, + category: "people" + }, + smiling_imp: { + keywords: [ "devil", "horns" ], + char: "\ud83d\ude08", + fitzpatrick_scale: false, + category: "people" + }, + imp: { + keywords: [ "devil", "angry", "horns" ], + char: "\ud83d\udc7f", + fitzpatrick_scale: false, + category: "people" + }, + japanese_ogre: { + keywords: [ "monster", "red", "mask", "halloween", "scary", "creepy", "devil", "demon", "japanese", "ogre" ], + char: "\ud83d\udc79", + fitzpatrick_scale: false, + category: "people" + }, + japanese_goblin: { + keywords: [ "red", "evil", "mask", "monster", "scary", "creepy", "japanese", "goblin" ], + char: "\ud83d\udc7a", + fitzpatrick_scale: false, + category: "people" + }, + skull: { + keywords: [ "dead", "skeleton", "creepy", "death" ], + char: "\ud83d\udc80", + fitzpatrick_scale: false, + category: "people" + }, + ghost: { + keywords: [ "halloween", "spooky", "scary" ], + char: "\ud83d\udc7b", + fitzpatrick_scale: false, + category: "people" + }, + alien: { + keywords: [ "UFO", "paul", "weird", "outer_space" ], + char: "\ud83d\udc7d", + fitzpatrick_scale: false, + category: "people" + }, + robot: { + keywords: [ "computer", "machine", "bot" ], + char: "\ud83e\udd16", + fitzpatrick_scale: false, + category: "people" + }, + smiley_cat: { + keywords: [ "animal", "cats", "happy", "smile" ], + char: "\ud83d\ude3a", + fitzpatrick_scale: false, + category: "people" + }, + smile_cat: { + keywords: [ "animal", "cats", "smile" ], + char: "\ud83d\ude38", + fitzpatrick_scale: false, + category: "people" + }, + joy_cat: { + keywords: [ "animal", "cats", "haha", "happy", "tears" ], + char: "\ud83d\ude39", + fitzpatrick_scale: false, + category: "people" + }, + heart_eyes_cat: { + keywords: [ "animal", "love", "like", "affection", "cats", "valentines", "heart" ], + char: "\ud83d\ude3b", + fitzpatrick_scale: false, + category: "people" + }, + smirk_cat: { + keywords: [ "animal", "cats", "smirk" ], + char: "\ud83d\ude3c", + fitzpatrick_scale: false, + category: "people" + }, + kissing_cat: { + keywords: [ "animal", "cats", "kiss" ], + char: "\ud83d\ude3d", + fitzpatrick_scale: false, + category: "people" + }, + scream_cat: { + keywords: [ "animal", "cats", "munch", "scared", "scream" ], + char: "\ud83d\ude40", + fitzpatrick_scale: false, + category: "people" + }, + crying_cat_face: { + keywords: [ "animal", "tears", "weep", "sad", "cats", "upset", "cry" ], + char: "\ud83d\ude3f", + fitzpatrick_scale: false, + category: "people" + }, + pouting_cat: { + keywords: [ "animal", "cats" ], + char: "\ud83d\ude3e", + fitzpatrick_scale: false, + category: "people" + }, + palms_up: { + keywords: [ "hands", "gesture", "cupped", "prayer" ], + char: "\ud83e\udd32", + fitzpatrick_scale: true, + category: "people" + }, + raised_hands: { + keywords: [ "gesture", "hooray", "yea", "celebration", "hands" ], + char: "\ud83d\ude4c", + fitzpatrick_scale: true, + category: "people" + }, + clap: { + keywords: [ "hands", "praise", "applause", "congrats", "yay" ], + char: "\ud83d\udc4f", + fitzpatrick_scale: true, + category: "people" + }, + wave: { + keywords: [ "hands", "gesture", "goodbye", "solong", "farewell", "hello", "hi", "palm" ], + char: "\ud83d\udc4b", + fitzpatrick_scale: true, + category: "people" + }, + call_me_hand: { + keywords: [ "hands", "gesture" ], + char: "\ud83e\udd19", + fitzpatrick_scale: true, + category: "people" + }, + "+1": { + keywords: [ "thumbsup", "yes", "awesome", "good", "agree", "accept", "cool", "hand", "like" ], + char: "\ud83d\udc4d", + fitzpatrick_scale: true, + category: "people" + }, + "-1": { + keywords: [ "thumbsdown", "no", "dislike", "hand" ], + char: "\ud83d\udc4e", + fitzpatrick_scale: true, + category: "people" + }, + facepunch: { + keywords: [ "angry", "violence", "fist", "hit", "attack", "hand" ], + char: "\ud83d\udc4a", + fitzpatrick_scale: true, + category: "people" + }, + fist: { + keywords: [ "fingers", "hand", "grasp" ], + char: "\u270a", + fitzpatrick_scale: true, + category: "people" + }, + fist_left: { + keywords: [ "hand", "fistbump" ], + char: "\ud83e\udd1b", + fitzpatrick_scale: true, + category: "people" + }, + fist_right: { + keywords: [ "hand", "fistbump" ], + char: "\ud83e\udd1c", + fitzpatrick_scale: true, + category: "people" + }, + v: { + keywords: [ "fingers", "ohyeah", "hand", "peace", "victory", "two" ], + char: "\u270c", + fitzpatrick_scale: true, + category: "people" + }, + ok_hand: { + keywords: [ "fingers", "limbs", "perfect", "ok", "okay" ], + char: "\ud83d\udc4c", + fitzpatrick_scale: true, + category: "people" + }, + raised_hand: { + keywords: [ "fingers", "stop", "highfive", "palm", "ban" ], + char: "\u270b", + fitzpatrick_scale: true, + category: "people" + }, + raised_back_of_hand: { + keywords: [ "fingers", "raised", "backhand" ], + char: "\ud83e\udd1a", + fitzpatrick_scale: true, + category: "people" + }, + open_hands: { + keywords: [ "fingers", "butterfly", "hands", "open" ], + char: "\ud83d\udc50", + fitzpatrick_scale: true, + category: "people" + }, + muscle: { + keywords: [ "arm", "flex", "hand", "summer", "strong", "biceps" ], + char: "\ud83d\udcaa", + fitzpatrick_scale: true, + category: "people" + }, + pray: { + keywords: [ "please", "hope", "wish", "namaste", "highfive" ], + char: "\ud83d\ude4f", + fitzpatrick_scale: true, + category: "people" + }, + foot: { + keywords: [ "kick", "stomp" ], + char: "\ud83e\uddb6", + fitzpatrick_scale: true, + category: "people" + }, + leg: { + keywords: [ "kick", "limb" ], + char: "\ud83e\uddb5", + fitzpatrick_scale: true, + category: "people" + }, + handshake: { + keywords: [ "agreement", "shake" ], + char: "\ud83e\udd1d", + fitzpatrick_scale: false, + category: "people" + }, + point_up: { + keywords: [ "hand", "fingers", "direction", "up" ], + char: "\u261d", + fitzpatrick_scale: true, + category: "people" + }, + point_up_2: { + keywords: [ "fingers", "hand", "direction", "up" ], + char: "\ud83d\udc46", + fitzpatrick_scale: true, + category: "people" + }, + point_down: { + keywords: [ "fingers", "hand", "direction", "down" ], + char: "\ud83d\udc47", + fitzpatrick_scale: true, + category: "people" + }, + point_left: { + keywords: [ "direction", "fingers", "hand", "left" ], + char: "\ud83d\udc48", + fitzpatrick_scale: true, + category: "people" + }, + point_right: { + keywords: [ "fingers", "hand", "direction", "right" ], + char: "\ud83d\udc49", + fitzpatrick_scale: true, + category: "people" + }, + fu: { + keywords: [ "hand", "fingers", "rude", "middle", "flipping" ], + char: "\ud83d\udd95", + fitzpatrick_scale: true, + category: "people" + }, + raised_hand_with_fingers_splayed: { + keywords: [ "hand", "fingers", "palm" ], + char: "\ud83d\udd90", + fitzpatrick_scale: true, + category: "people" + }, + love_you: { + keywords: [ "hand", "fingers", "gesture" ], + char: "\ud83e\udd1f", + fitzpatrick_scale: true, + category: "people" + }, + metal: { + keywords: [ "hand", "fingers", "evil_eye", "sign_of_horns", "rock_on" ], + char: "\ud83e\udd18", + fitzpatrick_scale: true, + category: "people" + }, + crossed_fingers: { + keywords: [ "good", "lucky" ], + char: "\ud83e\udd1e", + fitzpatrick_scale: true, + category: "people" + }, + vulcan_salute: { + keywords: [ "hand", "fingers", "spock", "star trek" ], + char: "\ud83d\udd96", + fitzpatrick_scale: true, + category: "people" + }, + writing_hand: { + keywords: [ "lower_left_ballpoint_pen", "stationery", "write", "compose" ], + char: "\u270d", + fitzpatrick_scale: true, + category: "people" + }, + selfie: { + keywords: [ "camera", "phone" ], + char: "\ud83e\udd33", + fitzpatrick_scale: true, + category: "people" + }, + nail_care: { + keywords: [ "beauty", "manicure", "finger", "fashion", "nail" ], + char: "\ud83d\udc85", + fitzpatrick_scale: true, + category: "people" + }, + lips: { + keywords: [ "mouth", "kiss" ], + char: "\ud83d\udc44", + fitzpatrick_scale: false, + category: "people" + }, + tooth: { + keywords: [ "teeth", "dentist" ], + char: "\ud83e\uddb7", + fitzpatrick_scale: false, + category: "people" + }, + tongue: { + keywords: [ "mouth", "playful" ], + char: "\ud83d\udc45", + fitzpatrick_scale: false, + category: "people" + }, + ear: { + keywords: [ "face", "hear", "sound", "listen" ], + char: "\ud83d\udc42", + fitzpatrick_scale: true, + category: "people" + }, + nose: { + keywords: [ "smell", "sniff" ], + char: "\ud83d\udc43", + fitzpatrick_scale: true, + category: "people" + }, + eye: { + keywords: [ "face", "look", "see", "watch", "stare" ], + char: "\ud83d\udc41", + fitzpatrick_scale: false, + category: "people" + }, + eyes: { + keywords: [ "look", "watch", "stalk", "peek", "see" ], + char: "\ud83d\udc40", + fitzpatrick_scale: false, + category: "people" + }, + brain: { + keywords: [ "smart", "intelligent" ], + char: "\ud83e\udde0", + fitzpatrick_scale: false, + category: "people" + }, + bust_in_silhouette: { + keywords: [ "user", "person", "human" ], + char: "\ud83d\udc64", + fitzpatrick_scale: false, + category: "people" + }, + busts_in_silhouette: { + keywords: [ "user", "person", "human", "group", "team" ], + char: "\ud83d\udc65", + fitzpatrick_scale: false, + category: "people" + }, + speaking_head: { + keywords: [ "user", "person", "human", "sing", "say", "talk" ], + char: "\ud83d\udde3", + fitzpatrick_scale: false, + category: "people" + }, + baby: { + keywords: [ "child", "boy", "girl", "toddler" ], + char: "\ud83d\udc76", + fitzpatrick_scale: true, + category: "people" + }, + child: { + keywords: [ "gender-neutral", "young" ], + char: "\ud83e\uddd2", + fitzpatrick_scale: true, + category: "people" + }, + boy: { + keywords: [ "man", "male", "guy", "teenager" ], + char: "\ud83d\udc66", + fitzpatrick_scale: true, + category: "people" + }, + girl: { + keywords: [ "female", "woman", "teenager" ], + char: "\ud83d\udc67", + fitzpatrick_scale: true, + category: "people" + }, + adult: { + keywords: [ "gender-neutral", "person" ], + char: "\ud83e\uddd1", + fitzpatrick_scale: true, + category: "people" + }, + man: { + keywords: [ "mustache", "father", "dad", "guy", "classy", "sir", "moustache" ], + char: "\ud83d\udc68", + fitzpatrick_scale: true, + category: "people" + }, + woman: { + keywords: [ "female", "girls", "lady" ], + char: "\ud83d\udc69", + fitzpatrick_scale: true, + category: "people" + }, + blonde_woman: { + keywords: [ "woman", "female", "girl", "blonde", "person" ], + char: "\ud83d\udc71\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + blonde_man: { + keywords: [ "man", "male", "boy", "blonde", "guy", "person" ], + char: "\ud83d\udc71", + fitzpatrick_scale: true, + category: "people" + }, + bearded_person: { + keywords: [ "person", "bewhiskered" ], + char: "\ud83e\uddd4", + fitzpatrick_scale: true, + category: "people" + }, + older_adult: { + keywords: [ "human", "elder", "senior", "gender-neutral" ], + char: "\ud83e\uddd3", + fitzpatrick_scale: true, + category: "people" + }, + older_man: { + keywords: [ "human", "male", "men", "old", "elder", "senior" ], + char: "\ud83d\udc74", + fitzpatrick_scale: true, + category: "people" + }, + older_woman: { + keywords: [ "human", "female", "women", "lady", "old", "elder", "senior" ], + char: "\ud83d\udc75", + fitzpatrick_scale: true, + category: "people" + }, + man_with_gua_pi_mao: { + keywords: [ "male", "boy", "chinese" ], + char: "\ud83d\udc72", + fitzpatrick_scale: true, + category: "people" + }, + woman_with_headscarf: { + keywords: [ "female", "hijab", "mantilla", "tichel" ], + char: "\ud83e\uddd5", + fitzpatrick_scale: true, + category: "people" + }, + woman_with_turban: { + keywords: [ "female", "indian", "hinduism", "arabs", "woman" ], + char: "\ud83d\udc73\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + man_with_turban: { + keywords: [ "male", "indian", "hinduism", "arabs" ], + char: "\ud83d\udc73", + fitzpatrick_scale: true, + category: "people" + }, + policewoman: { + keywords: [ "woman", "police", "law", "legal", "enforcement", "arrest", "911", "female" ], + char: "\ud83d\udc6e\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + policeman: { + keywords: [ "man", "police", "law", "legal", "enforcement", "arrest", "911" ], + char: "\ud83d\udc6e", + fitzpatrick_scale: true, + category: "people" + }, + construction_worker_woman: { + keywords: [ "female", "human", "wip", "build", "construction", "worker", "labor", "woman" ], + char: "\ud83d\udc77\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + construction_worker_man: { + keywords: [ "male", "human", "wip", "guy", "build", "construction", "worker", "labor" ], + char: "\ud83d\udc77", + fitzpatrick_scale: true, + category: "people" + }, + guardswoman: { + keywords: [ "uk", "gb", "british", "female", "royal", "woman" ], + char: "\ud83d\udc82\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + guardsman: { + keywords: [ "uk", "gb", "british", "male", "guy", "royal" ], + char: "\ud83d\udc82", + fitzpatrick_scale: true, + category: "people" + }, + female_detective: { + keywords: [ "human", "spy", "detective", "female", "woman" ], + char: "\ud83d\udd75\ufe0f\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + male_detective: { + keywords: [ "human", "spy", "detective" ], + char: "\ud83d\udd75", + fitzpatrick_scale: true, + category: "people" + }, + woman_health_worker: { + keywords: [ "doctor", "nurse", "therapist", "healthcare", "woman", "human" ], + char: "\ud83d\udc69\u200d\u2695\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + man_health_worker: { + keywords: [ "doctor", "nurse", "therapist", "healthcare", "man", "human" ], + char: "\ud83d\udc68\u200d\u2695\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + woman_farmer: { + keywords: [ "rancher", "gardener", "woman", "human" ], + char: "\ud83d\udc69\u200d\ud83c\udf3e", + fitzpatrick_scale: true, + category: "people" + }, + man_farmer: { + keywords: [ "rancher", "gardener", "man", "human" ], + char: "\ud83d\udc68\u200d\ud83c\udf3e", + fitzpatrick_scale: true, + category: "people" + }, + woman_cook: { + keywords: [ "chef", "woman", "human" ], + char: "\ud83d\udc69\u200d\ud83c\udf73", + fitzpatrick_scale: true, + category: "people" + }, + man_cook: { + keywords: [ "chef", "man", "human" ], + char: "\ud83d\udc68\u200d\ud83c\udf73", + fitzpatrick_scale: true, + category: "people" + }, + woman_student: { + keywords: [ "graduate", "woman", "human" ], + char: "\ud83d\udc69\u200d\ud83c\udf93", + fitzpatrick_scale: true, + category: "people" + }, + man_student: { + keywords: [ "graduate", "man", "human" ], + char: "\ud83d\udc68\u200d\ud83c\udf93", + fitzpatrick_scale: true, + category: "people" + }, + woman_singer: { + keywords: [ "rockstar", "entertainer", "woman", "human" ], + char: "\ud83d\udc69\u200d\ud83c\udfa4", + fitzpatrick_scale: true, + category: "people" + }, + man_singer: { + keywords: [ "rockstar", "entertainer", "man", "human" ], + char: "\ud83d\udc68\u200d\ud83c\udfa4", + fitzpatrick_scale: true, + category: "people" + }, + woman_teacher: { + keywords: [ "instructor", "professor", "woman", "human" ], + char: "\ud83d\udc69\u200d\ud83c\udfeb", + fitzpatrick_scale: true, + category: "people" + }, + man_teacher: { + keywords: [ "instructor", "professor", "man", "human" ], + char: "\ud83d\udc68\u200d\ud83c\udfeb", + fitzpatrick_scale: true, + category: "people" + }, + woman_factory_worker: { + keywords: [ "assembly", "industrial", "woman", "human" ], + char: "\ud83d\udc69\u200d\ud83c\udfed", + fitzpatrick_scale: true, + category: "people" + }, + man_factory_worker: { + keywords: [ "assembly", "industrial", "man", "human" ], + char: "\ud83d\udc68\u200d\ud83c\udfed", + fitzpatrick_scale: true, + category: "people" + }, + woman_technologist: { + keywords: [ "coder", "developer", "engineer", "programmer", "software", "woman", "human", "laptop", "computer" ], + char: "\ud83d\udc69\u200d\ud83d\udcbb", + fitzpatrick_scale: true, + category: "people" + }, + man_technologist: { + keywords: [ "coder", "developer", "engineer", "programmer", "software", "man", "human", "laptop", "computer" ], + char: "\ud83d\udc68\u200d\ud83d\udcbb", + fitzpatrick_scale: true, + category: "people" + }, + woman_office_worker: { + keywords: [ "business", "manager", "woman", "human" ], + char: "\ud83d\udc69\u200d\ud83d\udcbc", + fitzpatrick_scale: true, + category: "people" + }, + man_office_worker: { + keywords: [ "business", "manager", "man", "human" ], + char: "\ud83d\udc68\u200d\ud83d\udcbc", + fitzpatrick_scale: true, + category: "people" + }, + woman_mechanic: { + keywords: [ "plumber", "woman", "human", "wrench" ], + char: "\ud83d\udc69\u200d\ud83d\udd27", + fitzpatrick_scale: true, + category: "people" + }, + man_mechanic: { + keywords: [ "plumber", "man", "human", "wrench" ], + char: "\ud83d\udc68\u200d\ud83d\udd27", + fitzpatrick_scale: true, + category: "people" + }, + woman_scientist: { + keywords: [ "biologist", "chemist", "engineer", "physicist", "woman", "human" ], + char: "\ud83d\udc69\u200d\ud83d\udd2c", + fitzpatrick_scale: true, + category: "people" + }, + man_scientist: { + keywords: [ "biologist", "chemist", "engineer", "physicist", "man", "human" ], + char: "\ud83d\udc68\u200d\ud83d\udd2c", + fitzpatrick_scale: true, + category: "people" + }, + woman_artist: { + keywords: [ "painter", "woman", "human" ], + char: "\ud83d\udc69\u200d\ud83c\udfa8", + fitzpatrick_scale: true, + category: "people" + }, + man_artist: { + keywords: [ "painter", "man", "human" ], + char: "\ud83d\udc68\u200d\ud83c\udfa8", + fitzpatrick_scale: true, + category: "people" + }, + woman_firefighter: { + keywords: [ "fireman", "woman", "human" ], + char: "\ud83d\udc69\u200d\ud83d\ude92", + fitzpatrick_scale: true, + category: "people" + }, + man_firefighter: { + keywords: [ "fireman", "man", "human" ], + char: "\ud83d\udc68\u200d\ud83d\ude92", + fitzpatrick_scale: true, + category: "people" + }, + woman_pilot: { + keywords: [ "aviator", "plane", "woman", "human" ], + char: "\ud83d\udc69\u200d\u2708\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + man_pilot: { + keywords: [ "aviator", "plane", "man", "human" ], + char: "\ud83d\udc68\u200d\u2708\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + woman_astronaut: { + keywords: [ "space", "rocket", "woman", "human" ], + char: "\ud83d\udc69\u200d\ud83d\ude80", + fitzpatrick_scale: true, + category: "people" + }, + man_astronaut: { + keywords: [ "space", "rocket", "man", "human" ], + char: "\ud83d\udc68\u200d\ud83d\ude80", + fitzpatrick_scale: true, + category: "people" + }, + woman_judge: { + keywords: [ "justice", "court", "woman", "human" ], + char: "\ud83d\udc69\u200d\u2696\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + man_judge: { + keywords: [ "justice", "court", "man", "human" ], + char: "\ud83d\udc68\u200d\u2696\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + woman_superhero: { + keywords: [ "woman", "female", "good", "heroine", "superpowers" ], + char: "\ud83e\uddb8\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + man_superhero: { + keywords: [ "man", "male", "good", "hero", "superpowers" ], + char: "\ud83e\uddb8\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + woman_supervillain: { + keywords: [ "woman", "female", "evil", "bad", "criminal", "heroine", "superpowers" ], + char: "\ud83e\uddb9\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + man_supervillain: { + keywords: [ "man", "male", "evil", "bad", "criminal", "hero", "superpowers" ], + char: "\ud83e\uddb9\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + mrs_claus: { + keywords: [ "woman", "female", "xmas", "mother christmas" ], + char: "\ud83e\udd36", + fitzpatrick_scale: true, + category: "people" + }, + santa: { + keywords: [ "festival", "man", "male", "xmas", "father christmas" ], + char: "\ud83c\udf85", + fitzpatrick_scale: true, + category: "people" + }, + sorceress: { + keywords: [ "woman", "female", "mage", "witch" ], + char: "\ud83e\uddd9\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + wizard: { + keywords: [ "man", "male", "mage", "sorcerer" ], + char: "\ud83e\uddd9\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + woman_elf: { + keywords: [ "woman", "female" ], + char: "\ud83e\udddd\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + man_elf: { + keywords: [ "man", "male" ], + char: "\ud83e\udddd\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + woman_vampire: { + keywords: [ "woman", "female" ], + char: "\ud83e\udddb\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + man_vampire: { + keywords: [ "man", "male", "dracula" ], + char: "\ud83e\udddb\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + woman_zombie: { + keywords: [ "woman", "female", "undead", "walking dead" ], + char: "\ud83e\udddf\u200d\u2640\ufe0f", + fitzpatrick_scale: false, + category: "people" + }, + man_zombie: { + keywords: [ "man", "male", "dracula", "undead", "walking dead" ], + char: "\ud83e\udddf\u200d\u2642\ufe0f", + fitzpatrick_scale: false, + category: "people" + }, + woman_genie: { + keywords: [ "woman", "female" ], + char: "\ud83e\uddde\u200d\u2640\ufe0f", + fitzpatrick_scale: false, + category: "people" + }, + man_genie: { + keywords: [ "man", "male" ], + char: "\ud83e\uddde\u200d\u2642\ufe0f", + fitzpatrick_scale: false, + category: "people" + }, + mermaid: { + keywords: [ "woman", "female", "merwoman", "ariel" ], + char: "\ud83e\udddc\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + merman: { + keywords: [ "man", "male", "triton" ], + char: "\ud83e\udddc\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + woman_fairy: { + keywords: [ "woman", "female" ], + char: "\ud83e\uddda\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + man_fairy: { + keywords: [ "man", "male" ], + char: "\ud83e\uddda\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + angel: { + keywords: [ "heaven", "wings", "halo" ], + char: "\ud83d\udc7c", + fitzpatrick_scale: true, + category: "people" + }, + pregnant_woman: { + keywords: [ "baby" ], + char: "\ud83e\udd30", + fitzpatrick_scale: true, + category: "people" + }, + breastfeeding: { + keywords: [ "nursing", "baby" ], + char: "\ud83e\udd31", + fitzpatrick_scale: true, + category: "people" + }, + princess: { + keywords: [ "girl", "woman", "female", "blond", "crown", "royal", "queen" ], + char: "\ud83d\udc78", + fitzpatrick_scale: true, + category: "people" + }, + prince: { + keywords: [ "boy", "man", "male", "crown", "royal", "king" ], + char: "\ud83e\udd34", + fitzpatrick_scale: true, + category: "people" + }, + bride_with_veil: { + keywords: [ "couple", "marriage", "wedding", "woman", "bride" ], + char: "\ud83d\udc70", + fitzpatrick_scale: true, + category: "people" + }, + man_in_tuxedo: { + keywords: [ "couple", "marriage", "wedding", "groom" ], + char: "\ud83e\udd35", + fitzpatrick_scale: true, + category: "people" + }, + running_woman: { + keywords: [ "woman", "walking", "exercise", "race", "running", "female" ], + char: "\ud83c\udfc3\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + running_man: { + keywords: [ "man", "walking", "exercise", "race", "running" ], + char: "\ud83c\udfc3", + fitzpatrick_scale: true, + category: "people" + }, + walking_woman: { + keywords: [ "human", "feet", "steps", "woman", "female" ], + char: "\ud83d\udeb6\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + walking_man: { + keywords: [ "human", "feet", "steps" ], + char: "\ud83d\udeb6", + fitzpatrick_scale: true, + category: "people" + }, + dancer: { + keywords: [ "female", "girl", "woman", "fun" ], + char: "\ud83d\udc83", + fitzpatrick_scale: true, + category: "people" + }, + man_dancing: { + keywords: [ "male", "boy", "fun", "dancer" ], + char: "\ud83d\udd7a", + fitzpatrick_scale: true, + category: "people" + }, + dancing_women: { + keywords: [ "female", "bunny", "women", "girls" ], + char: "\ud83d\udc6f", + fitzpatrick_scale: false, + category: "people" + }, + dancing_men: { + keywords: [ "male", "bunny", "men", "boys" ], + char: "\ud83d\udc6f\u200d\u2642\ufe0f", + fitzpatrick_scale: false, + category: "people" + }, + couple: { + keywords: [ "pair", "people", "human", "love", "date", "dating", "like", "affection", "valentines", "marriage" ], + char: "\ud83d\udc6b", + fitzpatrick_scale: false, + category: "people" + }, + two_men_holding_hands: { + keywords: [ "pair", "couple", "love", "like", "bromance", "friendship", "people", "human" ], + char: "\ud83d\udc6c", + fitzpatrick_scale: false, + category: "people" + }, + two_women_holding_hands: { + keywords: [ "pair", "friendship", "couple", "love", "like", "female", "people", "human" ], + char: "\ud83d\udc6d", + fitzpatrick_scale: false, + category: "people" + }, + bowing_woman: { + keywords: [ "woman", "female", "girl" ], + char: "\ud83d\ude47\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + bowing_man: { + keywords: [ "man", "male", "boy" ], + char: "\ud83d\ude47", + fitzpatrick_scale: true, + category: "people" + }, + man_facepalming: { + keywords: [ "man", "male", "boy", "disbelief" ], + char: "\ud83e\udd26\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + woman_facepalming: { + keywords: [ "woman", "female", "girl", "disbelief" ], + char: "\ud83e\udd26\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + woman_shrugging: { + keywords: [ "woman", "female", "girl", "confused", "indifferent", "doubt" ], + char: "\ud83e\udd37", + fitzpatrick_scale: true, + category: "people" + }, + man_shrugging: { + keywords: [ "man", "male", "boy", "confused", "indifferent", "doubt" ], + char: "\ud83e\udd37\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + tipping_hand_woman: { + keywords: [ "female", "girl", "woman", "human", "information" ], + char: "\ud83d\udc81", + fitzpatrick_scale: true, + category: "people" + }, + tipping_hand_man: { + keywords: [ "male", "boy", "man", "human", "information" ], + char: "\ud83d\udc81\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + no_good_woman: { + keywords: [ "female", "girl", "woman", "nope" ], + char: "\ud83d\ude45", + fitzpatrick_scale: true, + category: "people" + }, + no_good_man: { + keywords: [ "male", "boy", "man", "nope" ], + char: "\ud83d\ude45\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + ok_woman: { + keywords: [ "women", "girl", "female", "pink", "human", "woman" ], + char: "\ud83d\ude46", + fitzpatrick_scale: true, + category: "people" + }, + ok_man: { + keywords: [ "men", "boy", "male", "blue", "human", "man" ], + char: "\ud83d\ude46\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + raising_hand_woman: { + keywords: [ "female", "girl", "woman" ], + char: "\ud83d\ude4b", + fitzpatrick_scale: true, + category: "people" + }, + raising_hand_man: { + keywords: [ "male", "boy", "man" ], + char: "\ud83d\ude4b\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + pouting_woman: { + keywords: [ "female", "girl", "woman" ], + char: "\ud83d\ude4e", + fitzpatrick_scale: true, + category: "people" + }, + pouting_man: { + keywords: [ "male", "boy", "man" ], + char: "\ud83d\ude4e\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + frowning_woman: { + keywords: [ "female", "girl", "woman", "sad", "depressed", "discouraged", "unhappy" ], + char: "\ud83d\ude4d", + fitzpatrick_scale: true, + category: "people" + }, + frowning_man: { + keywords: [ "male", "boy", "man", "sad", "depressed", "discouraged", "unhappy" ], + char: "\ud83d\ude4d\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + haircut_woman: { + keywords: [ "female", "girl", "woman" ], + char: "\ud83d\udc87", + fitzpatrick_scale: true, + category: "people" + }, + haircut_man: { + keywords: [ "male", "boy", "man" ], + char: "\ud83d\udc87\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + massage_woman: { + keywords: [ "female", "girl", "woman", "head" ], + char: "\ud83d\udc86", + fitzpatrick_scale: true, + category: "people" + }, + massage_man: { + keywords: [ "male", "boy", "man", "head" ], + char: "\ud83d\udc86\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + woman_in_steamy_room: { + keywords: [ "female", "woman", "spa", "steamroom", "sauna" ], + char: "\ud83e\uddd6\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + man_in_steamy_room: { + keywords: [ "male", "man", "spa", "steamroom", "sauna" ], + char: "\ud83e\uddd6\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "people" + }, + couple_with_heart_woman_man: { + keywords: [ "pair", "love", "like", "affection", "human", "dating", "valentines", "marriage" ], + char: "\ud83d\udc91", + fitzpatrick_scale: false, + category: "people" + }, + couple_with_heart_woman_woman: { + keywords: [ "pair", "love", "like", "affection", "human", "dating", "valentines", "marriage" ], + char: "\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc69", + fitzpatrick_scale: false, + category: "people" + }, + couple_with_heart_man_man: { + keywords: [ "pair", "love", "like", "affection", "human", "dating", "valentines", "marriage" ], + char: "\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68", + fitzpatrick_scale: false, + category: "people" + }, + couplekiss_man_woman: { + keywords: [ "pair", "valentines", "love", "like", "dating", "marriage" ], + char: "\ud83d\udc8f", + fitzpatrick_scale: false, + category: "people" + }, + couplekiss_woman_woman: { + keywords: [ "pair", "valentines", "love", "like", "dating", "marriage" ], + char: "\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69", + fitzpatrick_scale: false, + category: "people" + }, + couplekiss_man_man: { + keywords: [ "pair", "valentines", "love", "like", "dating", "marriage" ], + char: "\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68", + fitzpatrick_scale: false, + category: "people" + }, + family_man_woman_boy: { + keywords: [ "home", "parents", "child", "mom", "dad", "father", "mother", "people", "human" ], + char: "\ud83d\udc6a", + fitzpatrick_scale: false, + category: "people" + }, + family_man_woman_girl: { + keywords: [ "home", "parents", "people", "human", "child" ], + char: "\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67", + fitzpatrick_scale: false, + category: "people" + }, + family_man_woman_girl_boy: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: "\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc66", + fitzpatrick_scale: false, + category: "people" + }, + family_man_woman_boy_boy: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: "\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66", + fitzpatrick_scale: false, + category: "people" + }, + family_man_woman_girl_girl: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: "\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc67", + fitzpatrick_scale: false, + category: "people" + }, + family_woman_woman_boy: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: "\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66", + fitzpatrick_scale: false, + category: "people" + }, + family_woman_woman_girl: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: "\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67", + fitzpatrick_scale: false, + category: "people" + }, + family_woman_woman_girl_boy: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: "\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc66", + fitzpatrick_scale: false, + category: "people" + }, + family_woman_woman_boy_boy: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: "\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66", + fitzpatrick_scale: false, + category: "people" + }, + family_woman_woman_girl_girl: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: "\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc67", + fitzpatrick_scale: false, + category: "people" + }, + family_man_man_boy: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: "\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66", + fitzpatrick_scale: false, + category: "people" + }, + family_man_man_girl: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: "\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67", + fitzpatrick_scale: false, + category: "people" + }, + family_man_man_girl_boy: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: "\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d\udc66", + fitzpatrick_scale: false, + category: "people" + }, + family_man_man_boy_boy: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: "\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66", + fitzpatrick_scale: false, + category: "people" + }, + family_man_man_girl_girl: { + keywords: [ "home", "parents", "people", "human", "children" ], + char: "\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d\udc67", + fitzpatrick_scale: false, + category: "people" + }, + family_woman_boy: { + keywords: [ "home", "parent", "people", "human", "child" ], + char: "\ud83d\udc69\u200d\ud83d\udc66", + fitzpatrick_scale: false, + category: "people" + }, + family_woman_girl: { + keywords: [ "home", "parent", "people", "human", "child" ], + char: "\ud83d\udc69\u200d\ud83d\udc67", + fitzpatrick_scale: false, + category: "people" + }, + family_woman_girl_boy: { + keywords: [ "home", "parent", "people", "human", "children" ], + char: "\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc66", + fitzpatrick_scale: false, + category: "people" + }, + family_woman_boy_boy: { + keywords: [ "home", "parent", "people", "human", "children" ], + char: "\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66", + fitzpatrick_scale: false, + category: "people" + }, + family_woman_girl_girl: { + keywords: [ "home", "parent", "people", "human", "children" ], + char: "\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc67", + fitzpatrick_scale: false, + category: "people" + }, + family_man_boy: { + keywords: [ "home", "parent", "people", "human", "child" ], + char: "\ud83d\udc68\u200d\ud83d\udc66", + fitzpatrick_scale: false, + category: "people" + }, + family_man_girl: { + keywords: [ "home", "parent", "people", "human", "child" ], + char: "\ud83d\udc68\u200d\ud83d\udc67", + fitzpatrick_scale: false, + category: "people" + }, + family_man_girl_boy: { + keywords: [ "home", "parent", "people", "human", "children" ], + char: "\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d\udc66", + fitzpatrick_scale: false, + category: "people" + }, + family_man_boy_boy: { + keywords: [ "home", "parent", "people", "human", "children" ], + char: "\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66", + fitzpatrick_scale: false, + category: "people" + }, + family_man_girl_girl: { + keywords: [ "home", "parent", "people", "human", "children" ], + char: "\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d\udc67", + fitzpatrick_scale: false, + category: "people" + }, + yarn: { + keywords: [ "ball", "crochet", "knit" ], + char: "\ud83e\uddf6", + fitzpatrick_scale: false, + category: "people" + }, + thread: { + keywords: [ "needle", "sewing", "spool", "string" ], + char: "\ud83e\uddf5", + fitzpatrick_scale: false, + category: "people" + }, + coat: { + keywords: [ "jacket" ], + char: "\ud83e\udde5", + fitzpatrick_scale: false, + category: "people" + }, + labcoat: { + keywords: [ "doctor", "experiment", "scientist", "chemist" ], + char: "\ud83e\udd7c", + fitzpatrick_scale: false, + category: "people" + }, + womans_clothes: { + keywords: [ "fashion", "shopping_bags", "female" ], + char: "\ud83d\udc5a", + fitzpatrick_scale: false, + category: "people" + }, + tshirt: { + keywords: [ "fashion", "cloth", "casual", "shirt", "tee" ], + char: "\ud83d\udc55", + fitzpatrick_scale: false, + category: "people" + }, + jeans: { + keywords: [ "fashion", "shopping" ], + char: "\ud83d\udc56", + fitzpatrick_scale: false, + category: "people" + }, + necktie: { + keywords: [ "shirt", "suitup", "formal", "fashion", "cloth", "business" ], + char: "\ud83d\udc54", + fitzpatrick_scale: false, + category: "people" + }, + dress: { + keywords: [ "clothes", "fashion", "shopping" ], + char: "\ud83d\udc57", + fitzpatrick_scale: false, + category: "people" + }, + bikini: { + keywords: [ "swimming", "female", "woman", "girl", "fashion", "beach", "summer" ], + char: "\ud83d\udc59", + fitzpatrick_scale: false, + category: "people" + }, + kimono: { + keywords: [ "dress", "fashion", "women", "female", "japanese" ], + char: "\ud83d\udc58", + fitzpatrick_scale: false, + category: "people" + }, + lipstick: { + keywords: [ "female", "girl", "fashion", "woman" ], + char: "\ud83d\udc84", + fitzpatrick_scale: false, + category: "people" + }, + kiss: { + keywords: [ "face", "lips", "love", "like", "affection", "valentines" ], + char: "\ud83d\udc8b", + fitzpatrick_scale: false, + category: "people" + }, + footprints: { + keywords: [ "feet", "tracking", "walking", "beach" ], + char: "\ud83d\udc63", + fitzpatrick_scale: false, + category: "people" + }, + flat_shoe: { + keywords: [ "ballet", "slip-on", "slipper" ], + char: "\ud83e\udd7f", + fitzpatrick_scale: false, + category: "people" + }, + high_heel: { + keywords: [ "fashion", "shoes", "female", "pumps", "stiletto" ], + char: "\ud83d\udc60", + fitzpatrick_scale: false, + category: "people" + }, + sandal: { + keywords: [ "shoes", "fashion", "flip flops" ], + char: "\ud83d\udc61", + fitzpatrick_scale: false, + category: "people" + }, + boot: { + keywords: [ "shoes", "fashion" ], + char: "\ud83d\udc62", + fitzpatrick_scale: false, + category: "people" + }, + mans_shoe: { + keywords: [ "fashion", "male" ], + char: "\ud83d\udc5e", + fitzpatrick_scale: false, + category: "people" + }, + athletic_shoe: { + keywords: [ "shoes", "sports", "sneakers" ], + char: "\ud83d\udc5f", + fitzpatrick_scale: false, + category: "people" + }, + hiking_boot: { + keywords: [ "backpacking", "camping", "hiking" ], + char: "\ud83e\udd7e", + fitzpatrick_scale: false, + category: "people" + }, + socks: { + keywords: [ "stockings", "clothes" ], + char: "\ud83e\udde6", + fitzpatrick_scale: false, + category: "people" + }, + gloves: { + keywords: [ "hands", "winter", "clothes" ], + char: "\ud83e\udde4", + fitzpatrick_scale: false, + category: "people" + }, + scarf: { + keywords: [ "neck", "winter", "clothes" ], + char: "\ud83e\udde3", + fitzpatrick_scale: false, + category: "people" + }, + womans_hat: { + keywords: [ "fashion", "accessories", "female", "lady", "spring" ], + char: "\ud83d\udc52", + fitzpatrick_scale: false, + category: "people" + }, + tophat: { + keywords: [ "magic", "gentleman", "classy", "circus" ], + char: "\ud83c\udfa9", + fitzpatrick_scale: false, + category: "people" + }, + billed_hat: { + keywords: [ "cap", "baseball" ], + char: "\ud83e\udde2", + fitzpatrick_scale: false, + category: "people" + }, + rescue_worker_helmet: { + keywords: [ "construction", "build" ], + char: "\u26d1", + fitzpatrick_scale: false, + category: "people" + }, + mortar_board: { + keywords: [ "school", "college", "degree", "university", "graduation", "cap", "hat", "legal", "learn", "education" ], + char: "\ud83c\udf93", + fitzpatrick_scale: false, + category: "people" + }, + crown: { + keywords: [ "king", "kod", "leader", "royalty", "lord" ], + char: "\ud83d\udc51", + fitzpatrick_scale: false, + category: "people" + }, + school_satchel: { + keywords: [ "student", "education", "bag", "backpack" ], + char: "\ud83c\udf92", + fitzpatrick_scale: false, + category: "people" + }, + luggage: { + keywords: [ "packing", "travel" ], + char: "\ud83e\uddf3", + fitzpatrick_scale: false, + category: "people" + }, + pouch: { + keywords: [ "bag", "accessories", "shopping" ], + char: "\ud83d\udc5d", + fitzpatrick_scale: false, + category: "people" + }, + purse: { + keywords: [ "fashion", "accessories", "money", "sales", "shopping" ], + char: "\ud83d\udc5b", + fitzpatrick_scale: false, + category: "people" + }, + handbag: { + keywords: [ "fashion", "accessory", "accessories", "shopping" ], + char: "\ud83d\udc5c", + fitzpatrick_scale: false, + category: "people" + }, + briefcase: { + keywords: [ "business", "documents", "work", "law", "legal", "job", "career" ], + char: "\ud83d\udcbc", + fitzpatrick_scale: false, + category: "people" + }, + eyeglasses: { + keywords: [ "fashion", "accessories", "eyesight", "nerdy", "dork", "geek" ], + char: "\ud83d\udc53", + fitzpatrick_scale: false, + category: "people" + }, + dark_sunglasses: { + keywords: [ "face", "cool", "accessories" ], + char: "\ud83d\udd76", + fitzpatrick_scale: false, + category: "people" + }, + goggles: { + keywords: [ "eyes", "protection", "safety" ], + char: "\ud83e\udd7d", + fitzpatrick_scale: false, + category: "people" + }, + ring: { + keywords: [ "wedding", "propose", "marriage", "valentines", "diamond", "fashion", "jewelry", "gem", "engagement" ], + char: "\ud83d\udc8d", + fitzpatrick_scale: false, + category: "people" + }, + closed_umbrella: { + keywords: [ "weather", "rain", "drizzle" ], + char: "\ud83c\udf02", + fitzpatrick_scale: false, + category: "people" + }, + dog: { + keywords: [ "animal", "friend", "nature", "woof", "puppy", "pet", "faithful" ], + char: "\ud83d\udc36", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + cat: { + keywords: [ "animal", "meow", "nature", "pet", "kitten" ], + char: "\ud83d\udc31", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + mouse: { + keywords: [ "animal", "nature", "cheese_wedge", "rodent" ], + char: "\ud83d\udc2d", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + hamster: { + keywords: [ "animal", "nature" ], + char: "\ud83d\udc39", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + rabbit: { + keywords: [ "animal", "nature", "pet", "spring", "magic", "bunny" ], + char: "\ud83d\udc30", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + fox_face: { + keywords: [ "animal", "nature", "face" ], + char: "\ud83e\udd8a", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + bear: { + keywords: [ "animal", "nature", "wild" ], + char: "\ud83d\udc3b", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + panda_face: { + keywords: [ "animal", "nature", "panda" ], + char: "\ud83d\udc3c", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + koala: { + keywords: [ "animal", "nature" ], + char: "\ud83d\udc28", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + tiger: { + keywords: [ "animal", "cat", "danger", "wild", "nature", "roar" ], + char: "\ud83d\udc2f", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + lion: { + keywords: [ "animal", "nature" ], + char: "\ud83e\udd81", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + cow: { + keywords: [ "beef", "ox", "animal", "nature", "moo", "milk" ], + char: "\ud83d\udc2e", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + pig: { + keywords: [ "animal", "oink", "nature" ], + char: "\ud83d\udc37", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + pig_nose: { + keywords: [ "animal", "oink" ], + char: "\ud83d\udc3d", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + frog: { + keywords: [ "animal", "nature", "croak", "toad" ], + char: "\ud83d\udc38", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + squid: { + keywords: [ "animal", "nature", "ocean", "sea" ], + char: "\ud83e\udd91", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + octopus: { + keywords: [ "animal", "creature", "ocean", "sea", "nature", "beach" ], + char: "\ud83d\udc19", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + shrimp: { + keywords: [ "animal", "ocean", "nature", "seafood" ], + char: "\ud83e\udd90", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + monkey_face: { + keywords: [ "animal", "nature", "circus" ], + char: "\ud83d\udc35", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + gorilla: { + keywords: [ "animal", "nature", "circus" ], + char: "\ud83e\udd8d", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + see_no_evil: { + keywords: [ "monkey", "animal", "nature", "haha" ], + char: "\ud83d\ude48", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + hear_no_evil: { + keywords: [ "animal", "monkey", "nature" ], + char: "\ud83d\ude49", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + speak_no_evil: { + keywords: [ "monkey", "animal", "nature", "omg" ], + char: "\ud83d\ude4a", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + monkey: { + keywords: [ "animal", "nature", "banana", "circus" ], + char: "\ud83d\udc12", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + chicken: { + keywords: [ "animal", "cluck", "nature", "bird" ], + char: "\ud83d\udc14", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + penguin: { + keywords: [ "animal", "nature" ], + char: "\ud83d\udc27", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + bird: { + keywords: [ "animal", "nature", "fly", "tweet", "spring" ], + char: "\ud83d\udc26", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + baby_chick: { + keywords: [ "animal", "chicken", "bird" ], + char: "\ud83d\udc24", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + hatching_chick: { + keywords: [ "animal", "chicken", "egg", "born", "baby", "bird" ], + char: "\ud83d\udc23", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + hatched_chick: { + keywords: [ "animal", "chicken", "baby", "bird" ], + char: "\ud83d\udc25", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + duck: { + keywords: [ "animal", "nature", "bird", "mallard" ], + char: "\ud83e\udd86", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + eagle: { + keywords: [ "animal", "nature", "bird" ], + char: "\ud83e\udd85", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + owl: { + keywords: [ "animal", "nature", "bird", "hoot" ], + char: "\ud83e\udd89", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + bat: { + keywords: [ "animal", "nature", "blind", "vampire" ], + char: "\ud83e\udd87", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + wolf: { + keywords: [ "animal", "nature", "wild" ], + char: "\ud83d\udc3a", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + boar: { + keywords: [ "animal", "nature" ], + char: "\ud83d\udc17", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + horse: { + keywords: [ "animal", "brown", "nature" ], + char: "\ud83d\udc34", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + unicorn: { + keywords: [ "animal", "nature", "mystical" ], + char: "\ud83e\udd84", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + honeybee: { + keywords: [ "animal", "insect", "nature", "bug", "spring", "honey" ], + char: "\ud83d\udc1d", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + bug: { + keywords: [ "animal", "insect", "nature", "worm" ], + char: "\ud83d\udc1b", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + butterfly: { + keywords: [ "animal", "insect", "nature", "caterpillar" ], + char: "\ud83e\udd8b", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + snail: { + keywords: [ "slow", "animal", "shell" ], + char: "\ud83d\udc0c", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + beetle: { + keywords: [ "animal", "insect", "nature", "ladybug" ], + char: "\ud83d\udc1e", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + ant: { + keywords: [ "animal", "insect", "nature", "bug" ], + char: "\ud83d\udc1c", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + grasshopper: { + keywords: [ "animal", "cricket", "chirp" ], + char: "\ud83e\udd97", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + spider: { + keywords: [ "animal", "arachnid" ], + char: "\ud83d\udd77", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + scorpion: { + keywords: [ "animal", "arachnid" ], + char: "\ud83e\udd82", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + crab: { + keywords: [ "animal", "crustacean" ], + char: "\ud83e\udd80", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + snake: { + keywords: [ "animal", "evil", "nature", "hiss", "python" ], + char: "\ud83d\udc0d", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + lizard: { + keywords: [ "animal", "nature", "reptile" ], + char: "\ud83e\udd8e", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + "t-rex": { + keywords: [ "animal", "nature", "dinosaur", "tyrannosaurus", "extinct" ], + char: "\ud83e\udd96", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + sauropod: { + keywords: [ "animal", "nature", "dinosaur", "brachiosaurus", "brontosaurus", "diplodocus", "extinct" ], + char: "\ud83e\udd95", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + turtle: { + keywords: [ "animal", "slow", "nature", "tortoise" ], + char: "\ud83d\udc22", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + tropical_fish: { + keywords: [ "animal", "swim", "ocean", "beach", "nemo" ], + char: "\ud83d\udc20", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + fish: { + keywords: [ "animal", "food", "nature" ], + char: "\ud83d\udc1f", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + blowfish: { + keywords: [ "animal", "nature", "food", "sea", "ocean" ], + char: "\ud83d\udc21", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + dolphin: { + keywords: [ "animal", "nature", "fish", "sea", "ocean", "flipper", "fins", "beach" ], + char: "\ud83d\udc2c", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + shark: { + keywords: [ "animal", "nature", "fish", "sea", "ocean", "jaws", "fins", "beach" ], + char: "\ud83e\udd88", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + whale: { + keywords: [ "animal", "nature", "sea", "ocean" ], + char: "\ud83d\udc33", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + whale2: { + keywords: [ "animal", "nature", "sea", "ocean" ], + char: "\ud83d\udc0b", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + crocodile: { + keywords: [ "animal", "nature", "reptile", "lizard", "alligator" ], + char: "\ud83d\udc0a", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + leopard: { + keywords: [ "animal", "nature" ], + char: "\ud83d\udc06", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + zebra: { + keywords: [ "animal", "nature", "stripes", "safari" ], + char: "\ud83e\udd93", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + tiger2: { + keywords: [ "animal", "nature", "roar" ], + char: "\ud83d\udc05", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + water_buffalo: { + keywords: [ "animal", "nature", "ox", "cow" ], + char: "\ud83d\udc03", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + ox: { + keywords: [ "animal", "cow", "beef" ], + char: "\ud83d\udc02", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + cow2: { + keywords: [ "beef", "ox", "animal", "nature", "moo", "milk" ], + char: "\ud83d\udc04", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + deer: { + keywords: [ "animal", "nature", "horns", "venison" ], + char: "\ud83e\udd8c", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + dromedary_camel: { + keywords: [ "animal", "hot", "desert", "hump" ], + char: "\ud83d\udc2a", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + camel: { + keywords: [ "animal", "nature", "hot", "desert", "hump" ], + char: "\ud83d\udc2b", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + giraffe: { + keywords: [ "animal", "nature", "spots", "safari" ], + char: "\ud83e\udd92", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + elephant: { + keywords: [ "animal", "nature", "nose", "th", "circus" ], + char: "\ud83d\udc18", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + rhinoceros: { + keywords: [ "animal", "nature", "horn" ], + char: "\ud83e\udd8f", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + goat: { + keywords: [ "animal", "nature" ], + char: "\ud83d\udc10", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + ram: { + keywords: [ "animal", "sheep", "nature" ], + char: "\ud83d\udc0f", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + sheep: { + keywords: [ "animal", "nature", "wool", "shipit" ], + char: "\ud83d\udc11", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + racehorse: { + keywords: [ "animal", "gamble", "luck" ], + char: "\ud83d\udc0e", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + pig2: { + keywords: [ "animal", "nature" ], + char: "\ud83d\udc16", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + rat: { + keywords: [ "animal", "mouse", "rodent" ], + char: "\ud83d\udc00", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + mouse2: { + keywords: [ "animal", "nature", "rodent" ], + char: "\ud83d\udc01", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + rooster: { + keywords: [ "animal", "nature", "chicken" ], + char: "\ud83d\udc13", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + turkey: { + keywords: [ "animal", "bird" ], + char: "\ud83e\udd83", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + dove: { + keywords: [ "animal", "bird" ], + char: "\ud83d\udd4a", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + dog2: { + keywords: [ "animal", "nature", "friend", "doge", "pet", "faithful" ], + char: "\ud83d\udc15", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + poodle: { + keywords: [ "dog", "animal", "101", "nature", "pet" ], + char: "\ud83d\udc29", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + cat2: { + keywords: [ "animal", "meow", "pet", "cats" ], + char: "\ud83d\udc08", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + rabbit2: { + keywords: [ "animal", "nature", "pet", "magic", "spring" ], + char: "\ud83d\udc07", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + chipmunk: { + keywords: [ "animal", "nature", "rodent", "squirrel" ], + char: "\ud83d\udc3f", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + hedgehog: { + keywords: [ "animal", "nature", "spiny" ], + char: "\ud83e\udd94", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + raccoon: { + keywords: [ "animal", "nature" ], + char: "\ud83e\udd9d", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + llama: { + keywords: [ "animal", "nature", "alpaca" ], + char: "\ud83e\udd99", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + hippopotamus: { + keywords: [ "animal", "nature" ], + char: "\ud83e\udd9b", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + kangaroo: { + keywords: [ "animal", "nature", "australia", "joey", "hop", "marsupial" ], + char: "\ud83e\udd98", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + badger: { + keywords: [ "animal", "nature", "honey" ], + char: "\ud83e\udda1", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + swan: { + keywords: [ "animal", "nature", "bird" ], + char: "\ud83e\udda2", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + peacock: { + keywords: [ "animal", "nature", "peahen", "bird" ], + char: "\ud83e\udd9a", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + parrot: { + keywords: [ "animal", "nature", "bird", "pirate", "talk" ], + char: "\ud83e\udd9c", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + lobster: { + keywords: [ "animal", "nature", "bisque", "claws", "seafood" ], + char: "\ud83e\udd9e", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + mosquito: { + keywords: [ "animal", "nature", "insect", "malaria" ], + char: "\ud83e\udd9f", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + paw_prints: { + keywords: [ "animal", "tracking", "footprints", "dog", "cat", "pet", "feet" ], + char: "\ud83d\udc3e", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + dragon: { + keywords: [ "animal", "myth", "nature", "chinese", "green" ], + char: "\ud83d\udc09", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + dragon_face: { + keywords: [ "animal", "myth", "nature", "chinese", "green" ], + char: "\ud83d\udc32", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + cactus: { + keywords: [ "vegetable", "plant", "nature" ], + char: "\ud83c\udf35", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + christmas_tree: { + keywords: [ "festival", "vacation", "december", "xmas", "celebration" ], + char: "\ud83c\udf84", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + evergreen_tree: { + keywords: [ "plant", "nature" ], + char: "\ud83c\udf32", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + deciduous_tree: { + keywords: [ "plant", "nature" ], + char: "\ud83c\udf33", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + palm_tree: { + keywords: [ "plant", "vegetable", "nature", "summer", "beach", "mojito", "tropical" ], + char: "\ud83c\udf34", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + seedling: { + keywords: [ "plant", "nature", "grass", "lawn", "spring" ], + char: "\ud83c\udf31", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + herb: { + keywords: [ "vegetable", "plant", "medicine", "weed", "grass", "lawn" ], + char: "\ud83c\udf3f", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + shamrock: { + keywords: [ "vegetable", "plant", "nature", "irish", "clover" ], + char: "\u2618", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + four_leaf_clover: { + keywords: [ "vegetable", "plant", "nature", "lucky", "irish" ], + char: "\ud83c\udf40", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + bamboo: { + keywords: [ "plant", "nature", "vegetable", "panda", "pine_decoration" ], + char: "\ud83c\udf8d", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + tanabata_tree: { + keywords: [ "plant", "nature", "branch", "summer" ], + char: "\ud83c\udf8b", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + leaves: { + keywords: [ "nature", "plant", "tree", "vegetable", "grass", "lawn", "spring" ], + char: "\ud83c\udf43", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + fallen_leaf: { + keywords: [ "nature", "plant", "vegetable", "leaves" ], + char: "\ud83c\udf42", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + maple_leaf: { + keywords: [ "nature", "plant", "vegetable", "ca", "fall" ], + char: "\ud83c\udf41", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + ear_of_rice: { + keywords: [ "nature", "plant" ], + char: "\ud83c\udf3e", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + hibiscus: { + keywords: [ "plant", "vegetable", "flowers", "beach" ], + char: "\ud83c\udf3a", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + sunflower: { + keywords: [ "nature", "plant", "fall" ], + char: "\ud83c\udf3b", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + rose: { + keywords: [ "flowers", "valentines", "love", "spring" ], + char: "\ud83c\udf39", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + wilted_flower: { + keywords: [ "plant", "nature", "flower" ], + char: "\ud83e\udd40", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + tulip: { + keywords: [ "flowers", "plant", "nature", "summer", "spring" ], + char: "\ud83c\udf37", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + blossom: { + keywords: [ "nature", "flowers", "yellow" ], + char: "\ud83c\udf3c", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + cherry_blossom: { + keywords: [ "nature", "plant", "spring", "flower" ], + char: "\ud83c\udf38", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + bouquet: { + keywords: [ "flowers", "nature", "spring" ], + char: "\ud83d\udc90", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + mushroom: { + keywords: [ "plant", "vegetable" ], + char: "\ud83c\udf44", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + chestnut: { + keywords: [ "food", "squirrel" ], + char: "\ud83c\udf30", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + jack_o_lantern: { + keywords: [ "halloween", "light", "pumpkin", "creepy", "fall" ], + char: "\ud83c\udf83", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + shell: { + keywords: [ "nature", "sea", "beach" ], + char: "\ud83d\udc1a", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + spider_web: { + keywords: [ "animal", "insect", "arachnid", "silk" ], + char: "\ud83d\udd78", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + earth_americas: { + keywords: [ "globe", "world", "USA", "international" ], + char: "\ud83c\udf0e", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + earth_africa: { + keywords: [ "globe", "world", "international" ], + char: "\ud83c\udf0d", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + earth_asia: { + keywords: [ "globe", "world", "east", "international" ], + char: "\ud83c\udf0f", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + full_moon: { + keywords: [ "nature", "yellow", "twilight", "planet", "space", "night", "evening", "sleep" ], + char: "\ud83c\udf15", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + waning_gibbous_moon: { + keywords: [ "nature", "twilight", "planet", "space", "night", "evening", "sleep", "waxing_gibbous_moon" ], + char: "\ud83c\udf16", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + last_quarter_moon: { + keywords: [ "nature", "twilight", "planet", "space", "night", "evening", "sleep" ], + char: "\ud83c\udf17", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + waning_crescent_moon: { + keywords: [ "nature", "twilight", "planet", "space", "night", "evening", "sleep" ], + char: "\ud83c\udf18", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + new_moon: { + keywords: [ "nature", "twilight", "planet", "space", "night", "evening", "sleep" ], + char: "\ud83c\udf11", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + waxing_crescent_moon: { + keywords: [ "nature", "twilight", "planet", "space", "night", "evening", "sleep" ], + char: "\ud83c\udf12", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + first_quarter_moon: { + keywords: [ "nature", "twilight", "planet", "space", "night", "evening", "sleep" ], + char: "\ud83c\udf13", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + waxing_gibbous_moon: { + keywords: [ "nature", "night", "sky", "gray", "twilight", "planet", "space", "evening", "sleep" ], + char: "\ud83c\udf14", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + new_moon_with_face: { + keywords: [ "nature", "twilight", "planet", "space", "night", "evening", "sleep" ], + char: "\ud83c\udf1a", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + full_moon_with_face: { + keywords: [ "nature", "twilight", "planet", "space", "night", "evening", "sleep" ], + char: "\ud83c\udf1d", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + first_quarter_moon_with_face: { + keywords: [ "nature", "twilight", "planet", "space", "night", "evening", "sleep" ], + char: "\ud83c\udf1b", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + last_quarter_moon_with_face: { + keywords: [ "nature", "twilight", "planet", "space", "night", "evening", "sleep" ], + char: "\ud83c\udf1c", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + sun_with_face: { + keywords: [ "nature", "morning", "sky" ], + char: "\ud83c\udf1e", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + crescent_moon: { + keywords: [ "night", "sleep", "sky", "evening", "magic" ], + char: "\ud83c\udf19", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + star: { + keywords: [ "night", "yellow" ], + char: "\u2b50", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + star2: { + keywords: [ "night", "sparkle", "awesome", "good", "magic" ], + char: "\ud83c\udf1f", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + dizzy: { + keywords: [ "star", "sparkle", "shoot", "magic" ], + char: "\ud83d\udcab", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + sparkles: { + keywords: [ "stars", "shine", "shiny", "cool", "awesome", "good", "magic" ], + char: "\u2728", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + comet: { + keywords: [ "space" ], + char: "\u2604", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + sunny: { + keywords: [ "weather", "nature", "brightness", "summer", "beach", "spring" ], + char: "\u2600\ufe0f", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + sun_behind_small_cloud: { + keywords: [ "weather" ], + char: "\ud83c\udf24", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + partly_sunny: { + keywords: [ "weather", "nature", "cloudy", "morning", "fall", "spring" ], + char: "\u26c5", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + sun_behind_large_cloud: { + keywords: [ "weather" ], + char: "\ud83c\udf25", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + sun_behind_rain_cloud: { + keywords: [ "weather" ], + char: "\ud83c\udf26", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + cloud: { + keywords: [ "weather", "sky" ], + char: "\u2601\ufe0f", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + cloud_with_rain: { + keywords: [ "weather" ], + char: "\ud83c\udf27", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + cloud_with_lightning_and_rain: { + keywords: [ "weather", "lightning" ], + char: "\u26c8", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + cloud_with_lightning: { + keywords: [ "weather", "thunder" ], + char: "\ud83c\udf29", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + zap: { + keywords: [ "thunder", "weather", "lightning bolt", "fast" ], + char: "\u26a1", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + fire: { + keywords: [ "hot", "cook", "flame" ], + char: "\ud83d\udd25", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + boom: { + keywords: [ "bomb", "explode", "explosion", "collision", "blown" ], + char: "\ud83d\udca5", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + snowflake: { + keywords: [ "winter", "season", "cold", "weather", "christmas", "xmas" ], + char: "\u2744\ufe0f", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + cloud_with_snow: { + keywords: [ "weather" ], + char: "\ud83c\udf28", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + snowman: { + keywords: [ "winter", "season", "cold", "weather", "christmas", "xmas", "frozen", "without_snow" ], + char: "\u26c4", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + snowman_with_snow: { + keywords: [ "winter", "season", "cold", "weather", "christmas", "xmas", "frozen" ], + char: "\u2603", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + wind_face: { + keywords: [ "gust", "air" ], + char: "\ud83c\udf2c", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + dash: { + keywords: [ "wind", "air", "fast", "shoo", "fart", "smoke", "puff" ], + char: "\ud83d\udca8", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + tornado: { + keywords: [ "weather", "cyclone", "twister" ], + char: "\ud83c\udf2a", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + fog: { + keywords: [ "weather" ], + char: "\ud83c\udf2b", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + open_umbrella: { + keywords: [ "weather", "spring" ], + char: "\u2602", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + umbrella: { + keywords: [ "rainy", "weather", "spring" ], + char: "\u2614", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + droplet: { + keywords: [ "water", "drip", "faucet", "spring" ], + char: "\ud83d\udca7", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + sweat_drops: { + keywords: [ "water", "drip", "oops" ], + char: "\ud83d\udca6", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + ocean: { + keywords: [ "sea", "water", "wave", "nature", "tsunami", "disaster" ], + char: "\ud83c\udf0a", + fitzpatrick_scale: false, + category: "animals_and_nature" + }, + green_apple: { + keywords: [ "fruit", "nature" ], + char: "\ud83c\udf4f", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + apple: { + keywords: [ "fruit", "mac", "school" ], + char: "\ud83c\udf4e", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + pear: { + keywords: [ "fruit", "nature", "food" ], + char: "\ud83c\udf50", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + tangerine: { + keywords: [ "food", "fruit", "nature", "orange" ], + char: "\ud83c\udf4a", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + lemon: { + keywords: [ "fruit", "nature" ], + char: "\ud83c\udf4b", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + banana: { + keywords: [ "fruit", "food", "monkey" ], + char: "\ud83c\udf4c", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + watermelon: { + keywords: [ "fruit", "food", "picnic", "summer" ], + char: "\ud83c\udf49", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + grapes: { + keywords: [ "fruit", "food", "wine" ], + char: "\ud83c\udf47", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + strawberry: { + keywords: [ "fruit", "food", "nature" ], + char: "\ud83c\udf53", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + melon: { + keywords: [ "fruit", "nature", "food" ], + char: "\ud83c\udf48", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + cherries: { + keywords: [ "food", "fruit" ], + char: "\ud83c\udf52", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + peach: { + keywords: [ "fruit", "nature", "food" ], + char: "\ud83c\udf51", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + pineapple: { + keywords: [ "fruit", "nature", "food" ], + char: "\ud83c\udf4d", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + coconut: { + keywords: [ "fruit", "nature", "food", "palm" ], + char: "\ud83e\udd65", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + kiwi_fruit: { + keywords: [ "fruit", "food" ], + char: "\ud83e\udd5d", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + mango: { + keywords: [ "fruit", "food", "tropical" ], + char: "\ud83e\udd6d", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + avocado: { + keywords: [ "fruit", "food" ], + char: "\ud83e\udd51", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + broccoli: { + keywords: [ "fruit", "food", "vegetable" ], + char: "\ud83e\udd66", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + tomato: { + keywords: [ "fruit", "vegetable", "nature", "food" ], + char: "\ud83c\udf45", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + eggplant: { + keywords: [ "vegetable", "nature", "food", "aubergine" ], + char: "\ud83c\udf46", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + cucumber: { + keywords: [ "fruit", "food", "pickle" ], + char: "\ud83e\udd52", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + carrot: { + keywords: [ "vegetable", "food", "orange" ], + char: "\ud83e\udd55", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + hot_pepper: { + keywords: [ "food", "spicy", "chilli", "chili" ], + char: "\ud83c\udf36", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + potato: { + keywords: [ "food", "tuber", "vegatable", "starch" ], + char: "\ud83e\udd54", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + corn: { + keywords: [ "food", "vegetable", "plant" ], + char: "\ud83c\udf3d", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + leafy_greens: { + keywords: [ "food", "vegetable", "plant", "bok choy", "cabbage", "kale", "lettuce" ], + char: "\ud83e\udd6c", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + sweet_potato: { + keywords: [ "food", "nature" ], + char: "\ud83c\udf60", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + peanuts: { + keywords: [ "food", "nut" ], + char: "\ud83e\udd5c", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + honey_pot: { + keywords: [ "bees", "sweet", "kitchen" ], + char: "\ud83c\udf6f", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + croissant: { + keywords: [ "food", "bread", "french" ], + char: "\ud83e\udd50", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + bread: { + keywords: [ "food", "wheat", "breakfast", "toast" ], + char: "\ud83c\udf5e", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + baguette_bread: { + keywords: [ "food", "bread", "french" ], + char: "\ud83e\udd56", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + bagel: { + keywords: [ "food", "bread", "bakery", "schmear" ], + char: "\ud83e\udd6f", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + pretzel: { + keywords: [ "food", "bread", "twisted" ], + char: "\ud83e\udd68", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + cheese: { + keywords: [ "food", "chadder" ], + char: "\ud83e\uddc0", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + egg: { + keywords: [ "food", "chicken", "breakfast" ], + char: "\ud83e\udd5a", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + bacon: { + keywords: [ "food", "breakfast", "pork", "pig", "meat" ], + char: "\ud83e\udd53", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + steak: { + keywords: [ "food", "cow", "meat", "cut", "chop", "lambchop", "porkchop" ], + char: "\ud83e\udd69", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + pancakes: { + keywords: [ "food", "breakfast", "flapjacks", "hotcakes" ], + char: "\ud83e\udd5e", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + poultry_leg: { + keywords: [ "food", "meat", "drumstick", "bird", "chicken", "turkey" ], + char: "\ud83c\udf57", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + meat_on_bone: { + keywords: [ "good", "food", "drumstick" ], + char: "\ud83c\udf56", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + bone: { + keywords: [ "skeleton" ], + char: "\ud83e\uddb4", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + fried_shrimp: { + keywords: [ "food", "animal", "appetizer", "summer" ], + char: "\ud83c\udf64", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + fried_egg: { + keywords: [ "food", "breakfast", "kitchen", "egg" ], + char: "\ud83c\udf73", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + hamburger: { + keywords: [ "meat", "fast food", "beef", "cheeseburger", "mcdonalds", "burger king" ], + char: "\ud83c\udf54", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + fries: { + keywords: [ "chips", "snack", "fast food" ], + char: "\ud83c\udf5f", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + stuffed_flatbread: { + keywords: [ "food", "flatbread", "stuffed", "gyro" ], + char: "\ud83e\udd59", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + hotdog: { + keywords: [ "food", "frankfurter" ], + char: "\ud83c\udf2d", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + pizza: { + keywords: [ "food", "party" ], + char: "\ud83c\udf55", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + sandwich: { + keywords: [ "food", "lunch", "bread" ], + char: "\ud83e\udd6a", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + canned_food: { + keywords: [ "food", "soup" ], + char: "\ud83e\udd6b", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + spaghetti: { + keywords: [ "food", "italian", "noodle" ], + char: "\ud83c\udf5d", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + taco: { + keywords: [ "food", "mexican" ], + char: "\ud83c\udf2e", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + burrito: { + keywords: [ "food", "mexican" ], + char: "\ud83c\udf2f", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + green_salad: { + keywords: [ "food", "healthy", "lettuce" ], + char: "\ud83e\udd57", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + shallow_pan_of_food: { + keywords: [ "food", "cooking", "casserole", "paella" ], + char: "\ud83e\udd58", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + ramen: { + keywords: [ "food", "japanese", "noodle", "chopsticks" ], + char: "\ud83c\udf5c", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + stew: { + keywords: [ "food", "meat", "soup" ], + char: "\ud83c\udf72", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + fish_cake: { + keywords: [ "food", "japan", "sea", "beach", "narutomaki", "pink", "swirl", "kamaboko", "surimi", "ramen" ], + char: "\ud83c\udf65", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + fortune_cookie: { + keywords: [ "food", "prophecy" ], + char: "\ud83e\udd60", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + sushi: { + keywords: [ "food", "fish", "japanese", "rice" ], + char: "\ud83c\udf63", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + bento: { + keywords: [ "food", "japanese", "box" ], + char: "\ud83c\udf71", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + curry: { + keywords: [ "food", "spicy", "hot", "indian" ], + char: "\ud83c\udf5b", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + rice_ball: { + keywords: [ "food", "japanese" ], + char: "\ud83c\udf59", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + rice: { + keywords: [ "food", "china", "asian" ], + char: "\ud83c\udf5a", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + rice_cracker: { + keywords: [ "food", "japanese" ], + char: "\ud83c\udf58", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + oden: { + keywords: [ "food", "japanese" ], + char: "\ud83c\udf62", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + dango: { + keywords: [ "food", "dessert", "sweet", "japanese", "barbecue", "meat" ], + char: "\ud83c\udf61", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + shaved_ice: { + keywords: [ "hot", "dessert", "summer" ], + char: "\ud83c\udf67", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + ice_cream: { + keywords: [ "food", "hot", "dessert" ], + char: "\ud83c\udf68", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + icecream: { + keywords: [ "food", "hot", "dessert", "summer" ], + char: "\ud83c\udf66", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + pie: { + keywords: [ "food", "dessert", "pastry" ], + char: "\ud83e\udd67", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + cake: { + keywords: [ "food", "dessert" ], + char: "\ud83c\udf70", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + cupcake: { + keywords: [ "food", "dessert", "bakery", "sweet" ], + char: "\ud83e\uddc1", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + moon_cake: { + keywords: [ "food", "autumn" ], + char: "\ud83e\udd6e", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + birthday: { + keywords: [ "food", "dessert", "cake" ], + char: "\ud83c\udf82", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + custard: { + keywords: [ "dessert", "food" ], + char: "\ud83c\udf6e", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + candy: { + keywords: [ "snack", "dessert", "sweet", "lolly" ], + char: "\ud83c\udf6c", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + lollipop: { + keywords: [ "food", "snack", "candy", "sweet" ], + char: "\ud83c\udf6d", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + chocolate_bar: { + keywords: [ "food", "snack", "dessert", "sweet" ], + char: "\ud83c\udf6b", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + popcorn: { + keywords: [ "food", "movie theater", "films", "snack" ], + char: "\ud83c\udf7f", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + dumpling: { + keywords: [ "food", "empanada", "pierogi", "potsticker" ], + char: "\ud83e\udd5f", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + doughnut: { + keywords: [ "food", "dessert", "snack", "sweet", "donut" ], + char: "\ud83c\udf69", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + cookie: { + keywords: [ "food", "snack", "oreo", "chocolate", "sweet", "dessert" ], + char: "\ud83c\udf6a", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + milk_glass: { + keywords: [ "beverage", "drink", "cow" ], + char: "\ud83e\udd5b", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + beer: { + keywords: [ "relax", "beverage", "drink", "drunk", "party", "pub", "summer", "alcohol", "booze" ], + char: "\ud83c\udf7a", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + beers: { + keywords: [ "relax", "beverage", "drink", "drunk", "party", "pub", "summer", "alcohol", "booze" ], + char: "\ud83c\udf7b", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + clinking_glasses: { + keywords: [ "beverage", "drink", "party", "alcohol", "celebrate", "cheers", "wine", "champagne", "toast" ], + char: "\ud83e\udd42", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + wine_glass: { + keywords: [ "drink", "beverage", "drunk", "alcohol", "booze" ], + char: "\ud83c\udf77", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + tumbler_glass: { + keywords: [ "drink", "beverage", "drunk", "alcohol", "liquor", "booze", "bourbon", "scotch", "whisky", "glass", "shot" ], + char: "\ud83e\udd43", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + cocktail: { + keywords: [ "drink", "drunk", "alcohol", "beverage", "booze", "mojito" ], + char: "\ud83c\udf78", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + tropical_drink: { + keywords: [ "beverage", "cocktail", "summer", "beach", "alcohol", "booze", "mojito" ], + char: "\ud83c\udf79", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + champagne: { + keywords: [ "drink", "wine", "bottle", "celebration" ], + char: "\ud83c\udf7e", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + sake: { + keywords: [ "wine", "drink", "drunk", "beverage", "japanese", "alcohol", "booze" ], + char: "\ud83c\udf76", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + tea: { + keywords: [ "drink", "bowl", "breakfast", "green", "british" ], + char: "\ud83c\udf75", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + cup_with_straw: { + keywords: [ "drink", "soda" ], + char: "\ud83e\udd64", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + coffee: { + keywords: [ "beverage", "caffeine", "latte", "espresso" ], + char: "\u2615", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + baby_bottle: { + keywords: [ "food", "container", "milk" ], + char: "\ud83c\udf7c", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + salt: { + keywords: [ "condiment", "shaker" ], + char: "\ud83e\uddc2", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + spoon: { + keywords: [ "cutlery", "kitchen", "tableware" ], + char: "\ud83e\udd44", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + fork_and_knife: { + keywords: [ "cutlery", "kitchen" ], + char: "\ud83c\udf74", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + plate_with_cutlery: { + keywords: [ "food", "eat", "meal", "lunch", "dinner", "restaurant" ], + char: "\ud83c\udf7d", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + bowl_with_spoon: { + keywords: [ "food", "breakfast", "cereal", "oatmeal", "porridge" ], + char: "\ud83e\udd63", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + takeout_box: { + keywords: [ "food", "leftovers" ], + char: "\ud83e\udd61", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + chopsticks: { + keywords: [ "food" ], + char: "\ud83e\udd62", + fitzpatrick_scale: false, + category: "food_and_drink" + }, + soccer: { + keywords: [ "sports", "football" ], + char: "\u26bd", + fitzpatrick_scale: false, + category: "activity" + }, + basketball: { + keywords: [ "sports", "balls", "NBA" ], + char: "\ud83c\udfc0", + fitzpatrick_scale: false, + category: "activity" + }, + football: { + keywords: [ "sports", "balls", "NFL" ], + char: "\ud83c\udfc8", + fitzpatrick_scale: false, + category: "activity" + }, + baseball: { + keywords: [ "sports", "balls" ], + char: "\u26be", + fitzpatrick_scale: false, + category: "activity" + }, + softball: { + keywords: [ "sports", "balls" ], + char: "\ud83e\udd4e", + fitzpatrick_scale: false, + category: "activity" + }, + tennis: { + keywords: [ "sports", "balls", "green" ], + char: "\ud83c\udfbe", + fitzpatrick_scale: false, + category: "activity" + }, + volleyball: { + keywords: [ "sports", "balls" ], + char: "\ud83c\udfd0", + fitzpatrick_scale: false, + category: "activity" + }, + rugby_football: { + keywords: [ "sports", "team" ], + char: "\ud83c\udfc9", + fitzpatrick_scale: false, + category: "activity" + }, + flying_disc: { + keywords: [ "sports", "frisbee", "ultimate" ], + char: "\ud83e\udd4f", + fitzpatrick_scale: false, + category: "activity" + }, + "8ball": { + keywords: [ "pool", "hobby", "game", "luck", "magic" ], + char: "\ud83c\udfb1", + fitzpatrick_scale: false, + category: "activity" + }, + golf: { + keywords: [ "sports", "business", "flag", "hole", "summer" ], + char: "\u26f3", + fitzpatrick_scale: false, + category: "activity" + }, + golfing_woman: { + keywords: [ "sports", "business", "woman", "female" ], + char: "\ud83c\udfcc\ufe0f\u200d\u2640\ufe0f", + fitzpatrick_scale: false, + category: "activity" + }, + golfing_man: { + keywords: [ "sports", "business" ], + char: "\ud83c\udfcc", + fitzpatrick_scale: true, + category: "activity" + }, + ping_pong: { + keywords: [ "sports", "pingpong" ], + char: "\ud83c\udfd3", + fitzpatrick_scale: false, + category: "activity" + }, + badminton: { + keywords: [ "sports" ], + char: "\ud83c\udff8", + fitzpatrick_scale: false, + category: "activity" + }, + goal_net: { + keywords: [ "sports" ], + char: "\ud83e\udd45", + fitzpatrick_scale: false, + category: "activity" + }, + ice_hockey: { + keywords: [ "sports" ], + char: "\ud83c\udfd2", + fitzpatrick_scale: false, + category: "activity" + }, + field_hockey: { + keywords: [ "sports" ], + char: "\ud83c\udfd1", + fitzpatrick_scale: false, + category: "activity" + }, + lacrosse: { + keywords: [ "sports", "ball", "stick" ], + char: "\ud83e\udd4d", + fitzpatrick_scale: false, + category: "activity" + }, + cricket: { + keywords: [ "sports" ], + char: "\ud83c\udfcf", + fitzpatrick_scale: false, + category: "activity" + }, + ski: { + keywords: [ "sports", "winter", "cold", "snow" ], + char: "\ud83c\udfbf", + fitzpatrick_scale: false, + category: "activity" + }, + skier: { + keywords: [ "sports", "winter", "snow" ], + char: "\u26f7", + fitzpatrick_scale: false, + category: "activity" + }, + snowboarder: { + keywords: [ "sports", "winter" ], + char: "\ud83c\udfc2", + fitzpatrick_scale: true, + category: "activity" + }, + person_fencing: { + keywords: [ "sports", "fencing", "sword" ], + char: "\ud83e\udd3a", + fitzpatrick_scale: false, + category: "activity" + }, + women_wrestling: { + keywords: [ "sports", "wrestlers" ], + char: "\ud83e\udd3c\u200d\u2640\ufe0f", + fitzpatrick_scale: false, + category: "activity" + }, + men_wrestling: { + keywords: [ "sports", "wrestlers" ], + char: "\ud83e\udd3c\u200d\u2642\ufe0f", + fitzpatrick_scale: false, + category: "activity" + }, + woman_cartwheeling: { + keywords: [ "gymnastics" ], + char: "\ud83e\udd38\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "activity" + }, + man_cartwheeling: { + keywords: [ "gymnastics" ], + char: "\ud83e\udd38\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "activity" + }, + woman_playing_handball: { + keywords: [ "sports" ], + char: "\ud83e\udd3e\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "activity" + }, + man_playing_handball: { + keywords: [ "sports" ], + char: "\ud83e\udd3e\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "activity" + }, + ice_skate: { + keywords: [ "sports" ], + char: "\u26f8", + fitzpatrick_scale: false, + category: "activity" + }, + curling_stone: { + keywords: [ "sports" ], + char: "\ud83e\udd4c", + fitzpatrick_scale: false, + category: "activity" + }, + skateboard: { + keywords: [ "board" ], + char: "\ud83d\udef9", + fitzpatrick_scale: false, + category: "activity" + }, + sled: { + keywords: [ "sleigh", "luge", "toboggan" ], + char: "\ud83d\udef7", + fitzpatrick_scale: false, + category: "activity" + }, + bow_and_arrow: { + keywords: [ "sports" ], + char: "\ud83c\udff9", + fitzpatrick_scale: false, + category: "activity" + }, + fishing_pole_and_fish: { + keywords: [ "food", "hobby", "summer" ], + char: "\ud83c\udfa3", + fitzpatrick_scale: false, + category: "activity" + }, + boxing_glove: { + keywords: [ "sports", "fighting" ], + char: "\ud83e\udd4a", + fitzpatrick_scale: false, + category: "activity" + }, + martial_arts_uniform: { + keywords: [ "judo", "karate", "taekwondo" ], + char: "\ud83e\udd4b", + fitzpatrick_scale: false, + category: "activity" + }, + rowing_woman: { + keywords: [ "sports", "hobby", "water", "ship", "woman", "female" ], + char: "\ud83d\udea3\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "activity" + }, + rowing_man: { + keywords: [ "sports", "hobby", "water", "ship" ], + char: "\ud83d\udea3", + fitzpatrick_scale: true, + category: "activity" + }, + climbing_woman: { + keywords: [ "sports", "hobby", "woman", "female", "rock" ], + char: "\ud83e\uddd7\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "activity" + }, + climbing_man: { + keywords: [ "sports", "hobby", "man", "male", "rock" ], + char: "\ud83e\uddd7\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "activity" + }, + swimming_woman: { + keywords: [ "sports", "exercise", "human", "athlete", "water", "summer", "woman", "female" ], + char: "\ud83c\udfca\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "activity" + }, + swimming_man: { + keywords: [ "sports", "exercise", "human", "athlete", "water", "summer" ], + char: "\ud83c\udfca", + fitzpatrick_scale: true, + category: "activity" + }, + woman_playing_water_polo: { + keywords: [ "sports", "pool" ], + char: "\ud83e\udd3d\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "activity" + }, + man_playing_water_polo: { + keywords: [ "sports", "pool" ], + char: "\ud83e\udd3d\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "activity" + }, + woman_in_lotus_position: { + keywords: [ "woman", "female", "meditation", "yoga", "serenity", "zen", "mindfulness" ], + char: "\ud83e\uddd8\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "activity" + }, + man_in_lotus_position: { + keywords: [ "man", "male", "meditation", "yoga", "serenity", "zen", "mindfulness" ], + char: "\ud83e\uddd8\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "activity" + }, + surfing_woman: { + keywords: [ "sports", "ocean", "sea", "summer", "beach", "woman", "female" ], + char: "\ud83c\udfc4\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "activity" + }, + surfing_man: { + keywords: [ "sports", "ocean", "sea", "summer", "beach" ], + char: "\ud83c\udfc4", + fitzpatrick_scale: true, + category: "activity" + }, + bath: { + keywords: [ "clean", "shower", "bathroom" ], + char: "\ud83d\udec0", + fitzpatrick_scale: true, + category: "activity" + }, + basketball_woman: { + keywords: [ "sports", "human", "woman", "female" ], + char: "\u26f9\ufe0f\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "activity" + }, + basketball_man: { + keywords: [ "sports", "human" ], + char: "\u26f9", + fitzpatrick_scale: true, + category: "activity" + }, + weight_lifting_woman: { + keywords: [ "sports", "training", "exercise", "woman", "female" ], + char: "\ud83c\udfcb\ufe0f\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "activity" + }, + weight_lifting_man: { + keywords: [ "sports", "training", "exercise" ], + char: "\ud83c\udfcb", + fitzpatrick_scale: true, + category: "activity" + }, + biking_woman: { + keywords: [ "sports", "bike", "exercise", "hipster", "woman", "female" ], + char: "\ud83d\udeb4\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "activity" + }, + biking_man: { + keywords: [ "sports", "bike", "exercise", "hipster" ], + char: "\ud83d\udeb4", + fitzpatrick_scale: true, + category: "activity" + }, + mountain_biking_woman: { + keywords: [ "transportation", "sports", "human", "race", "bike", "woman", "female" ], + char: "\ud83d\udeb5\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "activity" + }, + mountain_biking_man: { + keywords: [ "transportation", "sports", "human", "race", "bike" ], + char: "\ud83d\udeb5", + fitzpatrick_scale: true, + category: "activity" + }, + horse_racing: { + keywords: [ "animal", "betting", "competition", "gambling", "luck" ], + char: "\ud83c\udfc7", + fitzpatrick_scale: true, + category: "activity" + }, + business_suit_levitating: { + keywords: [ "suit", "business", "levitate", "hover", "jump" ], + char: "\ud83d\udd74", + fitzpatrick_scale: true, + category: "activity" + }, + trophy: { + keywords: [ "win", "award", "contest", "place", "ftw", "ceremony" ], + char: "\ud83c\udfc6", + fitzpatrick_scale: false, + category: "activity" + }, + running_shirt_with_sash: { + keywords: [ "play", "pageant" ], + char: "\ud83c\udfbd", + fitzpatrick_scale: false, + category: "activity" + }, + medal_sports: { + keywords: [ "award", "winning" ], + char: "\ud83c\udfc5", + fitzpatrick_scale: false, + category: "activity" + }, + medal_military: { + keywords: [ "award", "winning", "army" ], + char: "\ud83c\udf96", + fitzpatrick_scale: false, + category: "activity" + }, + "1st_place_medal": { + keywords: [ "award", "winning", "first" ], + char: "\ud83e\udd47", + fitzpatrick_scale: false, + category: "activity" + }, + "2nd_place_medal": { + keywords: [ "award", "second" ], + char: "\ud83e\udd48", + fitzpatrick_scale: false, + category: "activity" + }, + "3rd_place_medal": { + keywords: [ "award", "third" ], + char: "\ud83e\udd49", + fitzpatrick_scale: false, + category: "activity" + }, + reminder_ribbon: { + keywords: [ "sports", "cause", "support", "awareness" ], + char: "\ud83c\udf97", + fitzpatrick_scale: false, + category: "activity" + }, + rosette: { + keywords: [ "flower", "decoration", "military" ], + char: "\ud83c\udff5", + fitzpatrick_scale: false, + category: "activity" + }, + ticket: { + keywords: [ "event", "concert", "pass" ], + char: "\ud83c\udfab", + fitzpatrick_scale: false, + category: "activity" + }, + tickets: { + keywords: [ "sports", "concert", "entrance" ], + char: "\ud83c\udf9f", + fitzpatrick_scale: false, + category: "activity" + }, + performing_arts: { + keywords: [ "acting", "theater", "drama" ], + char: "\ud83c\udfad", + fitzpatrick_scale: false, + category: "activity" + }, + art: { + keywords: [ "design", "paint", "draw", "colors" ], + char: "\ud83c\udfa8", + fitzpatrick_scale: false, + category: "activity" + }, + circus_tent: { + keywords: [ "festival", "carnival", "party" ], + char: "\ud83c\udfaa", + fitzpatrick_scale: false, + category: "activity" + }, + woman_juggling: { + keywords: [ "juggle", "balance", "skill", "multitask" ], + char: "\ud83e\udd39\u200d\u2640\ufe0f", + fitzpatrick_scale: true, + category: "activity" + }, + man_juggling: { + keywords: [ "juggle", "balance", "skill", "multitask" ], + char: "\ud83e\udd39\u200d\u2642\ufe0f", + fitzpatrick_scale: true, + category: "activity" + }, + microphone: { + keywords: [ "sound", "music", "PA", "sing", "talkshow" ], + char: "\ud83c\udfa4", + fitzpatrick_scale: false, + category: "activity" + }, + headphones: { + keywords: [ "music", "score", "gadgets" ], + char: "\ud83c\udfa7", + fitzpatrick_scale: false, + category: "activity" + }, + musical_score: { + keywords: [ "treble", "clef", "compose" ], + char: "\ud83c\udfbc", + fitzpatrick_scale: false, + category: "activity" + }, + musical_keyboard: { + keywords: [ "piano", "instrument", "compose" ], + char: "\ud83c\udfb9", + fitzpatrick_scale: false, + category: "activity" + }, + drum: { + keywords: [ "music", "instrument", "drumsticks", "snare" ], + char: "\ud83e\udd41", + fitzpatrick_scale: false, + category: "activity" + }, + saxophone: { + keywords: [ "music", "instrument", "jazz", "blues" ], + char: "\ud83c\udfb7", + fitzpatrick_scale: false, + category: "activity" + }, + trumpet: { + keywords: [ "music", "brass" ], + char: "\ud83c\udfba", + fitzpatrick_scale: false, + category: "activity" + }, + guitar: { + keywords: [ "music", "instrument" ], + char: "\ud83c\udfb8", + fitzpatrick_scale: false, + category: "activity" + }, + violin: { + keywords: [ "music", "instrument", "orchestra", "symphony" ], + char: "\ud83c\udfbb", + fitzpatrick_scale: false, + category: "activity" + }, + clapper: { + keywords: [ "movie", "film", "record" ], + char: "\ud83c\udfac", + fitzpatrick_scale: false, + category: "activity" + }, + video_game: { + keywords: [ "play", "console", "PS4", "controller" ], + char: "\ud83c\udfae", + fitzpatrick_scale: false, + category: "activity" + }, + space_invader: { + keywords: [ "game", "arcade", "play" ], + char: "\ud83d\udc7e", + fitzpatrick_scale: false, + category: "activity" + }, + dart: { + keywords: [ "game", "play", "bar", "target", "bullseye" ], + char: "\ud83c\udfaf", + fitzpatrick_scale: false, + category: "activity" + }, + game_die: { + keywords: [ "dice", "random", "tabletop", "play", "luck" ], + char: "\ud83c\udfb2", + fitzpatrick_scale: false, + category: "activity" + }, + chess_pawn: { + keywords: [ "expendable" ], + char: "\u265f", + fitzpatrick_scale: false, + category: "activity" + }, + slot_machine: { + keywords: [ "bet", "gamble", "vegas", "fruit machine", "luck", "casino" ], + char: "\ud83c\udfb0", + fitzpatrick_scale: false, + category: "activity" + }, + jigsaw: { + keywords: [ "interlocking", "puzzle", "piece" ], + char: "\ud83e\udde9", + fitzpatrick_scale: false, + category: "activity" + }, + bowling: { + keywords: [ "sports", "fun", "play" ], + char: "\ud83c\udfb3", + fitzpatrick_scale: false, + category: "activity" + }, + red_car: { + keywords: [ "red", "transportation", "vehicle" ], + char: "\ud83d\ude97", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + taxi: { + keywords: [ "uber", "vehicle", "cars", "transportation" ], + char: "\ud83d\ude95", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + blue_car: { + keywords: [ "transportation", "vehicle" ], + char: "\ud83d\ude99", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + bus: { + keywords: [ "car", "vehicle", "transportation" ], + char: "\ud83d\ude8c", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + trolleybus: { + keywords: [ "bart", "transportation", "vehicle" ], + char: "\ud83d\ude8e", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + racing_car: { + keywords: [ "sports", "race", "fast", "formula", "f1" ], + char: "\ud83c\udfce", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + police_car: { + keywords: [ "vehicle", "cars", "transportation", "law", "legal", "enforcement" ], + char: "\ud83d\ude93", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + ambulance: { + keywords: [ "health", "911", "hospital" ], + char: "\ud83d\ude91", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + fire_engine: { + keywords: [ "transportation", "cars", "vehicle" ], + char: "\ud83d\ude92", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + minibus: { + keywords: [ "vehicle", "car", "transportation" ], + char: "\ud83d\ude90", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + truck: { + keywords: [ "cars", "transportation" ], + char: "\ud83d\ude9a", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + articulated_lorry: { + keywords: [ "vehicle", "cars", "transportation", "express" ], + char: "\ud83d\ude9b", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + tractor: { + keywords: [ "vehicle", "car", "farming", "agriculture" ], + char: "\ud83d\ude9c", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + kick_scooter: { + keywords: [ "vehicle", "kick", "razor" ], + char: "\ud83d\udef4", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + motorcycle: { + keywords: [ "race", "sports", "fast" ], + char: "\ud83c\udfcd", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + bike: { + keywords: [ "sports", "bicycle", "exercise", "hipster" ], + char: "\ud83d\udeb2", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + motor_scooter: { + keywords: [ "vehicle", "vespa", "sasha" ], + char: "\ud83d\udef5", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + rotating_light: { + keywords: [ "police", "ambulance", "911", "emergency", "alert", "error", "pinged", "law", "legal" ], + char: "\ud83d\udea8", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + oncoming_police_car: { + keywords: [ "vehicle", "law", "legal", "enforcement", "911" ], + char: "\ud83d\ude94", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + oncoming_bus: { + keywords: [ "vehicle", "transportation" ], + char: "\ud83d\ude8d", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + oncoming_automobile: { + keywords: [ "car", "vehicle", "transportation" ], + char: "\ud83d\ude98", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + oncoming_taxi: { + keywords: [ "vehicle", "cars", "uber" ], + char: "\ud83d\ude96", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + aerial_tramway: { + keywords: [ "transportation", "vehicle", "ski" ], + char: "\ud83d\udea1", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + mountain_cableway: { + keywords: [ "transportation", "vehicle", "ski" ], + char: "\ud83d\udea0", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + suspension_railway: { + keywords: [ "vehicle", "transportation" ], + char: "\ud83d\ude9f", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + railway_car: { + keywords: [ "transportation", "vehicle" ], + char: "\ud83d\ude83", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + train: { + keywords: [ "transportation", "vehicle", "carriage", "public", "travel" ], + char: "\ud83d\ude8b", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + monorail: { + keywords: [ "transportation", "vehicle" ], + char: "\ud83d\ude9d", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + bullettrain_side: { + keywords: [ "transportation", "vehicle" ], + char: "\ud83d\ude84", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + bullettrain_front: { + keywords: [ "transportation", "vehicle", "speed", "fast", "public", "travel" ], + char: "\ud83d\ude85", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + light_rail: { + keywords: [ "transportation", "vehicle" ], + char: "\ud83d\ude88", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + mountain_railway: { + keywords: [ "transportation", "vehicle" ], + char: "\ud83d\ude9e", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + steam_locomotive: { + keywords: [ "transportation", "vehicle", "train" ], + char: "\ud83d\ude82", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + train2: { + keywords: [ "transportation", "vehicle" ], + char: "\ud83d\ude86", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + metro: { + keywords: [ "transportation", "blue-square", "mrt", "underground", "tube" ], + char: "\ud83d\ude87", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + tram: { + keywords: [ "transportation", "vehicle" ], + char: "\ud83d\ude8a", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + station: { + keywords: [ "transportation", "vehicle", "public" ], + char: "\ud83d\ude89", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + flying_saucer: { + keywords: [ "transportation", "vehicle", "ufo" ], + char: "\ud83d\udef8", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + helicopter: { + keywords: [ "transportation", "vehicle", "fly" ], + char: "\ud83d\ude81", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + small_airplane: { + keywords: [ "flight", "transportation", "fly", "vehicle" ], + char: "\ud83d\udee9", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + airplane: { + keywords: [ "vehicle", "transportation", "flight", "fly" ], + char: "\u2708\ufe0f", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + flight_departure: { + keywords: [ "airport", "flight", "landing" ], + char: "\ud83d\udeeb", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + flight_arrival: { + keywords: [ "airport", "flight", "boarding" ], + char: "\ud83d\udeec", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + sailboat: { + keywords: [ "ship", "summer", "transportation", "water", "sailing" ], + char: "\u26f5", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + motor_boat: { + keywords: [ "ship" ], + char: "\ud83d\udee5", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + speedboat: { + keywords: [ "ship", "transportation", "vehicle", "summer" ], + char: "\ud83d\udea4", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + ferry: { + keywords: [ "boat", "ship", "yacht" ], + char: "\u26f4", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + passenger_ship: { + keywords: [ "yacht", "cruise", "ferry" ], + char: "\ud83d\udef3", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + rocket: { + keywords: [ "launch", "ship", "staffmode", "NASA", "outer space", "outer_space", "fly" ], + char: "\ud83d\ude80", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + artificial_satellite: { + keywords: [ "communication", "gps", "orbit", "spaceflight", "NASA", "ISS" ], + char: "\ud83d\udef0", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + seat: { + keywords: [ "sit", "airplane", "transport", "bus", "flight", "fly" ], + char: "\ud83d\udcba", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + canoe: { + keywords: [ "boat", "paddle", "water", "ship" ], + char: "\ud83d\udef6", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + anchor: { + keywords: [ "ship", "ferry", "sea", "boat" ], + char: "\u2693", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + construction: { + keywords: [ "wip", "progress", "caution", "warning" ], + char: "\ud83d\udea7", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + fuelpump: { + keywords: [ "gas station", "petroleum" ], + char: "\u26fd", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + busstop: { + keywords: [ "transportation", "wait" ], + char: "\ud83d\ude8f", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + vertical_traffic_light: { + keywords: [ "transportation", "driving" ], + char: "\ud83d\udea6", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + traffic_light: { + keywords: [ "transportation", "signal" ], + char: "\ud83d\udea5", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + checkered_flag: { + keywords: [ "contest", "finishline", "race", "gokart" ], + char: "\ud83c\udfc1", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + ship: { + keywords: [ "transportation", "titanic", "deploy" ], + char: "\ud83d\udea2", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + ferris_wheel: { + keywords: [ "photo", "carnival", "londoneye" ], + char: "\ud83c\udfa1", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + roller_coaster: { + keywords: [ "carnival", "playground", "photo", "fun" ], + char: "\ud83c\udfa2", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + carousel_horse: { + keywords: [ "photo", "carnival" ], + char: "\ud83c\udfa0", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + building_construction: { + keywords: [ "wip", "working", "progress" ], + char: "\ud83c\udfd7", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + foggy: { + keywords: [ "photo", "mountain" ], + char: "\ud83c\udf01", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + tokyo_tower: { + keywords: [ "photo", "japanese" ], + char: "\ud83d\uddfc", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + factory: { + keywords: [ "building", "industry", "pollution", "smoke" ], + char: "\ud83c\udfed", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + fountain: { + keywords: [ "photo", "summer", "water", "fresh" ], + char: "\u26f2", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + rice_scene: { + keywords: [ "photo", "japan", "asia", "tsukimi" ], + char: "\ud83c\udf91", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + mountain: { + keywords: [ "photo", "nature", "environment" ], + char: "\u26f0", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + mountain_snow: { + keywords: [ "photo", "nature", "environment", "winter", "cold" ], + char: "\ud83c\udfd4", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + mount_fuji: { + keywords: [ "photo", "mountain", "nature", "japanese" ], + char: "\ud83d\uddfb", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + volcano: { + keywords: [ "photo", "nature", "disaster" ], + char: "\ud83c\udf0b", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + japan: { + keywords: [ "nation", "country", "japanese", "asia" ], + char: "\ud83d\uddfe", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + camping: { + keywords: [ "photo", "outdoors", "tent" ], + char: "\ud83c\udfd5", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + tent: { + keywords: [ "photo", "camping", "outdoors" ], + char: "\u26fa", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + national_park: { + keywords: [ "photo", "environment", "nature" ], + char: "\ud83c\udfde", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + motorway: { + keywords: [ "road", "cupertino", "interstate", "highway" ], + char: "\ud83d\udee3", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + railway_track: { + keywords: [ "train", "transportation" ], + char: "\ud83d\udee4", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + sunrise: { + keywords: [ "morning", "view", "vacation", "photo" ], + char: "\ud83c\udf05", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + sunrise_over_mountains: { + keywords: [ "view", "vacation", "photo" ], + char: "\ud83c\udf04", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + desert: { + keywords: [ "photo", "warm", "saharah" ], + char: "\ud83c\udfdc", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + beach_umbrella: { + keywords: [ "weather", "summer", "sunny", "sand", "mojito" ], + char: "\ud83c\udfd6", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + desert_island: { + keywords: [ "photo", "tropical", "mojito" ], + char: "\ud83c\udfdd", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + city_sunrise: { + keywords: [ "photo", "good morning", "dawn" ], + char: "\ud83c\udf07", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + city_sunset: { + keywords: [ "photo", "evening", "sky", "buildings" ], + char: "\ud83c\udf06", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + cityscape: { + keywords: [ "photo", "night life", "urban" ], + char: "\ud83c\udfd9", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + night_with_stars: { + keywords: [ "evening", "city", "downtown" ], + char: "\ud83c\udf03", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + bridge_at_night: { + keywords: [ "photo", "sanfrancisco" ], + char: "\ud83c\udf09", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + milky_way: { + keywords: [ "photo", "space", "stars" ], + char: "\ud83c\udf0c", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + stars: { + keywords: [ "night", "photo" ], + char: "\ud83c\udf20", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + sparkler: { + keywords: [ "stars", "night", "shine" ], + char: "\ud83c\udf87", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + fireworks: { + keywords: [ "photo", "festival", "carnival", "congratulations" ], + char: "\ud83c\udf86", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + rainbow: { + keywords: [ "nature", "happy", "unicorn_face", "photo", "sky", "spring" ], + char: "\ud83c\udf08", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + houses: { + keywords: [ "buildings", "photo" ], + char: "\ud83c\udfd8", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + european_castle: { + keywords: [ "building", "royalty", "history" ], + char: "\ud83c\udff0", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + japanese_castle: { + keywords: [ "photo", "building" ], + char: "\ud83c\udfef", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + stadium: { + keywords: [ "photo", "place", "sports", "concert", "venue" ], + char: "\ud83c\udfdf", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + statue_of_liberty: { + keywords: [ "american", "newyork" ], + char: "\ud83d\uddfd", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + house: { + keywords: [ "building", "home" ], + char: "\ud83c\udfe0", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + house_with_garden: { + keywords: [ "home", "plant", "nature" ], + char: "\ud83c\udfe1", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + derelict_house: { + keywords: [ "abandon", "evict", "broken", "building" ], + char: "\ud83c\udfda", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + office: { + keywords: [ "building", "bureau", "work" ], + char: "\ud83c\udfe2", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + department_store: { + keywords: [ "building", "shopping", "mall" ], + char: "\ud83c\udfec", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + post_office: { + keywords: [ "building", "envelope", "communication" ], + char: "\ud83c\udfe3", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + european_post_office: { + keywords: [ "building", "email" ], + char: "\ud83c\udfe4", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + hospital: { + keywords: [ "building", "health", "surgery", "doctor" ], + char: "\ud83c\udfe5", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + bank: { + keywords: [ "building", "money", "sales", "cash", "business", "enterprise" ], + char: "\ud83c\udfe6", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + hotel: { + keywords: [ "building", "accomodation", "checkin" ], + char: "\ud83c\udfe8", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + convenience_store: { + keywords: [ "building", "shopping", "groceries" ], + char: "\ud83c\udfea", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + school: { + keywords: [ "building", "student", "education", "learn", "teach" ], + char: "\ud83c\udfeb", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + love_hotel: { + keywords: [ "like", "affection", "dating" ], + char: "\ud83c\udfe9", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + wedding: { + keywords: [ "love", "like", "affection", "couple", "marriage", "bride", "groom" ], + char: "\ud83d\udc92", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + classical_building: { + keywords: [ "art", "culture", "history" ], + char: "\ud83c\udfdb", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + church: { + keywords: [ "building", "religion", "christ" ], + char: "\u26ea", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + mosque: { + keywords: [ "islam", "worship", "minaret" ], + char: "\ud83d\udd4c", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + synagogue: { + keywords: [ "judaism", "worship", "temple", "jewish" ], + char: "\ud83d\udd4d", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + kaaba: { + keywords: [ "mecca", "mosque", "islam" ], + char: "\ud83d\udd4b", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + shinto_shrine: { + keywords: [ "temple", "japan", "kyoto" ], + char: "\u26e9", + fitzpatrick_scale: false, + category: "travel_and_places" + }, + watch: { + keywords: [ "time", "accessories" ], + char: "\u231a", + fitzpatrick_scale: false, + category: "objects" + }, + iphone: { + keywords: [ "technology", "apple", "gadgets", "dial" ], + char: "\ud83d\udcf1", + fitzpatrick_scale: false, + category: "objects" + }, + calling: { + keywords: [ "iphone", "incoming" ], + char: "\ud83d\udcf2", + fitzpatrick_scale: false, + category: "objects" + }, + computer: { + keywords: [ "technology", "laptop", "screen", "display", "monitor" ], + char: "\ud83d\udcbb", + fitzpatrick_scale: false, + category: "objects" + }, + keyboard: { + keywords: [ "technology", "computer", "type", "input", "text" ], + char: "\u2328", + fitzpatrick_scale: false, + category: "objects" + }, + desktop_computer: { + keywords: [ "technology", "computing", "screen" ], + char: "\ud83d\udda5", + fitzpatrick_scale: false, + category: "objects" + }, + printer: { + keywords: [ "paper", "ink" ], + char: "\ud83d\udda8", + fitzpatrick_scale: false, + category: "objects" + }, + computer_mouse: { + keywords: [ "click" ], + char: "\ud83d\uddb1", + fitzpatrick_scale: false, + category: "objects" + }, + trackball: { + keywords: [ "technology", "trackpad" ], + char: "\ud83d\uddb2", + fitzpatrick_scale: false, + category: "objects" + }, + joystick: { + keywords: [ "game", "play" ], + char: "\ud83d\udd79", + fitzpatrick_scale: false, + category: "objects" + }, + clamp: { + keywords: [ "tool" ], + char: "\ud83d\udddc", + fitzpatrick_scale: false, + category: "objects" + }, + minidisc: { + keywords: [ "technology", "record", "data", "disk", "90s" ], + char: "\ud83d\udcbd", + fitzpatrick_scale: false, + category: "objects" + }, + floppy_disk: { + keywords: [ "oldschool", "technology", "save", "90s", "80s" ], + char: "\ud83d\udcbe", + fitzpatrick_scale: false, + category: "objects" + }, + cd: { + keywords: [ "technology", "dvd", "disk", "disc", "90s" ], + char: "\ud83d\udcbf", + fitzpatrick_scale: false, + category: "objects" + }, + dvd: { + keywords: [ "cd", "disk", "disc" ], + char: "\ud83d\udcc0", + fitzpatrick_scale: false, + category: "objects" + }, + vhs: { + keywords: [ "record", "video", "oldschool", "90s", "80s" ], + char: "\ud83d\udcfc", + fitzpatrick_scale: false, + category: "objects" + }, + camera: { + keywords: [ "gadgets", "photography" ], + char: "\ud83d\udcf7", + fitzpatrick_scale: false, + category: "objects" + }, + camera_flash: { + keywords: [ "photography", "gadgets" ], + char: "\ud83d\udcf8", + fitzpatrick_scale: false, + category: "objects" + }, + video_camera: { + keywords: [ "film", "record" ], + char: "\ud83d\udcf9", + fitzpatrick_scale: false, + category: "objects" + }, + movie_camera: { + keywords: [ "film", "record" ], + char: "\ud83c\udfa5", + fitzpatrick_scale: false, + category: "objects" + }, + film_projector: { + keywords: [ "video", "tape", "record", "movie" ], + char: "\ud83d\udcfd", + fitzpatrick_scale: false, + category: "objects" + }, + film_strip: { + keywords: [ "movie" ], + char: "\ud83c\udf9e", + fitzpatrick_scale: false, + category: "objects" + }, + telephone_receiver: { + keywords: [ "technology", "communication", "dial" ], + char: "\ud83d\udcde", + fitzpatrick_scale: false, + category: "objects" + }, + phone: { + keywords: [ "technology", "communication", "dial", "telephone" ], + char: "\u260e\ufe0f", + fitzpatrick_scale: false, + category: "objects" + }, + pager: { + keywords: [ "bbcall", "oldschool", "90s" ], + char: "\ud83d\udcdf", + fitzpatrick_scale: false, + category: "objects" + }, + fax: { + keywords: [ "communication", "technology" ], + char: "\ud83d\udce0", + fitzpatrick_scale: false, + category: "objects" + }, + tv: { + keywords: [ "technology", "program", "oldschool", "show", "television" ], + char: "\ud83d\udcfa", + fitzpatrick_scale: false, + category: "objects" + }, + radio: { + keywords: [ "communication", "music", "podcast", "program" ], + char: "\ud83d\udcfb", + fitzpatrick_scale: false, + category: "objects" + }, + studio_microphone: { + keywords: [ "sing", "recording", "artist", "talkshow" ], + char: "\ud83c\udf99", + fitzpatrick_scale: false, + category: "objects" + }, + level_slider: { + keywords: [ "scale" ], + char: "\ud83c\udf9a", + fitzpatrick_scale: false, + category: "objects" + }, + control_knobs: { + keywords: [ "dial" ], + char: "\ud83c\udf9b", + fitzpatrick_scale: false, + category: "objects" + }, + compass: { + keywords: [ "magnetic", "navigation", "orienteering" ], + char: "\ud83e\udded", + fitzpatrick_scale: false, + category: "objects" + }, + stopwatch: { + keywords: [ "time", "deadline" ], + char: "\u23f1", + fitzpatrick_scale: false, + category: "objects" + }, + timer_clock: { + keywords: [ "alarm" ], + char: "\u23f2", + fitzpatrick_scale: false, + category: "objects" + }, + alarm_clock: { + keywords: [ "time", "wake" ], + char: "\u23f0", + fitzpatrick_scale: false, + category: "objects" + }, + mantelpiece_clock: { + keywords: [ "time" ], + char: "\ud83d\udd70", + fitzpatrick_scale: false, + category: "objects" + }, + hourglass_flowing_sand: { + keywords: [ "oldschool", "time", "countdown" ], + char: "\u23f3", + fitzpatrick_scale: false, + category: "objects" + }, + hourglass: { + keywords: [ "time", "clock", "oldschool", "limit", "exam", "quiz", "test" ], + char: "\u231b", + fitzpatrick_scale: false, + category: "objects" + }, + satellite: { + keywords: [ "communication", "future", "radio", "space" ], + char: "\ud83d\udce1", + fitzpatrick_scale: false, + category: "objects" + }, + battery: { + keywords: [ "power", "energy", "sustain" ], + char: "\ud83d\udd0b", + fitzpatrick_scale: false, + category: "objects" + }, + electric_plug: { + keywords: [ "charger", "power" ], + char: "\ud83d\udd0c", + fitzpatrick_scale: false, + category: "objects" + }, + bulb: { + keywords: [ "light", "electricity", "idea" ], + char: "\ud83d\udca1", + fitzpatrick_scale: false, + category: "objects" + }, + flashlight: { + keywords: [ "dark", "camping", "sight", "night" ], + char: "\ud83d\udd26", + fitzpatrick_scale: false, + category: "objects" + }, + candle: { + keywords: [ "fire", "wax" ], + char: "\ud83d\udd6f", + fitzpatrick_scale: false, + category: "objects" + }, + fire_extinguisher: { + keywords: [ "quench" ], + char: "\ud83e\uddef", + fitzpatrick_scale: false, + category: "objects" + }, + wastebasket: { + keywords: [ "bin", "trash", "rubbish", "garbage", "toss" ], + char: "\ud83d\uddd1", + fitzpatrick_scale: false, + category: "objects" + }, + oil_drum: { + keywords: [ "barrell" ], + char: "\ud83d\udee2", + fitzpatrick_scale: false, + category: "objects" + }, + money_with_wings: { + keywords: [ "dollar", "bills", "payment", "sale" ], + char: "\ud83d\udcb8", + fitzpatrick_scale: false, + category: "objects" + }, + dollar: { + keywords: [ "money", "sales", "bill", "currency" ], + char: "\ud83d\udcb5", + fitzpatrick_scale: false, + category: "objects" + }, + yen: { + keywords: [ "money", "sales", "japanese", "dollar", "currency" ], + char: "\ud83d\udcb4", + fitzpatrick_scale: false, + category: "objects" + }, + euro: { + keywords: [ "money", "sales", "dollar", "currency" ], + char: "\ud83d\udcb6", + fitzpatrick_scale: false, + category: "objects" + }, + pound: { + keywords: [ "british", "sterling", "money", "sales", "bills", "uk", "england", "currency" ], + char: "\ud83d\udcb7", + fitzpatrick_scale: false, + category: "objects" + }, + moneybag: { + keywords: [ "dollar", "payment", "coins", "sale" ], + char: "\ud83d\udcb0", + fitzpatrick_scale: false, + category: "objects" + }, + credit_card: { + keywords: [ "money", "sales", "dollar", "bill", "payment", "shopping" ], + char: "\ud83d\udcb3", + fitzpatrick_scale: false, + category: "objects" + }, + gem: { + keywords: [ "blue", "ruby", "diamond", "jewelry" ], + char: "\ud83d\udc8e", + fitzpatrick_scale: false, + category: "objects" + }, + balance_scale: { + keywords: [ "law", "fairness", "weight" ], + char: "\u2696", + fitzpatrick_scale: false, + category: "objects" + }, + toolbox: { + keywords: [ "tools", "diy", "fix", "maintainer", "mechanic" ], + char: "\ud83e\uddf0", + fitzpatrick_scale: false, + category: "objects" + }, + wrench: { + keywords: [ "tools", "diy", "ikea", "fix", "maintainer" ], + char: "\ud83d\udd27", + fitzpatrick_scale: false, + category: "objects" + }, + hammer: { + keywords: [ "tools", "build", "create" ], + char: "\ud83d\udd28", + fitzpatrick_scale: false, + category: "objects" + }, + hammer_and_pick: { + keywords: [ "tools", "build", "create" ], + char: "\u2692", + fitzpatrick_scale: false, + category: "objects" + }, + hammer_and_wrench: { + keywords: [ "tools", "build", "create" ], + char: "\ud83d\udee0", + fitzpatrick_scale: false, + category: "objects" + }, + pick: { + keywords: [ "tools", "dig" ], + char: "\u26cf", + fitzpatrick_scale: false, + category: "objects" + }, + nut_and_bolt: { + keywords: [ "handy", "tools", "fix" ], + char: "\ud83d\udd29", + fitzpatrick_scale: false, + category: "objects" + }, + gear: { + keywords: [ "cog" ], + char: "\u2699", + fitzpatrick_scale: false, + category: "objects" + }, + brick: { + keywords: [ "bricks" ], + char: "\ud83e\uddf1", + fitzpatrick_scale: false, + category: "objects" + }, + chains: { + keywords: [ "lock", "arrest" ], + char: "\u26d3", + fitzpatrick_scale: false, + category: "objects" + }, + magnet: { + keywords: [ "attraction", "magnetic" ], + char: "\ud83e\uddf2", + fitzpatrick_scale: false, + category: "objects" + }, + gun: { + keywords: [ "violence", "weapon", "pistol", "revolver" ], + char: "\ud83d\udd2b", + fitzpatrick_scale: false, + category: "objects" + }, + bomb: { + keywords: [ "boom", "explode", "explosion", "terrorism" ], + char: "\ud83d\udca3", + fitzpatrick_scale: false, + category: "objects" + }, + firecracker: { + keywords: [ "dynamite", "boom", "explode", "explosion", "explosive" ], + char: "\ud83e\udde8", + fitzpatrick_scale: false, + category: "objects" + }, + hocho: { + keywords: [ "knife", "blade", "cutlery", "kitchen", "weapon" ], + char: "\ud83d\udd2a", + fitzpatrick_scale: false, + category: "objects" + }, + dagger: { + keywords: [ "weapon" ], + char: "\ud83d\udde1", + fitzpatrick_scale: false, + category: "objects" + }, + crossed_swords: { + keywords: [ "weapon" ], + char: "\u2694", + fitzpatrick_scale: false, + category: "objects" + }, + shield: { + keywords: [ "protection", "security" ], + char: "\ud83d\udee1", + fitzpatrick_scale: false, + category: "objects" + }, + smoking: { + keywords: [ "kills", "tobacco", "cigarette", "joint", "smoke" ], + char: "\ud83d\udeac", + fitzpatrick_scale: false, + category: "objects" + }, + skull_and_crossbones: { + keywords: [ "poison", "danger", "deadly", "scary", "death", "pirate", "evil" ], + char: "\u2620", + fitzpatrick_scale: false, + category: "objects" + }, + coffin: { + keywords: [ "vampire", "dead", "die", "death", "rip", "graveyard", "cemetery", "casket", "funeral", "box" ], + char: "\u26b0", + fitzpatrick_scale: false, + category: "objects" + }, + funeral_urn: { + keywords: [ "dead", "die", "death", "rip", "ashes" ], + char: "\u26b1", + fitzpatrick_scale: false, + category: "objects" + }, + amphora: { + keywords: [ "vase", "jar" ], + char: "\ud83c\udffa", + fitzpatrick_scale: false, + category: "objects" + }, + crystal_ball: { + keywords: [ "disco", "party", "magic", "circus", "fortune_teller" ], + char: "\ud83d\udd2e", + fitzpatrick_scale: false, + category: "objects" + }, + prayer_beads: { + keywords: [ "dhikr", "religious" ], + char: "\ud83d\udcff", + fitzpatrick_scale: false, + category: "objects" + }, + nazar_amulet: { + keywords: [ "bead", "charm" ], + char: "\ud83e\uddff", + fitzpatrick_scale: false, + category: "objects" + }, + barber: { + keywords: [ "hair", "salon", "style" ], + char: "\ud83d\udc88", + fitzpatrick_scale: false, + category: "objects" + }, + alembic: { + keywords: [ "distilling", "science", "experiment", "chemistry" ], + char: "\u2697", + fitzpatrick_scale: false, + category: "objects" + }, + telescope: { + keywords: [ "stars", "space", "zoom", "science", "astronomy" ], + char: "\ud83d\udd2d", + fitzpatrick_scale: false, + category: "objects" + }, + microscope: { + keywords: [ "laboratory", "experiment", "zoomin", "science", "study" ], + char: "\ud83d\udd2c", + fitzpatrick_scale: false, + category: "objects" + }, + hole: { + keywords: [ "embarrassing" ], + char: "\ud83d\udd73", + fitzpatrick_scale: false, + category: "objects" + }, + pill: { + keywords: [ "health", "medicine", "doctor", "pharmacy", "drug" ], + char: "\ud83d\udc8a", + fitzpatrick_scale: false, + category: "objects" + }, + syringe: { + keywords: [ "health", "hospital", "drugs", "blood", "medicine", "needle", "doctor", "nurse" ], + char: "\ud83d\udc89", + fitzpatrick_scale: false, + category: "objects" + }, + dna: { + keywords: [ "biologist", "genetics", "life" ], + char: "\ud83e\uddec", + fitzpatrick_scale: false, + category: "objects" + }, + microbe: { + keywords: [ "amoeba", "bacteria", "germs" ], + char: "\ud83e\udda0", + fitzpatrick_scale: false, + category: "objects" + }, + petri_dish: { + keywords: [ "bacteria", "biology", "culture", "lab" ], + char: "\ud83e\uddeb", + fitzpatrick_scale: false, + category: "objects" + }, + test_tube: { + keywords: [ "chemistry", "experiment", "lab", "science" ], + char: "\ud83e\uddea", + fitzpatrick_scale: false, + category: "objects" + }, + thermometer: { + keywords: [ "weather", "temperature", "hot", "cold" ], + char: "\ud83c\udf21", + fitzpatrick_scale: false, + category: "objects" + }, + broom: { + keywords: [ "cleaning", "sweeping", "witch" ], + char: "\ud83e\uddf9", + fitzpatrick_scale: false, + category: "objects" + }, + basket: { + keywords: [ "laundry" ], + char: "\ud83e\uddfa", + fitzpatrick_scale: false, + category: "objects" + }, + toilet_paper: { + keywords: [ "roll" ], + char: "\ud83e\uddfb", + fitzpatrick_scale: false, + category: "objects" + }, + label: { + keywords: [ "sale", "tag" ], + char: "\ud83c\udff7", + fitzpatrick_scale: false, + category: "objects" + }, + bookmark: { + keywords: [ "favorite", "label", "save" ], + char: "\ud83d\udd16", + fitzpatrick_scale: false, + category: "objects" + }, + toilet: { + keywords: [ "restroom", "wc", "washroom", "bathroom", "potty" ], + char: "\ud83d\udebd", + fitzpatrick_scale: false, + category: "objects" + }, + shower: { + keywords: [ "clean", "water", "bathroom" ], + char: "\ud83d\udebf", + fitzpatrick_scale: false, + category: "objects" + }, + bathtub: { + keywords: [ "clean", "shower", "bathroom" ], + char: "\ud83d\udec1", + fitzpatrick_scale: false, + category: "objects" + }, + soap: { + keywords: [ "bar", "bathing", "cleaning", "lather" ], + char: "\ud83e\uddfc", + fitzpatrick_scale: false, + category: "objects" + }, + sponge: { + keywords: [ "absorbing", "cleaning", "porous" ], + char: "\ud83e\uddfd", + fitzpatrick_scale: false, + category: "objects" + }, + lotion_bottle: { + keywords: [ "moisturizer", "sunscreen" ], + char: "\ud83e\uddf4", + fitzpatrick_scale: false, + category: "objects" + }, + key: { + keywords: [ "lock", "door", "password" ], + char: "\ud83d\udd11", + fitzpatrick_scale: false, + category: "objects" + }, + old_key: { + keywords: [ "lock", "door", "password" ], + char: "\ud83d\udddd", + fitzpatrick_scale: false, + category: "objects" + }, + couch_and_lamp: { + keywords: [ "read", "chill" ], + char: "\ud83d\udecb", + fitzpatrick_scale: false, + category: "objects" + }, + sleeping_bed: { + keywords: [ "bed", "rest" ], + char: "\ud83d\udecc", + fitzpatrick_scale: true, + category: "objects" + }, + bed: { + keywords: [ "sleep", "rest" ], + char: "\ud83d\udecf", + fitzpatrick_scale: false, + category: "objects" + }, + door: { + keywords: [ "house", "entry", "exit" ], + char: "\ud83d\udeaa", + fitzpatrick_scale: false, + category: "objects" + }, + bellhop_bell: { + keywords: [ "service" ], + char: "\ud83d\udece", + fitzpatrick_scale: false, + category: "objects" + }, + teddy_bear: { + keywords: [ "plush", "stuffed" ], + char: "\ud83e\uddf8", + fitzpatrick_scale: false, + category: "objects" + }, + framed_picture: { + keywords: [ "photography" ], + char: "\ud83d\uddbc", + fitzpatrick_scale: false, + category: "objects" + }, + world_map: { + keywords: [ "location", "direction" ], + char: "\ud83d\uddfa", + fitzpatrick_scale: false, + category: "objects" + }, + parasol_on_ground: { + keywords: [ "weather", "summer" ], + char: "\u26f1", + fitzpatrick_scale: false, + category: "objects" + }, + moyai: { + keywords: [ "rock", "easter island", "moai" ], + char: "\ud83d\uddff", + fitzpatrick_scale: false, + category: "objects" + }, + shopping: { + keywords: [ "mall", "buy", "purchase" ], + char: "\ud83d\udecd", + fitzpatrick_scale: false, + category: "objects" + }, + shopping_cart: { + keywords: [ "trolley" ], + char: "\ud83d\uded2", + fitzpatrick_scale: false, + category: "objects" + }, + balloon: { + keywords: [ "party", "celebration", "birthday", "circus" ], + char: "\ud83c\udf88", + fitzpatrick_scale: false, + category: "objects" + }, + flags: { + keywords: [ "fish", "japanese", "koinobori", "carp", "banner" ], + char: "\ud83c\udf8f", + fitzpatrick_scale: false, + category: "objects" + }, + ribbon: { + keywords: [ "decoration", "pink", "girl", "bowtie" ], + char: "\ud83c\udf80", + fitzpatrick_scale: false, + category: "objects" + }, + gift: { + keywords: [ "present", "birthday", "christmas", "xmas" ], + char: "\ud83c\udf81", + fitzpatrick_scale: false, + category: "objects" + }, + confetti_ball: { + keywords: [ "festival", "party", "birthday", "circus" ], + char: "\ud83c\udf8a", + fitzpatrick_scale: false, + category: "objects" + }, + tada: { + keywords: [ "party", "congratulations", "birthday", "magic", "circus", "celebration" ], + char: "\ud83c\udf89", + fitzpatrick_scale: false, + category: "objects" + }, + dolls: { + keywords: [ "japanese", "toy", "kimono" ], + char: "\ud83c\udf8e", + fitzpatrick_scale: false, + category: "objects" + }, + wind_chime: { + keywords: [ "nature", "ding", "spring", "bell" ], + char: "\ud83c\udf90", + fitzpatrick_scale: false, + category: "objects" + }, + crossed_flags: { + keywords: [ "japanese", "nation", "country", "border" ], + char: "\ud83c\udf8c", + fitzpatrick_scale: false, + category: "objects" + }, + izakaya_lantern: { + keywords: [ "light", "paper", "halloween", "spooky" ], + char: "\ud83c\udfee", + fitzpatrick_scale: false, + category: "objects" + }, + red_envelope: { + keywords: [ "gift" ], + char: "\ud83e\udde7", + fitzpatrick_scale: false, + category: "objects" + }, + email: { + keywords: [ "letter", "postal", "inbox", "communication" ], + char: "\u2709\ufe0f", + fitzpatrick_scale: false, + category: "objects" + }, + envelope_with_arrow: { + keywords: [ "email", "communication" ], + char: "\ud83d\udce9", + fitzpatrick_scale: false, + category: "objects" + }, + incoming_envelope: { + keywords: [ "email", "inbox" ], + char: "\ud83d\udce8", + fitzpatrick_scale: false, + category: "objects" + }, + "e-mail": { + keywords: [ "communication", "inbox" ], + char: "\ud83d\udce7", + fitzpatrick_scale: false, + category: "objects" + }, + love_letter: { + keywords: [ "email", "like", "affection", "envelope", "valentines" ], + char: "\ud83d\udc8c", + fitzpatrick_scale: false, + category: "objects" + }, + postbox: { + keywords: [ "email", "letter", "envelope" ], + char: "\ud83d\udcee", + fitzpatrick_scale: false, + category: "objects" + }, + mailbox_closed: { + keywords: [ "email", "communication", "inbox" ], + char: "\ud83d\udcea", + fitzpatrick_scale: false, + category: "objects" + }, + mailbox: { + keywords: [ "email", "inbox", "communication" ], + char: "\ud83d\udceb", + fitzpatrick_scale: false, + category: "objects" + }, + mailbox_with_mail: { + keywords: [ "email", "inbox", "communication" ], + char: "\ud83d\udcec", + fitzpatrick_scale: false, + category: "objects" + }, + mailbox_with_no_mail: { + keywords: [ "email", "inbox" ], + char: "\ud83d\udced", + fitzpatrick_scale: false, + category: "objects" + }, + package: { + keywords: [ "mail", "gift", "cardboard", "box", "moving" ], + char: "\ud83d\udce6", + fitzpatrick_scale: false, + category: "objects" + }, + postal_horn: { + keywords: [ "instrument", "music" ], + char: "\ud83d\udcef", + fitzpatrick_scale: false, + category: "objects" + }, + inbox_tray: { + keywords: [ "email", "documents" ], + char: "\ud83d\udce5", + fitzpatrick_scale: false, + category: "objects" + }, + outbox_tray: { + keywords: [ "inbox", "email" ], + char: "\ud83d\udce4", + fitzpatrick_scale: false, + category: "objects" + }, + scroll: { + keywords: [ "documents", "ancient", "history", "paper" ], + char: "\ud83d\udcdc", + fitzpatrick_scale: false, + category: "objects" + }, + page_with_curl: { + keywords: [ "documents", "office", "paper" ], + char: "\ud83d\udcc3", + fitzpatrick_scale: false, + category: "objects" + }, + bookmark_tabs: { + keywords: [ "favorite", "save", "order", "tidy" ], + char: "\ud83d\udcd1", + fitzpatrick_scale: false, + category: "objects" + }, + receipt: { + keywords: [ "accounting", "expenses" ], + char: "\ud83e\uddfe", + fitzpatrick_scale: false, + category: "objects" + }, + bar_chart: { + keywords: [ "graph", "presentation", "stats" ], + char: "\ud83d\udcca", + fitzpatrick_scale: false, + category: "objects" + }, + chart_with_upwards_trend: { + keywords: [ "graph", "presentation", "stats", "recovery", "business", "economics", "money", "sales", "good", "success" ], + char: "\ud83d\udcc8", + fitzpatrick_scale: false, + category: "objects" + }, + chart_with_downwards_trend: { + keywords: [ "graph", "presentation", "stats", "recession", "business", "economics", "money", "sales", "bad", "failure" ], + char: "\ud83d\udcc9", + fitzpatrick_scale: false, + category: "objects" + }, + page_facing_up: { + keywords: [ "documents", "office", "paper", "information" ], + char: "\ud83d\udcc4", + fitzpatrick_scale: false, + category: "objects" + }, + date: { + keywords: [ "calendar", "schedule" ], + char: "\ud83d\udcc5", + fitzpatrick_scale: false, + category: "objects" + }, + calendar: { + keywords: [ "schedule", "date", "planning" ], + char: "\ud83d\udcc6", + fitzpatrick_scale: false, + category: "objects" + }, + spiral_calendar: { + keywords: [ "date", "schedule", "planning" ], + char: "\ud83d\uddd3", + fitzpatrick_scale: false, + category: "objects" + }, + card_index: { + keywords: [ "business", "stationery" ], + char: "\ud83d\udcc7", + fitzpatrick_scale: false, + category: "objects" + }, + card_file_box: { + keywords: [ "business", "stationery" ], + char: "\ud83d\uddc3", + fitzpatrick_scale: false, + category: "objects" + }, + ballot_box: { + keywords: [ "election", "vote" ], + char: "\ud83d\uddf3", + fitzpatrick_scale: false, + category: "objects" + }, + file_cabinet: { + keywords: [ "filing", "organizing" ], + char: "\ud83d\uddc4", + fitzpatrick_scale: false, + category: "objects" + }, + clipboard: { + keywords: [ "stationery", "documents" ], + char: "\ud83d\udccb", + fitzpatrick_scale: false, + category: "objects" + }, + spiral_notepad: { + keywords: [ "memo", "stationery" ], + char: "\ud83d\uddd2", + fitzpatrick_scale: false, + category: "objects" + }, + file_folder: { + keywords: [ "documents", "business", "office" ], + char: "\ud83d\udcc1", + fitzpatrick_scale: false, + category: "objects" + }, + open_file_folder: { + keywords: [ "documents", "load" ], + char: "\ud83d\udcc2", + fitzpatrick_scale: false, + category: "objects" + }, + card_index_dividers: { + keywords: [ "organizing", "business", "stationery" ], + char: "\ud83d\uddc2", + fitzpatrick_scale: false, + category: "objects" + }, + newspaper_roll: { + keywords: [ "press", "headline" ], + char: "\ud83d\uddde", + fitzpatrick_scale: false, + category: "objects" + }, + newspaper: { + keywords: [ "press", "headline" ], + char: "\ud83d\udcf0", + fitzpatrick_scale: false, + category: "objects" + }, + notebook: { + keywords: [ "stationery", "record", "notes", "paper", "study" ], + char: "\ud83d\udcd3", + fitzpatrick_scale: false, + category: "objects" + }, + closed_book: { + keywords: [ "read", "library", "knowledge", "textbook", "learn" ], + char: "\ud83d\udcd5", + fitzpatrick_scale: false, + category: "objects" + }, + green_book: { + keywords: [ "read", "library", "knowledge", "study" ], + char: "\ud83d\udcd7", + fitzpatrick_scale: false, + category: "objects" + }, + blue_book: { + keywords: [ "read", "library", "knowledge", "learn", "study" ], + char: "\ud83d\udcd8", + fitzpatrick_scale: false, + category: "objects" + }, + orange_book: { + keywords: [ "read", "library", "knowledge", "textbook", "study" ], + char: "\ud83d\udcd9", + fitzpatrick_scale: false, + category: "objects" + }, + notebook_with_decorative_cover: { + keywords: [ "classroom", "notes", "record", "paper", "study" ], + char: "\ud83d\udcd4", + fitzpatrick_scale: false, + category: "objects" + }, + ledger: { + keywords: [ "notes", "paper" ], + char: "\ud83d\udcd2", + fitzpatrick_scale: false, + category: "objects" + }, + books: { + keywords: [ "literature", "library", "study" ], + char: "\ud83d\udcda", + fitzpatrick_scale: false, + category: "objects" + }, + open_book: { + keywords: [ "book", "read", "library", "knowledge", "literature", "learn", "study" ], + char: "\ud83d\udcd6", + fitzpatrick_scale: false, + category: "objects" + }, + safety_pin: { + keywords: [ "diaper" ], + char: "\ud83e\uddf7", + fitzpatrick_scale: false, + category: "objects" + }, + link: { + keywords: [ "rings", "url" ], + char: "\ud83d\udd17", + fitzpatrick_scale: false, + category: "objects" + }, + paperclip: { + keywords: [ "documents", "stationery" ], + char: "\ud83d\udcce", + fitzpatrick_scale: false, + category: "objects" + }, + paperclips: { + keywords: [ "documents", "stationery" ], + char: "\ud83d\udd87", + fitzpatrick_scale: false, + category: "objects" + }, + scissors: { + keywords: [ "stationery", "cut" ], + char: "\u2702\ufe0f", + fitzpatrick_scale: false, + category: "objects" + }, + triangular_ruler: { + keywords: [ "stationery", "math", "architect", "sketch" ], + char: "\ud83d\udcd0", + fitzpatrick_scale: false, + category: "objects" + }, + straight_ruler: { + keywords: [ "stationery", "calculate", "length", "math", "school", "drawing", "architect", "sketch" ], + char: "\ud83d\udccf", + fitzpatrick_scale: false, + category: "objects" + }, + abacus: { + keywords: [ "calculation" ], + char: "\ud83e\uddee", + fitzpatrick_scale: false, + category: "objects" + }, + pushpin: { + keywords: [ "stationery", "mark", "here" ], + char: "\ud83d\udccc", + fitzpatrick_scale: false, + category: "objects" + }, + round_pushpin: { + keywords: [ "stationery", "location", "map", "here" ], + char: "\ud83d\udccd", + fitzpatrick_scale: false, + category: "objects" + }, + triangular_flag_on_post: { + keywords: [ "mark", "milestone", "place" ], + char: "\ud83d\udea9", + fitzpatrick_scale: false, + category: "objects" + }, + white_flag: { + keywords: [ "losing", "loser", "lost", "surrender", "give up", "fail" ], + char: "\ud83c\udff3", + fitzpatrick_scale: false, + category: "objects" + }, + black_flag: { + keywords: [ "pirate" ], + char: "\ud83c\udff4", + fitzpatrick_scale: false, + category: "objects" + }, + rainbow_flag: { + keywords: [ "flag", "rainbow", "pride", "gay", "lgbt", "glbt", "queer", "homosexual", "lesbian", "bisexual", "transgender" ], + char: "\ud83c\udff3\ufe0f\u200d\ud83c\udf08", + fitzpatrick_scale: false, + category: "objects" + }, + closed_lock_with_key: { + keywords: [ "security", "privacy" ], + char: "\ud83d\udd10", + fitzpatrick_scale: false, + category: "objects" + }, + lock: { + keywords: [ "security", "password", "padlock" ], + char: "\ud83d\udd12", + fitzpatrick_scale: false, + category: "objects" + }, + unlock: { + keywords: [ "privacy", "security" ], + char: "\ud83d\udd13", + fitzpatrick_scale: false, + category: "objects" + }, + lock_with_ink_pen: { + keywords: [ "security", "secret" ], + char: "\ud83d\udd0f", + fitzpatrick_scale: false, + category: "objects" + }, + pen: { + keywords: [ "stationery", "writing", "write" ], + char: "\ud83d\udd8a", + fitzpatrick_scale: false, + category: "objects" + }, + fountain_pen: { + keywords: [ "stationery", "writing", "write" ], + char: "\ud83d\udd8b", + fitzpatrick_scale: false, + category: "objects" + }, + black_nib: { + keywords: [ "pen", "stationery", "writing", "write" ], + char: "\u2712\ufe0f", + fitzpatrick_scale: false, + category: "objects" + }, + memo: { + keywords: [ "write", "documents", "stationery", "pencil", "paper", "writing", "legal", "exam", "quiz", "test", "study", "compose" ], + char: "\ud83d\udcdd", + fitzpatrick_scale: false, + category: "objects" + }, + pencil2: { + keywords: [ "stationery", "write", "paper", "writing", "school", "study" ], + char: "\u270f\ufe0f", + fitzpatrick_scale: false, + category: "objects" + }, + crayon: { + keywords: [ "drawing", "creativity" ], + char: "\ud83d\udd8d", + fitzpatrick_scale: false, + category: "objects" + }, + paintbrush: { + keywords: [ "drawing", "creativity", "art" ], + char: "\ud83d\udd8c", + fitzpatrick_scale: false, + category: "objects" + }, + mag: { + keywords: [ "search", "zoom", "find", "detective" ], + char: "\ud83d\udd0d", + fitzpatrick_scale: false, + category: "objects" + }, + mag_right: { + keywords: [ "search", "zoom", "find", "detective" ], + char: "\ud83d\udd0e", + fitzpatrick_scale: false, + category: "objects" + }, + heart: { + keywords: [ "love", "like", "valentines" ], + char: "\u2764\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + orange_heart: { + keywords: [ "love", "like", "affection", "valentines" ], + char: "\ud83e\udde1", + fitzpatrick_scale: false, + category: "symbols" + }, + yellow_heart: { + keywords: [ "love", "like", "affection", "valentines" ], + char: "\ud83d\udc9b", + fitzpatrick_scale: false, + category: "symbols" + }, + green_heart: { + keywords: [ "love", "like", "affection", "valentines" ], + char: "\ud83d\udc9a", + fitzpatrick_scale: false, + category: "symbols" + }, + blue_heart: { + keywords: [ "love", "like", "affection", "valentines" ], + char: "\ud83d\udc99", + fitzpatrick_scale: false, + category: "symbols" + }, + purple_heart: { + keywords: [ "love", "like", "affection", "valentines" ], + char: "\ud83d\udc9c", + fitzpatrick_scale: false, + category: "symbols" + }, + black_heart: { + keywords: [ "evil" ], + char: "\ud83d\udda4", + fitzpatrick_scale: false, + category: "symbols" + }, + broken_heart: { + keywords: [ "sad", "sorry", "break", "heart", "heartbreak" ], + char: "\ud83d\udc94", + fitzpatrick_scale: false, + category: "symbols" + }, + heavy_heart_exclamation: { + keywords: [ "decoration", "love" ], + char: "\u2763", + fitzpatrick_scale: false, + category: "symbols" + }, + two_hearts: { + keywords: [ "love", "like", "affection", "valentines", "heart" ], + char: "\ud83d\udc95", + fitzpatrick_scale: false, + category: "symbols" + }, + revolving_hearts: { + keywords: [ "love", "like", "affection", "valentines" ], + char: "\ud83d\udc9e", + fitzpatrick_scale: false, + category: "symbols" + }, + heartbeat: { + keywords: [ "love", "like", "affection", "valentines", "pink", "heart" ], + char: "\ud83d\udc93", + fitzpatrick_scale: false, + category: "symbols" + }, + heartpulse: { + keywords: [ "like", "love", "affection", "valentines", "pink" ], + char: "\ud83d\udc97", + fitzpatrick_scale: false, + category: "symbols" + }, + sparkling_heart: { + keywords: [ "love", "like", "affection", "valentines" ], + char: "\ud83d\udc96", + fitzpatrick_scale: false, + category: "symbols" + }, + cupid: { + keywords: [ "love", "like", "heart", "affection", "valentines" ], + char: "\ud83d\udc98", + fitzpatrick_scale: false, + category: "symbols" + }, + gift_heart: { + keywords: [ "love", "valentines" ], + char: "\ud83d\udc9d", + fitzpatrick_scale: false, + category: "symbols" + }, + heart_decoration: { + keywords: [ "purple-square", "love", "like" ], + char: "\ud83d\udc9f", + fitzpatrick_scale: false, + category: "symbols" + }, + peace_symbol: { + keywords: [ "hippie" ], + char: "\u262e", + fitzpatrick_scale: false, + category: "symbols" + }, + latin_cross: { + keywords: [ "christianity" ], + char: "\u271d", + fitzpatrick_scale: false, + category: "symbols" + }, + star_and_crescent: { + keywords: [ "islam" ], + char: "\u262a", + fitzpatrick_scale: false, + category: "symbols" + }, + om: { + keywords: [ "hinduism", "buddhism", "sikhism", "jainism" ], + char: "\ud83d\udd49", + fitzpatrick_scale: false, + category: "symbols" + }, + wheel_of_dharma: { + keywords: [ "hinduism", "buddhism", "sikhism", "jainism" ], + char: "\u2638", + fitzpatrick_scale: false, + category: "symbols" + }, + star_of_david: { + keywords: [ "judaism" ], + char: "\u2721", + fitzpatrick_scale: false, + category: "symbols" + }, + six_pointed_star: { + keywords: [ "purple-square", "religion", "jewish", "hexagram" ], + char: "\ud83d\udd2f", + fitzpatrick_scale: false, + category: "symbols" + }, + menorah: { + keywords: [ "hanukkah", "candles", "jewish" ], + char: "\ud83d\udd4e", + fitzpatrick_scale: false, + category: "symbols" + }, + yin_yang: { + keywords: [ "balance" ], + char: "\u262f", + fitzpatrick_scale: false, + category: "symbols" + }, + orthodox_cross: { + keywords: [ "suppedaneum", "religion" ], + char: "\u2626", + fitzpatrick_scale: false, + category: "symbols" + }, + place_of_worship: { + keywords: [ "religion", "church", "temple", "prayer" ], + char: "\ud83d\uded0", + fitzpatrick_scale: false, + category: "symbols" + }, + ophiuchus: { + keywords: [ "sign", "purple-square", "constellation", "astrology" ], + char: "\u26ce", + fitzpatrick_scale: false, + category: "symbols" + }, + aries: { + keywords: [ "sign", "purple-square", "zodiac", "astrology" ], + char: "\u2648", + fitzpatrick_scale: false, + category: "symbols" + }, + taurus: { + keywords: [ "purple-square", "sign", "zodiac", "astrology" ], + char: "\u2649", + fitzpatrick_scale: false, + category: "symbols" + }, + gemini: { + keywords: [ "sign", "zodiac", "purple-square", "astrology" ], + char: "\u264a", + fitzpatrick_scale: false, + category: "symbols" + }, + cancer: { + keywords: [ "sign", "zodiac", "purple-square", "astrology" ], + char: "\u264b", + fitzpatrick_scale: false, + category: "symbols" + }, + leo: { + keywords: [ "sign", "purple-square", "zodiac", "astrology" ], + char: "\u264c", + fitzpatrick_scale: false, + category: "symbols" + }, + virgo: { + keywords: [ "sign", "zodiac", "purple-square", "astrology" ], + char: "\u264d", + fitzpatrick_scale: false, + category: "symbols" + }, + libra: { + keywords: [ "sign", "purple-square", "zodiac", "astrology" ], + char: "\u264e", + fitzpatrick_scale: false, + category: "symbols" + }, + scorpius: { + keywords: [ "sign", "zodiac", "purple-square", "astrology", "scorpio" ], + char: "\u264f", + fitzpatrick_scale: false, + category: "symbols" + }, + sagittarius: { + keywords: [ "sign", "zodiac", "purple-square", "astrology" ], + char: "\u2650", + fitzpatrick_scale: false, + category: "symbols" + }, + capricorn: { + keywords: [ "sign", "zodiac", "purple-square", "astrology" ], + char: "\u2651", + fitzpatrick_scale: false, + category: "symbols" + }, + aquarius: { + keywords: [ "sign", "purple-square", "zodiac", "astrology" ], + char: "\u2652", + fitzpatrick_scale: false, + category: "symbols" + }, + pisces: { + keywords: [ "purple-square", "sign", "zodiac", "astrology" ], + char: "\u2653", + fitzpatrick_scale: false, + category: "symbols" + }, + id: { + keywords: [ "purple-square", "words" ], + char: "\ud83c\udd94", + fitzpatrick_scale: false, + category: "symbols" + }, + atom_symbol: { + keywords: [ "science", "physics", "chemistry" ], + char: "\u269b", + fitzpatrick_scale: false, + category: "symbols" + }, + u7a7a: { + keywords: [ "kanji", "japanese", "chinese", "empty", "sky", "blue-square" ], + char: "\ud83c\ude33", + fitzpatrick_scale: false, + category: "symbols" + }, + u5272: { + keywords: [ "cut", "divide", "chinese", "kanji", "pink-square" ], + char: "\ud83c\ude39", + fitzpatrick_scale: false, + category: "symbols" + }, + radioactive: { + keywords: [ "nuclear", "danger" ], + char: "\u2622", + fitzpatrick_scale: false, + category: "symbols" + }, + biohazard: { + keywords: [ "danger" ], + char: "\u2623", + fitzpatrick_scale: false, + category: "symbols" + }, + mobile_phone_off: { + keywords: [ "mute", "orange-square", "silence", "quiet" ], + char: "\ud83d\udcf4", + fitzpatrick_scale: false, + category: "symbols" + }, + vibration_mode: { + keywords: [ "orange-square", "phone" ], + char: "\ud83d\udcf3", + fitzpatrick_scale: false, + category: "symbols" + }, + u6709: { + keywords: [ "orange-square", "chinese", "have", "kanji" ], + char: "\ud83c\ude36", + fitzpatrick_scale: false, + category: "symbols" + }, + u7121: { + keywords: [ "nothing", "chinese", "kanji", "japanese", "orange-square" ], + char: "\ud83c\ude1a", + fitzpatrick_scale: false, + category: "symbols" + }, + u7533: { + keywords: [ "chinese", "japanese", "kanji", "orange-square" ], + char: "\ud83c\ude38", + fitzpatrick_scale: false, + category: "symbols" + }, + u55b6: { + keywords: [ "japanese", "opening hours", "orange-square" ], + char: "\ud83c\ude3a", + fitzpatrick_scale: false, + category: "symbols" + }, + u6708: { + keywords: [ "chinese", "month", "moon", "japanese", "orange-square", "kanji" ], + char: "\ud83c\ude37\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + eight_pointed_black_star: { + keywords: [ "orange-square", "shape", "polygon" ], + char: "\u2734\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + vs: { + keywords: [ "words", "orange-square" ], + char: "\ud83c\udd9a", + fitzpatrick_scale: false, + category: "symbols" + }, + accept: { + keywords: [ "ok", "good", "chinese", "kanji", "agree", "yes", "orange-circle" ], + char: "\ud83c\ude51", + fitzpatrick_scale: false, + category: "symbols" + }, + white_flower: { + keywords: [ "japanese", "spring" ], + char: "\ud83d\udcae", + fitzpatrick_scale: false, + category: "symbols" + }, + ideograph_advantage: { + keywords: [ "chinese", "kanji", "obtain", "get", "circle" ], + char: "\ud83c\ude50", + fitzpatrick_scale: false, + category: "symbols" + }, + secret: { + keywords: [ "privacy", "chinese", "sshh", "kanji", "red-circle" ], + char: "\u3299\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + congratulations: { + keywords: [ "chinese", "kanji", "japanese", "red-circle" ], + char: "\u3297\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + u5408: { + keywords: [ "japanese", "chinese", "join", "kanji", "red-square" ], + char: "\ud83c\ude34", + fitzpatrick_scale: false, + category: "symbols" + }, + u6e80: { + keywords: [ "full", "chinese", "japanese", "red-square", "kanji" ], + char: "\ud83c\ude35", + fitzpatrick_scale: false, + category: "symbols" + }, + u7981: { + keywords: [ "kanji", "japanese", "chinese", "forbidden", "limit", "restricted", "red-square" ], + char: "\ud83c\ude32", + fitzpatrick_scale: false, + category: "symbols" + }, + a: { + keywords: [ "red-square", "alphabet", "letter" ], + char: "\ud83c\udd70\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + b: { + keywords: [ "red-square", "alphabet", "letter" ], + char: "\ud83c\udd71\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + ab: { + keywords: [ "red-square", "alphabet" ], + char: "\ud83c\udd8e", + fitzpatrick_scale: false, + category: "symbols" + }, + cl: { + keywords: [ "alphabet", "words", "red-square" ], + char: "\ud83c\udd91", + fitzpatrick_scale: false, + category: "symbols" + }, + o2: { + keywords: [ "alphabet", "red-square", "letter" ], + char: "\ud83c\udd7e\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + sos: { + keywords: [ "help", "red-square", "words", "emergency", "911" ], + char: "\ud83c\udd98", + fitzpatrick_scale: false, + category: "symbols" + }, + no_entry: { + keywords: [ "limit", "security", "privacy", "bad", "denied", "stop", "circle" ], + char: "\u26d4", + fitzpatrick_scale: false, + category: "symbols" + }, + name_badge: { + keywords: [ "fire", "forbid" ], + char: "\ud83d\udcdb", + fitzpatrick_scale: false, + category: "symbols" + }, + no_entry_sign: { + keywords: [ "forbid", "stop", "limit", "denied", "disallow", "circle" ], + char: "\ud83d\udeab", + fitzpatrick_scale: false, + category: "symbols" + }, + x: { + keywords: [ "no", "delete", "remove", "cancel", "red" ], + char: "\u274c", + fitzpatrick_scale: false, + category: "symbols" + }, + o: { + keywords: [ "circle", "round" ], + char: "\u2b55", + fitzpatrick_scale: false, + category: "symbols" + }, + stop_sign: { + keywords: [ "stop" ], + char: "\ud83d\uded1", + fitzpatrick_scale: false, + category: "symbols" + }, + anger: { + keywords: [ "angry", "mad" ], + char: "\ud83d\udca2", + fitzpatrick_scale: false, + category: "symbols" + }, + hotsprings: { + keywords: [ "bath", "warm", "relax" ], + char: "\u2668\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + no_pedestrians: { + keywords: [ "rules", "crossing", "walking", "circle" ], + char: "\ud83d\udeb7", + fitzpatrick_scale: false, + category: "symbols" + }, + do_not_litter: { + keywords: [ "trash", "bin", "garbage", "circle" ], + char: "\ud83d\udeaf", + fitzpatrick_scale: false, + category: "symbols" + }, + no_bicycles: { + keywords: [ "cyclist", "prohibited", "circle" ], + char: "\ud83d\udeb3", + fitzpatrick_scale: false, + category: "symbols" + }, + "non-potable_water": { + keywords: [ "drink", "faucet", "tap", "circle" ], + char: "\ud83d\udeb1", + fitzpatrick_scale: false, + category: "symbols" + }, + underage: { + keywords: [ "18", "drink", "pub", "night", "minor", "circle" ], + char: "\ud83d\udd1e", + fitzpatrick_scale: false, + category: "symbols" + }, + no_mobile_phones: { + keywords: [ "iphone", "mute", "circle" ], + char: "\ud83d\udcf5", + fitzpatrick_scale: false, + category: "symbols" + }, + exclamation: { + keywords: [ "heavy_exclamation_mark", "danger", "surprise", "punctuation", "wow", "warning" ], + char: "\u2757", + fitzpatrick_scale: false, + category: "symbols" + }, + grey_exclamation: { + keywords: [ "surprise", "punctuation", "gray", "wow", "warning" ], + char: "\u2755", + fitzpatrick_scale: false, + category: "symbols" + }, + question: { + keywords: [ "doubt", "confused" ], + char: "\u2753", + fitzpatrick_scale: false, + category: "symbols" + }, + grey_question: { + keywords: [ "doubts", "gray", "huh", "confused" ], + char: "\u2754", + fitzpatrick_scale: false, + category: "symbols" + }, + bangbang: { + keywords: [ "exclamation", "surprise" ], + char: "\u203c\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + interrobang: { + keywords: [ "wat", "punctuation", "surprise" ], + char: "\u2049\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + 100: { + keywords: [ "score", "perfect", "numbers", "century", "exam", "quiz", "test", "pass", "hundred" ], + char: "\ud83d\udcaf", + fitzpatrick_scale: false, + category: "symbols" + }, + low_brightness: { + keywords: [ "sun", "afternoon", "warm", "summer" ], + char: "\ud83d\udd05", + fitzpatrick_scale: false, + category: "symbols" + }, + high_brightness: { + keywords: [ "sun", "light" ], + char: "\ud83d\udd06", + fitzpatrick_scale: false, + category: "symbols" + }, + trident: { + keywords: [ "weapon", "spear" ], + char: "\ud83d\udd31", + fitzpatrick_scale: false, + category: "symbols" + }, + fleur_de_lis: { + keywords: [ "decorative", "scout" ], + char: "\u269c", + fitzpatrick_scale: false, + category: "symbols" + }, + part_alternation_mark: { + keywords: [ "graph", "presentation", "stats", "business", "economics", "bad" ], + char: "\u303d\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + warning: { + keywords: [ "exclamation", "wip", "alert", "error", "problem", "issue" ], + char: "\u26a0\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + children_crossing: { + keywords: [ "school", "warning", "danger", "sign", "driving", "yellow-diamond" ], + char: "\ud83d\udeb8", + fitzpatrick_scale: false, + category: "symbols" + }, + beginner: { + keywords: [ "badge", "shield" ], + char: "\ud83d\udd30", + fitzpatrick_scale: false, + category: "symbols" + }, + recycle: { + keywords: [ "arrow", "environment", "garbage", "trash" ], + char: "\u267b\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + u6307: { + keywords: [ "chinese", "point", "green-square", "kanji" ], + char: "\ud83c\ude2f", + fitzpatrick_scale: false, + category: "symbols" + }, + chart: { + keywords: [ "green-square", "graph", "presentation", "stats" ], + char: "\ud83d\udcb9", + fitzpatrick_scale: false, + category: "symbols" + }, + sparkle: { + keywords: [ "stars", "green-square", "awesome", "good", "fireworks" ], + char: "\u2747\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + eight_spoked_asterisk: { + keywords: [ "star", "sparkle", "green-square" ], + char: "\u2733\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + negative_squared_cross_mark: { + keywords: [ "x", "green-square", "no", "deny" ], + char: "\u274e", + fitzpatrick_scale: false, + category: "symbols" + }, + white_check_mark: { + keywords: [ "green-square", "ok", "agree", "vote", "election", "answer", "tick" ], + char: "\u2705", + fitzpatrick_scale: false, + category: "symbols" + }, + diamond_shape_with_a_dot_inside: { + keywords: [ "jewel", "blue", "gem", "crystal", "fancy" ], + char: "\ud83d\udca0", + fitzpatrick_scale: false, + category: "symbols" + }, + cyclone: { + keywords: [ "weather", "swirl", "blue", "cloud", "vortex", "spiral", "whirlpool", "spin", "tornado", "hurricane", "typhoon" ], + char: "\ud83c\udf00", + fitzpatrick_scale: false, + category: "symbols" + }, + loop: { + keywords: [ "tape", "cassette" ], + char: "\u27bf", + fitzpatrick_scale: false, + category: "symbols" + }, + globe_with_meridians: { + keywords: [ "earth", "international", "world", "internet", "interweb", "i18n" ], + char: "\ud83c\udf10", + fitzpatrick_scale: false, + category: "symbols" + }, + m: { + keywords: [ "alphabet", "blue-circle", "letter" ], + char: "\u24c2\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + atm: { + keywords: [ "money", "sales", "cash", "blue-square", "payment", "bank" ], + char: "\ud83c\udfe7", + fitzpatrick_scale: false, + category: "symbols" + }, + sa: { + keywords: [ "japanese", "blue-square", "katakana" ], + char: "\ud83c\ude02\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + passport_control: { + keywords: [ "custom", "blue-square" ], + char: "\ud83d\udec2", + fitzpatrick_scale: false, + category: "symbols" + }, + customs: { + keywords: [ "passport", "border", "blue-square" ], + char: "\ud83d\udec3", + fitzpatrick_scale: false, + category: "symbols" + }, + baggage_claim: { + keywords: [ "blue-square", "airport", "transport" ], + char: "\ud83d\udec4", + fitzpatrick_scale: false, + category: "symbols" + }, + left_luggage: { + keywords: [ "blue-square", "travel" ], + char: "\ud83d\udec5", + fitzpatrick_scale: false, + category: "symbols" + }, + wheelchair: { + keywords: [ "blue-square", "disabled", "a11y", "accessibility" ], + char: "\u267f", + fitzpatrick_scale: false, + category: "symbols" + }, + no_smoking: { + keywords: [ "cigarette", "blue-square", "smell", "smoke" ], + char: "\ud83d\udead", + fitzpatrick_scale: false, + category: "symbols" + }, + wc: { + keywords: [ "toilet", "restroom", "blue-square" ], + char: "\ud83d\udebe", + fitzpatrick_scale: false, + category: "symbols" + }, + parking: { + keywords: [ "cars", "blue-square", "alphabet", "letter" ], + char: "\ud83c\udd7f\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + potable_water: { + keywords: [ "blue-square", "liquid", "restroom", "cleaning", "faucet" ], + char: "\ud83d\udeb0", + fitzpatrick_scale: false, + category: "symbols" + }, + mens: { + keywords: [ "toilet", "restroom", "wc", "blue-square", "gender", "male" ], + char: "\ud83d\udeb9", + fitzpatrick_scale: false, + category: "symbols" + }, + womens: { + keywords: [ "purple-square", "woman", "female", "toilet", "loo", "restroom", "gender" ], + char: "\ud83d\udeba", + fitzpatrick_scale: false, + category: "symbols" + }, + baby_symbol: { + keywords: [ "orange-square", "child" ], + char: "\ud83d\udebc", + fitzpatrick_scale: false, + category: "symbols" + }, + restroom: { + keywords: [ "blue-square", "toilet", "refresh", "wc", "gender" ], + char: "\ud83d\udebb", + fitzpatrick_scale: false, + category: "symbols" + }, + put_litter_in_its_place: { + keywords: [ "blue-square", "sign", "human", "info" ], + char: "\ud83d\udeae", + fitzpatrick_scale: false, + category: "symbols" + }, + cinema: { + keywords: [ "blue-square", "record", "film", "movie", "curtain", "stage", "theater" ], + char: "\ud83c\udfa6", + fitzpatrick_scale: false, + category: "symbols" + }, + signal_strength: { + keywords: [ "blue-square", "reception", "phone", "internet", "connection", "wifi", "bluetooth", "bars" ], + char: "\ud83d\udcf6", + fitzpatrick_scale: false, + category: "symbols" + }, + koko: { + keywords: [ "blue-square", "here", "katakana", "japanese", "destination" ], + char: "\ud83c\ude01", + fitzpatrick_scale: false, + category: "symbols" + }, + ng: { + keywords: [ "blue-square", "words", "shape", "icon" ], + char: "\ud83c\udd96", + fitzpatrick_scale: false, + category: "symbols" + }, + ok: { + keywords: [ "good", "agree", "yes", "blue-square" ], + char: "\ud83c\udd97", + fitzpatrick_scale: false, + category: "symbols" + }, + up: { + keywords: [ "blue-square", "above", "high" ], + char: "\ud83c\udd99", + fitzpatrick_scale: false, + category: "symbols" + }, + cool: { + keywords: [ "words", "blue-square" ], + char: "\ud83c\udd92", + fitzpatrick_scale: false, + category: "symbols" + }, + new: { + keywords: [ "blue-square", "words", "start" ], + char: "\ud83c\udd95", + fitzpatrick_scale: false, + category: "symbols" + }, + free: { + keywords: [ "blue-square", "words" ], + char: "\ud83c\udd93", + fitzpatrick_scale: false, + category: "symbols" + }, + zero: { + keywords: [ "0", "numbers", "blue-square", "null" ], + char: "0\ufe0f\u20e3", + fitzpatrick_scale: false, + category: "symbols" + }, + one: { + keywords: [ "blue-square", "numbers", "1" ], + char: "1\ufe0f\u20e3", + fitzpatrick_scale: false, + category: "symbols" + }, + two: { + keywords: [ "numbers", "2", "prime", "blue-square" ], + char: "2\ufe0f\u20e3", + fitzpatrick_scale: false, + category: "symbols" + }, + three: { + keywords: [ "3", "numbers", "prime", "blue-square" ], + char: "3\ufe0f\u20e3", + fitzpatrick_scale: false, + category: "symbols" + }, + four: { + keywords: [ "4", "numbers", "blue-square" ], + char: "4\ufe0f\u20e3", + fitzpatrick_scale: false, + category: "symbols" + }, + five: { + keywords: [ "5", "numbers", "blue-square", "prime" ], + char: "5\ufe0f\u20e3", + fitzpatrick_scale: false, + category: "symbols" + }, + six: { + keywords: [ "6", "numbers", "blue-square" ], + char: "6\ufe0f\u20e3", + fitzpatrick_scale: false, + category: "symbols" + }, + seven: { + keywords: [ "7", "numbers", "blue-square", "prime" ], + char: "7\ufe0f\u20e3", + fitzpatrick_scale: false, + category: "symbols" + }, + eight: { + keywords: [ "8", "blue-square", "numbers" ], + char: "8\ufe0f\u20e3", + fitzpatrick_scale: false, + category: "symbols" + }, + nine: { + keywords: [ "blue-square", "numbers", "9" ], + char: "9\ufe0f\u20e3", + fitzpatrick_scale: false, + category: "symbols" + }, + keycap_ten: { + keywords: [ "numbers", "10", "blue-square" ], + char: "\ud83d\udd1f", + fitzpatrick_scale: false, + category: "symbols" + }, + asterisk: { + keywords: [ "star", "keycap" ], + char: "*\u20e3", + fitzpatrick_scale: false, + category: "symbols" + }, + 1234: { + keywords: [ "numbers", "blue-square" ], + char: "\ud83d\udd22", + fitzpatrick_scale: false, + category: "symbols" + }, + eject_button: { + keywords: [ "blue-square" ], + char: "\u23cf\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_forward: { + keywords: [ "blue-square", "right", "direction", "play" ], + char: "\u25b6\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + pause_button: { + keywords: [ "pause", "blue-square" ], + char: "\u23f8", + fitzpatrick_scale: false, + category: "symbols" + }, + next_track_button: { + keywords: [ "forward", "next", "blue-square" ], + char: "\u23ed", + fitzpatrick_scale: false, + category: "symbols" + }, + stop_button: { + keywords: [ "blue-square" ], + char: "\u23f9", + fitzpatrick_scale: false, + category: "symbols" + }, + record_button: { + keywords: [ "blue-square" ], + char: "\u23fa", + fitzpatrick_scale: false, + category: "symbols" + }, + play_or_pause_button: { + keywords: [ "blue-square", "play", "pause" ], + char: "\u23ef", + fitzpatrick_scale: false, + category: "symbols" + }, + previous_track_button: { + keywords: [ "backward" ], + char: "\u23ee", + fitzpatrick_scale: false, + category: "symbols" + }, + fast_forward: { + keywords: [ "blue-square", "play", "speed", "continue" ], + char: "\u23e9", + fitzpatrick_scale: false, + category: "symbols" + }, + rewind: { + keywords: [ "play", "blue-square" ], + char: "\u23ea", + fitzpatrick_scale: false, + category: "symbols" + }, + twisted_rightwards_arrows: { + keywords: [ "blue-square", "shuffle", "music", "random" ], + char: "\ud83d\udd00", + fitzpatrick_scale: false, + category: "symbols" + }, + repeat: { + keywords: [ "loop", "record" ], + char: "\ud83d\udd01", + fitzpatrick_scale: false, + category: "symbols" + }, + repeat_one: { + keywords: [ "blue-square", "loop" ], + char: "\ud83d\udd02", + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_backward: { + keywords: [ "blue-square", "left", "direction" ], + char: "\u25c0\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_up_small: { + keywords: [ "blue-square", "triangle", "direction", "point", "forward", "top" ], + char: "\ud83d\udd3c", + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_down_small: { + keywords: [ "blue-square", "direction", "bottom" ], + char: "\ud83d\udd3d", + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_double_up: { + keywords: [ "blue-square", "direction", "top" ], + char: "\u23eb", + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_double_down: { + keywords: [ "blue-square", "direction", "bottom" ], + char: "\u23ec", + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_right: { + keywords: [ "blue-square", "next" ], + char: "\u27a1\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_left: { + keywords: [ "blue-square", "previous", "back" ], + char: "\u2b05\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_up: { + keywords: [ "blue-square", "continue", "top", "direction" ], + char: "\u2b06\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_down: { + keywords: [ "blue-square", "direction", "bottom" ], + char: "\u2b07\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_upper_right: { + keywords: [ "blue-square", "point", "direction", "diagonal", "northeast" ], + char: "\u2197\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_lower_right: { + keywords: [ "blue-square", "direction", "diagonal", "southeast" ], + char: "\u2198\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_lower_left: { + keywords: [ "blue-square", "direction", "diagonal", "southwest" ], + char: "\u2199\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_upper_left: { + keywords: [ "blue-square", "point", "direction", "diagonal", "northwest" ], + char: "\u2196\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_up_down: { + keywords: [ "blue-square", "direction", "way", "vertical" ], + char: "\u2195\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + left_right_arrow: { + keywords: [ "shape", "direction", "horizontal", "sideways" ], + char: "\u2194\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + arrows_counterclockwise: { + keywords: [ "blue-square", "sync", "cycle" ], + char: "\ud83d\udd04", + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_right_hook: { + keywords: [ "blue-square", "return", "rotate", "direction" ], + char: "\u21aa\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + leftwards_arrow_with_hook: { + keywords: [ "back", "return", "blue-square", "undo", "enter" ], + char: "\u21a9\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_heading_up: { + keywords: [ "blue-square", "direction", "top" ], + char: "\u2934\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + arrow_heading_down: { + keywords: [ "blue-square", "direction", "bottom" ], + char: "\u2935\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + hash: { + keywords: [ "symbol", "blue-square", "twitter" ], + char: "#\ufe0f\u20e3", + fitzpatrick_scale: false, + category: "symbols" + }, + information_source: { + keywords: [ "blue-square", "alphabet", "letter" ], + char: "\u2139\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + abc: { + keywords: [ "blue-square", "alphabet" ], + char: "\ud83d\udd24", + fitzpatrick_scale: false, + category: "symbols" + }, + abcd: { + keywords: [ "blue-square", "alphabet" ], + char: "\ud83d\udd21", + fitzpatrick_scale: false, + category: "symbols" + }, + capital_abcd: { + keywords: [ "alphabet", "words", "blue-square" ], + char: "\ud83d\udd20", + fitzpatrick_scale: false, + category: "symbols" + }, + symbols: { + keywords: [ "blue-square", "music", "note", "ampersand", "percent", "glyphs", "characters" ], + char: "\ud83d\udd23", + fitzpatrick_scale: false, + category: "symbols" + }, + musical_note: { + keywords: [ "score", "tone", "sound" ], + char: "\ud83c\udfb5", + fitzpatrick_scale: false, + category: "symbols" + }, + notes: { + keywords: [ "music", "score" ], + char: "\ud83c\udfb6", + fitzpatrick_scale: false, + category: "symbols" + }, + wavy_dash: { + keywords: [ "draw", "line", "moustache", "mustache", "squiggle", "scribble" ], + char: "\u3030\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + curly_loop: { + keywords: [ "scribble", "draw", "shape", "squiggle" ], + char: "\u27b0", + fitzpatrick_scale: false, + category: "symbols" + }, + heavy_check_mark: { + keywords: [ "ok", "nike", "answer", "yes", "tick" ], + char: "\u2714\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + arrows_clockwise: { + keywords: [ "sync", "cycle", "round", "repeat" ], + char: "\ud83d\udd03", + fitzpatrick_scale: false, + category: "symbols" + }, + heavy_plus_sign: { + keywords: [ "math", "calculation", "addition", "more", "increase" ], + char: "\u2795", + fitzpatrick_scale: false, + category: "symbols" + }, + heavy_minus_sign: { + keywords: [ "math", "calculation", "subtract", "less" ], + char: "\u2796", + fitzpatrick_scale: false, + category: "symbols" + }, + heavy_division_sign: { + keywords: [ "divide", "math", "calculation" ], + char: "\u2797", + fitzpatrick_scale: false, + category: "symbols" + }, + heavy_multiplication_x: { + keywords: [ "math", "calculation" ], + char: "\u2716\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + infinity: { + keywords: [ "forever" ], + char: "\u267e", + fitzpatrick_scale: false, + category: "symbols" + }, + heavy_dollar_sign: { + keywords: [ "money", "sales", "payment", "currency", "buck" ], + char: "\ud83d\udcb2", + fitzpatrick_scale: false, + category: "symbols" + }, + currency_exchange: { + keywords: [ "money", "sales", "dollar", "travel" ], + char: "\ud83d\udcb1", + fitzpatrick_scale: false, + category: "symbols" + }, + copyright: { + keywords: [ "ip", "license", "circle", "law", "legal" ], + char: "\xa9\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + registered: { + keywords: [ "alphabet", "circle" ], + char: "\xae\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + tm: { + keywords: [ "trademark", "brand", "law", "legal" ], + char: "\u2122\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + end: { + keywords: [ "words", "arrow" ], + char: "\ud83d\udd1a", + fitzpatrick_scale: false, + category: "symbols" + }, + back: { + keywords: [ "arrow", "words", "return" ], + char: "\ud83d\udd19", + fitzpatrick_scale: false, + category: "symbols" + }, + on: { + keywords: [ "arrow", "words" ], + char: "\ud83d\udd1b", + fitzpatrick_scale: false, + category: "symbols" + }, + top: { + keywords: [ "words", "blue-square" ], + char: "\ud83d\udd1d", + fitzpatrick_scale: false, + category: "symbols" + }, + soon: { + keywords: [ "arrow", "words" ], + char: "\ud83d\udd1c", + fitzpatrick_scale: false, + category: "symbols" + }, + ballot_box_with_check: { + keywords: [ "ok", "agree", "confirm", "black-square", "vote", "election", "yes", "tick" ], + char: "\u2611\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + radio_button: { + keywords: [ "input", "old", "music", "circle" ], + char: "\ud83d\udd18", + fitzpatrick_scale: false, + category: "symbols" + }, + white_circle: { + keywords: [ "shape", "round" ], + char: "\u26aa", + fitzpatrick_scale: false, + category: "symbols" + }, + black_circle: { + keywords: [ "shape", "button", "round" ], + char: "\u26ab", + fitzpatrick_scale: false, + category: "symbols" + }, + red_circle: { + keywords: [ "shape", "error", "danger" ], + char: "\ud83d\udd34", + fitzpatrick_scale: false, + category: "symbols" + }, + large_blue_circle: { + keywords: [ "shape", "icon", "button" ], + char: "\ud83d\udd35", + fitzpatrick_scale: false, + category: "symbols" + }, + small_orange_diamond: { + keywords: [ "shape", "jewel", "gem" ], + char: "\ud83d\udd38", + fitzpatrick_scale: false, + category: "symbols" + }, + small_blue_diamond: { + keywords: [ "shape", "jewel", "gem" ], + char: "\ud83d\udd39", + fitzpatrick_scale: false, + category: "symbols" + }, + large_orange_diamond: { + keywords: [ "shape", "jewel", "gem" ], + char: "\ud83d\udd36", + fitzpatrick_scale: false, + category: "symbols" + }, + large_blue_diamond: { + keywords: [ "shape", "jewel", "gem" ], + char: "\ud83d\udd37", + fitzpatrick_scale: false, + category: "symbols" + }, + small_red_triangle: { + keywords: [ "shape", "direction", "up", "top" ], + char: "\ud83d\udd3a", + fitzpatrick_scale: false, + category: "symbols" + }, + black_small_square: { + keywords: [ "shape", "icon" ], + char: "\u25aa\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + white_small_square: { + keywords: [ "shape", "icon" ], + char: "\u25ab\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + black_large_square: { + keywords: [ "shape", "icon", "button" ], + char: "\u2b1b", + fitzpatrick_scale: false, + category: "symbols" + }, + white_large_square: { + keywords: [ "shape", "icon", "stone", "button" ], + char: "\u2b1c", + fitzpatrick_scale: false, + category: "symbols" + }, + small_red_triangle_down: { + keywords: [ "shape", "direction", "bottom" ], + char: "\ud83d\udd3b", + fitzpatrick_scale: false, + category: "symbols" + }, + black_medium_square: { + keywords: [ "shape", "button", "icon" ], + char: "\u25fc\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + white_medium_square: { + keywords: [ "shape", "stone", "icon" ], + char: "\u25fb\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + black_medium_small_square: { + keywords: [ "icon", "shape", "button" ], + char: "\u25fe", + fitzpatrick_scale: false, + category: "symbols" + }, + white_medium_small_square: { + keywords: [ "shape", "stone", "icon", "button" ], + char: "\u25fd", + fitzpatrick_scale: false, + category: "symbols" + }, + black_square_button: { + keywords: [ "shape", "input", "frame" ], + char: "\ud83d\udd32", + fitzpatrick_scale: false, + category: "symbols" + }, + white_square_button: { + keywords: [ "shape", "input" ], + char: "\ud83d\udd33", + fitzpatrick_scale: false, + category: "symbols" + }, + speaker: { + keywords: [ "sound", "volume", "silence", "broadcast" ], + char: "\ud83d\udd08", + fitzpatrick_scale: false, + category: "symbols" + }, + sound: { + keywords: [ "volume", "speaker", "broadcast" ], + char: "\ud83d\udd09", + fitzpatrick_scale: false, + category: "symbols" + }, + loud_sound: { + keywords: [ "volume", "noise", "noisy", "speaker", "broadcast" ], + char: "\ud83d\udd0a", + fitzpatrick_scale: false, + category: "symbols" + }, + mute: { + keywords: [ "sound", "volume", "silence", "quiet" ], + char: "\ud83d\udd07", + fitzpatrick_scale: false, + category: "symbols" + }, + mega: { + keywords: [ "sound", "speaker", "volume" ], + char: "\ud83d\udce3", + fitzpatrick_scale: false, + category: "symbols" + }, + loudspeaker: { + keywords: [ "volume", "sound" ], + char: "\ud83d\udce2", + fitzpatrick_scale: false, + category: "symbols" + }, + bell: { + keywords: [ "sound", "notification", "christmas", "xmas", "chime" ], + char: "\ud83d\udd14", + fitzpatrick_scale: false, + category: "symbols" + }, + no_bell: { + keywords: [ "sound", "volume", "mute", "quiet", "silent" ], + char: "\ud83d\udd15", + fitzpatrick_scale: false, + category: "symbols" + }, + black_joker: { + keywords: [ "poker", "cards", "game", "play", "magic" ], + char: "\ud83c\udccf", + fitzpatrick_scale: false, + category: "symbols" + }, + mahjong: { + keywords: [ "game", "play", "chinese", "kanji" ], + char: "\ud83c\udc04", + fitzpatrick_scale: false, + category: "symbols" + }, + spades: { + keywords: [ "poker", "cards", "suits", "magic" ], + char: "\u2660\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + clubs: { + keywords: [ "poker", "cards", "magic", "suits" ], + char: "\u2663\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + hearts: { + keywords: [ "poker", "cards", "magic", "suits" ], + char: "\u2665\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + diamonds: { + keywords: [ "poker", "cards", "magic", "suits" ], + char: "\u2666\ufe0f", + fitzpatrick_scale: false, + category: "symbols" + }, + flower_playing_cards: { + keywords: [ "game", "sunset", "red" ], + char: "\ud83c\udfb4", + fitzpatrick_scale: false, + category: "symbols" + }, + thought_balloon: { + keywords: [ "bubble", "cloud", "speech", "thinking", "dream" ], + char: "\ud83d\udcad", + fitzpatrick_scale: false, + category: "symbols" + }, + right_anger_bubble: { + keywords: [ "caption", "speech", "thinking", "mad" ], + char: "\ud83d\uddef", + fitzpatrick_scale: false, + category: "symbols" + }, + speech_balloon: { + keywords: [ "bubble", "words", "message", "talk", "chatting" ], + char: "\ud83d\udcac", + fitzpatrick_scale: false, + category: "symbols" + }, + left_speech_bubble: { + keywords: [ "words", "message", "talk", "chatting" ], + char: "\ud83d\udde8", + fitzpatrick_scale: false, + category: "symbols" + }, + clock1: { + keywords: [ "time", "late", "early", "schedule" ], + char: "\ud83d\udd50", + fitzpatrick_scale: false, + category: "symbols" + }, + clock2: { + keywords: [ "time", "late", "early", "schedule" ], + char: "\ud83d\udd51", + fitzpatrick_scale: false, + category: "symbols" + }, + clock3: { + keywords: [ "time", "late", "early", "schedule" ], + char: "\ud83d\udd52", + fitzpatrick_scale: false, + category: "symbols" + }, + clock4: { + keywords: [ "time", "late", "early", "schedule" ], + char: "\ud83d\udd53", + fitzpatrick_scale: false, + category: "symbols" + }, + clock5: { + keywords: [ "time", "late", "early", "schedule" ], + char: "\ud83d\udd54", + fitzpatrick_scale: false, + category: "symbols" + }, + clock6: { + keywords: [ "time", "late", "early", "schedule", "dawn", "dusk" ], + char: "\ud83d\udd55", + fitzpatrick_scale: false, + category: "symbols" + }, + clock7: { + keywords: [ "time", "late", "early", "schedule" ], + char: "\ud83d\udd56", + fitzpatrick_scale: false, + category: "symbols" + }, + clock8: { + keywords: [ "time", "late", "early", "schedule" ], + char: "\ud83d\udd57", + fitzpatrick_scale: false, + category: "symbols" + }, + clock9: { + keywords: [ "time", "late", "early", "schedule" ], + char: "\ud83d\udd58", + fitzpatrick_scale: false, + category: "symbols" + }, + clock10: { + keywords: [ "time", "late", "early", "schedule" ], + char: "\ud83d\udd59", + fitzpatrick_scale: false, + category: "symbols" + }, + clock11: { + keywords: [ "time", "late", "early", "schedule" ], + char: "\ud83d\udd5a", + fitzpatrick_scale: false, + category: "symbols" + }, + clock12: { + keywords: [ "time", "noon", "midnight", "midday", "late", "early", "schedule" ], + char: "\ud83d\udd5b", + fitzpatrick_scale: false, + category: "symbols" + }, + clock130: { + keywords: [ "time", "late", "early", "schedule" ], + char: "\ud83d\udd5c", + fitzpatrick_scale: false, + category: "symbols" + }, + clock230: { + keywords: [ "time", "late", "early", "schedule" ], + char: "\ud83d\udd5d", + fitzpatrick_scale: false, + category: "symbols" + }, + clock330: { + keywords: [ "time", "late", "early", "schedule" ], + char: "\ud83d\udd5e", + fitzpatrick_scale: false, + category: "symbols" + }, + clock430: { + keywords: [ "time", "late", "early", "schedule" ], + char: "\ud83d\udd5f", + fitzpatrick_scale: false, + category: "symbols" + }, + clock530: { + keywords: [ "time", "late", "early", "schedule" ], + char: "\ud83d\udd60", + fitzpatrick_scale: false, + category: "symbols" + }, + clock630: { + keywords: [ "time", "late", "early", "schedule" ], + char: "\ud83d\udd61", + fitzpatrick_scale: false, + category: "symbols" + }, + clock730: { + keywords: [ "time", "late", "early", "schedule" ], + char: "\ud83d\udd62", + fitzpatrick_scale: false, + category: "symbols" + }, + clock830: { + keywords: [ "time", "late", "early", "schedule" ], + char: "\ud83d\udd63", + fitzpatrick_scale: false, + category: "symbols" + }, + clock930: { + keywords: [ "time", "late", "early", "schedule" ], + char: "\ud83d\udd64", + fitzpatrick_scale: false, + category: "symbols" + }, + clock1030: { + keywords: [ "time", "late", "early", "schedule" ], + char: "\ud83d\udd65", + fitzpatrick_scale: false, + category: "symbols" + }, + clock1130: { + keywords: [ "time", "late", "early", "schedule" ], + char: "\ud83d\udd66", + fitzpatrick_scale: false, + category: "symbols" + }, + clock1230: { + keywords: [ "time", "late", "early", "schedule" ], + char: "\ud83d\udd67", + fitzpatrick_scale: false, + category: "symbols" + }, + afghanistan: { + keywords: [ "af", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde6\ud83c\uddeb", + fitzpatrick_scale: false, + category: "flags" + }, + aland_islands: { + keywords: [ "\xc5land", "islands", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde6\ud83c\uddfd", + fitzpatrick_scale: false, + category: "flags" + }, + albania: { + keywords: [ "al", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde6\ud83c\uddf1", + fitzpatrick_scale: false, + category: "flags" + }, + algeria: { + keywords: [ "dz", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde9\ud83c\uddff", + fitzpatrick_scale: false, + category: "flags" + }, + american_samoa: { + keywords: [ "american", "ws", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde6\ud83c\uddf8", + fitzpatrick_scale: false, + category: "flags" + }, + andorra: { + keywords: [ "ad", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde6\ud83c\udde9", + fitzpatrick_scale: false, + category: "flags" + }, + angola: { + keywords: [ "ao", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde6\ud83c\uddf4", + fitzpatrick_scale: false, + category: "flags" + }, + anguilla: { + keywords: [ "ai", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde6\ud83c\uddee", + fitzpatrick_scale: false, + category: "flags" + }, + antarctica: { + keywords: [ "aq", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde6\ud83c\uddf6", + fitzpatrick_scale: false, + category: "flags" + }, + antigua_barbuda: { + keywords: [ "antigua", "barbuda", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde6\ud83c\uddec", + fitzpatrick_scale: false, + category: "flags" + }, + argentina: { + keywords: [ "ar", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde6\ud83c\uddf7", + fitzpatrick_scale: false, + category: "flags" + }, + armenia: { + keywords: [ "am", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde6\ud83c\uddf2", + fitzpatrick_scale: false, + category: "flags" + }, + aruba: { + keywords: [ "aw", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde6\ud83c\uddfc", + fitzpatrick_scale: false, + category: "flags" + }, + australia: { + keywords: [ "au", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde6\ud83c\uddfa", + fitzpatrick_scale: false, + category: "flags" + }, + austria: { + keywords: [ "at", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde6\ud83c\uddf9", + fitzpatrick_scale: false, + category: "flags" + }, + azerbaijan: { + keywords: [ "az", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde6\ud83c\uddff", + fitzpatrick_scale: false, + category: "flags" + }, + bahamas: { + keywords: [ "bs", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde7\ud83c\uddf8", + fitzpatrick_scale: false, + category: "flags" + }, + bahrain: { + keywords: [ "bh", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde7\ud83c\udded", + fitzpatrick_scale: false, + category: "flags" + }, + bangladesh: { + keywords: [ "bd", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde7\ud83c\udde9", + fitzpatrick_scale: false, + category: "flags" + }, + barbados: { + keywords: [ "bb", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde7\ud83c\udde7", + fitzpatrick_scale: false, + category: "flags" + }, + belarus: { + keywords: [ "by", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde7\ud83c\uddfe", + fitzpatrick_scale: false, + category: "flags" + }, + belgium: { + keywords: [ "be", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde7\ud83c\uddea", + fitzpatrick_scale: false, + category: "flags" + }, + belize: { + keywords: [ "bz", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde7\ud83c\uddff", + fitzpatrick_scale: false, + category: "flags" + }, + benin: { + keywords: [ "bj", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde7\ud83c\uddef", + fitzpatrick_scale: false, + category: "flags" + }, + bermuda: { + keywords: [ "bm", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde7\ud83c\uddf2", + fitzpatrick_scale: false, + category: "flags" + }, + bhutan: { + keywords: [ "bt", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde7\ud83c\uddf9", + fitzpatrick_scale: false, + category: "flags" + }, + bolivia: { + keywords: [ "bo", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde7\ud83c\uddf4", + fitzpatrick_scale: false, + category: "flags" + }, + caribbean_netherlands: { + keywords: [ "bonaire", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde7\ud83c\uddf6", + fitzpatrick_scale: false, + category: "flags" + }, + bosnia_herzegovina: { + keywords: [ "bosnia", "herzegovina", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde7\ud83c\udde6", + fitzpatrick_scale: false, + category: "flags" + }, + botswana: { + keywords: [ "bw", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde7\ud83c\uddfc", + fitzpatrick_scale: false, + category: "flags" + }, + brazil: { + keywords: [ "br", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde7\ud83c\uddf7", + fitzpatrick_scale: false, + category: "flags" + }, + british_indian_ocean_territory: { + keywords: [ "british", "indian", "ocean", "territory", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddee\ud83c\uddf4", + fitzpatrick_scale: false, + category: "flags" + }, + british_virgin_islands: { + keywords: [ "british", "virgin", "islands", "bvi", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddfb\ud83c\uddec", + fitzpatrick_scale: false, + category: "flags" + }, + brunei: { + keywords: [ "bn", "darussalam", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde7\ud83c\uddf3", + fitzpatrick_scale: false, + category: "flags" + }, + bulgaria: { + keywords: [ "bg", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde7\ud83c\uddec", + fitzpatrick_scale: false, + category: "flags" + }, + burkina_faso: { + keywords: [ "burkina", "faso", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde7\ud83c\uddeb", + fitzpatrick_scale: false, + category: "flags" + }, + burundi: { + keywords: [ "bi", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde7\ud83c\uddee", + fitzpatrick_scale: false, + category: "flags" + }, + cape_verde: { + keywords: [ "cabo", "verde", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde8\ud83c\uddfb", + fitzpatrick_scale: false, + category: "flags" + }, + cambodia: { + keywords: [ "kh", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf0\ud83c\udded", + fitzpatrick_scale: false, + category: "flags" + }, + cameroon: { + keywords: [ "cm", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde8\ud83c\uddf2", + fitzpatrick_scale: false, + category: "flags" + }, + canada: { + keywords: [ "ca", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde8\ud83c\udde6", + fitzpatrick_scale: false, + category: "flags" + }, + canary_islands: { + keywords: [ "canary", "islands", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddee\ud83c\udde8", + fitzpatrick_scale: false, + category: "flags" + }, + cayman_islands: { + keywords: [ "cayman", "islands", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf0\ud83c\uddfe", + fitzpatrick_scale: false, + category: "flags" + }, + central_african_republic: { + keywords: [ "central", "african", "republic", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde8\ud83c\uddeb", + fitzpatrick_scale: false, + category: "flags" + }, + chad: { + keywords: [ "td", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf9\ud83c\udde9", + fitzpatrick_scale: false, + category: "flags" + }, + chile: { + keywords: [ "flag", "nation", "country", "banner" ], + char: "\ud83c\udde8\ud83c\uddf1", + fitzpatrick_scale: false, + category: "flags" + }, + cn: { + keywords: [ "china", "chinese", "prc", "flag", "country", "nation", "banner" ], + char: "\ud83c\udde8\ud83c\uddf3", + fitzpatrick_scale: false, + category: "flags" + }, + christmas_island: { + keywords: [ "christmas", "island", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde8\ud83c\uddfd", + fitzpatrick_scale: false, + category: "flags" + }, + cocos_islands: { + keywords: [ "cocos", "keeling", "islands", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde8\ud83c\udde8", + fitzpatrick_scale: false, + category: "flags" + }, + colombia: { + keywords: [ "co", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde8\ud83c\uddf4", + fitzpatrick_scale: false, + category: "flags" + }, + comoros: { + keywords: [ "km", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf0\ud83c\uddf2", + fitzpatrick_scale: false, + category: "flags" + }, + congo_brazzaville: { + keywords: [ "congo", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde8\ud83c\uddec", + fitzpatrick_scale: false, + category: "flags" + }, + congo_kinshasa: { + keywords: [ "congo", "democratic", "republic", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde8\ud83c\udde9", + fitzpatrick_scale: false, + category: "flags" + }, + cook_islands: { + keywords: [ "cook", "islands", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde8\ud83c\uddf0", + fitzpatrick_scale: false, + category: "flags" + }, + costa_rica: { + keywords: [ "costa", "rica", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde8\ud83c\uddf7", + fitzpatrick_scale: false, + category: "flags" + }, + croatia: { + keywords: [ "hr", "flag", "nation", "country", "banner" ], + char: "\ud83c\udded\ud83c\uddf7", + fitzpatrick_scale: false, + category: "flags" + }, + cuba: { + keywords: [ "cu", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde8\ud83c\uddfa", + fitzpatrick_scale: false, + category: "flags" + }, + curacao: { + keywords: [ "cura\xe7ao", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde8\ud83c\uddfc", + fitzpatrick_scale: false, + category: "flags" + }, + cyprus: { + keywords: [ "cy", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde8\ud83c\uddfe", + fitzpatrick_scale: false, + category: "flags" + }, + czech_republic: { + keywords: [ "cz", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde8\ud83c\uddff", + fitzpatrick_scale: false, + category: "flags" + }, + denmark: { + keywords: [ "dk", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde9\ud83c\uddf0", + fitzpatrick_scale: false, + category: "flags" + }, + djibouti: { + keywords: [ "dj", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde9\ud83c\uddef", + fitzpatrick_scale: false, + category: "flags" + }, + dominica: { + keywords: [ "dm", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde9\ud83c\uddf2", + fitzpatrick_scale: false, + category: "flags" + }, + dominican_republic: { + keywords: [ "dominican", "republic", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde9\ud83c\uddf4", + fitzpatrick_scale: false, + category: "flags" + }, + ecuador: { + keywords: [ "ec", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddea\ud83c\udde8", + fitzpatrick_scale: false, + category: "flags" + }, + egypt: { + keywords: [ "eg", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddea\ud83c\uddec", + fitzpatrick_scale: false, + category: "flags" + }, + el_salvador: { + keywords: [ "el", "salvador", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf8\ud83c\uddfb", + fitzpatrick_scale: false, + category: "flags" + }, + equatorial_guinea: { + keywords: [ "equatorial", "gn", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddec\ud83c\uddf6", + fitzpatrick_scale: false, + category: "flags" + }, + eritrea: { + keywords: [ "er", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddea\ud83c\uddf7", + fitzpatrick_scale: false, + category: "flags" + }, + estonia: { + keywords: [ "ee", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddea\ud83c\uddea", + fitzpatrick_scale: false, + category: "flags" + }, + ethiopia: { + keywords: [ "et", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddea\ud83c\uddf9", + fitzpatrick_scale: false, + category: "flags" + }, + eu: { + keywords: [ "european", "union", "flag", "banner" ], + char: "\ud83c\uddea\ud83c\uddfa", + fitzpatrick_scale: false, + category: "flags" + }, + falkland_islands: { + keywords: [ "falkland", "islands", "malvinas", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddeb\ud83c\uddf0", + fitzpatrick_scale: false, + category: "flags" + }, + faroe_islands: { + keywords: [ "faroe", "islands", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddeb\ud83c\uddf4", + fitzpatrick_scale: false, + category: "flags" + }, + fiji: { + keywords: [ "fj", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddeb\ud83c\uddef", + fitzpatrick_scale: false, + category: "flags" + }, + finland: { + keywords: [ "fi", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddeb\ud83c\uddee", + fitzpatrick_scale: false, + category: "flags" + }, + fr: { + keywords: [ "banner", "flag", "nation", "france", "french", "country" ], + char: "\ud83c\uddeb\ud83c\uddf7", + fitzpatrick_scale: false, + category: "flags" + }, + french_guiana: { + keywords: [ "french", "guiana", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddec\ud83c\uddeb", + fitzpatrick_scale: false, + category: "flags" + }, + french_polynesia: { + keywords: [ "french", "polynesia", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf5\ud83c\uddeb", + fitzpatrick_scale: false, + category: "flags" + }, + french_southern_territories: { + keywords: [ "french", "southern", "territories", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf9\ud83c\uddeb", + fitzpatrick_scale: false, + category: "flags" + }, + gabon: { + keywords: [ "ga", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddec\ud83c\udde6", + fitzpatrick_scale: false, + category: "flags" + }, + gambia: { + keywords: [ "gm", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddec\ud83c\uddf2", + fitzpatrick_scale: false, + category: "flags" + }, + georgia: { + keywords: [ "ge", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddec\ud83c\uddea", + fitzpatrick_scale: false, + category: "flags" + }, + de: { + keywords: [ "german", "nation", "flag", "country", "banner" ], + char: "\ud83c\udde9\ud83c\uddea", + fitzpatrick_scale: false, + category: "flags" + }, + ghana: { + keywords: [ "gh", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddec\ud83c\udded", + fitzpatrick_scale: false, + category: "flags" + }, + gibraltar: { + keywords: [ "gi", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddec\ud83c\uddee", + fitzpatrick_scale: false, + category: "flags" + }, + greece: { + keywords: [ "gr", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddec\ud83c\uddf7", + fitzpatrick_scale: false, + category: "flags" + }, + greenland: { + keywords: [ "gl", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddec\ud83c\uddf1", + fitzpatrick_scale: false, + category: "flags" + }, + grenada: { + keywords: [ "gd", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddec\ud83c\udde9", + fitzpatrick_scale: false, + category: "flags" + }, + guadeloupe: { + keywords: [ "gp", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddec\ud83c\uddf5", + fitzpatrick_scale: false, + category: "flags" + }, + guam: { + keywords: [ "gu", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddec\ud83c\uddfa", + fitzpatrick_scale: false, + category: "flags" + }, + guatemala: { + keywords: [ "gt", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddec\ud83c\uddf9", + fitzpatrick_scale: false, + category: "flags" + }, + guernsey: { + keywords: [ "gg", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddec\ud83c\uddec", + fitzpatrick_scale: false, + category: "flags" + }, + guinea: { + keywords: [ "gn", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddec\ud83c\uddf3", + fitzpatrick_scale: false, + category: "flags" + }, + guinea_bissau: { + keywords: [ "gw", "bissau", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddec\ud83c\uddfc", + fitzpatrick_scale: false, + category: "flags" + }, + guyana: { + keywords: [ "gy", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddec\ud83c\uddfe", + fitzpatrick_scale: false, + category: "flags" + }, + haiti: { + keywords: [ "ht", "flag", "nation", "country", "banner" ], + char: "\ud83c\udded\ud83c\uddf9", + fitzpatrick_scale: false, + category: "flags" + }, + honduras: { + keywords: [ "hn", "flag", "nation", "country", "banner" ], + char: "\ud83c\udded\ud83c\uddf3", + fitzpatrick_scale: false, + category: "flags" + }, + hong_kong: { + keywords: [ "hong", "kong", "flag", "nation", "country", "banner" ], + char: "\ud83c\udded\ud83c\uddf0", + fitzpatrick_scale: false, + category: "flags" + }, + hungary: { + keywords: [ "hu", "flag", "nation", "country", "banner" ], + char: "\ud83c\udded\ud83c\uddfa", + fitzpatrick_scale: false, + category: "flags" + }, + iceland: { + keywords: [ "is", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddee\ud83c\uddf8", + fitzpatrick_scale: false, + category: "flags" + }, + india: { + keywords: [ "in", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddee\ud83c\uddf3", + fitzpatrick_scale: false, + category: "flags" + }, + indonesia: { + keywords: [ "flag", "nation", "country", "banner" ], + char: "\ud83c\uddee\ud83c\udde9", + fitzpatrick_scale: false, + category: "flags" + }, + iran: { + keywords: [ "iran,", "islamic", "republic", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddee\ud83c\uddf7", + fitzpatrick_scale: false, + category: "flags" + }, + iraq: { + keywords: [ "iq", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddee\ud83c\uddf6", + fitzpatrick_scale: false, + category: "flags" + }, + ireland: { + keywords: [ "ie", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddee\ud83c\uddea", + fitzpatrick_scale: false, + category: "flags" + }, + isle_of_man: { + keywords: [ "isle", "man", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddee\ud83c\uddf2", + fitzpatrick_scale: false, + category: "flags" + }, + israel: { + keywords: [ "il", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddee\ud83c\uddf1", + fitzpatrick_scale: false, + category: "flags" + }, + it: { + keywords: [ "italy", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddee\ud83c\uddf9", + fitzpatrick_scale: false, + category: "flags" + }, + cote_divoire: { + keywords: [ "ivory", "coast", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde8\ud83c\uddee", + fitzpatrick_scale: false, + category: "flags" + }, + jamaica: { + keywords: [ "jm", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddef\ud83c\uddf2", + fitzpatrick_scale: false, + category: "flags" + }, + jp: { + keywords: [ "japanese", "nation", "flag", "country", "banner" ], + char: "\ud83c\uddef\ud83c\uddf5", + fitzpatrick_scale: false, + category: "flags" + }, + jersey: { + keywords: [ "je", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddef\ud83c\uddea", + fitzpatrick_scale: false, + category: "flags" + }, + jordan: { + keywords: [ "jo", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddef\ud83c\uddf4", + fitzpatrick_scale: false, + category: "flags" + }, + kazakhstan: { + keywords: [ "kz", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf0\ud83c\uddff", + fitzpatrick_scale: false, + category: "flags" + }, + kenya: { + keywords: [ "ke", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf0\ud83c\uddea", + fitzpatrick_scale: false, + category: "flags" + }, + kiribati: { + keywords: [ "ki", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf0\ud83c\uddee", + fitzpatrick_scale: false, + category: "flags" + }, + kosovo: { + keywords: [ "xk", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddfd\ud83c\uddf0", + fitzpatrick_scale: false, + category: "flags" + }, + kuwait: { + keywords: [ "kw", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf0\ud83c\uddfc", + fitzpatrick_scale: false, + category: "flags" + }, + kyrgyzstan: { + keywords: [ "kg", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf0\ud83c\uddec", + fitzpatrick_scale: false, + category: "flags" + }, + laos: { + keywords: [ "lao", "democratic", "republic", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf1\ud83c\udde6", + fitzpatrick_scale: false, + category: "flags" + }, + latvia: { + keywords: [ "lv", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf1\ud83c\uddfb", + fitzpatrick_scale: false, + category: "flags" + }, + lebanon: { + keywords: [ "lb", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf1\ud83c\udde7", + fitzpatrick_scale: false, + category: "flags" + }, + lesotho: { + keywords: [ "ls", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf1\ud83c\uddf8", + fitzpatrick_scale: false, + category: "flags" + }, + liberia: { + keywords: [ "lr", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf1\ud83c\uddf7", + fitzpatrick_scale: false, + category: "flags" + }, + libya: { + keywords: [ "ly", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf1\ud83c\uddfe", + fitzpatrick_scale: false, + category: "flags" + }, + liechtenstein: { + keywords: [ "li", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf1\ud83c\uddee", + fitzpatrick_scale: false, + category: "flags" + }, + lithuania: { + keywords: [ "lt", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf1\ud83c\uddf9", + fitzpatrick_scale: false, + category: "flags" + }, + luxembourg: { + keywords: [ "lu", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf1\ud83c\uddfa", + fitzpatrick_scale: false, + category: "flags" + }, + macau: { + keywords: [ "macao", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf2\ud83c\uddf4", + fitzpatrick_scale: false, + category: "flags" + }, + macedonia: { + keywords: [ "macedonia,", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf2\ud83c\uddf0", + fitzpatrick_scale: false, + category: "flags" + }, + madagascar: { + keywords: [ "mg", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf2\ud83c\uddec", + fitzpatrick_scale: false, + category: "flags" + }, + malawi: { + keywords: [ "mw", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf2\ud83c\uddfc", + fitzpatrick_scale: false, + category: "flags" + }, + malaysia: { + keywords: [ "my", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf2\ud83c\uddfe", + fitzpatrick_scale: false, + category: "flags" + }, + maldives: { + keywords: [ "mv", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf2\ud83c\uddfb", + fitzpatrick_scale: false, + category: "flags" + }, + mali: { + keywords: [ "ml", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf2\ud83c\uddf1", + fitzpatrick_scale: false, + category: "flags" + }, + malta: { + keywords: [ "mt", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf2\ud83c\uddf9", + fitzpatrick_scale: false, + category: "flags" + }, + marshall_islands: { + keywords: [ "marshall", "islands", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf2\ud83c\udded", + fitzpatrick_scale: false, + category: "flags" + }, + martinique: { + keywords: [ "mq", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf2\ud83c\uddf6", + fitzpatrick_scale: false, + category: "flags" + }, + mauritania: { + keywords: [ "mr", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf2\ud83c\uddf7", + fitzpatrick_scale: false, + category: "flags" + }, + mauritius: { + keywords: [ "mu", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf2\ud83c\uddfa", + fitzpatrick_scale: false, + category: "flags" + }, + mayotte: { + keywords: [ "yt", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddfe\ud83c\uddf9", + fitzpatrick_scale: false, + category: "flags" + }, + mexico: { + keywords: [ "mx", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf2\ud83c\uddfd", + fitzpatrick_scale: false, + category: "flags" + }, + micronesia: { + keywords: [ "micronesia,", "federated", "states", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddeb\ud83c\uddf2", + fitzpatrick_scale: false, + category: "flags" + }, + moldova: { + keywords: [ "moldova,", "republic", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf2\ud83c\udde9", + fitzpatrick_scale: false, + category: "flags" + }, + monaco: { + keywords: [ "mc", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf2\ud83c\udde8", + fitzpatrick_scale: false, + category: "flags" + }, + mongolia: { + keywords: [ "mn", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf2\ud83c\uddf3", + fitzpatrick_scale: false, + category: "flags" + }, + montenegro: { + keywords: [ "me", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf2\ud83c\uddea", + fitzpatrick_scale: false, + category: "flags" + }, + montserrat: { + keywords: [ "ms", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf2\ud83c\uddf8", + fitzpatrick_scale: false, + category: "flags" + }, + morocco: { + keywords: [ "ma", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf2\ud83c\udde6", + fitzpatrick_scale: false, + category: "flags" + }, + mozambique: { + keywords: [ "mz", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf2\ud83c\uddff", + fitzpatrick_scale: false, + category: "flags" + }, + myanmar: { + keywords: [ "mm", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf2\ud83c\uddf2", + fitzpatrick_scale: false, + category: "flags" + }, + namibia: { + keywords: [ "na", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf3\ud83c\udde6", + fitzpatrick_scale: false, + category: "flags" + }, + nauru: { + keywords: [ "nr", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf3\ud83c\uddf7", + fitzpatrick_scale: false, + category: "flags" + }, + nepal: { + keywords: [ "np", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf3\ud83c\uddf5", + fitzpatrick_scale: false, + category: "flags" + }, + netherlands: { + keywords: [ "nl", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf3\ud83c\uddf1", + fitzpatrick_scale: false, + category: "flags" + }, + new_caledonia: { + keywords: [ "new", "caledonia", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf3\ud83c\udde8", + fitzpatrick_scale: false, + category: "flags" + }, + new_zealand: { + keywords: [ "new", "zealand", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf3\ud83c\uddff", + fitzpatrick_scale: false, + category: "flags" + }, + nicaragua: { + keywords: [ "ni", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf3\ud83c\uddee", + fitzpatrick_scale: false, + category: "flags" + }, + niger: { + keywords: [ "ne", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf3\ud83c\uddea", + fitzpatrick_scale: false, + category: "flags" + }, + nigeria: { + keywords: [ "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf3\ud83c\uddec", + fitzpatrick_scale: false, + category: "flags" + }, + niue: { + keywords: [ "nu", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf3\ud83c\uddfa", + fitzpatrick_scale: false, + category: "flags" + }, + norfolk_island: { + keywords: [ "norfolk", "island", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf3\ud83c\uddeb", + fitzpatrick_scale: false, + category: "flags" + }, + northern_mariana_islands: { + keywords: [ "northern", "mariana", "islands", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf2\ud83c\uddf5", + fitzpatrick_scale: false, + category: "flags" + }, + north_korea: { + keywords: [ "north", "korea", "nation", "flag", "country", "banner" ], + char: "\ud83c\uddf0\ud83c\uddf5", + fitzpatrick_scale: false, + category: "flags" + }, + norway: { + keywords: [ "no", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf3\ud83c\uddf4", + fitzpatrick_scale: false, + category: "flags" + }, + oman: { + keywords: [ "om_symbol", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf4\ud83c\uddf2", + fitzpatrick_scale: false, + category: "flags" + }, + pakistan: { + keywords: [ "pk", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf5\ud83c\uddf0", + fitzpatrick_scale: false, + category: "flags" + }, + palau: { + keywords: [ "pw", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf5\ud83c\uddfc", + fitzpatrick_scale: false, + category: "flags" + }, + palestinian_territories: { + keywords: [ "palestine", "palestinian", "territories", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf5\ud83c\uddf8", + fitzpatrick_scale: false, + category: "flags" + }, + panama: { + keywords: [ "pa", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf5\ud83c\udde6", + fitzpatrick_scale: false, + category: "flags" + }, + papua_new_guinea: { + keywords: [ "papua", "new", "guinea", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf5\ud83c\uddec", + fitzpatrick_scale: false, + category: "flags" + }, + paraguay: { + keywords: [ "py", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf5\ud83c\uddfe", + fitzpatrick_scale: false, + category: "flags" + }, + peru: { + keywords: [ "pe", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf5\ud83c\uddea", + fitzpatrick_scale: false, + category: "flags" + }, + philippines: { + keywords: [ "ph", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf5\ud83c\udded", + fitzpatrick_scale: false, + category: "flags" + }, + pitcairn_islands: { + keywords: [ "pitcairn", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf5\ud83c\uddf3", + fitzpatrick_scale: false, + category: "flags" + }, + poland: { + keywords: [ "pl", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf5\ud83c\uddf1", + fitzpatrick_scale: false, + category: "flags" + }, + portugal: { + keywords: [ "pt", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf5\ud83c\uddf9", + fitzpatrick_scale: false, + category: "flags" + }, + puerto_rico: { + keywords: [ "puerto", "rico", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf5\ud83c\uddf7", + fitzpatrick_scale: false, + category: "flags" + }, + qatar: { + keywords: [ "qa", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf6\ud83c\udde6", + fitzpatrick_scale: false, + category: "flags" + }, + reunion: { + keywords: [ "r\xe9union", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf7\ud83c\uddea", + fitzpatrick_scale: false, + category: "flags" + }, + romania: { + keywords: [ "ro", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf7\ud83c\uddf4", + fitzpatrick_scale: false, + category: "flags" + }, + ru: { + keywords: [ "russian", "federation", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf7\ud83c\uddfa", + fitzpatrick_scale: false, + category: "flags" + }, + rwanda: { + keywords: [ "rw", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf7\ud83c\uddfc", + fitzpatrick_scale: false, + category: "flags" + }, + st_barthelemy: { + keywords: [ "saint", "barth\xe9lemy", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde7\ud83c\uddf1", + fitzpatrick_scale: false, + category: "flags" + }, + st_helena: { + keywords: [ "saint", "helena", "ascension", "tristan", "cunha", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf8\ud83c\udded", + fitzpatrick_scale: false, + category: "flags" + }, + st_kitts_nevis: { + keywords: [ "saint", "kitts", "nevis", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf0\ud83c\uddf3", + fitzpatrick_scale: false, + category: "flags" + }, + st_lucia: { + keywords: [ "saint", "lucia", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf1\ud83c\udde8", + fitzpatrick_scale: false, + category: "flags" + }, + st_pierre_miquelon: { + keywords: [ "saint", "pierre", "miquelon", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf5\ud83c\uddf2", + fitzpatrick_scale: false, + category: "flags" + }, + st_vincent_grenadines: { + keywords: [ "saint", "vincent", "grenadines", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddfb\ud83c\udde8", + fitzpatrick_scale: false, + category: "flags" + }, + samoa: { + keywords: [ "ws", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddfc\ud83c\uddf8", + fitzpatrick_scale: false, + category: "flags" + }, + san_marino: { + keywords: [ "san", "marino", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf8\ud83c\uddf2", + fitzpatrick_scale: false, + category: "flags" + }, + sao_tome_principe: { + keywords: [ "sao", "tome", "principe", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf8\ud83c\uddf9", + fitzpatrick_scale: false, + category: "flags" + }, + saudi_arabia: { + keywords: [ "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf8\ud83c\udde6", + fitzpatrick_scale: false, + category: "flags" + }, + senegal: { + keywords: [ "sn", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf8\ud83c\uddf3", + fitzpatrick_scale: false, + category: "flags" + }, + serbia: { + keywords: [ "rs", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf7\ud83c\uddf8", + fitzpatrick_scale: false, + category: "flags" + }, + seychelles: { + keywords: [ "sc", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf8\ud83c\udde8", + fitzpatrick_scale: false, + category: "flags" + }, + sierra_leone: { + keywords: [ "sierra", "leone", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf8\ud83c\uddf1", + fitzpatrick_scale: false, + category: "flags" + }, + singapore: { + keywords: [ "sg", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf8\ud83c\uddec", + fitzpatrick_scale: false, + category: "flags" + }, + sint_maarten: { + keywords: [ "sint", "maarten", "dutch", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf8\ud83c\uddfd", + fitzpatrick_scale: false, + category: "flags" + }, + slovakia: { + keywords: [ "sk", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf8\ud83c\uddf0", + fitzpatrick_scale: false, + category: "flags" + }, + slovenia: { + keywords: [ "si", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf8\ud83c\uddee", + fitzpatrick_scale: false, + category: "flags" + }, + solomon_islands: { + keywords: [ "solomon", "islands", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf8\ud83c\udde7", + fitzpatrick_scale: false, + category: "flags" + }, + somalia: { + keywords: [ "so", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf8\ud83c\uddf4", + fitzpatrick_scale: false, + category: "flags" + }, + south_africa: { + keywords: [ "south", "africa", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddff\ud83c\udde6", + fitzpatrick_scale: false, + category: "flags" + }, + south_georgia_south_sandwich_islands: { + keywords: [ "south", "georgia", "sandwich", "islands", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddec\ud83c\uddf8", + fitzpatrick_scale: false, + category: "flags" + }, + kr: { + keywords: [ "south", "korea", "nation", "flag", "country", "banner" ], + char: "\ud83c\uddf0\ud83c\uddf7", + fitzpatrick_scale: false, + category: "flags" + }, + south_sudan: { + keywords: [ "south", "sd", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf8\ud83c\uddf8", + fitzpatrick_scale: false, + category: "flags" + }, + es: { + keywords: [ "spain", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddea\ud83c\uddf8", + fitzpatrick_scale: false, + category: "flags" + }, + sri_lanka: { + keywords: [ "sri", "lanka", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf1\ud83c\uddf0", + fitzpatrick_scale: false, + category: "flags" + }, + sudan: { + keywords: [ "sd", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf8\ud83c\udde9", + fitzpatrick_scale: false, + category: "flags" + }, + suriname: { + keywords: [ "sr", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf8\ud83c\uddf7", + fitzpatrick_scale: false, + category: "flags" + }, + swaziland: { + keywords: [ "sz", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf8\ud83c\uddff", + fitzpatrick_scale: false, + category: "flags" + }, + sweden: { + keywords: [ "se", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf8\ud83c\uddea", + fitzpatrick_scale: false, + category: "flags" + }, + switzerland: { + keywords: [ "ch", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde8\ud83c\udded", + fitzpatrick_scale: false, + category: "flags" + }, + syria: { + keywords: [ "syrian", "arab", "republic", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf8\ud83c\uddfe", + fitzpatrick_scale: false, + category: "flags" + }, + taiwan: { + keywords: [ "tw", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf9\ud83c\uddfc", + fitzpatrick_scale: false, + category: "flags" + }, + tajikistan: { + keywords: [ "tj", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf9\ud83c\uddef", + fitzpatrick_scale: false, + category: "flags" + }, + tanzania: { + keywords: [ "tanzania,", "united", "republic", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf9\ud83c\uddff", + fitzpatrick_scale: false, + category: "flags" + }, + thailand: { + keywords: [ "th", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf9\ud83c\udded", + fitzpatrick_scale: false, + category: "flags" + }, + timor_leste: { + keywords: [ "timor", "leste", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf9\ud83c\uddf1", + fitzpatrick_scale: false, + category: "flags" + }, + togo: { + keywords: [ "tg", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf9\ud83c\uddec", + fitzpatrick_scale: false, + category: "flags" + }, + tokelau: { + keywords: [ "tk", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf9\ud83c\uddf0", + fitzpatrick_scale: false, + category: "flags" + }, + tonga: { + keywords: [ "to", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf9\ud83c\uddf4", + fitzpatrick_scale: false, + category: "flags" + }, + trinidad_tobago: { + keywords: [ "trinidad", "tobago", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf9\ud83c\uddf9", + fitzpatrick_scale: false, + category: "flags" + }, + tunisia: { + keywords: [ "tn", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf9\ud83c\uddf3", + fitzpatrick_scale: false, + category: "flags" + }, + tr: { + keywords: [ "turkey", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf9\ud83c\uddf7", + fitzpatrick_scale: false, + category: "flags" + }, + turkmenistan: { + keywords: [ "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf9\ud83c\uddf2", + fitzpatrick_scale: false, + category: "flags" + }, + turks_caicos_islands: { + keywords: [ "turks", "caicos", "islands", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf9\ud83c\udde8", + fitzpatrick_scale: false, + category: "flags" + }, + tuvalu: { + keywords: [ "flag", "nation", "country", "banner" ], + char: "\ud83c\uddf9\ud83c\uddfb", + fitzpatrick_scale: false, + category: "flags" + }, + uganda: { + keywords: [ "ug", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddfa\ud83c\uddec", + fitzpatrick_scale: false, + category: "flags" + }, + ukraine: { + keywords: [ "ua", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddfa\ud83c\udde6", + fitzpatrick_scale: false, + category: "flags" + }, + united_arab_emirates: { + keywords: [ "united", "arab", "emirates", "flag", "nation", "country", "banner" ], + char: "\ud83c\udde6\ud83c\uddea", + fitzpatrick_scale: false, + category: "flags" + }, + uk: { + keywords: [ "united", "kingdom", "great", "britain", "northern", "ireland", "flag", "nation", "country", "banner", "british", "UK", "english", "england", "union jack" ], + char: "\ud83c\uddec\ud83c\udde7", + fitzpatrick_scale: false, + category: "flags" + }, + england: { + keywords: [ "flag", "english" ], + char: "\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f", + fitzpatrick_scale: false, + category: "flags" + }, + scotland: { + keywords: [ "flag", "scottish" ], + char: "\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f", + fitzpatrick_scale: false, + category: "flags" + }, + wales: { + keywords: [ "flag", "welsh" ], + char: "\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc77\udb40\udc6c\udb40\udc73\udb40\udc7f", + fitzpatrick_scale: false, + category: "flags" + }, + us: { + keywords: [ "united", "states", "america", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddfa\ud83c\uddf8", + fitzpatrick_scale: false, + category: "flags" + }, + us_virgin_islands: { + keywords: [ "virgin", "islands", "us", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddfb\ud83c\uddee", + fitzpatrick_scale: false, + category: "flags" + }, + uruguay: { + keywords: [ "uy", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddfa\ud83c\uddfe", + fitzpatrick_scale: false, + category: "flags" + }, + uzbekistan: { + keywords: [ "uz", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddfa\ud83c\uddff", + fitzpatrick_scale: false, + category: "flags" + }, + vanuatu: { + keywords: [ "vu", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddfb\ud83c\uddfa", + fitzpatrick_scale: false, + category: "flags" + }, + vatican_city: { + keywords: [ "vatican", "city", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddfb\ud83c\udde6", + fitzpatrick_scale: false, + category: "flags" + }, + venezuela: { + keywords: [ "ve", "bolivarian", "republic", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddfb\ud83c\uddea", + fitzpatrick_scale: false, + category: "flags" + }, + vietnam: { + keywords: [ "viet", "nam", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddfb\ud83c\uddf3", + fitzpatrick_scale: false, + category: "flags" + }, + wallis_futuna: { + keywords: [ "wallis", "futuna", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddfc\ud83c\uddeb", + fitzpatrick_scale: false, + category: "flags" + }, + western_sahara: { + keywords: [ "western", "sahara", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddea\ud83c\udded", + fitzpatrick_scale: false, + category: "flags" + }, + yemen: { + keywords: [ "ye", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddfe\ud83c\uddea", + fitzpatrick_scale: false, + category: "flags" + }, + zambia: { + keywords: [ "zm", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddff\ud83c\uddf2", + fitzpatrick_scale: false, + category: "flags" + }, + zimbabwe: { + keywords: [ "zw", "flag", "nation", "country", "banner" ], + char: "\ud83c\uddff\ud83c\uddfc", + fitzpatrick_scale: false, + category: "flags" + }, + united_nations: { + keywords: [ "un", "flag", "banner" ], + char: "\ud83c\uddfa\ud83c\uddf3", + fitzpatrick_scale: false, + category: "flags" + }, + pirate_flag: { + keywords: [ "skull", "crossbones", "flag", "banner" ], + char: "\ud83c\udff4\u200d\u2620\ufe0f", + fitzpatrick_scale: false, + category: "flags" + } +}); \ No newline at end of file diff --git a/public/static/js/tinymce5/plugins/emoticons/js/emojis.min.js b/public/static/js/tinymce5/plugins/emoticons/js/emojis.min.js new file mode 100755 index 0000000..42cea9a --- /dev/null +++ b/public/static/js/tinymce5/plugins/emoticons/js/emojis.min.js @@ -0,0 +1,2 @@ +// Source: npm package: emojilib, file:emojis.json +window.tinymce.Resource.add("tinymce.plugins.emoticons",{grinning:{keywords:["face","smile","happy","joy",":D","grin"],char:"\ud83d\ude00",fitzpatrick_scale:!1,category:"people"},grimacing:{keywords:["face","grimace","teeth"],char:"\ud83d\ude2c",fitzpatrick_scale:!1,category:"people"},grin:{keywords:["face","happy","smile","joy","kawaii"],char:"\ud83d\ude01",fitzpatrick_scale:!1,category:"people"},joy:{keywords:["face","cry","tears","weep","happy","happytears","haha"],char:"\ud83d\ude02",fitzpatrick_scale:!1,category:"people"},rofl:{keywords:["face","rolling","floor","laughing","lol","haha"],char:"\ud83e\udd23",fitzpatrick_scale:!1,category:"people"},partying:{keywords:["face","celebration","woohoo"],char:"\ud83e\udd73",fitzpatrick_scale:!1,category:"people"},smiley:{keywords:["face","happy","joy","haha",":D",":)","smile","funny"],char:"\ud83d\ude03",fitzpatrick_scale:!1,category:"people"},smile:{keywords:["face","happy","joy","funny","haha","laugh","like",":D",":)"],char:"\ud83d\ude04",fitzpatrick_scale:!1,category:"people"},sweat_smile:{keywords:["face","hot","happy","laugh","sweat","smile","relief"],char:"\ud83d\ude05",fitzpatrick_scale:!1,category:"people"},laughing:{keywords:["happy","joy","lol","satisfied","haha","face","glad","XD","laugh"],char:"\ud83d\ude06",fitzpatrick_scale:!1,category:"people"},innocent:{keywords:["face","angel","heaven","halo"],char:"\ud83d\ude07",fitzpatrick_scale:!1,category:"people"},wink:{keywords:["face","happy","mischievous","secret",";)","smile","eye"],char:"\ud83d\ude09",fitzpatrick_scale:!1,category:"people"},blush:{keywords:["face","smile","happy","flushed","crush","embarrassed","shy","joy"],char:"\ud83d\ude0a",fitzpatrick_scale:!1,category:"people"},slightly_smiling_face:{keywords:["face","smile"],char:"\ud83d\ude42",fitzpatrick_scale:!1,category:"people"},upside_down_face:{keywords:["face","flipped","silly","smile"],char:"\ud83d\ude43",fitzpatrick_scale:!1,category:"people"},relaxed:{keywords:["face","blush","massage","happiness"],char:"\u263a\ufe0f",fitzpatrick_scale:!1,category:"people"},yum:{keywords:["happy","joy","tongue","smile","face","silly","yummy","nom","delicious","savouring"],char:"\ud83d\ude0b",fitzpatrick_scale:!1,category:"people"},relieved:{keywords:["face","relaxed","phew","massage","happiness"],char:"\ud83d\ude0c",fitzpatrick_scale:!1,category:"people"},heart_eyes:{keywords:["face","love","like","affection","valentines","infatuation","crush","heart"],char:"\ud83d\ude0d",fitzpatrick_scale:!1,category:"people"},smiling_face_with_three_hearts:{keywords:["face","love","like","affection","valentines","infatuation","crush","hearts","adore"],char:"\ud83e\udd70",fitzpatrick_scale:!1,category:"people"},kissing_heart:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"\ud83d\ude18",fitzpatrick_scale:!1,category:"people"},kissing:{keywords:["love","like","face","3","valentines","infatuation","kiss"],char:"\ud83d\ude17",fitzpatrick_scale:!1,category:"people"},kissing_smiling_eyes:{keywords:["face","affection","valentines","infatuation","kiss"],char:"\ud83d\ude19",fitzpatrick_scale:!1,category:"people"},kissing_closed_eyes:{keywords:["face","love","like","affection","valentines","infatuation","kiss"],char:"\ud83d\ude1a",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue_winking_eye:{keywords:["face","prank","childish","playful","mischievous","smile","wink","tongue"],char:"\ud83d\ude1c",fitzpatrick_scale:!1,category:"people"},zany:{keywords:["face","goofy","crazy"],char:"\ud83e\udd2a",fitzpatrick_scale:!1,category:"people"},raised_eyebrow:{keywords:["face","distrust","scepticism","disapproval","disbelief","surprise"],char:"\ud83e\udd28",fitzpatrick_scale:!1,category:"people"},monocle:{keywords:["face","stuffy","wealthy"],char:"\ud83e\uddd0",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue_closed_eyes:{keywords:["face","prank","playful","mischievous","smile","tongue"],char:"\ud83d\ude1d",fitzpatrick_scale:!1,category:"people"},stuck_out_tongue:{keywords:["face","prank","childish","playful","mischievous","smile","tongue"],char:"\ud83d\ude1b",fitzpatrick_scale:!1,category:"people"},money_mouth_face:{keywords:["face","rich","dollar","money"],char:"\ud83e\udd11",fitzpatrick_scale:!1,category:"people"},nerd_face:{keywords:["face","nerdy","geek","dork"],char:"\ud83e\udd13",fitzpatrick_scale:!1,category:"people"},sunglasses:{keywords:["face","cool","smile","summer","beach","sunglass"],char:"\ud83d\ude0e",fitzpatrick_scale:!1,category:"people"},star_struck:{keywords:["face","smile","starry","eyes","grinning"],char:"\ud83e\udd29",fitzpatrick_scale:!1,category:"people"},clown_face:{keywords:["face"],char:"\ud83e\udd21",fitzpatrick_scale:!1,category:"people"},cowboy_hat_face:{keywords:["face","cowgirl","hat"],char:"\ud83e\udd20",fitzpatrick_scale:!1,category:"people"},hugs:{keywords:["face","smile","hug"],char:"\ud83e\udd17",fitzpatrick_scale:!1,category:"people"},smirk:{keywords:["face","smile","mean","prank","smug","sarcasm"],char:"\ud83d\ude0f",fitzpatrick_scale:!1,category:"people"},no_mouth:{keywords:["face","hellokitty"],char:"\ud83d\ude36",fitzpatrick_scale:!1,category:"people"},neutral_face:{keywords:["indifference","meh",":|","neutral"],char:"\ud83d\ude10",fitzpatrick_scale:!1,category:"people"},expressionless:{keywords:["face","indifferent","-_-","meh","deadpan"],char:"\ud83d\ude11",fitzpatrick_scale:!1,category:"people"},unamused:{keywords:["indifference","bored","straight face","serious","sarcasm","unimpressed","skeptical","dubious","side_eye"],char:"\ud83d\ude12",fitzpatrick_scale:!1,category:"people"},roll_eyes:{keywords:["face","eyeroll","frustrated"],char:"\ud83d\ude44",fitzpatrick_scale:!1,category:"people"},thinking:{keywords:["face","hmmm","think","consider"],char:"\ud83e\udd14",fitzpatrick_scale:!1,category:"people"},lying_face:{keywords:["face","lie","pinocchio"],char:"\ud83e\udd25",fitzpatrick_scale:!1,category:"people"},hand_over_mouth:{keywords:["face","whoops","shock","surprise"],char:"\ud83e\udd2d",fitzpatrick_scale:!1,category:"people"},shushing:{keywords:["face","quiet","shhh"],char:"\ud83e\udd2b",fitzpatrick_scale:!1,category:"people"},symbols_over_mouth:{keywords:["face","swearing","cursing","cussing","profanity","expletive"],char:"\ud83e\udd2c",fitzpatrick_scale:!1,category:"people"},exploding_head:{keywords:["face","shocked","mind","blown"],char:"\ud83e\udd2f",fitzpatrick_scale:!1,category:"people"},flushed:{keywords:["face","blush","shy","flattered"],char:"\ud83d\ude33",fitzpatrick_scale:!1,category:"people"},disappointed:{keywords:["face","sad","upset","depressed",":("],char:"\ud83d\ude1e",fitzpatrick_scale:!1,category:"people"},worried:{keywords:["face","concern","nervous",":("],char:"\ud83d\ude1f",fitzpatrick_scale:!1,category:"people"},angry:{keywords:["mad","face","annoyed","frustrated"],char:"\ud83d\ude20",fitzpatrick_scale:!1,category:"people"},rage:{keywords:["angry","mad","hate","despise"],char:"\ud83d\ude21",fitzpatrick_scale:!1,category:"people"},pensive:{keywords:["face","sad","depressed","upset"],char:"\ud83d\ude14",fitzpatrick_scale:!1,category:"people"},confused:{keywords:["face","indifference","huh","weird","hmmm",":/"],char:"\ud83d\ude15",fitzpatrick_scale:!1,category:"people"},slightly_frowning_face:{keywords:["face","frowning","disappointed","sad","upset"],char:"\ud83d\ude41",fitzpatrick_scale:!1,category:"people"},frowning_face:{keywords:["face","sad","upset","frown"],char:"\u2639",fitzpatrick_scale:!1,category:"people"},persevere:{keywords:["face","sick","no","upset","oops"],char:"\ud83d\ude23",fitzpatrick_scale:!1,category:"people"},confounded:{keywords:["face","confused","sick","unwell","oops",":S"],char:"\ud83d\ude16",fitzpatrick_scale:!1,category:"people"},tired_face:{keywords:["sick","whine","upset","frustrated"],char:"\ud83d\ude2b",fitzpatrick_scale:!1,category:"people"},weary:{keywords:["face","tired","sleepy","sad","frustrated","upset"],char:"\ud83d\ude29",fitzpatrick_scale:!1,category:"people"},pleading:{keywords:["face","begging","mercy"],char:"\ud83e\udd7a",fitzpatrick_scale:!1,category:"people"},triumph:{keywords:["face","gas","phew","proud","pride"],char:"\ud83d\ude24",fitzpatrick_scale:!1,category:"people"},open_mouth:{keywords:["face","surprise","impressed","wow","whoa",":O"],char:"\ud83d\ude2e",fitzpatrick_scale:!1,category:"people"},scream:{keywords:["face","munch","scared","omg"],char:"\ud83d\ude31",fitzpatrick_scale:!1,category:"people"},fearful:{keywords:["face","scared","terrified","nervous","oops","huh"],char:"\ud83d\ude28",fitzpatrick_scale:!1,category:"people"},cold_sweat:{keywords:["face","nervous","sweat"],char:"\ud83d\ude30",fitzpatrick_scale:!1,category:"people"},hushed:{keywords:["face","woo","shh"],char:"\ud83d\ude2f",fitzpatrick_scale:!1,category:"people"},frowning:{keywords:["face","aw","what"],char:"\ud83d\ude26",fitzpatrick_scale:!1,category:"people"},anguished:{keywords:["face","stunned","nervous"],char:"\ud83d\ude27",fitzpatrick_scale:!1,category:"people"},cry:{keywords:["face","tears","sad","depressed","upset",":'("],char:"\ud83d\ude22",fitzpatrick_scale:!1,category:"people"},disappointed_relieved:{keywords:["face","phew","sweat","nervous"],char:"\ud83d\ude25",fitzpatrick_scale:!1,category:"people"},drooling_face:{keywords:["face"],char:"\ud83e\udd24",fitzpatrick_scale:!1,category:"people"},sleepy:{keywords:["face","tired","rest","nap"],char:"\ud83d\ude2a",fitzpatrick_scale:!1,category:"people"},sweat:{keywords:["face","hot","sad","tired","exercise"],char:"\ud83d\ude13",fitzpatrick_scale:!1,category:"people"},hot:{keywords:["face","feverish","heat","red","sweating"],char:"\ud83e\udd75",fitzpatrick_scale:!1,category:"people"},cold:{keywords:["face","blue","freezing","frozen","frostbite","icicles"],char:"\ud83e\udd76",fitzpatrick_scale:!1,category:"people"},sob:{keywords:["face","cry","tears","sad","upset","depressed"],char:"\ud83d\ude2d",fitzpatrick_scale:!1,category:"people"},dizzy_face:{keywords:["spent","unconscious","xox","dizzy"],char:"\ud83d\ude35",fitzpatrick_scale:!1,category:"people"},astonished:{keywords:["face","xox","surprised","poisoned"],char:"\ud83d\ude32",fitzpatrick_scale:!1,category:"people"},zipper_mouth_face:{keywords:["face","sealed","zipper","secret"],char:"\ud83e\udd10",fitzpatrick_scale:!1,category:"people"},nauseated_face:{keywords:["face","vomit","gross","green","sick","throw up","ill"],char:"\ud83e\udd22",fitzpatrick_scale:!1,category:"people"},sneezing_face:{keywords:["face","gesundheit","sneeze","sick","allergy"],char:"\ud83e\udd27",fitzpatrick_scale:!1,category:"people"},vomiting:{keywords:["face","sick"],char:"\ud83e\udd2e",fitzpatrick_scale:!1,category:"people"},mask:{keywords:["face","sick","ill","disease"],char:"\ud83d\ude37",fitzpatrick_scale:!1,category:"people"},face_with_thermometer:{keywords:["sick","temperature","thermometer","cold","fever"],char:"\ud83e\udd12",fitzpatrick_scale:!1,category:"people"},face_with_head_bandage:{keywords:["injured","clumsy","bandage","hurt"],char:"\ud83e\udd15",fitzpatrick_scale:!1,category:"people"},woozy:{keywords:["face","dizzy","intoxicated","tipsy","wavy"],char:"\ud83e\udd74",fitzpatrick_scale:!1,category:"people"},sleeping:{keywords:["face","tired","sleepy","night","zzz"],char:"\ud83d\ude34",fitzpatrick_scale:!1,category:"people"},zzz:{keywords:["sleepy","tired","dream"],char:"\ud83d\udca4",fitzpatrick_scale:!1,category:"people"},poop:{keywords:["hankey","shitface","fail","turd","shit"],char:"\ud83d\udca9",fitzpatrick_scale:!1,category:"people"},smiling_imp:{keywords:["devil","horns"],char:"\ud83d\ude08",fitzpatrick_scale:!1,category:"people"},imp:{keywords:["devil","angry","horns"],char:"\ud83d\udc7f",fitzpatrick_scale:!1,category:"people"},japanese_ogre:{keywords:["monster","red","mask","halloween","scary","creepy","devil","demon","japanese","ogre"],char:"\ud83d\udc79",fitzpatrick_scale:!1,category:"people"},japanese_goblin:{keywords:["red","evil","mask","monster","scary","creepy","japanese","goblin"],char:"\ud83d\udc7a",fitzpatrick_scale:!1,category:"people"},skull:{keywords:["dead","skeleton","creepy","death"],char:"\ud83d\udc80",fitzpatrick_scale:!1,category:"people"},ghost:{keywords:["halloween","spooky","scary"],char:"\ud83d\udc7b",fitzpatrick_scale:!1,category:"people"},alien:{keywords:["UFO","paul","weird","outer_space"],char:"\ud83d\udc7d",fitzpatrick_scale:!1,category:"people"},robot:{keywords:["computer","machine","bot"],char:"\ud83e\udd16",fitzpatrick_scale:!1,category:"people"},smiley_cat:{keywords:["animal","cats","happy","smile"],char:"\ud83d\ude3a",fitzpatrick_scale:!1,category:"people"},smile_cat:{keywords:["animal","cats","smile"],char:"\ud83d\ude38",fitzpatrick_scale:!1,category:"people"},joy_cat:{keywords:["animal","cats","haha","happy","tears"],char:"\ud83d\ude39",fitzpatrick_scale:!1,category:"people"},heart_eyes_cat:{keywords:["animal","love","like","affection","cats","valentines","heart"],char:"\ud83d\ude3b",fitzpatrick_scale:!1,category:"people"},smirk_cat:{keywords:["animal","cats","smirk"],char:"\ud83d\ude3c",fitzpatrick_scale:!1,category:"people"},kissing_cat:{keywords:["animal","cats","kiss"],char:"\ud83d\ude3d",fitzpatrick_scale:!1,category:"people"},scream_cat:{keywords:["animal","cats","munch","scared","scream"],char:"\ud83d\ude40",fitzpatrick_scale:!1,category:"people"},crying_cat_face:{keywords:["animal","tears","weep","sad","cats","upset","cry"],char:"\ud83d\ude3f",fitzpatrick_scale:!1,category:"people"},pouting_cat:{keywords:["animal","cats"],char:"\ud83d\ude3e",fitzpatrick_scale:!1,category:"people"},palms_up:{keywords:["hands","gesture","cupped","prayer"],char:"\ud83e\udd32",fitzpatrick_scale:!0,category:"people"},raised_hands:{keywords:["gesture","hooray","yea","celebration","hands"],char:"\ud83d\ude4c",fitzpatrick_scale:!0,category:"people"},clap:{keywords:["hands","praise","applause","congrats","yay"],char:"\ud83d\udc4f",fitzpatrick_scale:!0,category:"people"},wave:{keywords:["hands","gesture","goodbye","solong","farewell","hello","hi","palm"],char:"\ud83d\udc4b",fitzpatrick_scale:!0,category:"people"},call_me_hand:{keywords:["hands","gesture"],char:"\ud83e\udd19",fitzpatrick_scale:!0,category:"people"},"+1":{keywords:["thumbsup","yes","awesome","good","agree","accept","cool","hand","like"],char:"\ud83d\udc4d",fitzpatrick_scale:!0,category:"people"},"-1":{keywords:["thumbsdown","no","dislike","hand"],char:"\ud83d\udc4e",fitzpatrick_scale:!0,category:"people"},facepunch:{keywords:["angry","violence","fist","hit","attack","hand"],char:"\ud83d\udc4a",fitzpatrick_scale:!0,category:"people"},fist:{keywords:["fingers","hand","grasp"],char:"\u270a",fitzpatrick_scale:!0,category:"people"},fist_left:{keywords:["hand","fistbump"],char:"\ud83e\udd1b",fitzpatrick_scale:!0,category:"people"},fist_right:{keywords:["hand","fistbump"],char:"\ud83e\udd1c",fitzpatrick_scale:!0,category:"people"},v:{keywords:["fingers","ohyeah","hand","peace","victory","two"],char:"\u270c",fitzpatrick_scale:!0,category:"people"},ok_hand:{keywords:["fingers","limbs","perfect","ok","okay"],char:"\ud83d\udc4c",fitzpatrick_scale:!0,category:"people"},raised_hand:{keywords:["fingers","stop","highfive","palm","ban"],char:"\u270b",fitzpatrick_scale:!0,category:"people"},raised_back_of_hand:{keywords:["fingers","raised","backhand"],char:"\ud83e\udd1a",fitzpatrick_scale:!0,category:"people"},open_hands:{keywords:["fingers","butterfly","hands","open"],char:"\ud83d\udc50",fitzpatrick_scale:!0,category:"people"},muscle:{keywords:["arm","flex","hand","summer","strong","biceps"],char:"\ud83d\udcaa",fitzpatrick_scale:!0,category:"people"},pray:{keywords:["please","hope","wish","namaste","highfive"],char:"\ud83d\ude4f",fitzpatrick_scale:!0,category:"people"},foot:{keywords:["kick","stomp"],char:"\ud83e\uddb6",fitzpatrick_scale:!0,category:"people"},leg:{keywords:["kick","limb"],char:"\ud83e\uddb5",fitzpatrick_scale:!0,category:"people"},handshake:{keywords:["agreement","shake"],char:"\ud83e\udd1d",fitzpatrick_scale:!1,category:"people"},point_up:{keywords:["hand","fingers","direction","up"],char:"\u261d",fitzpatrick_scale:!0,category:"people"},point_up_2:{keywords:["fingers","hand","direction","up"],char:"\ud83d\udc46",fitzpatrick_scale:!0,category:"people"},point_down:{keywords:["fingers","hand","direction","down"],char:"\ud83d\udc47",fitzpatrick_scale:!0,category:"people"},point_left:{keywords:["direction","fingers","hand","left"],char:"\ud83d\udc48",fitzpatrick_scale:!0,category:"people"},point_right:{keywords:["fingers","hand","direction","right"],char:"\ud83d\udc49",fitzpatrick_scale:!0,category:"people"},fu:{keywords:["hand","fingers","rude","middle","flipping"],char:"\ud83d\udd95",fitzpatrick_scale:!0,category:"people"},raised_hand_with_fingers_splayed:{keywords:["hand","fingers","palm"],char:"\ud83d\udd90",fitzpatrick_scale:!0,category:"people"},love_you:{keywords:["hand","fingers","gesture"],char:"\ud83e\udd1f",fitzpatrick_scale:!0,category:"people"},metal:{keywords:["hand","fingers","evil_eye","sign_of_horns","rock_on"],char:"\ud83e\udd18",fitzpatrick_scale:!0,category:"people"},crossed_fingers:{keywords:["good","lucky"],char:"\ud83e\udd1e",fitzpatrick_scale:!0,category:"people"},vulcan_salute:{keywords:["hand","fingers","spock","star trek"],char:"\ud83d\udd96",fitzpatrick_scale:!0,category:"people"},writing_hand:{keywords:["lower_left_ballpoint_pen","stationery","write","compose"],char:"\u270d",fitzpatrick_scale:!0,category:"people"},selfie:{keywords:["camera","phone"],char:"\ud83e\udd33",fitzpatrick_scale:!0,category:"people"},nail_care:{keywords:["beauty","manicure","finger","fashion","nail"],char:"\ud83d\udc85",fitzpatrick_scale:!0,category:"people"},lips:{keywords:["mouth","kiss"],char:"\ud83d\udc44",fitzpatrick_scale:!1,category:"people"},tooth:{keywords:["teeth","dentist"],char:"\ud83e\uddb7",fitzpatrick_scale:!1,category:"people"},tongue:{keywords:["mouth","playful"],char:"\ud83d\udc45",fitzpatrick_scale:!1,category:"people"},ear:{keywords:["face","hear","sound","listen"],char:"\ud83d\udc42",fitzpatrick_scale:!0,category:"people"},nose:{keywords:["smell","sniff"],char:"\ud83d\udc43",fitzpatrick_scale:!0,category:"people"},eye:{keywords:["face","look","see","watch","stare"],char:"\ud83d\udc41",fitzpatrick_scale:!1,category:"people"},eyes:{keywords:["look","watch","stalk","peek","see"],char:"\ud83d\udc40",fitzpatrick_scale:!1,category:"people"},brain:{keywords:["smart","intelligent"],char:"\ud83e\udde0",fitzpatrick_scale:!1,category:"people"},bust_in_silhouette:{keywords:["user","person","human"],char:"\ud83d\udc64",fitzpatrick_scale:!1,category:"people"},busts_in_silhouette:{keywords:["user","person","human","group","team"],char:"\ud83d\udc65",fitzpatrick_scale:!1,category:"people"},speaking_head:{keywords:["user","person","human","sing","say","talk"],char:"\ud83d\udde3",fitzpatrick_scale:!1,category:"people"},baby:{keywords:["child","boy","girl","toddler"],char:"\ud83d\udc76",fitzpatrick_scale:!0,category:"people"},child:{keywords:["gender-neutral","young"],char:"\ud83e\uddd2",fitzpatrick_scale:!0,category:"people"},boy:{keywords:["man","male","guy","teenager"],char:"\ud83d\udc66",fitzpatrick_scale:!0,category:"people"},girl:{keywords:["female","woman","teenager"],char:"\ud83d\udc67",fitzpatrick_scale:!0,category:"people"},adult:{keywords:["gender-neutral","person"],char:"\ud83e\uddd1",fitzpatrick_scale:!0,category:"people"},man:{keywords:["mustache","father","dad","guy","classy","sir","moustache"],char:"\ud83d\udc68",fitzpatrick_scale:!0,category:"people"},woman:{keywords:["female","girls","lady"],char:"\ud83d\udc69",fitzpatrick_scale:!0,category:"people"},blonde_woman:{keywords:["woman","female","girl","blonde","person"],char:"\ud83d\udc71\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},blonde_man:{keywords:["man","male","boy","blonde","guy","person"],char:"\ud83d\udc71",fitzpatrick_scale:!0,category:"people"},bearded_person:{keywords:["person","bewhiskered"],char:"\ud83e\uddd4",fitzpatrick_scale:!0,category:"people"},older_adult:{keywords:["human","elder","senior","gender-neutral"],char:"\ud83e\uddd3",fitzpatrick_scale:!0,category:"people"},older_man:{keywords:["human","male","men","old","elder","senior"],char:"\ud83d\udc74",fitzpatrick_scale:!0,category:"people"},older_woman:{keywords:["human","female","women","lady","old","elder","senior"],char:"\ud83d\udc75",fitzpatrick_scale:!0,category:"people"},man_with_gua_pi_mao:{keywords:["male","boy","chinese"],char:"\ud83d\udc72",fitzpatrick_scale:!0,category:"people"},woman_with_headscarf:{keywords:["female","hijab","mantilla","tichel"],char:"\ud83e\uddd5",fitzpatrick_scale:!0,category:"people"},woman_with_turban:{keywords:["female","indian","hinduism","arabs","woman"],char:"\ud83d\udc73\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},man_with_turban:{keywords:["male","indian","hinduism","arabs"],char:"\ud83d\udc73",fitzpatrick_scale:!0,category:"people"},policewoman:{keywords:["woman","police","law","legal","enforcement","arrest","911","female"],char:"\ud83d\udc6e\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},policeman:{keywords:["man","police","law","legal","enforcement","arrest","911"],char:"\ud83d\udc6e",fitzpatrick_scale:!0,category:"people"},construction_worker_woman:{keywords:["female","human","wip","build","construction","worker","labor","woman"],char:"\ud83d\udc77\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},construction_worker_man:{keywords:["male","human","wip","guy","build","construction","worker","labor"],char:"\ud83d\udc77",fitzpatrick_scale:!0,category:"people"},guardswoman:{keywords:["uk","gb","british","female","royal","woman"],char:"\ud83d\udc82\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},guardsman:{keywords:["uk","gb","british","male","guy","royal"],char:"\ud83d\udc82",fitzpatrick_scale:!0,category:"people"},female_detective:{keywords:["human","spy","detective","female","woman"],char:"\ud83d\udd75\ufe0f\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},male_detective:{keywords:["human","spy","detective"],char:"\ud83d\udd75",fitzpatrick_scale:!0,category:"people"},woman_health_worker:{keywords:["doctor","nurse","therapist","healthcare","woman","human"],char:"\ud83d\udc69\u200d\u2695\ufe0f",fitzpatrick_scale:!0,category:"people"},man_health_worker:{keywords:["doctor","nurse","therapist","healthcare","man","human"],char:"\ud83d\udc68\u200d\u2695\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_farmer:{keywords:["rancher","gardener","woman","human"],char:"\ud83d\udc69\u200d\ud83c\udf3e",fitzpatrick_scale:!0,category:"people"},man_farmer:{keywords:["rancher","gardener","man","human"],char:"\ud83d\udc68\u200d\ud83c\udf3e",fitzpatrick_scale:!0,category:"people"},woman_cook:{keywords:["chef","woman","human"],char:"\ud83d\udc69\u200d\ud83c\udf73",fitzpatrick_scale:!0,category:"people"},man_cook:{keywords:["chef","man","human"],char:"\ud83d\udc68\u200d\ud83c\udf73",fitzpatrick_scale:!0,category:"people"},woman_student:{keywords:["graduate","woman","human"],char:"\ud83d\udc69\u200d\ud83c\udf93",fitzpatrick_scale:!0,category:"people"},man_student:{keywords:["graduate","man","human"],char:"\ud83d\udc68\u200d\ud83c\udf93",fitzpatrick_scale:!0,category:"people"},woman_singer:{keywords:["rockstar","entertainer","woman","human"],char:"\ud83d\udc69\u200d\ud83c\udfa4",fitzpatrick_scale:!0,category:"people"},man_singer:{keywords:["rockstar","entertainer","man","human"],char:"\ud83d\udc68\u200d\ud83c\udfa4",fitzpatrick_scale:!0,category:"people"},woman_teacher:{keywords:["instructor","professor","woman","human"],char:"\ud83d\udc69\u200d\ud83c\udfeb",fitzpatrick_scale:!0,category:"people"},man_teacher:{keywords:["instructor","professor","man","human"],char:"\ud83d\udc68\u200d\ud83c\udfeb",fitzpatrick_scale:!0,category:"people"},woman_factory_worker:{keywords:["assembly","industrial","woman","human"],char:"\ud83d\udc69\u200d\ud83c\udfed",fitzpatrick_scale:!0,category:"people"},man_factory_worker:{keywords:["assembly","industrial","man","human"],char:"\ud83d\udc68\u200d\ud83c\udfed",fitzpatrick_scale:!0,category:"people"},woman_technologist:{keywords:["coder","developer","engineer","programmer","software","woman","human","laptop","computer"],char:"\ud83d\udc69\u200d\ud83d\udcbb",fitzpatrick_scale:!0,category:"people"},man_technologist:{keywords:["coder","developer","engineer","programmer","software","man","human","laptop","computer"],char:"\ud83d\udc68\u200d\ud83d\udcbb",fitzpatrick_scale:!0,category:"people"},woman_office_worker:{keywords:["business","manager","woman","human"],char:"\ud83d\udc69\u200d\ud83d\udcbc",fitzpatrick_scale:!0,category:"people"},man_office_worker:{keywords:["business","manager","man","human"],char:"\ud83d\udc68\u200d\ud83d\udcbc",fitzpatrick_scale:!0,category:"people"},woman_mechanic:{keywords:["plumber","woman","human","wrench"],char:"\ud83d\udc69\u200d\ud83d\udd27",fitzpatrick_scale:!0,category:"people"},man_mechanic:{keywords:["plumber","man","human","wrench"],char:"\ud83d\udc68\u200d\ud83d\udd27",fitzpatrick_scale:!0,category:"people"},woman_scientist:{keywords:["biologist","chemist","engineer","physicist","woman","human"],char:"\ud83d\udc69\u200d\ud83d\udd2c",fitzpatrick_scale:!0,category:"people"},man_scientist:{keywords:["biologist","chemist","engineer","physicist","man","human"],char:"\ud83d\udc68\u200d\ud83d\udd2c",fitzpatrick_scale:!0,category:"people"},woman_artist:{keywords:["painter","woman","human"],char:"\ud83d\udc69\u200d\ud83c\udfa8",fitzpatrick_scale:!0,category:"people"},man_artist:{keywords:["painter","man","human"],char:"\ud83d\udc68\u200d\ud83c\udfa8",fitzpatrick_scale:!0,category:"people"},woman_firefighter:{keywords:["fireman","woman","human"],char:"\ud83d\udc69\u200d\ud83d\ude92",fitzpatrick_scale:!0,category:"people"},man_firefighter:{keywords:["fireman","man","human"],char:"\ud83d\udc68\u200d\ud83d\ude92",fitzpatrick_scale:!0,category:"people"},woman_pilot:{keywords:["aviator","plane","woman","human"],char:"\ud83d\udc69\u200d\u2708\ufe0f",fitzpatrick_scale:!0,category:"people"},man_pilot:{keywords:["aviator","plane","man","human"],char:"\ud83d\udc68\u200d\u2708\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_astronaut:{keywords:["space","rocket","woman","human"],char:"\ud83d\udc69\u200d\ud83d\ude80",fitzpatrick_scale:!0,category:"people"},man_astronaut:{keywords:["space","rocket","man","human"],char:"\ud83d\udc68\u200d\ud83d\ude80",fitzpatrick_scale:!0,category:"people"},woman_judge:{keywords:["justice","court","woman","human"],char:"\ud83d\udc69\u200d\u2696\ufe0f",fitzpatrick_scale:!0,category:"people"},man_judge:{keywords:["justice","court","man","human"],char:"\ud83d\udc68\u200d\u2696\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_superhero:{keywords:["woman","female","good","heroine","superpowers"],char:"\ud83e\uddb8\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},man_superhero:{keywords:["man","male","good","hero","superpowers"],char:"\ud83e\uddb8\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_supervillain:{keywords:["woman","female","evil","bad","criminal","heroine","superpowers"],char:"\ud83e\uddb9\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},man_supervillain:{keywords:["man","male","evil","bad","criminal","hero","superpowers"],char:"\ud83e\uddb9\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},mrs_claus:{keywords:["woman","female","xmas","mother christmas"],char:"\ud83e\udd36",fitzpatrick_scale:!0,category:"people"},santa:{keywords:["festival","man","male","xmas","father christmas"],char:"\ud83c\udf85",fitzpatrick_scale:!0,category:"people"},sorceress:{keywords:["woman","female","mage","witch"],char:"\ud83e\uddd9\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},wizard:{keywords:["man","male","mage","sorcerer"],char:"\ud83e\uddd9\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_elf:{keywords:["woman","female"],char:"\ud83e\udddd\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},man_elf:{keywords:["man","male"],char:"\ud83e\udddd\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_vampire:{keywords:["woman","female"],char:"\ud83e\udddb\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},man_vampire:{keywords:["man","male","dracula"],char:"\ud83e\udddb\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_zombie:{keywords:["woman","female","undead","walking dead"],char:"\ud83e\udddf\u200d\u2640\ufe0f",fitzpatrick_scale:!1,category:"people"},man_zombie:{keywords:["man","male","dracula","undead","walking dead"],char:"\ud83e\udddf\u200d\u2642\ufe0f",fitzpatrick_scale:!1,category:"people"},woman_genie:{keywords:["woman","female"],char:"\ud83e\uddde\u200d\u2640\ufe0f",fitzpatrick_scale:!1,category:"people"},man_genie:{keywords:["man","male"],char:"\ud83e\uddde\u200d\u2642\ufe0f",fitzpatrick_scale:!1,category:"people"},mermaid:{keywords:["woman","female","merwoman","ariel"],char:"\ud83e\udddc\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},merman:{keywords:["man","male","triton"],char:"\ud83e\udddc\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_fairy:{keywords:["woman","female"],char:"\ud83e\uddda\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},man_fairy:{keywords:["man","male"],char:"\ud83e\uddda\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},angel:{keywords:["heaven","wings","halo"],char:"\ud83d\udc7c",fitzpatrick_scale:!0,category:"people"},pregnant_woman:{keywords:["baby"],char:"\ud83e\udd30",fitzpatrick_scale:!0,category:"people"},breastfeeding:{keywords:["nursing","baby"],char:"\ud83e\udd31",fitzpatrick_scale:!0,category:"people"},princess:{keywords:["girl","woman","female","blond","crown","royal","queen"],char:"\ud83d\udc78",fitzpatrick_scale:!0,category:"people"},prince:{keywords:["boy","man","male","crown","royal","king"],char:"\ud83e\udd34",fitzpatrick_scale:!0,category:"people"},bride_with_veil:{keywords:["couple","marriage","wedding","woman","bride"],char:"\ud83d\udc70",fitzpatrick_scale:!0,category:"people"},man_in_tuxedo:{keywords:["couple","marriage","wedding","groom"],char:"\ud83e\udd35",fitzpatrick_scale:!0,category:"people"},running_woman:{keywords:["woman","walking","exercise","race","running","female"],char:"\ud83c\udfc3\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},running_man:{keywords:["man","walking","exercise","race","running"],char:"\ud83c\udfc3",fitzpatrick_scale:!0,category:"people"},walking_woman:{keywords:["human","feet","steps","woman","female"],char:"\ud83d\udeb6\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},walking_man:{keywords:["human","feet","steps"],char:"\ud83d\udeb6",fitzpatrick_scale:!0,category:"people"},dancer:{keywords:["female","girl","woman","fun"],char:"\ud83d\udc83",fitzpatrick_scale:!0,category:"people"},man_dancing:{keywords:["male","boy","fun","dancer"],char:"\ud83d\udd7a",fitzpatrick_scale:!0,category:"people"},dancing_women:{keywords:["female","bunny","women","girls"],char:"\ud83d\udc6f",fitzpatrick_scale:!1,category:"people"},dancing_men:{keywords:["male","bunny","men","boys"],char:"\ud83d\udc6f\u200d\u2642\ufe0f",fitzpatrick_scale:!1,category:"people"},couple:{keywords:["pair","people","human","love","date","dating","like","affection","valentines","marriage"],char:"\ud83d\udc6b",fitzpatrick_scale:!1,category:"people"},two_men_holding_hands:{keywords:["pair","couple","love","like","bromance","friendship","people","human"],char:"\ud83d\udc6c",fitzpatrick_scale:!1,category:"people"},two_women_holding_hands:{keywords:["pair","friendship","couple","love","like","female","people","human"],char:"\ud83d\udc6d",fitzpatrick_scale:!1,category:"people"},bowing_woman:{keywords:["woman","female","girl"],char:"\ud83d\ude47\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},bowing_man:{keywords:["man","male","boy"],char:"\ud83d\ude47",fitzpatrick_scale:!0,category:"people"},man_facepalming:{keywords:["man","male","boy","disbelief"],char:"\ud83e\udd26\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_facepalming:{keywords:["woman","female","girl","disbelief"],char:"\ud83e\udd26\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_shrugging:{keywords:["woman","female","girl","confused","indifferent","doubt"],char:"\ud83e\udd37",fitzpatrick_scale:!0,category:"people"},man_shrugging:{keywords:["man","male","boy","confused","indifferent","doubt"],char:"\ud83e\udd37\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},tipping_hand_woman:{keywords:["female","girl","woman","human","information"],char:"\ud83d\udc81",fitzpatrick_scale:!0,category:"people"},tipping_hand_man:{keywords:["male","boy","man","human","information"],char:"\ud83d\udc81\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},no_good_woman:{keywords:["female","girl","woman","nope"],char:"\ud83d\ude45",fitzpatrick_scale:!0,category:"people"},no_good_man:{keywords:["male","boy","man","nope"],char:"\ud83d\ude45\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},ok_woman:{keywords:["women","girl","female","pink","human","woman"],char:"\ud83d\ude46",fitzpatrick_scale:!0,category:"people"},ok_man:{keywords:["men","boy","male","blue","human","man"],char:"\ud83d\ude46\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},raising_hand_woman:{keywords:["female","girl","woman"],char:"\ud83d\ude4b",fitzpatrick_scale:!0,category:"people"},raising_hand_man:{keywords:["male","boy","man"],char:"\ud83d\ude4b\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},pouting_woman:{keywords:["female","girl","woman"],char:"\ud83d\ude4e",fitzpatrick_scale:!0,category:"people"},pouting_man:{keywords:["male","boy","man"],char:"\ud83d\ude4e\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},frowning_woman:{keywords:["female","girl","woman","sad","depressed","discouraged","unhappy"],char:"\ud83d\ude4d",fitzpatrick_scale:!0,category:"people"},frowning_man:{keywords:["male","boy","man","sad","depressed","discouraged","unhappy"],char:"\ud83d\ude4d\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},haircut_woman:{keywords:["female","girl","woman"],char:"\ud83d\udc87",fitzpatrick_scale:!0,category:"people"},haircut_man:{keywords:["male","boy","man"],char:"\ud83d\udc87\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},massage_woman:{keywords:["female","girl","woman","head"],char:"\ud83d\udc86",fitzpatrick_scale:!0,category:"people"},massage_man:{keywords:["male","boy","man","head"],char:"\ud83d\udc86\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},woman_in_steamy_room:{keywords:["female","woman","spa","steamroom","sauna"],char:"\ud83e\uddd6\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"people"},man_in_steamy_room:{keywords:["male","man","spa","steamroom","sauna"],char:"\ud83e\uddd6\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"people"},couple_with_heart_woman_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"\ud83d\udc91",fitzpatrick_scale:!1,category:"people"},couple_with_heart_woman_woman:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc69",fitzpatrick_scale:!1,category:"people"},couple_with_heart_man_man:{keywords:["pair","love","like","affection","human","dating","valentines","marriage"],char:"\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc68",fitzpatrick_scale:!1,category:"people"},couplekiss_man_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:"\ud83d\udc8f",fitzpatrick_scale:!1,category:"people"},couplekiss_woman_woman:{keywords:["pair","valentines","love","like","dating","marriage"],char:"\ud83d\udc69\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc69",fitzpatrick_scale:!1,category:"people"},couplekiss_man_man:{keywords:["pair","valentines","love","like","dating","marriage"],char:"\ud83d\udc68\u200d\u2764\ufe0f\u200d\ud83d\udc8b\u200d\ud83d\udc68",fitzpatrick_scale:!1,category:"people"},family_man_woman_boy:{keywords:["home","parents","child","mom","dad","father","mother","people","human"],char:"\ud83d\udc6a",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl:{keywords:["home","parents","people","human","child"],char:"\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:"\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc66",fitzpatrick_scale:!1,category:"people"},family_man_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:"\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66",fitzpatrick_scale:!1,category:"people"},family_man_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:"\ud83d\udc68\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc67",fitzpatrick_scale:!1,category:"people"},family_woman_woman_boy:{keywords:["home","parents","people","human","children"],char:"\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl:{keywords:["home","parents","people","human","children"],char:"\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl_boy:{keywords:["home","parents","people","human","children"],char:"\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc66",fitzpatrick_scale:!1,category:"people"},family_woman_woman_boy_boy:{keywords:["home","parents","people","human","children"],char:"\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66",fitzpatrick_scale:!1,category:"people"},family_woman_woman_girl_girl:{keywords:["home","parents","people","human","children"],char:"\ud83d\udc69\u200d\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc67",fitzpatrick_scale:!1,category:"people"},family_man_man_boy:{keywords:["home","parents","people","human","children"],char:"\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66",fitzpatrick_scale:!1,category:"people"},family_man_man_girl:{keywords:["home","parents","people","human","children"],char:"\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67",fitzpatrick_scale:!1,category:"people"},family_man_man_girl_boy:{keywords:["home","parents","people","human","children"],char:"\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d\udc66",fitzpatrick_scale:!1,category:"people"},family_man_man_boy_boy:{keywords:["home","parents","people","human","children"],char:"\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66",fitzpatrick_scale:!1,category:"people"},family_man_man_girl_girl:{keywords:["home","parents","people","human","children"],char:"\ud83d\udc68\u200d\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d\udc67",fitzpatrick_scale:!1,category:"people"},family_woman_boy:{keywords:["home","parent","people","human","child"],char:"\ud83d\udc69\u200d\ud83d\udc66",fitzpatrick_scale:!1,category:"people"},family_woman_girl:{keywords:["home","parent","people","human","child"],char:"\ud83d\udc69\u200d\ud83d\udc67",fitzpatrick_scale:!1,category:"people"},family_woman_girl_boy:{keywords:["home","parent","people","human","children"],char:"\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc66",fitzpatrick_scale:!1,category:"people"},family_woman_boy_boy:{keywords:["home","parent","people","human","children"],char:"\ud83d\udc69\u200d\ud83d\udc66\u200d\ud83d\udc66",fitzpatrick_scale:!1,category:"people"},family_woman_girl_girl:{keywords:["home","parent","people","human","children"],char:"\ud83d\udc69\u200d\ud83d\udc67\u200d\ud83d\udc67",fitzpatrick_scale:!1,category:"people"},family_man_boy:{keywords:["home","parent","people","human","child"],char:"\ud83d\udc68\u200d\ud83d\udc66",fitzpatrick_scale:!1,category:"people"},family_man_girl:{keywords:["home","parent","people","human","child"],char:"\ud83d\udc68\u200d\ud83d\udc67",fitzpatrick_scale:!1,category:"people"},family_man_girl_boy:{keywords:["home","parent","people","human","children"],char:"\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d\udc66",fitzpatrick_scale:!1,category:"people"},family_man_boy_boy:{keywords:["home","parent","people","human","children"],char:"\ud83d\udc68\u200d\ud83d\udc66\u200d\ud83d\udc66",fitzpatrick_scale:!1,category:"people"},family_man_girl_girl:{keywords:["home","parent","people","human","children"],char:"\ud83d\udc68\u200d\ud83d\udc67\u200d\ud83d\udc67",fitzpatrick_scale:!1,category:"people"},yarn:{keywords:["ball","crochet","knit"],char:"\ud83e\uddf6",fitzpatrick_scale:!1,category:"people"},thread:{keywords:["needle","sewing","spool","string"],char:"\ud83e\uddf5",fitzpatrick_scale:!1,category:"people"},coat:{keywords:["jacket"],char:"\ud83e\udde5",fitzpatrick_scale:!1,category:"people"},labcoat:{keywords:["doctor","experiment","scientist","chemist"],char:"\ud83e\udd7c",fitzpatrick_scale:!1,category:"people"},womans_clothes:{keywords:["fashion","shopping_bags","female"],char:"\ud83d\udc5a",fitzpatrick_scale:!1,category:"people"},tshirt:{keywords:["fashion","cloth","casual","shirt","tee"],char:"\ud83d\udc55",fitzpatrick_scale:!1,category:"people"},jeans:{keywords:["fashion","shopping"],char:"\ud83d\udc56",fitzpatrick_scale:!1,category:"people"},necktie:{keywords:["shirt","suitup","formal","fashion","cloth","business"],char:"\ud83d\udc54",fitzpatrick_scale:!1,category:"people"},dress:{keywords:["clothes","fashion","shopping"],char:"\ud83d\udc57",fitzpatrick_scale:!1,category:"people"},bikini:{keywords:["swimming","female","woman","girl","fashion","beach","summer"],char:"\ud83d\udc59",fitzpatrick_scale:!1,category:"people"},kimono:{keywords:["dress","fashion","women","female","japanese"],char:"\ud83d\udc58",fitzpatrick_scale:!1,category:"people"},lipstick:{keywords:["female","girl","fashion","woman"],char:"\ud83d\udc84",fitzpatrick_scale:!1,category:"people"},kiss:{keywords:["face","lips","love","like","affection","valentines"],char:"\ud83d\udc8b",fitzpatrick_scale:!1,category:"people"},footprints:{keywords:["feet","tracking","walking","beach"],char:"\ud83d\udc63",fitzpatrick_scale:!1,category:"people"},flat_shoe:{keywords:["ballet","slip-on","slipper"],char:"\ud83e\udd7f",fitzpatrick_scale:!1,category:"people"},high_heel:{keywords:["fashion","shoes","female","pumps","stiletto"],char:"\ud83d\udc60",fitzpatrick_scale:!1,category:"people"},sandal:{keywords:["shoes","fashion","flip flops"],char:"\ud83d\udc61",fitzpatrick_scale:!1,category:"people"},boot:{keywords:["shoes","fashion"],char:"\ud83d\udc62",fitzpatrick_scale:!1,category:"people"},mans_shoe:{keywords:["fashion","male"],char:"\ud83d\udc5e",fitzpatrick_scale:!1,category:"people"},athletic_shoe:{keywords:["shoes","sports","sneakers"],char:"\ud83d\udc5f",fitzpatrick_scale:!1,category:"people"},hiking_boot:{keywords:["backpacking","camping","hiking"],char:"\ud83e\udd7e",fitzpatrick_scale:!1,category:"people"},socks:{keywords:["stockings","clothes"],char:"\ud83e\udde6",fitzpatrick_scale:!1,category:"people"},gloves:{keywords:["hands","winter","clothes"],char:"\ud83e\udde4",fitzpatrick_scale:!1,category:"people"},scarf:{keywords:["neck","winter","clothes"],char:"\ud83e\udde3",fitzpatrick_scale:!1,category:"people"},womans_hat:{keywords:["fashion","accessories","female","lady","spring"],char:"\ud83d\udc52",fitzpatrick_scale:!1,category:"people"},tophat:{keywords:["magic","gentleman","classy","circus"],char:"\ud83c\udfa9",fitzpatrick_scale:!1,category:"people"},billed_hat:{keywords:["cap","baseball"],char:"\ud83e\udde2",fitzpatrick_scale:!1,category:"people"},rescue_worker_helmet:{keywords:["construction","build"],char:"\u26d1",fitzpatrick_scale:!1,category:"people"},mortar_board:{keywords:["school","college","degree","university","graduation","cap","hat","legal","learn","education"],char:"\ud83c\udf93",fitzpatrick_scale:!1,category:"people"},crown:{keywords:["king","kod","leader","royalty","lord"],char:"\ud83d\udc51",fitzpatrick_scale:!1,category:"people"},school_satchel:{keywords:["student","education","bag","backpack"],char:"\ud83c\udf92",fitzpatrick_scale:!1,category:"people"},luggage:{keywords:["packing","travel"],char:"\ud83e\uddf3",fitzpatrick_scale:!1,category:"people"},pouch:{keywords:["bag","accessories","shopping"],char:"\ud83d\udc5d",fitzpatrick_scale:!1,category:"people"},purse:{keywords:["fashion","accessories","money","sales","shopping"],char:"\ud83d\udc5b",fitzpatrick_scale:!1,category:"people"},handbag:{keywords:["fashion","accessory","accessories","shopping"],char:"\ud83d\udc5c",fitzpatrick_scale:!1,category:"people"},briefcase:{keywords:["business","documents","work","law","legal","job","career"],char:"\ud83d\udcbc",fitzpatrick_scale:!1,category:"people"},eyeglasses:{keywords:["fashion","accessories","eyesight","nerdy","dork","geek"],char:"\ud83d\udc53",fitzpatrick_scale:!1,category:"people"},dark_sunglasses:{keywords:["face","cool","accessories"],char:"\ud83d\udd76",fitzpatrick_scale:!1,category:"people"},goggles:{keywords:["eyes","protection","safety"],char:"\ud83e\udd7d",fitzpatrick_scale:!1,category:"people"},ring:{keywords:["wedding","propose","marriage","valentines","diamond","fashion","jewelry","gem","engagement"],char:"\ud83d\udc8d",fitzpatrick_scale:!1,category:"people"},closed_umbrella:{keywords:["weather","rain","drizzle"],char:"\ud83c\udf02",fitzpatrick_scale:!1,category:"people"},dog:{keywords:["animal","friend","nature","woof","puppy","pet","faithful"],char:"\ud83d\udc36",fitzpatrick_scale:!1,category:"animals_and_nature"},cat:{keywords:["animal","meow","nature","pet","kitten"],char:"\ud83d\udc31",fitzpatrick_scale:!1,category:"animals_and_nature"},mouse:{keywords:["animal","nature","cheese_wedge","rodent"],char:"\ud83d\udc2d",fitzpatrick_scale:!1,category:"animals_and_nature"},hamster:{keywords:["animal","nature"],char:"\ud83d\udc39",fitzpatrick_scale:!1,category:"animals_and_nature"},rabbit:{keywords:["animal","nature","pet","spring","magic","bunny"],char:"\ud83d\udc30",fitzpatrick_scale:!1,category:"animals_and_nature"},fox_face:{keywords:["animal","nature","face"],char:"\ud83e\udd8a",fitzpatrick_scale:!1,category:"animals_and_nature"},bear:{keywords:["animal","nature","wild"],char:"\ud83d\udc3b",fitzpatrick_scale:!1,category:"animals_and_nature"},panda_face:{keywords:["animal","nature","panda"],char:"\ud83d\udc3c",fitzpatrick_scale:!1,category:"animals_and_nature"},koala:{keywords:["animal","nature"],char:"\ud83d\udc28",fitzpatrick_scale:!1,category:"animals_and_nature"},tiger:{keywords:["animal","cat","danger","wild","nature","roar"],char:"\ud83d\udc2f",fitzpatrick_scale:!1,category:"animals_and_nature"},lion:{keywords:["animal","nature"],char:"\ud83e\udd81",fitzpatrick_scale:!1,category:"animals_and_nature"},cow:{keywords:["beef","ox","animal","nature","moo","milk"],char:"\ud83d\udc2e",fitzpatrick_scale:!1,category:"animals_and_nature"},pig:{keywords:["animal","oink","nature"],char:"\ud83d\udc37",fitzpatrick_scale:!1,category:"animals_and_nature"},pig_nose:{keywords:["animal","oink"],char:"\ud83d\udc3d",fitzpatrick_scale:!1,category:"animals_and_nature"},frog:{keywords:["animal","nature","croak","toad"],char:"\ud83d\udc38",fitzpatrick_scale:!1,category:"animals_and_nature"},squid:{keywords:["animal","nature","ocean","sea"],char:"\ud83e\udd91",fitzpatrick_scale:!1,category:"animals_and_nature"},octopus:{keywords:["animal","creature","ocean","sea","nature","beach"],char:"\ud83d\udc19",fitzpatrick_scale:!1,category:"animals_and_nature"},shrimp:{keywords:["animal","ocean","nature","seafood"],char:"\ud83e\udd90",fitzpatrick_scale:!1,category:"animals_and_nature"},monkey_face:{keywords:["animal","nature","circus"],char:"\ud83d\udc35",fitzpatrick_scale:!1,category:"animals_and_nature"},gorilla:{keywords:["animal","nature","circus"],char:"\ud83e\udd8d",fitzpatrick_scale:!1,category:"animals_and_nature"},see_no_evil:{keywords:["monkey","animal","nature","haha"],char:"\ud83d\ude48",fitzpatrick_scale:!1,category:"animals_and_nature"},hear_no_evil:{keywords:["animal","monkey","nature"],char:"\ud83d\ude49",fitzpatrick_scale:!1,category:"animals_and_nature"},speak_no_evil:{keywords:["monkey","animal","nature","omg"],char:"\ud83d\ude4a",fitzpatrick_scale:!1,category:"animals_and_nature"},monkey:{keywords:["animal","nature","banana","circus"],char:"\ud83d\udc12",fitzpatrick_scale:!1,category:"animals_and_nature"},chicken:{keywords:["animal","cluck","nature","bird"],char:"\ud83d\udc14",fitzpatrick_scale:!1,category:"animals_and_nature"},penguin:{keywords:["animal","nature"],char:"\ud83d\udc27",fitzpatrick_scale:!1,category:"animals_and_nature"},bird:{keywords:["animal","nature","fly","tweet","spring"],char:"\ud83d\udc26",fitzpatrick_scale:!1,category:"animals_and_nature"},baby_chick:{keywords:["animal","chicken","bird"],char:"\ud83d\udc24",fitzpatrick_scale:!1,category:"animals_and_nature"},hatching_chick:{keywords:["animal","chicken","egg","born","baby","bird"],char:"\ud83d\udc23",fitzpatrick_scale:!1,category:"animals_and_nature"},hatched_chick:{keywords:["animal","chicken","baby","bird"],char:"\ud83d\udc25",fitzpatrick_scale:!1,category:"animals_and_nature"},duck:{keywords:["animal","nature","bird","mallard"],char:"\ud83e\udd86",fitzpatrick_scale:!1,category:"animals_and_nature"},eagle:{keywords:["animal","nature","bird"],char:"\ud83e\udd85",fitzpatrick_scale:!1,category:"animals_and_nature"},owl:{keywords:["animal","nature","bird","hoot"],char:"\ud83e\udd89",fitzpatrick_scale:!1,category:"animals_and_nature"},bat:{keywords:["animal","nature","blind","vampire"],char:"\ud83e\udd87",fitzpatrick_scale:!1,category:"animals_and_nature"},wolf:{keywords:["animal","nature","wild"],char:"\ud83d\udc3a",fitzpatrick_scale:!1,category:"animals_and_nature"},boar:{keywords:["animal","nature"],char:"\ud83d\udc17",fitzpatrick_scale:!1,category:"animals_and_nature"},horse:{keywords:["animal","brown","nature"],char:"\ud83d\udc34",fitzpatrick_scale:!1,category:"animals_and_nature"},unicorn:{keywords:["animal","nature","mystical"],char:"\ud83e\udd84",fitzpatrick_scale:!1,category:"animals_and_nature"},honeybee:{keywords:["animal","insect","nature","bug","spring","honey"],char:"\ud83d\udc1d",fitzpatrick_scale:!1,category:"animals_and_nature"},bug:{keywords:["animal","insect","nature","worm"],char:"\ud83d\udc1b",fitzpatrick_scale:!1,category:"animals_and_nature"},butterfly:{keywords:["animal","insect","nature","caterpillar"],char:"\ud83e\udd8b",fitzpatrick_scale:!1,category:"animals_and_nature"},snail:{keywords:["slow","animal","shell"],char:"\ud83d\udc0c",fitzpatrick_scale:!1,category:"animals_and_nature"},beetle:{keywords:["animal","insect","nature","ladybug"],char:"\ud83d\udc1e",fitzpatrick_scale:!1,category:"animals_and_nature"},ant:{keywords:["animal","insect","nature","bug"],char:"\ud83d\udc1c",fitzpatrick_scale:!1,category:"animals_and_nature"},grasshopper:{keywords:["animal","cricket","chirp"],char:"\ud83e\udd97",fitzpatrick_scale:!1,category:"animals_and_nature"},spider:{keywords:["animal","arachnid"],char:"\ud83d\udd77",fitzpatrick_scale:!1,category:"animals_and_nature"},scorpion:{keywords:["animal","arachnid"],char:"\ud83e\udd82",fitzpatrick_scale:!1,category:"animals_and_nature"},crab:{keywords:["animal","crustacean"],char:"\ud83e\udd80",fitzpatrick_scale:!1,category:"animals_and_nature"},snake:{keywords:["animal","evil","nature","hiss","python"],char:"\ud83d\udc0d",fitzpatrick_scale:!1,category:"animals_and_nature"},lizard:{keywords:["animal","nature","reptile"],char:"\ud83e\udd8e",fitzpatrick_scale:!1,category:"animals_and_nature"},"t-rex":{keywords:["animal","nature","dinosaur","tyrannosaurus","extinct"],char:"\ud83e\udd96",fitzpatrick_scale:!1,category:"animals_and_nature"},sauropod:{keywords:["animal","nature","dinosaur","brachiosaurus","brontosaurus","diplodocus","extinct"],char:"\ud83e\udd95",fitzpatrick_scale:!1,category:"animals_and_nature"},turtle:{keywords:["animal","slow","nature","tortoise"],char:"\ud83d\udc22",fitzpatrick_scale:!1,category:"animals_and_nature"},tropical_fish:{keywords:["animal","swim","ocean","beach","nemo"],char:"\ud83d\udc20",fitzpatrick_scale:!1,category:"animals_and_nature"},fish:{keywords:["animal","food","nature"],char:"\ud83d\udc1f",fitzpatrick_scale:!1,category:"animals_and_nature"},blowfish:{keywords:["animal","nature","food","sea","ocean"],char:"\ud83d\udc21",fitzpatrick_scale:!1,category:"animals_and_nature"},dolphin:{keywords:["animal","nature","fish","sea","ocean","flipper","fins","beach"],char:"\ud83d\udc2c",fitzpatrick_scale:!1,category:"animals_and_nature"},shark:{keywords:["animal","nature","fish","sea","ocean","jaws","fins","beach"],char:"\ud83e\udd88",fitzpatrick_scale:!1,category:"animals_and_nature"},whale:{keywords:["animal","nature","sea","ocean"],char:"\ud83d\udc33",fitzpatrick_scale:!1,category:"animals_and_nature"},whale2:{keywords:["animal","nature","sea","ocean"],char:"\ud83d\udc0b",fitzpatrick_scale:!1,category:"animals_and_nature"},crocodile:{keywords:["animal","nature","reptile","lizard","alligator"],char:"\ud83d\udc0a",fitzpatrick_scale:!1,category:"animals_and_nature"},leopard:{keywords:["animal","nature"],char:"\ud83d\udc06",fitzpatrick_scale:!1,category:"animals_and_nature"},zebra:{keywords:["animal","nature","stripes","safari"],char:"\ud83e\udd93",fitzpatrick_scale:!1,category:"animals_and_nature"},tiger2:{keywords:["animal","nature","roar"],char:"\ud83d\udc05",fitzpatrick_scale:!1,category:"animals_and_nature"},water_buffalo:{keywords:["animal","nature","ox","cow"],char:"\ud83d\udc03",fitzpatrick_scale:!1,category:"animals_and_nature"},ox:{keywords:["animal","cow","beef"],char:"\ud83d\udc02",fitzpatrick_scale:!1,category:"animals_and_nature"},cow2:{keywords:["beef","ox","animal","nature","moo","milk"],char:"\ud83d\udc04",fitzpatrick_scale:!1,category:"animals_and_nature"},deer:{keywords:["animal","nature","horns","venison"],char:"\ud83e\udd8c",fitzpatrick_scale:!1,category:"animals_and_nature"},dromedary_camel:{keywords:["animal","hot","desert","hump"],char:"\ud83d\udc2a",fitzpatrick_scale:!1,category:"animals_and_nature"},camel:{keywords:["animal","nature","hot","desert","hump"],char:"\ud83d\udc2b",fitzpatrick_scale:!1,category:"animals_and_nature"},giraffe:{keywords:["animal","nature","spots","safari"],char:"\ud83e\udd92",fitzpatrick_scale:!1,category:"animals_and_nature"},elephant:{keywords:["animal","nature","nose","th","circus"],char:"\ud83d\udc18",fitzpatrick_scale:!1,category:"animals_and_nature"},rhinoceros:{keywords:["animal","nature","horn"],char:"\ud83e\udd8f",fitzpatrick_scale:!1,category:"animals_and_nature"},goat:{keywords:["animal","nature"],char:"\ud83d\udc10",fitzpatrick_scale:!1,category:"animals_and_nature"},ram:{keywords:["animal","sheep","nature"],char:"\ud83d\udc0f",fitzpatrick_scale:!1,category:"animals_and_nature"},sheep:{keywords:["animal","nature","wool","shipit"],char:"\ud83d\udc11",fitzpatrick_scale:!1,category:"animals_and_nature"},racehorse:{keywords:["animal","gamble","luck"],char:"\ud83d\udc0e",fitzpatrick_scale:!1,category:"animals_and_nature"},pig2:{keywords:["animal","nature"],char:"\ud83d\udc16",fitzpatrick_scale:!1,category:"animals_and_nature"},rat:{keywords:["animal","mouse","rodent"],char:"\ud83d\udc00",fitzpatrick_scale:!1,category:"animals_and_nature"},mouse2:{keywords:["animal","nature","rodent"],char:"\ud83d\udc01",fitzpatrick_scale:!1,category:"animals_and_nature"},rooster:{keywords:["animal","nature","chicken"],char:"\ud83d\udc13",fitzpatrick_scale:!1,category:"animals_and_nature"},turkey:{keywords:["animal","bird"],char:"\ud83e\udd83",fitzpatrick_scale:!1,category:"animals_and_nature"},dove:{keywords:["animal","bird"],char:"\ud83d\udd4a",fitzpatrick_scale:!1,category:"animals_and_nature"},dog2:{keywords:["animal","nature","friend","doge","pet","faithful"],char:"\ud83d\udc15",fitzpatrick_scale:!1,category:"animals_and_nature"},poodle:{keywords:["dog","animal","101","nature","pet"],char:"\ud83d\udc29",fitzpatrick_scale:!1,category:"animals_and_nature"},cat2:{keywords:["animal","meow","pet","cats"],char:"\ud83d\udc08",fitzpatrick_scale:!1,category:"animals_and_nature"},rabbit2:{keywords:["animal","nature","pet","magic","spring"],char:"\ud83d\udc07",fitzpatrick_scale:!1,category:"animals_and_nature"},chipmunk:{keywords:["animal","nature","rodent","squirrel"],char:"\ud83d\udc3f",fitzpatrick_scale:!1,category:"animals_and_nature"},hedgehog:{keywords:["animal","nature","spiny"],char:"\ud83e\udd94",fitzpatrick_scale:!1,category:"animals_and_nature"},raccoon:{keywords:["animal","nature"],char:"\ud83e\udd9d",fitzpatrick_scale:!1,category:"animals_and_nature"},llama:{keywords:["animal","nature","alpaca"],char:"\ud83e\udd99",fitzpatrick_scale:!1,category:"animals_and_nature"},hippopotamus:{keywords:["animal","nature"],char:"\ud83e\udd9b",fitzpatrick_scale:!1,category:"animals_and_nature"},kangaroo:{keywords:["animal","nature","australia","joey","hop","marsupial"],char:"\ud83e\udd98",fitzpatrick_scale:!1,category:"animals_and_nature"},badger:{keywords:["animal","nature","honey"],char:"\ud83e\udda1",fitzpatrick_scale:!1,category:"animals_and_nature"},swan:{keywords:["animal","nature","bird"],char:"\ud83e\udda2",fitzpatrick_scale:!1,category:"animals_and_nature"},peacock:{keywords:["animal","nature","peahen","bird"],char:"\ud83e\udd9a",fitzpatrick_scale:!1,category:"animals_and_nature"},parrot:{keywords:["animal","nature","bird","pirate","talk"],char:"\ud83e\udd9c",fitzpatrick_scale:!1,category:"animals_and_nature"},lobster:{keywords:["animal","nature","bisque","claws","seafood"],char:"\ud83e\udd9e",fitzpatrick_scale:!1,category:"animals_and_nature"},mosquito:{keywords:["animal","nature","insect","malaria"],char:"\ud83e\udd9f",fitzpatrick_scale:!1,category:"animals_and_nature"},paw_prints:{keywords:["animal","tracking","footprints","dog","cat","pet","feet"],char:"\ud83d\udc3e",fitzpatrick_scale:!1,category:"animals_and_nature"},dragon:{keywords:["animal","myth","nature","chinese","green"],char:"\ud83d\udc09",fitzpatrick_scale:!1,category:"animals_and_nature"},dragon_face:{keywords:["animal","myth","nature","chinese","green"],char:"\ud83d\udc32",fitzpatrick_scale:!1,category:"animals_and_nature"},cactus:{keywords:["vegetable","plant","nature"],char:"\ud83c\udf35",fitzpatrick_scale:!1,category:"animals_and_nature"},christmas_tree:{keywords:["festival","vacation","december","xmas","celebration"],char:"\ud83c\udf84",fitzpatrick_scale:!1,category:"animals_and_nature"},evergreen_tree:{keywords:["plant","nature"],char:"\ud83c\udf32",fitzpatrick_scale:!1,category:"animals_and_nature"},deciduous_tree:{keywords:["plant","nature"],char:"\ud83c\udf33",fitzpatrick_scale:!1,category:"animals_and_nature"},palm_tree:{keywords:["plant","vegetable","nature","summer","beach","mojito","tropical"],char:"\ud83c\udf34",fitzpatrick_scale:!1,category:"animals_and_nature"},seedling:{keywords:["plant","nature","grass","lawn","spring"],char:"\ud83c\udf31",fitzpatrick_scale:!1,category:"animals_and_nature"},herb:{keywords:["vegetable","plant","medicine","weed","grass","lawn"],char:"\ud83c\udf3f",fitzpatrick_scale:!1,category:"animals_and_nature"},shamrock:{keywords:["vegetable","plant","nature","irish","clover"],char:"\u2618",fitzpatrick_scale:!1,category:"animals_and_nature"},four_leaf_clover:{keywords:["vegetable","plant","nature","lucky","irish"],char:"\ud83c\udf40",fitzpatrick_scale:!1,category:"animals_and_nature"},bamboo:{keywords:["plant","nature","vegetable","panda","pine_decoration"],char:"\ud83c\udf8d",fitzpatrick_scale:!1,category:"animals_and_nature"},tanabata_tree:{keywords:["plant","nature","branch","summer"],char:"\ud83c\udf8b",fitzpatrick_scale:!1,category:"animals_and_nature"},leaves:{keywords:["nature","plant","tree","vegetable","grass","lawn","spring"],char:"\ud83c\udf43",fitzpatrick_scale:!1,category:"animals_and_nature"},fallen_leaf:{keywords:["nature","plant","vegetable","leaves"],char:"\ud83c\udf42",fitzpatrick_scale:!1,category:"animals_and_nature"},maple_leaf:{keywords:["nature","plant","vegetable","ca","fall"],char:"\ud83c\udf41",fitzpatrick_scale:!1,category:"animals_and_nature"},ear_of_rice:{keywords:["nature","plant"],char:"\ud83c\udf3e",fitzpatrick_scale:!1,category:"animals_and_nature"},hibiscus:{keywords:["plant","vegetable","flowers","beach"],char:"\ud83c\udf3a",fitzpatrick_scale:!1,category:"animals_and_nature"},sunflower:{keywords:["nature","plant","fall"],char:"\ud83c\udf3b",fitzpatrick_scale:!1,category:"animals_and_nature"},rose:{keywords:["flowers","valentines","love","spring"],char:"\ud83c\udf39",fitzpatrick_scale:!1,category:"animals_and_nature"},wilted_flower:{keywords:["plant","nature","flower"],char:"\ud83e\udd40",fitzpatrick_scale:!1,category:"animals_and_nature"},tulip:{keywords:["flowers","plant","nature","summer","spring"],char:"\ud83c\udf37",fitzpatrick_scale:!1,category:"animals_and_nature"},blossom:{keywords:["nature","flowers","yellow"],char:"\ud83c\udf3c",fitzpatrick_scale:!1,category:"animals_and_nature"},cherry_blossom:{keywords:["nature","plant","spring","flower"],char:"\ud83c\udf38",fitzpatrick_scale:!1,category:"animals_and_nature"},bouquet:{keywords:["flowers","nature","spring"],char:"\ud83d\udc90",fitzpatrick_scale:!1,category:"animals_and_nature"},mushroom:{keywords:["plant","vegetable"],char:"\ud83c\udf44",fitzpatrick_scale:!1,category:"animals_and_nature"},chestnut:{keywords:["food","squirrel"],char:"\ud83c\udf30",fitzpatrick_scale:!1,category:"animals_and_nature"},jack_o_lantern:{keywords:["halloween","light","pumpkin","creepy","fall"],char:"\ud83c\udf83",fitzpatrick_scale:!1,category:"animals_and_nature"},shell:{keywords:["nature","sea","beach"],char:"\ud83d\udc1a",fitzpatrick_scale:!1,category:"animals_and_nature"},spider_web:{keywords:["animal","insect","arachnid","silk"],char:"\ud83d\udd78",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_americas:{keywords:["globe","world","USA","international"],char:"\ud83c\udf0e",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_africa:{keywords:["globe","world","international"],char:"\ud83c\udf0d",fitzpatrick_scale:!1,category:"animals_and_nature"},earth_asia:{keywords:["globe","world","east","international"],char:"\ud83c\udf0f",fitzpatrick_scale:!1,category:"animals_and_nature"},full_moon:{keywords:["nature","yellow","twilight","planet","space","night","evening","sleep"],char:"\ud83c\udf15",fitzpatrick_scale:!1,category:"animals_and_nature"},waning_gibbous_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep","waxing_gibbous_moon"],char:"\ud83c\udf16",fitzpatrick_scale:!1,category:"animals_and_nature"},last_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\ud83c\udf17",fitzpatrick_scale:!1,category:"animals_and_nature"},waning_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\ud83c\udf18",fitzpatrick_scale:!1,category:"animals_and_nature"},new_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\ud83c\udf11",fitzpatrick_scale:!1,category:"animals_and_nature"},waxing_crescent_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\ud83c\udf12",fitzpatrick_scale:!1,category:"animals_and_nature"},first_quarter_moon:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\ud83c\udf13",fitzpatrick_scale:!1,category:"animals_and_nature"},waxing_gibbous_moon:{keywords:["nature","night","sky","gray","twilight","planet","space","evening","sleep"],char:"\ud83c\udf14",fitzpatrick_scale:!1,category:"animals_and_nature"},new_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\ud83c\udf1a",fitzpatrick_scale:!1,category:"animals_and_nature"},full_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\ud83c\udf1d",fitzpatrick_scale:!1,category:"animals_and_nature"},first_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\ud83c\udf1b",fitzpatrick_scale:!1,category:"animals_and_nature"},last_quarter_moon_with_face:{keywords:["nature","twilight","planet","space","night","evening","sleep"],char:"\ud83c\udf1c",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_with_face:{keywords:["nature","morning","sky"],char:"\ud83c\udf1e",fitzpatrick_scale:!1,category:"animals_and_nature"},crescent_moon:{keywords:["night","sleep","sky","evening","magic"],char:"\ud83c\udf19",fitzpatrick_scale:!1,category:"animals_and_nature"},star:{keywords:["night","yellow"],char:"\u2b50",fitzpatrick_scale:!1,category:"animals_and_nature"},star2:{keywords:["night","sparkle","awesome","good","magic"],char:"\ud83c\udf1f",fitzpatrick_scale:!1,category:"animals_and_nature"},dizzy:{keywords:["star","sparkle","shoot","magic"],char:"\ud83d\udcab",fitzpatrick_scale:!1,category:"animals_and_nature"},sparkles:{keywords:["stars","shine","shiny","cool","awesome","good","magic"],char:"\u2728",fitzpatrick_scale:!1,category:"animals_and_nature"},comet:{keywords:["space"],char:"\u2604",fitzpatrick_scale:!1,category:"animals_and_nature"},sunny:{keywords:["weather","nature","brightness","summer","beach","spring"],char:"\u2600\ufe0f",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_small_cloud:{keywords:["weather"],char:"\ud83c\udf24",fitzpatrick_scale:!1,category:"animals_and_nature"},partly_sunny:{keywords:["weather","nature","cloudy","morning","fall","spring"],char:"\u26c5",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_large_cloud:{keywords:["weather"],char:"\ud83c\udf25",fitzpatrick_scale:!1,category:"animals_and_nature"},sun_behind_rain_cloud:{keywords:["weather"],char:"\ud83c\udf26",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud:{keywords:["weather","sky"],char:"\u2601\ufe0f",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_rain:{keywords:["weather"],char:"\ud83c\udf27",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_lightning_and_rain:{keywords:["weather","lightning"],char:"\u26c8",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_lightning:{keywords:["weather","thunder"],char:"\ud83c\udf29",fitzpatrick_scale:!1,category:"animals_and_nature"},zap:{keywords:["thunder","weather","lightning bolt","fast"],char:"\u26a1",fitzpatrick_scale:!1,category:"animals_and_nature"},fire:{keywords:["hot","cook","flame"],char:"\ud83d\udd25",fitzpatrick_scale:!1,category:"animals_and_nature"},boom:{keywords:["bomb","explode","explosion","collision","blown"],char:"\ud83d\udca5",fitzpatrick_scale:!1,category:"animals_and_nature"},snowflake:{keywords:["winter","season","cold","weather","christmas","xmas"],char:"\u2744\ufe0f",fitzpatrick_scale:!1,category:"animals_and_nature"},cloud_with_snow:{keywords:["weather"],char:"\ud83c\udf28",fitzpatrick_scale:!1,category:"animals_and_nature"},snowman:{keywords:["winter","season","cold","weather","christmas","xmas","frozen","without_snow"],char:"\u26c4",fitzpatrick_scale:!1,category:"animals_and_nature"},snowman_with_snow:{keywords:["winter","season","cold","weather","christmas","xmas","frozen"],char:"\u2603",fitzpatrick_scale:!1,category:"animals_and_nature"},wind_face:{keywords:["gust","air"],char:"\ud83c\udf2c",fitzpatrick_scale:!1,category:"animals_and_nature"},dash:{keywords:["wind","air","fast","shoo","fart","smoke","puff"],char:"\ud83d\udca8",fitzpatrick_scale:!1,category:"animals_and_nature"},tornado:{keywords:["weather","cyclone","twister"],char:"\ud83c\udf2a",fitzpatrick_scale:!1,category:"animals_and_nature"},fog:{keywords:["weather"],char:"\ud83c\udf2b",fitzpatrick_scale:!1,category:"animals_and_nature"},open_umbrella:{keywords:["weather","spring"],char:"\u2602",fitzpatrick_scale:!1,category:"animals_and_nature"},umbrella:{keywords:["rainy","weather","spring"],char:"\u2614",fitzpatrick_scale:!1,category:"animals_and_nature"},droplet:{keywords:["water","drip","faucet","spring"],char:"\ud83d\udca7",fitzpatrick_scale:!1,category:"animals_and_nature"},sweat_drops:{keywords:["water","drip","oops"],char:"\ud83d\udca6",fitzpatrick_scale:!1,category:"animals_and_nature"},ocean:{keywords:["sea","water","wave","nature","tsunami","disaster"],char:"\ud83c\udf0a",fitzpatrick_scale:!1,category:"animals_and_nature"},green_apple:{keywords:["fruit","nature"],char:"\ud83c\udf4f",fitzpatrick_scale:!1,category:"food_and_drink"},apple:{keywords:["fruit","mac","school"],char:"\ud83c\udf4e",fitzpatrick_scale:!1,category:"food_and_drink"},pear:{keywords:["fruit","nature","food"],char:"\ud83c\udf50",fitzpatrick_scale:!1,category:"food_and_drink"},tangerine:{keywords:["food","fruit","nature","orange"],char:"\ud83c\udf4a",fitzpatrick_scale:!1,category:"food_and_drink"},lemon:{keywords:["fruit","nature"],char:"\ud83c\udf4b",fitzpatrick_scale:!1,category:"food_and_drink"},banana:{keywords:["fruit","food","monkey"],char:"\ud83c\udf4c",fitzpatrick_scale:!1,category:"food_and_drink"},watermelon:{keywords:["fruit","food","picnic","summer"],char:"\ud83c\udf49",fitzpatrick_scale:!1,category:"food_and_drink"},grapes:{keywords:["fruit","food","wine"],char:"\ud83c\udf47",fitzpatrick_scale:!1,category:"food_and_drink"},strawberry:{keywords:["fruit","food","nature"],char:"\ud83c\udf53",fitzpatrick_scale:!1,category:"food_and_drink"},melon:{keywords:["fruit","nature","food"],char:"\ud83c\udf48",fitzpatrick_scale:!1,category:"food_and_drink"},cherries:{keywords:["food","fruit"],char:"\ud83c\udf52",fitzpatrick_scale:!1,category:"food_and_drink"},peach:{keywords:["fruit","nature","food"],char:"\ud83c\udf51",fitzpatrick_scale:!1,category:"food_and_drink"},pineapple:{keywords:["fruit","nature","food"],char:"\ud83c\udf4d",fitzpatrick_scale:!1,category:"food_and_drink"},coconut:{keywords:["fruit","nature","food","palm"],char:"\ud83e\udd65",fitzpatrick_scale:!1,category:"food_and_drink"},kiwi_fruit:{keywords:["fruit","food"],char:"\ud83e\udd5d",fitzpatrick_scale:!1,category:"food_and_drink"},mango:{keywords:["fruit","food","tropical"],char:"\ud83e\udd6d",fitzpatrick_scale:!1,category:"food_and_drink"},avocado:{keywords:["fruit","food"],char:"\ud83e\udd51",fitzpatrick_scale:!1,category:"food_and_drink"},broccoli:{keywords:["fruit","food","vegetable"],char:"\ud83e\udd66",fitzpatrick_scale:!1,category:"food_and_drink"},tomato:{keywords:["fruit","vegetable","nature","food"],char:"\ud83c\udf45",fitzpatrick_scale:!1,category:"food_and_drink"},eggplant:{keywords:["vegetable","nature","food","aubergine"],char:"\ud83c\udf46",fitzpatrick_scale:!1,category:"food_and_drink"},cucumber:{keywords:["fruit","food","pickle"],char:"\ud83e\udd52",fitzpatrick_scale:!1,category:"food_and_drink"},carrot:{keywords:["vegetable","food","orange"],char:"\ud83e\udd55",fitzpatrick_scale:!1,category:"food_and_drink"},hot_pepper:{keywords:["food","spicy","chilli","chili"],char:"\ud83c\udf36",fitzpatrick_scale:!1,category:"food_and_drink"},potato:{keywords:["food","tuber","vegatable","starch"],char:"\ud83e\udd54",fitzpatrick_scale:!1,category:"food_and_drink"},corn:{keywords:["food","vegetable","plant"],char:"\ud83c\udf3d",fitzpatrick_scale:!1,category:"food_and_drink"},leafy_greens:{keywords:["food","vegetable","plant","bok choy","cabbage","kale","lettuce"],char:"\ud83e\udd6c",fitzpatrick_scale:!1,category:"food_and_drink"},sweet_potato:{keywords:["food","nature"],char:"\ud83c\udf60",fitzpatrick_scale:!1,category:"food_and_drink"},peanuts:{keywords:["food","nut"],char:"\ud83e\udd5c",fitzpatrick_scale:!1,category:"food_and_drink"},honey_pot:{keywords:["bees","sweet","kitchen"],char:"\ud83c\udf6f",fitzpatrick_scale:!1,category:"food_and_drink"},croissant:{keywords:["food","bread","french"],char:"\ud83e\udd50",fitzpatrick_scale:!1,category:"food_and_drink"},bread:{keywords:["food","wheat","breakfast","toast"],char:"\ud83c\udf5e",fitzpatrick_scale:!1,category:"food_and_drink"},baguette_bread:{keywords:["food","bread","french"],char:"\ud83e\udd56",fitzpatrick_scale:!1,category:"food_and_drink"},bagel:{keywords:["food","bread","bakery","schmear"],char:"\ud83e\udd6f",fitzpatrick_scale:!1,category:"food_and_drink"},pretzel:{keywords:["food","bread","twisted"],char:"\ud83e\udd68",fitzpatrick_scale:!1,category:"food_and_drink"},cheese:{keywords:["food","chadder"],char:"\ud83e\uddc0",fitzpatrick_scale:!1,category:"food_and_drink"},egg:{keywords:["food","chicken","breakfast"],char:"\ud83e\udd5a",fitzpatrick_scale:!1,category:"food_and_drink"},bacon:{keywords:["food","breakfast","pork","pig","meat"],char:"\ud83e\udd53",fitzpatrick_scale:!1,category:"food_and_drink"},steak:{keywords:["food","cow","meat","cut","chop","lambchop","porkchop"],char:"\ud83e\udd69",fitzpatrick_scale:!1,category:"food_and_drink"},pancakes:{keywords:["food","breakfast","flapjacks","hotcakes"],char:"\ud83e\udd5e",fitzpatrick_scale:!1,category:"food_and_drink"},poultry_leg:{keywords:["food","meat","drumstick","bird","chicken","turkey"],char:"\ud83c\udf57",fitzpatrick_scale:!1,category:"food_and_drink"},meat_on_bone:{keywords:["good","food","drumstick"],char:"\ud83c\udf56",fitzpatrick_scale:!1,category:"food_and_drink"},bone:{keywords:["skeleton"],char:"\ud83e\uddb4",fitzpatrick_scale:!1,category:"food_and_drink"},fried_shrimp:{keywords:["food","animal","appetizer","summer"],char:"\ud83c\udf64",fitzpatrick_scale:!1,category:"food_and_drink"},fried_egg:{keywords:["food","breakfast","kitchen","egg"],char:"\ud83c\udf73",fitzpatrick_scale:!1,category:"food_and_drink"},hamburger:{keywords:["meat","fast food","beef","cheeseburger","mcdonalds","burger king"],char:"\ud83c\udf54",fitzpatrick_scale:!1,category:"food_and_drink"},fries:{keywords:["chips","snack","fast food"],char:"\ud83c\udf5f",fitzpatrick_scale:!1,category:"food_and_drink"},stuffed_flatbread:{keywords:["food","flatbread","stuffed","gyro"],char:"\ud83e\udd59",fitzpatrick_scale:!1,category:"food_and_drink"},hotdog:{keywords:["food","frankfurter"],char:"\ud83c\udf2d",fitzpatrick_scale:!1,category:"food_and_drink"},pizza:{keywords:["food","party"],char:"\ud83c\udf55",fitzpatrick_scale:!1,category:"food_and_drink"},sandwich:{keywords:["food","lunch","bread"],char:"\ud83e\udd6a",fitzpatrick_scale:!1,category:"food_and_drink"},canned_food:{keywords:["food","soup"],char:"\ud83e\udd6b",fitzpatrick_scale:!1,category:"food_and_drink"},spaghetti:{keywords:["food","italian","noodle"],char:"\ud83c\udf5d",fitzpatrick_scale:!1,category:"food_and_drink"},taco:{keywords:["food","mexican"],char:"\ud83c\udf2e",fitzpatrick_scale:!1,category:"food_and_drink"},burrito:{keywords:["food","mexican"],char:"\ud83c\udf2f",fitzpatrick_scale:!1,category:"food_and_drink"},green_salad:{keywords:["food","healthy","lettuce"],char:"\ud83e\udd57",fitzpatrick_scale:!1,category:"food_and_drink"},shallow_pan_of_food:{keywords:["food","cooking","casserole","paella"],char:"\ud83e\udd58",fitzpatrick_scale:!1,category:"food_and_drink"},ramen:{keywords:["food","japanese","noodle","chopsticks"],char:"\ud83c\udf5c",fitzpatrick_scale:!1,category:"food_and_drink"},stew:{keywords:["food","meat","soup"],char:"\ud83c\udf72",fitzpatrick_scale:!1,category:"food_and_drink"},fish_cake:{keywords:["food","japan","sea","beach","narutomaki","pink","swirl","kamaboko","surimi","ramen"],char:"\ud83c\udf65",fitzpatrick_scale:!1,category:"food_and_drink"},fortune_cookie:{keywords:["food","prophecy"],char:"\ud83e\udd60",fitzpatrick_scale:!1,category:"food_and_drink"},sushi:{keywords:["food","fish","japanese","rice"],char:"\ud83c\udf63",fitzpatrick_scale:!1,category:"food_and_drink"},bento:{keywords:["food","japanese","box"],char:"\ud83c\udf71",fitzpatrick_scale:!1,category:"food_and_drink"},curry:{keywords:["food","spicy","hot","indian"],char:"\ud83c\udf5b",fitzpatrick_scale:!1,category:"food_and_drink"},rice_ball:{keywords:["food","japanese"],char:"\ud83c\udf59",fitzpatrick_scale:!1,category:"food_and_drink"},rice:{keywords:["food","china","asian"],char:"\ud83c\udf5a",fitzpatrick_scale:!1,category:"food_and_drink"},rice_cracker:{keywords:["food","japanese"],char:"\ud83c\udf58",fitzpatrick_scale:!1,category:"food_and_drink"},oden:{keywords:["food","japanese"],char:"\ud83c\udf62",fitzpatrick_scale:!1,category:"food_and_drink"},dango:{keywords:["food","dessert","sweet","japanese","barbecue","meat"],char:"\ud83c\udf61",fitzpatrick_scale:!1,category:"food_and_drink"},shaved_ice:{keywords:["hot","dessert","summer"],char:"\ud83c\udf67",fitzpatrick_scale:!1,category:"food_and_drink"},ice_cream:{keywords:["food","hot","dessert"],char:"\ud83c\udf68",fitzpatrick_scale:!1,category:"food_and_drink"},icecream:{keywords:["food","hot","dessert","summer"],char:"\ud83c\udf66",fitzpatrick_scale:!1,category:"food_and_drink"},pie:{keywords:["food","dessert","pastry"],char:"\ud83e\udd67",fitzpatrick_scale:!1,category:"food_and_drink"},cake:{keywords:["food","dessert"],char:"\ud83c\udf70",fitzpatrick_scale:!1,category:"food_and_drink"},cupcake:{keywords:["food","dessert","bakery","sweet"],char:"\ud83e\uddc1",fitzpatrick_scale:!1,category:"food_and_drink"},moon_cake:{keywords:["food","autumn"],char:"\ud83e\udd6e",fitzpatrick_scale:!1,category:"food_and_drink"},birthday:{keywords:["food","dessert","cake"],char:"\ud83c\udf82",fitzpatrick_scale:!1,category:"food_and_drink"},custard:{keywords:["dessert","food"],char:"\ud83c\udf6e",fitzpatrick_scale:!1,category:"food_and_drink"},candy:{keywords:["snack","dessert","sweet","lolly"],char:"\ud83c\udf6c",fitzpatrick_scale:!1,category:"food_and_drink"},lollipop:{keywords:["food","snack","candy","sweet"],char:"\ud83c\udf6d",fitzpatrick_scale:!1,category:"food_and_drink"},chocolate_bar:{keywords:["food","snack","dessert","sweet"],char:"\ud83c\udf6b",fitzpatrick_scale:!1,category:"food_and_drink"},popcorn:{keywords:["food","movie theater","films","snack"],char:"\ud83c\udf7f",fitzpatrick_scale:!1,category:"food_and_drink"},dumpling:{keywords:["food","empanada","pierogi","potsticker"],char:"\ud83e\udd5f",fitzpatrick_scale:!1,category:"food_and_drink"},doughnut:{keywords:["food","dessert","snack","sweet","donut"],char:"\ud83c\udf69",fitzpatrick_scale:!1,category:"food_and_drink"},cookie:{keywords:["food","snack","oreo","chocolate","sweet","dessert"],char:"\ud83c\udf6a",fitzpatrick_scale:!1,category:"food_and_drink"},milk_glass:{keywords:["beverage","drink","cow"],char:"\ud83e\udd5b",fitzpatrick_scale:!1,category:"food_and_drink"},beer:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"\ud83c\udf7a",fitzpatrick_scale:!1,category:"food_and_drink"},beers:{keywords:["relax","beverage","drink","drunk","party","pub","summer","alcohol","booze"],char:"\ud83c\udf7b",fitzpatrick_scale:!1,category:"food_and_drink"},clinking_glasses:{keywords:["beverage","drink","party","alcohol","celebrate","cheers","wine","champagne","toast"],char:"\ud83e\udd42",fitzpatrick_scale:!1,category:"food_and_drink"},wine_glass:{keywords:["drink","beverage","drunk","alcohol","booze"],char:"\ud83c\udf77",fitzpatrick_scale:!1,category:"food_and_drink"},tumbler_glass:{keywords:["drink","beverage","drunk","alcohol","liquor","booze","bourbon","scotch","whisky","glass","shot"],char:"\ud83e\udd43",fitzpatrick_scale:!1,category:"food_and_drink"},cocktail:{keywords:["drink","drunk","alcohol","beverage","booze","mojito"],char:"\ud83c\udf78",fitzpatrick_scale:!1,category:"food_and_drink"},tropical_drink:{keywords:["beverage","cocktail","summer","beach","alcohol","booze","mojito"],char:"\ud83c\udf79",fitzpatrick_scale:!1,category:"food_and_drink"},champagne:{keywords:["drink","wine","bottle","celebration"],char:"\ud83c\udf7e",fitzpatrick_scale:!1,category:"food_and_drink"},sake:{keywords:["wine","drink","drunk","beverage","japanese","alcohol","booze"],char:"\ud83c\udf76",fitzpatrick_scale:!1,category:"food_and_drink"},tea:{keywords:["drink","bowl","breakfast","green","british"],char:"\ud83c\udf75",fitzpatrick_scale:!1,category:"food_and_drink"},cup_with_straw:{keywords:["drink","soda"],char:"\ud83e\udd64",fitzpatrick_scale:!1,category:"food_and_drink"},coffee:{keywords:["beverage","caffeine","latte","espresso"],char:"\u2615",fitzpatrick_scale:!1,category:"food_and_drink"},baby_bottle:{keywords:["food","container","milk"],char:"\ud83c\udf7c",fitzpatrick_scale:!1,category:"food_and_drink"},salt:{keywords:["condiment","shaker"],char:"\ud83e\uddc2",fitzpatrick_scale:!1,category:"food_and_drink"},spoon:{keywords:["cutlery","kitchen","tableware"],char:"\ud83e\udd44",fitzpatrick_scale:!1,category:"food_and_drink"},fork_and_knife:{keywords:["cutlery","kitchen"],char:"\ud83c\udf74",fitzpatrick_scale:!1,category:"food_and_drink"},plate_with_cutlery:{keywords:["food","eat","meal","lunch","dinner","restaurant"],char:"\ud83c\udf7d",fitzpatrick_scale:!1,category:"food_and_drink"},bowl_with_spoon:{keywords:["food","breakfast","cereal","oatmeal","porridge"],char:"\ud83e\udd63",fitzpatrick_scale:!1,category:"food_and_drink"},takeout_box:{keywords:["food","leftovers"],char:"\ud83e\udd61",fitzpatrick_scale:!1,category:"food_and_drink"},chopsticks:{keywords:["food"],char:"\ud83e\udd62",fitzpatrick_scale:!1,category:"food_and_drink"},soccer:{keywords:["sports","football"],char:"\u26bd",fitzpatrick_scale:!1,category:"activity"},basketball:{keywords:["sports","balls","NBA"],char:"\ud83c\udfc0",fitzpatrick_scale:!1,category:"activity"},football:{keywords:["sports","balls","NFL"],char:"\ud83c\udfc8",fitzpatrick_scale:!1,category:"activity"},baseball:{keywords:["sports","balls"],char:"\u26be",fitzpatrick_scale:!1,category:"activity"},softball:{keywords:["sports","balls"],char:"\ud83e\udd4e",fitzpatrick_scale:!1,category:"activity"},tennis:{keywords:["sports","balls","green"],char:"\ud83c\udfbe",fitzpatrick_scale:!1,category:"activity"},volleyball:{keywords:["sports","balls"],char:"\ud83c\udfd0",fitzpatrick_scale:!1,category:"activity"},rugby_football:{keywords:["sports","team"],char:"\ud83c\udfc9",fitzpatrick_scale:!1,category:"activity"},flying_disc:{keywords:["sports","frisbee","ultimate"],char:"\ud83e\udd4f",fitzpatrick_scale:!1,category:"activity"},"8ball":{keywords:["pool","hobby","game","luck","magic"],char:"\ud83c\udfb1",fitzpatrick_scale:!1,category:"activity"},golf:{keywords:["sports","business","flag","hole","summer"],char:"\u26f3",fitzpatrick_scale:!1,category:"activity"},golfing_woman:{keywords:["sports","business","woman","female"],char:"\ud83c\udfcc\ufe0f\u200d\u2640\ufe0f",fitzpatrick_scale:!1,category:"activity"},golfing_man:{keywords:["sports","business"],char:"\ud83c\udfcc",fitzpatrick_scale:!0,category:"activity"},ping_pong:{keywords:["sports","pingpong"],char:"\ud83c\udfd3",fitzpatrick_scale:!1,category:"activity"},badminton:{keywords:["sports"],char:"\ud83c\udff8",fitzpatrick_scale:!1,category:"activity"},goal_net:{keywords:["sports"],char:"\ud83e\udd45",fitzpatrick_scale:!1,category:"activity"},ice_hockey:{keywords:["sports"],char:"\ud83c\udfd2",fitzpatrick_scale:!1,category:"activity"},field_hockey:{keywords:["sports"],char:"\ud83c\udfd1",fitzpatrick_scale:!1,category:"activity"},lacrosse:{keywords:["sports","ball","stick"],char:"\ud83e\udd4d",fitzpatrick_scale:!1,category:"activity"},cricket:{keywords:["sports"],char:"\ud83c\udfcf",fitzpatrick_scale:!1,category:"activity"},ski:{keywords:["sports","winter","cold","snow"],char:"\ud83c\udfbf",fitzpatrick_scale:!1,category:"activity"},skier:{keywords:["sports","winter","snow"],char:"\u26f7",fitzpatrick_scale:!1,category:"activity"},snowboarder:{keywords:["sports","winter"],char:"\ud83c\udfc2",fitzpatrick_scale:!0,category:"activity"},person_fencing:{keywords:["sports","fencing","sword"],char:"\ud83e\udd3a",fitzpatrick_scale:!1,category:"activity"},women_wrestling:{keywords:["sports","wrestlers"],char:"\ud83e\udd3c\u200d\u2640\ufe0f",fitzpatrick_scale:!1,category:"activity"},men_wrestling:{keywords:["sports","wrestlers"],char:"\ud83e\udd3c\u200d\u2642\ufe0f",fitzpatrick_scale:!1,category:"activity"},woman_cartwheeling:{keywords:["gymnastics"],char:"\ud83e\udd38\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},man_cartwheeling:{keywords:["gymnastics"],char:"\ud83e\udd38\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"activity"},woman_playing_handball:{keywords:["sports"],char:"\ud83e\udd3e\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},man_playing_handball:{keywords:["sports"],char:"\ud83e\udd3e\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"activity"},ice_skate:{keywords:["sports"],char:"\u26f8",fitzpatrick_scale:!1,category:"activity"},curling_stone:{keywords:["sports"],char:"\ud83e\udd4c",fitzpatrick_scale:!1,category:"activity"},skateboard:{keywords:["board"],char:"\ud83d\udef9",fitzpatrick_scale:!1,category:"activity"},sled:{keywords:["sleigh","luge","toboggan"],char:"\ud83d\udef7",fitzpatrick_scale:!1,category:"activity"},bow_and_arrow:{keywords:["sports"],char:"\ud83c\udff9",fitzpatrick_scale:!1,category:"activity"},fishing_pole_and_fish:{keywords:["food","hobby","summer"],char:"\ud83c\udfa3",fitzpatrick_scale:!1,category:"activity"},boxing_glove:{keywords:["sports","fighting"],char:"\ud83e\udd4a",fitzpatrick_scale:!1,category:"activity"},martial_arts_uniform:{keywords:["judo","karate","taekwondo"],char:"\ud83e\udd4b",fitzpatrick_scale:!1,category:"activity"},rowing_woman:{keywords:["sports","hobby","water","ship","woman","female"],char:"\ud83d\udea3\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},rowing_man:{keywords:["sports","hobby","water","ship"],char:"\ud83d\udea3",fitzpatrick_scale:!0,category:"activity"},climbing_woman:{keywords:["sports","hobby","woman","female","rock"],char:"\ud83e\uddd7\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},climbing_man:{keywords:["sports","hobby","man","male","rock"],char:"\ud83e\uddd7\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"activity"},swimming_woman:{keywords:["sports","exercise","human","athlete","water","summer","woman","female"],char:"\ud83c\udfca\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},swimming_man:{keywords:["sports","exercise","human","athlete","water","summer"],char:"\ud83c\udfca",fitzpatrick_scale:!0,category:"activity"},woman_playing_water_polo:{keywords:["sports","pool"],char:"\ud83e\udd3d\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},man_playing_water_polo:{keywords:["sports","pool"],char:"\ud83e\udd3d\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"activity"},woman_in_lotus_position:{keywords:["woman","female","meditation","yoga","serenity","zen","mindfulness"],char:"\ud83e\uddd8\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},man_in_lotus_position:{keywords:["man","male","meditation","yoga","serenity","zen","mindfulness"],char:"\ud83e\uddd8\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"activity"},surfing_woman:{keywords:["sports","ocean","sea","summer","beach","woman","female"],char:"\ud83c\udfc4\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},surfing_man:{keywords:["sports","ocean","sea","summer","beach"],char:"\ud83c\udfc4",fitzpatrick_scale:!0,category:"activity"},bath:{keywords:["clean","shower","bathroom"],char:"\ud83d\udec0",fitzpatrick_scale:!0,category:"activity"},basketball_woman:{keywords:["sports","human","woman","female"],char:"\u26f9\ufe0f\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},basketball_man:{keywords:["sports","human"],char:"\u26f9",fitzpatrick_scale:!0,category:"activity"},weight_lifting_woman:{keywords:["sports","training","exercise","woman","female"],char:"\ud83c\udfcb\ufe0f\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},weight_lifting_man:{keywords:["sports","training","exercise"],char:"\ud83c\udfcb",fitzpatrick_scale:!0,category:"activity"},biking_woman:{keywords:["sports","bike","exercise","hipster","woman","female"],char:"\ud83d\udeb4\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},biking_man:{keywords:["sports","bike","exercise","hipster"],char:"\ud83d\udeb4",fitzpatrick_scale:!0,category:"activity"},mountain_biking_woman:{keywords:["transportation","sports","human","race","bike","woman","female"],char:"\ud83d\udeb5\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},mountain_biking_man:{keywords:["transportation","sports","human","race","bike"],char:"\ud83d\udeb5",fitzpatrick_scale:!0,category:"activity"},horse_racing:{keywords:["animal","betting","competition","gambling","luck"],char:"\ud83c\udfc7",fitzpatrick_scale:!0,category:"activity"},business_suit_levitating:{keywords:["suit","business","levitate","hover","jump"],char:"\ud83d\udd74",fitzpatrick_scale:!0,category:"activity"},trophy:{keywords:["win","award","contest","place","ftw","ceremony"],char:"\ud83c\udfc6",fitzpatrick_scale:!1,category:"activity"},running_shirt_with_sash:{keywords:["play","pageant"],char:"\ud83c\udfbd",fitzpatrick_scale:!1,category:"activity"},medal_sports:{keywords:["award","winning"],char:"\ud83c\udfc5",fitzpatrick_scale:!1,category:"activity"},medal_military:{keywords:["award","winning","army"],char:"\ud83c\udf96",fitzpatrick_scale:!1,category:"activity"},"1st_place_medal":{keywords:["award","winning","first"],char:"\ud83e\udd47",fitzpatrick_scale:!1,category:"activity"},"2nd_place_medal":{keywords:["award","second"],char:"\ud83e\udd48",fitzpatrick_scale:!1,category:"activity"},"3rd_place_medal":{keywords:["award","third"],char:"\ud83e\udd49",fitzpatrick_scale:!1,category:"activity"},reminder_ribbon:{keywords:["sports","cause","support","awareness"],char:"\ud83c\udf97",fitzpatrick_scale:!1,category:"activity"},rosette:{keywords:["flower","decoration","military"],char:"\ud83c\udff5",fitzpatrick_scale:!1,category:"activity"},ticket:{keywords:["event","concert","pass"],char:"\ud83c\udfab",fitzpatrick_scale:!1,category:"activity"},tickets:{keywords:["sports","concert","entrance"],char:"\ud83c\udf9f",fitzpatrick_scale:!1,category:"activity"},performing_arts:{keywords:["acting","theater","drama"],char:"\ud83c\udfad",fitzpatrick_scale:!1,category:"activity"},art:{keywords:["design","paint","draw","colors"],char:"\ud83c\udfa8",fitzpatrick_scale:!1,category:"activity"},circus_tent:{keywords:["festival","carnival","party"],char:"\ud83c\udfaa",fitzpatrick_scale:!1,category:"activity"},woman_juggling:{keywords:["juggle","balance","skill","multitask"],char:"\ud83e\udd39\u200d\u2640\ufe0f",fitzpatrick_scale:!0,category:"activity"},man_juggling:{keywords:["juggle","balance","skill","multitask"],char:"\ud83e\udd39\u200d\u2642\ufe0f",fitzpatrick_scale:!0,category:"activity"},microphone:{keywords:["sound","music","PA","sing","talkshow"],char:"\ud83c\udfa4",fitzpatrick_scale:!1,category:"activity"},headphones:{keywords:["music","score","gadgets"],char:"\ud83c\udfa7",fitzpatrick_scale:!1,category:"activity"},musical_score:{keywords:["treble","clef","compose"],char:"\ud83c\udfbc",fitzpatrick_scale:!1,category:"activity"},musical_keyboard:{keywords:["piano","instrument","compose"],char:"\ud83c\udfb9",fitzpatrick_scale:!1,category:"activity"},drum:{keywords:["music","instrument","drumsticks","snare"],char:"\ud83e\udd41",fitzpatrick_scale:!1,category:"activity"},saxophone:{keywords:["music","instrument","jazz","blues"],char:"\ud83c\udfb7",fitzpatrick_scale:!1,category:"activity"},trumpet:{keywords:["music","brass"],char:"\ud83c\udfba",fitzpatrick_scale:!1,category:"activity"},guitar:{keywords:["music","instrument"],char:"\ud83c\udfb8",fitzpatrick_scale:!1,category:"activity"},violin:{keywords:["music","instrument","orchestra","symphony"],char:"\ud83c\udfbb",fitzpatrick_scale:!1,category:"activity"},clapper:{keywords:["movie","film","record"],char:"\ud83c\udfac",fitzpatrick_scale:!1,category:"activity"},video_game:{keywords:["play","console","PS4","controller"],char:"\ud83c\udfae",fitzpatrick_scale:!1,category:"activity"},space_invader:{keywords:["game","arcade","play"],char:"\ud83d\udc7e",fitzpatrick_scale:!1,category:"activity"},dart:{keywords:["game","play","bar","target","bullseye"],char:"\ud83c\udfaf",fitzpatrick_scale:!1,category:"activity"},game_die:{keywords:["dice","random","tabletop","play","luck"],char:"\ud83c\udfb2",fitzpatrick_scale:!1,category:"activity"},chess_pawn:{keywords:["expendable"],char:"\u265f",fitzpatrick_scale:!1,category:"activity"},slot_machine:{keywords:["bet","gamble","vegas","fruit machine","luck","casino"],char:"\ud83c\udfb0",fitzpatrick_scale:!1,category:"activity"},jigsaw:{keywords:["interlocking","puzzle","piece"],char:"\ud83e\udde9",fitzpatrick_scale:!1,category:"activity"},bowling:{keywords:["sports","fun","play"],char:"\ud83c\udfb3",fitzpatrick_scale:!1,category:"activity"},red_car:{keywords:["red","transportation","vehicle"],char:"\ud83d\ude97",fitzpatrick_scale:!1,category:"travel_and_places"},taxi:{keywords:["uber","vehicle","cars","transportation"],char:"\ud83d\ude95",fitzpatrick_scale:!1,category:"travel_and_places"},blue_car:{keywords:["transportation","vehicle"],char:"\ud83d\ude99",fitzpatrick_scale:!1,category:"travel_and_places"},bus:{keywords:["car","vehicle","transportation"],char:"\ud83d\ude8c",fitzpatrick_scale:!1,category:"travel_and_places"},trolleybus:{keywords:["bart","transportation","vehicle"],char:"\ud83d\ude8e",fitzpatrick_scale:!1,category:"travel_and_places"},racing_car:{keywords:["sports","race","fast","formula","f1"],char:"\ud83c\udfce",fitzpatrick_scale:!1,category:"travel_and_places"},police_car:{keywords:["vehicle","cars","transportation","law","legal","enforcement"],char:"\ud83d\ude93",fitzpatrick_scale:!1,category:"travel_and_places"},ambulance:{keywords:["health","911","hospital"],char:"\ud83d\ude91",fitzpatrick_scale:!1,category:"travel_and_places"},fire_engine:{keywords:["transportation","cars","vehicle"],char:"\ud83d\ude92",fitzpatrick_scale:!1,category:"travel_and_places"},minibus:{keywords:["vehicle","car","transportation"],char:"\ud83d\ude90",fitzpatrick_scale:!1,category:"travel_and_places"},truck:{keywords:["cars","transportation"],char:"\ud83d\ude9a",fitzpatrick_scale:!1,category:"travel_and_places"},articulated_lorry:{keywords:["vehicle","cars","transportation","express"],char:"\ud83d\ude9b",fitzpatrick_scale:!1,category:"travel_and_places"},tractor:{keywords:["vehicle","car","farming","agriculture"],char:"\ud83d\ude9c",fitzpatrick_scale:!1,category:"travel_and_places"},kick_scooter:{keywords:["vehicle","kick","razor"],char:"\ud83d\udef4",fitzpatrick_scale:!1,category:"travel_and_places"},motorcycle:{keywords:["race","sports","fast"],char:"\ud83c\udfcd",fitzpatrick_scale:!1,category:"travel_and_places"},bike:{keywords:["sports","bicycle","exercise","hipster"],char:"\ud83d\udeb2",fitzpatrick_scale:!1,category:"travel_and_places"},motor_scooter:{keywords:["vehicle","vespa","sasha"],char:"\ud83d\udef5",fitzpatrick_scale:!1,category:"travel_and_places"},rotating_light:{keywords:["police","ambulance","911","emergency","alert","error","pinged","law","legal"],char:"\ud83d\udea8",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_police_car:{keywords:["vehicle","law","legal","enforcement","911"],char:"\ud83d\ude94",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_bus:{keywords:["vehicle","transportation"],char:"\ud83d\ude8d",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_automobile:{keywords:["car","vehicle","transportation"],char:"\ud83d\ude98",fitzpatrick_scale:!1,category:"travel_and_places"},oncoming_taxi:{keywords:["vehicle","cars","uber"],char:"\ud83d\ude96",fitzpatrick_scale:!1,category:"travel_and_places"},aerial_tramway:{keywords:["transportation","vehicle","ski"],char:"\ud83d\udea1",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_cableway:{keywords:["transportation","vehicle","ski"],char:"\ud83d\udea0",fitzpatrick_scale:!1,category:"travel_and_places"},suspension_railway:{keywords:["vehicle","transportation"],char:"\ud83d\ude9f",fitzpatrick_scale:!1,category:"travel_and_places"},railway_car:{keywords:["transportation","vehicle"],char:"\ud83d\ude83",fitzpatrick_scale:!1,category:"travel_and_places"},train:{keywords:["transportation","vehicle","carriage","public","travel"],char:"\ud83d\ude8b",fitzpatrick_scale:!1,category:"travel_and_places"},monorail:{keywords:["transportation","vehicle"],char:"\ud83d\ude9d",fitzpatrick_scale:!1,category:"travel_and_places"},bullettrain_side:{keywords:["transportation","vehicle"],char:"\ud83d\ude84",fitzpatrick_scale:!1,category:"travel_and_places"},bullettrain_front:{keywords:["transportation","vehicle","speed","fast","public","travel"],char:"\ud83d\ude85",fitzpatrick_scale:!1,category:"travel_and_places"},light_rail:{keywords:["transportation","vehicle"],char:"\ud83d\ude88",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_railway:{keywords:["transportation","vehicle"],char:"\ud83d\ude9e",fitzpatrick_scale:!1,category:"travel_and_places"},steam_locomotive:{keywords:["transportation","vehicle","train"],char:"\ud83d\ude82",fitzpatrick_scale:!1,category:"travel_and_places"},train2:{keywords:["transportation","vehicle"],char:"\ud83d\ude86",fitzpatrick_scale:!1,category:"travel_and_places"},metro:{keywords:["transportation","blue-square","mrt","underground","tube"],char:"\ud83d\ude87",fitzpatrick_scale:!1,category:"travel_and_places"},tram:{keywords:["transportation","vehicle"],char:"\ud83d\ude8a",fitzpatrick_scale:!1,category:"travel_and_places"},station:{keywords:["transportation","vehicle","public"],char:"\ud83d\ude89",fitzpatrick_scale:!1,category:"travel_and_places"},flying_saucer:{keywords:["transportation","vehicle","ufo"],char:"\ud83d\udef8",fitzpatrick_scale:!1,category:"travel_and_places"},helicopter:{keywords:["transportation","vehicle","fly"],char:"\ud83d\ude81",fitzpatrick_scale:!1,category:"travel_and_places"},small_airplane:{keywords:["flight","transportation","fly","vehicle"],char:"\ud83d\udee9",fitzpatrick_scale:!1,category:"travel_and_places"},airplane:{keywords:["vehicle","transportation","flight","fly"],char:"\u2708\ufe0f",fitzpatrick_scale:!1,category:"travel_and_places"},flight_departure:{keywords:["airport","flight","landing"],char:"\ud83d\udeeb",fitzpatrick_scale:!1,category:"travel_and_places"},flight_arrival:{keywords:["airport","flight","boarding"],char:"\ud83d\udeec",fitzpatrick_scale:!1,category:"travel_and_places"},sailboat:{keywords:["ship","summer","transportation","water","sailing"],char:"\u26f5",fitzpatrick_scale:!1,category:"travel_and_places"},motor_boat:{keywords:["ship"],char:"\ud83d\udee5",fitzpatrick_scale:!1,category:"travel_and_places"},speedboat:{keywords:["ship","transportation","vehicle","summer"],char:"\ud83d\udea4",fitzpatrick_scale:!1,category:"travel_and_places"},ferry:{keywords:["boat","ship","yacht"],char:"\u26f4",fitzpatrick_scale:!1,category:"travel_and_places"},passenger_ship:{keywords:["yacht","cruise","ferry"],char:"\ud83d\udef3",fitzpatrick_scale:!1,category:"travel_and_places"},rocket:{keywords:["launch","ship","staffmode","NASA","outer space","outer_space","fly"],char:"\ud83d\ude80",fitzpatrick_scale:!1,category:"travel_and_places"},artificial_satellite:{keywords:["communication","gps","orbit","spaceflight","NASA","ISS"],char:"\ud83d\udef0",fitzpatrick_scale:!1,category:"travel_and_places"},seat:{keywords:["sit","airplane","transport","bus","flight","fly"],char:"\ud83d\udcba",fitzpatrick_scale:!1,category:"travel_and_places"},canoe:{keywords:["boat","paddle","water","ship"],char:"\ud83d\udef6",fitzpatrick_scale:!1,category:"travel_and_places"},anchor:{keywords:["ship","ferry","sea","boat"],char:"\u2693",fitzpatrick_scale:!1,category:"travel_and_places"},construction:{keywords:["wip","progress","caution","warning"],char:"\ud83d\udea7",fitzpatrick_scale:!1,category:"travel_and_places"},fuelpump:{keywords:["gas station","petroleum"],char:"\u26fd",fitzpatrick_scale:!1,category:"travel_and_places"},busstop:{keywords:["transportation","wait"],char:"\ud83d\ude8f",fitzpatrick_scale:!1,category:"travel_and_places"},vertical_traffic_light:{keywords:["transportation","driving"],char:"\ud83d\udea6",fitzpatrick_scale:!1,category:"travel_and_places"},traffic_light:{keywords:["transportation","signal"],char:"\ud83d\udea5",fitzpatrick_scale:!1,category:"travel_and_places"},checkered_flag:{keywords:["contest","finishline","race","gokart"],char:"\ud83c\udfc1",fitzpatrick_scale:!1,category:"travel_and_places"},ship:{keywords:["transportation","titanic","deploy"],char:"\ud83d\udea2",fitzpatrick_scale:!1,category:"travel_and_places"},ferris_wheel:{keywords:["photo","carnival","londoneye"],char:"\ud83c\udfa1",fitzpatrick_scale:!1,category:"travel_and_places"},roller_coaster:{keywords:["carnival","playground","photo","fun"],char:"\ud83c\udfa2",fitzpatrick_scale:!1,category:"travel_and_places"},carousel_horse:{keywords:["photo","carnival"],char:"\ud83c\udfa0",fitzpatrick_scale:!1,category:"travel_and_places"},building_construction:{keywords:["wip","working","progress"],char:"\ud83c\udfd7",fitzpatrick_scale:!1,category:"travel_and_places"},foggy:{keywords:["photo","mountain"],char:"\ud83c\udf01",fitzpatrick_scale:!1,category:"travel_and_places"},tokyo_tower:{keywords:["photo","japanese"],char:"\ud83d\uddfc",fitzpatrick_scale:!1,category:"travel_and_places"},factory:{keywords:["building","industry","pollution","smoke"],char:"\ud83c\udfed",fitzpatrick_scale:!1,category:"travel_and_places"},fountain:{keywords:["photo","summer","water","fresh"],char:"\u26f2",fitzpatrick_scale:!1,category:"travel_and_places"},rice_scene:{keywords:["photo","japan","asia","tsukimi"],char:"\ud83c\udf91",fitzpatrick_scale:!1,category:"travel_and_places"},mountain:{keywords:["photo","nature","environment"],char:"\u26f0",fitzpatrick_scale:!1,category:"travel_and_places"},mountain_snow:{keywords:["photo","nature","environment","winter","cold"],char:"\ud83c\udfd4",fitzpatrick_scale:!1,category:"travel_and_places"},mount_fuji:{keywords:["photo","mountain","nature","japanese"],char:"\ud83d\uddfb",fitzpatrick_scale:!1,category:"travel_and_places"},volcano:{keywords:["photo","nature","disaster"],char:"\ud83c\udf0b",fitzpatrick_scale:!1,category:"travel_and_places"},japan:{keywords:["nation","country","japanese","asia"],char:"\ud83d\uddfe",fitzpatrick_scale:!1,category:"travel_and_places"},camping:{keywords:["photo","outdoors","tent"],char:"\ud83c\udfd5",fitzpatrick_scale:!1,category:"travel_and_places"},tent:{keywords:["photo","camping","outdoors"],char:"\u26fa",fitzpatrick_scale:!1,category:"travel_and_places"},national_park:{keywords:["photo","environment","nature"],char:"\ud83c\udfde",fitzpatrick_scale:!1,category:"travel_and_places"},motorway:{keywords:["road","cupertino","interstate","highway"],char:"\ud83d\udee3",fitzpatrick_scale:!1,category:"travel_and_places"},railway_track:{keywords:["train","transportation"],char:"\ud83d\udee4",fitzpatrick_scale:!1,category:"travel_and_places"},sunrise:{keywords:["morning","view","vacation","photo"],char:"\ud83c\udf05",fitzpatrick_scale:!1,category:"travel_and_places"},sunrise_over_mountains:{keywords:["view","vacation","photo"],char:"\ud83c\udf04",fitzpatrick_scale:!1,category:"travel_and_places"},desert:{keywords:["photo","warm","saharah"],char:"\ud83c\udfdc",fitzpatrick_scale:!1,category:"travel_and_places"},beach_umbrella:{keywords:["weather","summer","sunny","sand","mojito"],char:"\ud83c\udfd6",fitzpatrick_scale:!1,category:"travel_and_places"},desert_island:{keywords:["photo","tropical","mojito"],char:"\ud83c\udfdd",fitzpatrick_scale:!1,category:"travel_and_places"},city_sunrise:{keywords:["photo","good morning","dawn"],char:"\ud83c\udf07",fitzpatrick_scale:!1,category:"travel_and_places"},city_sunset:{keywords:["photo","evening","sky","buildings"],char:"\ud83c\udf06",fitzpatrick_scale:!1,category:"travel_and_places"},cityscape:{keywords:["photo","night life","urban"],char:"\ud83c\udfd9",fitzpatrick_scale:!1,category:"travel_and_places"},night_with_stars:{keywords:["evening","city","downtown"],char:"\ud83c\udf03",fitzpatrick_scale:!1,category:"travel_and_places"},bridge_at_night:{keywords:["photo","sanfrancisco"],char:"\ud83c\udf09",fitzpatrick_scale:!1,category:"travel_and_places"},milky_way:{keywords:["photo","space","stars"],char:"\ud83c\udf0c",fitzpatrick_scale:!1,category:"travel_and_places"},stars:{keywords:["night","photo"],char:"\ud83c\udf20",fitzpatrick_scale:!1,category:"travel_and_places"},sparkler:{keywords:["stars","night","shine"],char:"\ud83c\udf87",fitzpatrick_scale:!1,category:"travel_and_places"},fireworks:{keywords:["photo","festival","carnival","congratulations"],char:"\ud83c\udf86",fitzpatrick_scale:!1,category:"travel_and_places"},rainbow:{keywords:["nature","happy","unicorn_face","photo","sky","spring"],char:"\ud83c\udf08",fitzpatrick_scale:!1,category:"travel_and_places"},houses:{keywords:["buildings","photo"],char:"\ud83c\udfd8",fitzpatrick_scale:!1,category:"travel_and_places"},european_castle:{keywords:["building","royalty","history"],char:"\ud83c\udff0",fitzpatrick_scale:!1,category:"travel_and_places"},japanese_castle:{keywords:["photo","building"],char:"\ud83c\udfef",fitzpatrick_scale:!1,category:"travel_and_places"},stadium:{keywords:["photo","place","sports","concert","venue"],char:"\ud83c\udfdf",fitzpatrick_scale:!1,category:"travel_and_places"},statue_of_liberty:{keywords:["american","newyork"],char:"\ud83d\uddfd",fitzpatrick_scale:!1,category:"travel_and_places"},house:{keywords:["building","home"],char:"\ud83c\udfe0",fitzpatrick_scale:!1,category:"travel_and_places"},house_with_garden:{keywords:["home","plant","nature"],char:"\ud83c\udfe1",fitzpatrick_scale:!1,category:"travel_and_places"},derelict_house:{keywords:["abandon","evict","broken","building"],char:"\ud83c\udfda",fitzpatrick_scale:!1,category:"travel_and_places"},office:{keywords:["building","bureau","work"],char:"\ud83c\udfe2",fitzpatrick_scale:!1,category:"travel_and_places"},department_store:{keywords:["building","shopping","mall"],char:"\ud83c\udfec",fitzpatrick_scale:!1,category:"travel_and_places"},post_office:{keywords:["building","envelope","communication"],char:"\ud83c\udfe3",fitzpatrick_scale:!1,category:"travel_and_places"},european_post_office:{keywords:["building","email"],char:"\ud83c\udfe4",fitzpatrick_scale:!1,category:"travel_and_places"},hospital:{keywords:["building","health","surgery","doctor"],char:"\ud83c\udfe5",fitzpatrick_scale:!1,category:"travel_and_places"},bank:{keywords:["building","money","sales","cash","business","enterprise"],char:"\ud83c\udfe6",fitzpatrick_scale:!1,category:"travel_and_places"},hotel:{keywords:["building","accomodation","checkin"],char:"\ud83c\udfe8",fitzpatrick_scale:!1,category:"travel_and_places"},convenience_store:{keywords:["building","shopping","groceries"],char:"\ud83c\udfea",fitzpatrick_scale:!1,category:"travel_and_places"},school:{keywords:["building","student","education","learn","teach"],char:"\ud83c\udfeb",fitzpatrick_scale:!1,category:"travel_and_places"},love_hotel:{keywords:["like","affection","dating"],char:"\ud83c\udfe9",fitzpatrick_scale:!1,category:"travel_and_places"},wedding:{keywords:["love","like","affection","couple","marriage","bride","groom"],char:"\ud83d\udc92",fitzpatrick_scale:!1,category:"travel_and_places"},classical_building:{keywords:["art","culture","history"],char:"\ud83c\udfdb",fitzpatrick_scale:!1,category:"travel_and_places"},church:{keywords:["building","religion","christ"],char:"\u26ea",fitzpatrick_scale:!1,category:"travel_and_places"},mosque:{keywords:["islam","worship","minaret"],char:"\ud83d\udd4c",fitzpatrick_scale:!1,category:"travel_and_places"},synagogue:{keywords:["judaism","worship","temple","jewish"],char:"\ud83d\udd4d",fitzpatrick_scale:!1,category:"travel_and_places"},kaaba:{keywords:["mecca","mosque","islam"],char:"\ud83d\udd4b",fitzpatrick_scale:!1,category:"travel_and_places"},shinto_shrine:{keywords:["temple","japan","kyoto"],char:"\u26e9",fitzpatrick_scale:!1,category:"travel_and_places"},watch:{keywords:["time","accessories"],char:"\u231a",fitzpatrick_scale:!1,category:"objects"},iphone:{keywords:["technology","apple","gadgets","dial"],char:"\ud83d\udcf1",fitzpatrick_scale:!1,category:"objects"},calling:{keywords:["iphone","incoming"],char:"\ud83d\udcf2",fitzpatrick_scale:!1,category:"objects"},computer:{keywords:["technology","laptop","screen","display","monitor"],char:"\ud83d\udcbb",fitzpatrick_scale:!1,category:"objects"},keyboard:{keywords:["technology","computer","type","input","text"],char:"\u2328",fitzpatrick_scale:!1,category:"objects"},desktop_computer:{keywords:["technology","computing","screen"],char:"\ud83d\udda5",fitzpatrick_scale:!1,category:"objects"},printer:{keywords:["paper","ink"],char:"\ud83d\udda8",fitzpatrick_scale:!1,category:"objects"},computer_mouse:{keywords:["click"],char:"\ud83d\uddb1",fitzpatrick_scale:!1,category:"objects"},trackball:{keywords:["technology","trackpad"],char:"\ud83d\uddb2",fitzpatrick_scale:!1,category:"objects"},joystick:{keywords:["game","play"],char:"\ud83d\udd79",fitzpatrick_scale:!1,category:"objects"},clamp:{keywords:["tool"],char:"\ud83d\udddc",fitzpatrick_scale:!1,category:"objects"},minidisc:{keywords:["technology","record","data","disk","90s"],char:"\ud83d\udcbd",fitzpatrick_scale:!1,category:"objects"},floppy_disk:{keywords:["oldschool","technology","save","90s","80s"],char:"\ud83d\udcbe",fitzpatrick_scale:!1,category:"objects"},cd:{keywords:["technology","dvd","disk","disc","90s"],char:"\ud83d\udcbf",fitzpatrick_scale:!1,category:"objects"},dvd:{keywords:["cd","disk","disc"],char:"\ud83d\udcc0",fitzpatrick_scale:!1,category:"objects"},vhs:{keywords:["record","video","oldschool","90s","80s"],char:"\ud83d\udcfc",fitzpatrick_scale:!1,category:"objects"},camera:{keywords:["gadgets","photography"],char:"\ud83d\udcf7",fitzpatrick_scale:!1,category:"objects"},camera_flash:{keywords:["photography","gadgets"],char:"\ud83d\udcf8",fitzpatrick_scale:!1,category:"objects"},video_camera:{keywords:["film","record"],char:"\ud83d\udcf9",fitzpatrick_scale:!1,category:"objects"},movie_camera:{keywords:["film","record"],char:"\ud83c\udfa5",fitzpatrick_scale:!1,category:"objects"},film_projector:{keywords:["video","tape","record","movie"],char:"\ud83d\udcfd",fitzpatrick_scale:!1,category:"objects"},film_strip:{keywords:["movie"],char:"\ud83c\udf9e",fitzpatrick_scale:!1,category:"objects"},telephone_receiver:{keywords:["technology","communication","dial"],char:"\ud83d\udcde",fitzpatrick_scale:!1,category:"objects"},phone:{keywords:["technology","communication","dial","telephone"],char:"\u260e\ufe0f",fitzpatrick_scale:!1,category:"objects"},pager:{keywords:["bbcall","oldschool","90s"],char:"\ud83d\udcdf",fitzpatrick_scale:!1,category:"objects"},fax:{keywords:["communication","technology"],char:"\ud83d\udce0",fitzpatrick_scale:!1,category:"objects"},tv:{keywords:["technology","program","oldschool","show","television"],char:"\ud83d\udcfa",fitzpatrick_scale:!1,category:"objects"},radio:{keywords:["communication","music","podcast","program"],char:"\ud83d\udcfb",fitzpatrick_scale:!1,category:"objects"},studio_microphone:{keywords:["sing","recording","artist","talkshow"],char:"\ud83c\udf99",fitzpatrick_scale:!1,category:"objects"},level_slider:{keywords:["scale"],char:"\ud83c\udf9a",fitzpatrick_scale:!1,category:"objects"},control_knobs:{keywords:["dial"],char:"\ud83c\udf9b",fitzpatrick_scale:!1,category:"objects"},compass:{keywords:["magnetic","navigation","orienteering"],char:"\ud83e\udded",fitzpatrick_scale:!1,category:"objects"},stopwatch:{keywords:["time","deadline"],char:"\u23f1",fitzpatrick_scale:!1,category:"objects"},timer_clock:{keywords:["alarm"],char:"\u23f2",fitzpatrick_scale:!1,category:"objects"},alarm_clock:{keywords:["time","wake"],char:"\u23f0",fitzpatrick_scale:!1,category:"objects"},mantelpiece_clock:{keywords:["time"],char:"\ud83d\udd70",fitzpatrick_scale:!1,category:"objects"},hourglass_flowing_sand:{keywords:["oldschool","time","countdown"],char:"\u23f3",fitzpatrick_scale:!1,category:"objects"},hourglass:{keywords:["time","clock","oldschool","limit","exam","quiz","test"],char:"\u231b",fitzpatrick_scale:!1,category:"objects"},satellite:{keywords:["communication","future","radio","space"],char:"\ud83d\udce1",fitzpatrick_scale:!1,category:"objects"},battery:{keywords:["power","energy","sustain"],char:"\ud83d\udd0b",fitzpatrick_scale:!1,category:"objects"},electric_plug:{keywords:["charger","power"],char:"\ud83d\udd0c",fitzpatrick_scale:!1,category:"objects"},bulb:{keywords:["light","electricity","idea"],char:"\ud83d\udca1",fitzpatrick_scale:!1,category:"objects"},flashlight:{keywords:["dark","camping","sight","night"],char:"\ud83d\udd26",fitzpatrick_scale:!1,category:"objects"},candle:{keywords:["fire","wax"],char:"\ud83d\udd6f",fitzpatrick_scale:!1,category:"objects"},fire_extinguisher:{keywords:["quench"],char:"\ud83e\uddef",fitzpatrick_scale:!1,category:"objects"},wastebasket:{keywords:["bin","trash","rubbish","garbage","toss"],char:"\ud83d\uddd1",fitzpatrick_scale:!1,category:"objects"},oil_drum:{keywords:["barrell"],char:"\ud83d\udee2",fitzpatrick_scale:!1,category:"objects"},money_with_wings:{keywords:["dollar","bills","payment","sale"],char:"\ud83d\udcb8",fitzpatrick_scale:!1,category:"objects"},dollar:{keywords:["money","sales","bill","currency"],char:"\ud83d\udcb5",fitzpatrick_scale:!1,category:"objects"},yen:{keywords:["money","sales","japanese","dollar","currency"],char:"\ud83d\udcb4",fitzpatrick_scale:!1,category:"objects"},euro:{keywords:["money","sales","dollar","currency"],char:"\ud83d\udcb6",fitzpatrick_scale:!1,category:"objects"},pound:{keywords:["british","sterling","money","sales","bills","uk","england","currency"],char:"\ud83d\udcb7",fitzpatrick_scale:!1,category:"objects"},moneybag:{keywords:["dollar","payment","coins","sale"],char:"\ud83d\udcb0",fitzpatrick_scale:!1,category:"objects"},credit_card:{keywords:["money","sales","dollar","bill","payment","shopping"],char:"\ud83d\udcb3",fitzpatrick_scale:!1,category:"objects"},gem:{keywords:["blue","ruby","diamond","jewelry"],char:"\ud83d\udc8e",fitzpatrick_scale:!1,category:"objects"},balance_scale:{keywords:["law","fairness","weight"],char:"\u2696",fitzpatrick_scale:!1,category:"objects"},toolbox:{keywords:["tools","diy","fix","maintainer","mechanic"],char:"\ud83e\uddf0",fitzpatrick_scale:!1,category:"objects"},wrench:{keywords:["tools","diy","ikea","fix","maintainer"],char:"\ud83d\udd27",fitzpatrick_scale:!1,category:"objects"},hammer:{keywords:["tools","build","create"],char:"\ud83d\udd28",fitzpatrick_scale:!1,category:"objects"},hammer_and_pick:{keywords:["tools","build","create"],char:"\u2692",fitzpatrick_scale:!1,category:"objects"},hammer_and_wrench:{keywords:["tools","build","create"],char:"\ud83d\udee0",fitzpatrick_scale:!1,category:"objects"},pick:{keywords:["tools","dig"],char:"\u26cf",fitzpatrick_scale:!1,category:"objects"},nut_and_bolt:{keywords:["handy","tools","fix"],char:"\ud83d\udd29",fitzpatrick_scale:!1,category:"objects"},gear:{keywords:["cog"],char:"\u2699",fitzpatrick_scale:!1,category:"objects"},brick:{keywords:["bricks"],char:"\ud83e\uddf1",fitzpatrick_scale:!1,category:"objects"},chains:{keywords:["lock","arrest"],char:"\u26d3",fitzpatrick_scale:!1,category:"objects"},magnet:{keywords:["attraction","magnetic"],char:"\ud83e\uddf2",fitzpatrick_scale:!1,category:"objects"},gun:{keywords:["violence","weapon","pistol","revolver"],char:"\ud83d\udd2b",fitzpatrick_scale:!1,category:"objects"},bomb:{keywords:["boom","explode","explosion","terrorism"],char:"\ud83d\udca3",fitzpatrick_scale:!1,category:"objects"},firecracker:{keywords:["dynamite","boom","explode","explosion","explosive"],char:"\ud83e\udde8",fitzpatrick_scale:!1,category:"objects"},hocho:{keywords:["knife","blade","cutlery","kitchen","weapon"],char:"\ud83d\udd2a",fitzpatrick_scale:!1,category:"objects"},dagger:{keywords:["weapon"],char:"\ud83d\udde1",fitzpatrick_scale:!1,category:"objects"},crossed_swords:{keywords:["weapon"],char:"\u2694",fitzpatrick_scale:!1,category:"objects"},shield:{keywords:["protection","security"],char:"\ud83d\udee1",fitzpatrick_scale:!1,category:"objects"},smoking:{keywords:["kills","tobacco","cigarette","joint","smoke"],char:"\ud83d\udeac",fitzpatrick_scale:!1,category:"objects"},skull_and_crossbones:{keywords:["poison","danger","deadly","scary","death","pirate","evil"],char:"\u2620",fitzpatrick_scale:!1,category:"objects"},coffin:{keywords:["vampire","dead","die","death","rip","graveyard","cemetery","casket","funeral","box"],char:"\u26b0",fitzpatrick_scale:!1,category:"objects"},funeral_urn:{keywords:["dead","die","death","rip","ashes"],char:"\u26b1",fitzpatrick_scale:!1,category:"objects"},amphora:{keywords:["vase","jar"],char:"\ud83c\udffa",fitzpatrick_scale:!1,category:"objects"},crystal_ball:{keywords:["disco","party","magic","circus","fortune_teller"],char:"\ud83d\udd2e",fitzpatrick_scale:!1,category:"objects"},prayer_beads:{keywords:["dhikr","religious"],char:"\ud83d\udcff",fitzpatrick_scale:!1,category:"objects"},nazar_amulet:{keywords:["bead","charm"],char:"\ud83e\uddff",fitzpatrick_scale:!1,category:"objects"},barber:{keywords:["hair","salon","style"],char:"\ud83d\udc88",fitzpatrick_scale:!1,category:"objects"},alembic:{keywords:["distilling","science","experiment","chemistry"],char:"\u2697",fitzpatrick_scale:!1,category:"objects"},telescope:{keywords:["stars","space","zoom","science","astronomy"],char:"\ud83d\udd2d",fitzpatrick_scale:!1,category:"objects"},microscope:{keywords:["laboratory","experiment","zoomin","science","study"],char:"\ud83d\udd2c",fitzpatrick_scale:!1,category:"objects"},hole:{keywords:["embarrassing"],char:"\ud83d\udd73",fitzpatrick_scale:!1,category:"objects"},pill:{keywords:["health","medicine","doctor","pharmacy","drug"],char:"\ud83d\udc8a",fitzpatrick_scale:!1,category:"objects"},syringe:{keywords:["health","hospital","drugs","blood","medicine","needle","doctor","nurse"],char:"\ud83d\udc89",fitzpatrick_scale:!1,category:"objects"},dna:{keywords:["biologist","genetics","life"],char:"\ud83e\uddec",fitzpatrick_scale:!1,category:"objects"},microbe:{keywords:["amoeba","bacteria","germs"],char:"\ud83e\udda0",fitzpatrick_scale:!1,category:"objects"},petri_dish:{keywords:["bacteria","biology","culture","lab"],char:"\ud83e\uddeb",fitzpatrick_scale:!1,category:"objects"},test_tube:{keywords:["chemistry","experiment","lab","science"],char:"\ud83e\uddea",fitzpatrick_scale:!1,category:"objects"},thermometer:{keywords:["weather","temperature","hot","cold"],char:"\ud83c\udf21",fitzpatrick_scale:!1,category:"objects"},broom:{keywords:["cleaning","sweeping","witch"],char:"\ud83e\uddf9",fitzpatrick_scale:!1,category:"objects"},basket:{keywords:["laundry"],char:"\ud83e\uddfa",fitzpatrick_scale:!1,category:"objects"},toilet_paper:{keywords:["roll"],char:"\ud83e\uddfb",fitzpatrick_scale:!1,category:"objects"},label:{keywords:["sale","tag"],char:"\ud83c\udff7",fitzpatrick_scale:!1,category:"objects"},bookmark:{keywords:["favorite","label","save"],char:"\ud83d\udd16",fitzpatrick_scale:!1,category:"objects"},toilet:{keywords:["restroom","wc","washroom","bathroom","potty"],char:"\ud83d\udebd",fitzpatrick_scale:!1,category:"objects"},shower:{keywords:["clean","water","bathroom"],char:"\ud83d\udebf",fitzpatrick_scale:!1,category:"objects"},bathtub:{keywords:["clean","shower","bathroom"],char:"\ud83d\udec1",fitzpatrick_scale:!1,category:"objects"},soap:{keywords:["bar","bathing","cleaning","lather"],char:"\ud83e\uddfc",fitzpatrick_scale:!1,category:"objects"},sponge:{keywords:["absorbing","cleaning","porous"],char:"\ud83e\uddfd",fitzpatrick_scale:!1,category:"objects"},lotion_bottle:{keywords:["moisturizer","sunscreen"],char:"\ud83e\uddf4",fitzpatrick_scale:!1,category:"objects"},key:{keywords:["lock","door","password"],char:"\ud83d\udd11",fitzpatrick_scale:!1,category:"objects"},old_key:{keywords:["lock","door","password"],char:"\ud83d\udddd",fitzpatrick_scale:!1,category:"objects"},couch_and_lamp:{keywords:["read","chill"],char:"\ud83d\udecb",fitzpatrick_scale:!1,category:"objects"},sleeping_bed:{keywords:["bed","rest"],char:"\ud83d\udecc",fitzpatrick_scale:!0,category:"objects"},bed:{keywords:["sleep","rest"],char:"\ud83d\udecf",fitzpatrick_scale:!1,category:"objects"},door:{keywords:["house","entry","exit"],char:"\ud83d\udeaa",fitzpatrick_scale:!1,category:"objects"},bellhop_bell:{keywords:["service"],char:"\ud83d\udece",fitzpatrick_scale:!1,category:"objects"},teddy_bear:{keywords:["plush","stuffed"],char:"\ud83e\uddf8",fitzpatrick_scale:!1,category:"objects"},framed_picture:{keywords:["photography"],char:"\ud83d\uddbc",fitzpatrick_scale:!1,category:"objects"},world_map:{keywords:["location","direction"],char:"\ud83d\uddfa",fitzpatrick_scale:!1,category:"objects"},parasol_on_ground:{keywords:["weather","summer"],char:"\u26f1",fitzpatrick_scale:!1,category:"objects"},moyai:{keywords:["rock","easter island","moai"],char:"\ud83d\uddff",fitzpatrick_scale:!1,category:"objects"},shopping:{keywords:["mall","buy","purchase"],char:"\ud83d\udecd",fitzpatrick_scale:!1,category:"objects"},shopping_cart:{keywords:["trolley"],char:"\ud83d\uded2",fitzpatrick_scale:!1,category:"objects"},balloon:{keywords:["party","celebration","birthday","circus"],char:"\ud83c\udf88",fitzpatrick_scale:!1,category:"objects"},flags:{keywords:["fish","japanese","koinobori","carp","banner"],char:"\ud83c\udf8f",fitzpatrick_scale:!1,category:"objects"},ribbon:{keywords:["decoration","pink","girl","bowtie"],char:"\ud83c\udf80",fitzpatrick_scale:!1,category:"objects"},gift:{keywords:["present","birthday","christmas","xmas"],char:"\ud83c\udf81",fitzpatrick_scale:!1,category:"objects"},confetti_ball:{keywords:["festival","party","birthday","circus"],char:"\ud83c\udf8a",fitzpatrick_scale:!1,category:"objects"},tada:{keywords:["party","congratulations","birthday","magic","circus","celebration"],char:"\ud83c\udf89",fitzpatrick_scale:!1,category:"objects"},dolls:{keywords:["japanese","toy","kimono"],char:"\ud83c\udf8e",fitzpatrick_scale:!1,category:"objects"},wind_chime:{keywords:["nature","ding","spring","bell"],char:"\ud83c\udf90",fitzpatrick_scale:!1,category:"objects"},crossed_flags:{keywords:["japanese","nation","country","border"],char:"\ud83c\udf8c",fitzpatrick_scale:!1,category:"objects"},izakaya_lantern:{keywords:["light","paper","halloween","spooky"],char:"\ud83c\udfee",fitzpatrick_scale:!1,category:"objects"},red_envelope:{keywords:["gift"],char:"\ud83e\udde7",fitzpatrick_scale:!1,category:"objects"},email:{keywords:["letter","postal","inbox","communication"],char:"\u2709\ufe0f",fitzpatrick_scale:!1,category:"objects"},envelope_with_arrow:{keywords:["email","communication"],char:"\ud83d\udce9",fitzpatrick_scale:!1,category:"objects"},incoming_envelope:{keywords:["email","inbox"],char:"\ud83d\udce8",fitzpatrick_scale:!1,category:"objects"},"e-mail":{keywords:["communication","inbox"],char:"\ud83d\udce7",fitzpatrick_scale:!1,category:"objects"},love_letter:{keywords:["email","like","affection","envelope","valentines"],char:"\ud83d\udc8c",fitzpatrick_scale:!1,category:"objects"},postbox:{keywords:["email","letter","envelope"],char:"\ud83d\udcee",fitzpatrick_scale:!1,category:"objects"},mailbox_closed:{keywords:["email","communication","inbox"],char:"\ud83d\udcea",fitzpatrick_scale:!1,category:"objects"},mailbox:{keywords:["email","inbox","communication"],char:"\ud83d\udceb",fitzpatrick_scale:!1,category:"objects"},mailbox_with_mail:{keywords:["email","inbox","communication"],char:"\ud83d\udcec",fitzpatrick_scale:!1,category:"objects"},mailbox_with_no_mail:{keywords:["email","inbox"],char:"\ud83d\udced",fitzpatrick_scale:!1,category:"objects"},package:{keywords:["mail","gift","cardboard","box","moving"],char:"\ud83d\udce6",fitzpatrick_scale:!1,category:"objects"},postal_horn:{keywords:["instrument","music"],char:"\ud83d\udcef",fitzpatrick_scale:!1,category:"objects"},inbox_tray:{keywords:["email","documents"],char:"\ud83d\udce5",fitzpatrick_scale:!1,category:"objects"},outbox_tray:{keywords:["inbox","email"],char:"\ud83d\udce4",fitzpatrick_scale:!1,category:"objects"},scroll:{keywords:["documents","ancient","history","paper"],char:"\ud83d\udcdc",fitzpatrick_scale:!1,category:"objects"},page_with_curl:{keywords:["documents","office","paper"],char:"\ud83d\udcc3",fitzpatrick_scale:!1,category:"objects"},bookmark_tabs:{keywords:["favorite","save","order","tidy"],char:"\ud83d\udcd1",fitzpatrick_scale:!1,category:"objects"},receipt:{keywords:["accounting","expenses"],char:"\ud83e\uddfe",fitzpatrick_scale:!1,category:"objects"},bar_chart:{keywords:["graph","presentation","stats"],char:"\ud83d\udcca",fitzpatrick_scale:!1,category:"objects"},chart_with_upwards_trend:{keywords:["graph","presentation","stats","recovery","business","economics","money","sales","good","success"],char:"\ud83d\udcc8",fitzpatrick_scale:!1,category:"objects"},chart_with_downwards_trend:{keywords:["graph","presentation","stats","recession","business","economics","money","sales","bad","failure"],char:"\ud83d\udcc9",fitzpatrick_scale:!1,category:"objects"},page_facing_up:{keywords:["documents","office","paper","information"],char:"\ud83d\udcc4",fitzpatrick_scale:!1,category:"objects"},date:{keywords:["calendar","schedule"],char:"\ud83d\udcc5",fitzpatrick_scale:!1,category:"objects"},calendar:{keywords:["schedule","date","planning"],char:"\ud83d\udcc6",fitzpatrick_scale:!1,category:"objects"},spiral_calendar:{keywords:["date","schedule","planning"],char:"\ud83d\uddd3",fitzpatrick_scale:!1,category:"objects"},card_index:{keywords:["business","stationery"],char:"\ud83d\udcc7",fitzpatrick_scale:!1,category:"objects"},card_file_box:{keywords:["business","stationery"],char:"\ud83d\uddc3",fitzpatrick_scale:!1,category:"objects"},ballot_box:{keywords:["election","vote"],char:"\ud83d\uddf3",fitzpatrick_scale:!1,category:"objects"},file_cabinet:{keywords:["filing","organizing"],char:"\ud83d\uddc4",fitzpatrick_scale:!1,category:"objects"},clipboard:{keywords:["stationery","documents"],char:"\ud83d\udccb",fitzpatrick_scale:!1,category:"objects"},spiral_notepad:{keywords:["memo","stationery"],char:"\ud83d\uddd2",fitzpatrick_scale:!1,category:"objects"},file_folder:{keywords:["documents","business","office"],char:"\ud83d\udcc1",fitzpatrick_scale:!1,category:"objects"},open_file_folder:{keywords:["documents","load"],char:"\ud83d\udcc2",fitzpatrick_scale:!1,category:"objects"},card_index_dividers:{keywords:["organizing","business","stationery"],char:"\ud83d\uddc2",fitzpatrick_scale:!1,category:"objects"},newspaper_roll:{keywords:["press","headline"],char:"\ud83d\uddde",fitzpatrick_scale:!1,category:"objects"},newspaper:{keywords:["press","headline"],char:"\ud83d\udcf0",fitzpatrick_scale:!1,category:"objects"},notebook:{keywords:["stationery","record","notes","paper","study"],char:"\ud83d\udcd3",fitzpatrick_scale:!1,category:"objects"},closed_book:{keywords:["read","library","knowledge","textbook","learn"],char:"\ud83d\udcd5",fitzpatrick_scale:!1,category:"objects"},green_book:{keywords:["read","library","knowledge","study"],char:"\ud83d\udcd7",fitzpatrick_scale:!1,category:"objects"},blue_book:{keywords:["read","library","knowledge","learn","study"],char:"\ud83d\udcd8",fitzpatrick_scale:!1,category:"objects"},orange_book:{keywords:["read","library","knowledge","textbook","study"],char:"\ud83d\udcd9",fitzpatrick_scale:!1,category:"objects"},notebook_with_decorative_cover:{keywords:["classroom","notes","record","paper","study"],char:"\ud83d\udcd4",fitzpatrick_scale:!1,category:"objects"},ledger:{keywords:["notes","paper"],char:"\ud83d\udcd2",fitzpatrick_scale:!1,category:"objects"},books:{keywords:["literature","library","study"],char:"\ud83d\udcda",fitzpatrick_scale:!1,category:"objects"},open_book:{keywords:["book","read","library","knowledge","literature","learn","study"],char:"\ud83d\udcd6",fitzpatrick_scale:!1,category:"objects"},safety_pin:{keywords:["diaper"],char:"\ud83e\uddf7",fitzpatrick_scale:!1,category:"objects"},link:{keywords:["rings","url"],char:"\ud83d\udd17",fitzpatrick_scale:!1,category:"objects"},paperclip:{keywords:["documents","stationery"],char:"\ud83d\udcce",fitzpatrick_scale:!1,category:"objects"},paperclips:{keywords:["documents","stationery"],char:"\ud83d\udd87",fitzpatrick_scale:!1,category:"objects"},scissors:{keywords:["stationery","cut"],char:"\u2702\ufe0f",fitzpatrick_scale:!1,category:"objects"},triangular_ruler:{keywords:["stationery","math","architect","sketch"],char:"\ud83d\udcd0",fitzpatrick_scale:!1,category:"objects"},straight_ruler:{keywords:["stationery","calculate","length","math","school","drawing","architect","sketch"],char:"\ud83d\udccf",fitzpatrick_scale:!1,category:"objects"},abacus:{keywords:["calculation"],char:"\ud83e\uddee",fitzpatrick_scale:!1,category:"objects"},pushpin:{keywords:["stationery","mark","here"],char:"\ud83d\udccc",fitzpatrick_scale:!1,category:"objects"},round_pushpin:{keywords:["stationery","location","map","here"],char:"\ud83d\udccd",fitzpatrick_scale:!1,category:"objects"},triangular_flag_on_post:{keywords:["mark","milestone","place"],char:"\ud83d\udea9",fitzpatrick_scale:!1,category:"objects"},white_flag:{keywords:["losing","loser","lost","surrender","give up","fail"],char:"\ud83c\udff3",fitzpatrick_scale:!1,category:"objects"},black_flag:{keywords:["pirate"],char:"\ud83c\udff4",fitzpatrick_scale:!1,category:"objects"},rainbow_flag:{keywords:["flag","rainbow","pride","gay","lgbt","glbt","queer","homosexual","lesbian","bisexual","transgender"],char:"\ud83c\udff3\ufe0f\u200d\ud83c\udf08",fitzpatrick_scale:!1,category:"objects"},closed_lock_with_key:{keywords:["security","privacy"],char:"\ud83d\udd10",fitzpatrick_scale:!1,category:"objects"},lock:{keywords:["security","password","padlock"],char:"\ud83d\udd12",fitzpatrick_scale:!1,category:"objects"},unlock:{keywords:["privacy","security"],char:"\ud83d\udd13",fitzpatrick_scale:!1,category:"objects"},lock_with_ink_pen:{keywords:["security","secret"],char:"\ud83d\udd0f",fitzpatrick_scale:!1,category:"objects"},pen:{keywords:["stationery","writing","write"],char:"\ud83d\udd8a",fitzpatrick_scale:!1,category:"objects"},fountain_pen:{keywords:["stationery","writing","write"],char:"\ud83d\udd8b",fitzpatrick_scale:!1,category:"objects"},black_nib:{keywords:["pen","stationery","writing","write"],char:"\u2712\ufe0f",fitzpatrick_scale:!1,category:"objects"},memo:{keywords:["write","documents","stationery","pencil","paper","writing","legal","exam","quiz","test","study","compose"],char:"\ud83d\udcdd",fitzpatrick_scale:!1,category:"objects"},pencil2:{keywords:["stationery","write","paper","writing","school","study"],char:"\u270f\ufe0f",fitzpatrick_scale:!1,category:"objects"},crayon:{keywords:["drawing","creativity"],char:"\ud83d\udd8d",fitzpatrick_scale:!1,category:"objects"},paintbrush:{keywords:["drawing","creativity","art"],char:"\ud83d\udd8c",fitzpatrick_scale:!1,category:"objects"},mag:{keywords:["search","zoom","find","detective"],char:"\ud83d\udd0d",fitzpatrick_scale:!1,category:"objects"},mag_right:{keywords:["search","zoom","find","detective"],char:"\ud83d\udd0e",fitzpatrick_scale:!1,category:"objects"},heart:{keywords:["love","like","valentines"],char:"\u2764\ufe0f",fitzpatrick_scale:!1,category:"symbols"},orange_heart:{keywords:["love","like","affection","valentines"],char:"\ud83e\udde1",fitzpatrick_scale:!1,category:"symbols"},yellow_heart:{keywords:["love","like","affection","valentines"],char:"\ud83d\udc9b",fitzpatrick_scale:!1,category:"symbols"},green_heart:{keywords:["love","like","affection","valentines"],char:"\ud83d\udc9a",fitzpatrick_scale:!1,category:"symbols"},blue_heart:{keywords:["love","like","affection","valentines"],char:"\ud83d\udc99",fitzpatrick_scale:!1,category:"symbols"},purple_heart:{keywords:["love","like","affection","valentines"],char:"\ud83d\udc9c",fitzpatrick_scale:!1,category:"symbols"},black_heart:{keywords:["evil"],char:"\ud83d\udda4",fitzpatrick_scale:!1,category:"symbols"},broken_heart:{keywords:["sad","sorry","break","heart","heartbreak"],char:"\ud83d\udc94",fitzpatrick_scale:!1,category:"symbols"},heavy_heart_exclamation:{keywords:["decoration","love"],char:"\u2763",fitzpatrick_scale:!1,category:"symbols"},two_hearts:{keywords:["love","like","affection","valentines","heart"],char:"\ud83d\udc95",fitzpatrick_scale:!1,category:"symbols"},revolving_hearts:{keywords:["love","like","affection","valentines"],char:"\ud83d\udc9e",fitzpatrick_scale:!1,category:"symbols"},heartbeat:{keywords:["love","like","affection","valentines","pink","heart"],char:"\ud83d\udc93",fitzpatrick_scale:!1,category:"symbols"},heartpulse:{keywords:["like","love","affection","valentines","pink"],char:"\ud83d\udc97",fitzpatrick_scale:!1,category:"symbols"},sparkling_heart:{keywords:["love","like","affection","valentines"],char:"\ud83d\udc96",fitzpatrick_scale:!1,category:"symbols"},cupid:{keywords:["love","like","heart","affection","valentines"],char:"\ud83d\udc98",fitzpatrick_scale:!1,category:"symbols"},gift_heart:{keywords:["love","valentines"],char:"\ud83d\udc9d",fitzpatrick_scale:!1,category:"symbols"},heart_decoration:{keywords:["purple-square","love","like"],char:"\ud83d\udc9f",fitzpatrick_scale:!1,category:"symbols"},peace_symbol:{keywords:["hippie"],char:"\u262e",fitzpatrick_scale:!1,category:"symbols"},latin_cross:{keywords:["christianity"],char:"\u271d",fitzpatrick_scale:!1,category:"symbols"},star_and_crescent:{keywords:["islam"],char:"\u262a",fitzpatrick_scale:!1,category:"symbols"},om:{keywords:["hinduism","buddhism","sikhism","jainism"],char:"\ud83d\udd49",fitzpatrick_scale:!1,category:"symbols"},wheel_of_dharma:{keywords:["hinduism","buddhism","sikhism","jainism"],char:"\u2638",fitzpatrick_scale:!1,category:"symbols"},star_of_david:{keywords:["judaism"],char:"\u2721",fitzpatrick_scale:!1,category:"symbols"},six_pointed_star:{keywords:["purple-square","religion","jewish","hexagram"],char:"\ud83d\udd2f",fitzpatrick_scale:!1,category:"symbols"},menorah:{keywords:["hanukkah","candles","jewish"],char:"\ud83d\udd4e",fitzpatrick_scale:!1,category:"symbols"},yin_yang:{keywords:["balance"],char:"\u262f",fitzpatrick_scale:!1,category:"symbols"},orthodox_cross:{keywords:["suppedaneum","religion"],char:"\u2626",fitzpatrick_scale:!1,category:"symbols"},place_of_worship:{keywords:["religion","church","temple","prayer"],char:"\ud83d\uded0",fitzpatrick_scale:!1,category:"symbols"},ophiuchus:{keywords:["sign","purple-square","constellation","astrology"],char:"\u26ce",fitzpatrick_scale:!1,category:"symbols"},aries:{keywords:["sign","purple-square","zodiac","astrology"],char:"\u2648",fitzpatrick_scale:!1,category:"symbols"},taurus:{keywords:["purple-square","sign","zodiac","astrology"],char:"\u2649",fitzpatrick_scale:!1,category:"symbols"},gemini:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u264a",fitzpatrick_scale:!1,category:"symbols"},cancer:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u264b",fitzpatrick_scale:!1,category:"symbols"},leo:{keywords:["sign","purple-square","zodiac","astrology"],char:"\u264c",fitzpatrick_scale:!1,category:"symbols"},virgo:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u264d",fitzpatrick_scale:!1,category:"symbols"},libra:{keywords:["sign","purple-square","zodiac","astrology"],char:"\u264e",fitzpatrick_scale:!1,category:"symbols"},scorpius:{keywords:["sign","zodiac","purple-square","astrology","scorpio"],char:"\u264f",fitzpatrick_scale:!1,category:"symbols"},sagittarius:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u2650",fitzpatrick_scale:!1,category:"symbols"},capricorn:{keywords:["sign","zodiac","purple-square","astrology"],char:"\u2651",fitzpatrick_scale:!1,category:"symbols"},aquarius:{keywords:["sign","purple-square","zodiac","astrology"],char:"\u2652",fitzpatrick_scale:!1,category:"symbols"},pisces:{keywords:["purple-square","sign","zodiac","astrology"],char:"\u2653",fitzpatrick_scale:!1,category:"symbols"},id:{keywords:["purple-square","words"],char:"\ud83c\udd94",fitzpatrick_scale:!1,category:"symbols"},atom_symbol:{keywords:["science","physics","chemistry"],char:"\u269b",fitzpatrick_scale:!1,category:"symbols"},u7a7a:{keywords:["kanji","japanese","chinese","empty","sky","blue-square"],char:"\ud83c\ude33",fitzpatrick_scale:!1,category:"symbols"},u5272:{keywords:["cut","divide","chinese","kanji","pink-square"],char:"\ud83c\ude39",fitzpatrick_scale:!1,category:"symbols"},radioactive:{keywords:["nuclear","danger"],char:"\u2622",fitzpatrick_scale:!1,category:"symbols"},biohazard:{keywords:["danger"],char:"\u2623",fitzpatrick_scale:!1,category:"symbols"},mobile_phone_off:{keywords:["mute","orange-square","silence","quiet"],char:"\ud83d\udcf4",fitzpatrick_scale:!1,category:"symbols"},vibration_mode:{keywords:["orange-square","phone"],char:"\ud83d\udcf3",fitzpatrick_scale:!1,category:"symbols"},u6709:{keywords:["orange-square","chinese","have","kanji"],char:"\ud83c\ude36",fitzpatrick_scale:!1,category:"symbols"},u7121:{keywords:["nothing","chinese","kanji","japanese","orange-square"],char:"\ud83c\ude1a",fitzpatrick_scale:!1,category:"symbols"},u7533:{keywords:["chinese","japanese","kanji","orange-square"],char:"\ud83c\ude38",fitzpatrick_scale:!1,category:"symbols"},u55b6:{keywords:["japanese","opening hours","orange-square"],char:"\ud83c\ude3a",fitzpatrick_scale:!1,category:"symbols"},u6708:{keywords:["chinese","month","moon","japanese","orange-square","kanji"],char:"\ud83c\ude37\ufe0f",fitzpatrick_scale:!1,category:"symbols"},eight_pointed_black_star:{keywords:["orange-square","shape","polygon"],char:"\u2734\ufe0f",fitzpatrick_scale:!1,category:"symbols"},vs:{keywords:["words","orange-square"],char:"\ud83c\udd9a",fitzpatrick_scale:!1,category:"symbols"},accept:{keywords:["ok","good","chinese","kanji","agree","yes","orange-circle"],char:"\ud83c\ude51",fitzpatrick_scale:!1,category:"symbols"},white_flower:{keywords:["japanese","spring"],char:"\ud83d\udcae",fitzpatrick_scale:!1,category:"symbols"},ideograph_advantage:{keywords:["chinese","kanji","obtain","get","circle"],char:"\ud83c\ude50",fitzpatrick_scale:!1,category:"symbols"},secret:{keywords:["privacy","chinese","sshh","kanji","red-circle"],char:"\u3299\ufe0f",fitzpatrick_scale:!1,category:"symbols"},congratulations:{keywords:["chinese","kanji","japanese","red-circle"],char:"\u3297\ufe0f",fitzpatrick_scale:!1,category:"symbols"},u5408:{keywords:["japanese","chinese","join","kanji","red-square"],char:"\ud83c\ude34",fitzpatrick_scale:!1,category:"symbols"},u6e80:{keywords:["full","chinese","japanese","red-square","kanji"],char:"\ud83c\ude35",fitzpatrick_scale:!1,category:"symbols"},u7981:{keywords:["kanji","japanese","chinese","forbidden","limit","restricted","red-square"],char:"\ud83c\ude32",fitzpatrick_scale:!1,category:"symbols"},a:{keywords:["red-square","alphabet","letter"],char:"\ud83c\udd70\ufe0f",fitzpatrick_scale:!1,category:"symbols"},b:{keywords:["red-square","alphabet","letter"],char:"\ud83c\udd71\ufe0f",fitzpatrick_scale:!1,category:"symbols"},ab:{keywords:["red-square","alphabet"],char:"\ud83c\udd8e",fitzpatrick_scale:!1,category:"symbols"},cl:{keywords:["alphabet","words","red-square"],char:"\ud83c\udd91",fitzpatrick_scale:!1,category:"symbols"},o2:{keywords:["alphabet","red-square","letter"],char:"\ud83c\udd7e\ufe0f",fitzpatrick_scale:!1,category:"symbols"},sos:{keywords:["help","red-square","words","emergency","911"],char:"\ud83c\udd98",fitzpatrick_scale:!1,category:"symbols"},no_entry:{keywords:["limit","security","privacy","bad","denied","stop","circle"],char:"\u26d4",fitzpatrick_scale:!1,category:"symbols"},name_badge:{keywords:["fire","forbid"],char:"\ud83d\udcdb",fitzpatrick_scale:!1,category:"symbols"},no_entry_sign:{keywords:["forbid","stop","limit","denied","disallow","circle"],char:"\ud83d\udeab",fitzpatrick_scale:!1,category:"symbols"},x:{keywords:["no","delete","remove","cancel","red"],char:"\u274c",fitzpatrick_scale:!1,category:"symbols"},o:{keywords:["circle","round"],char:"\u2b55",fitzpatrick_scale:!1,category:"symbols"},stop_sign:{keywords:["stop"],char:"\ud83d\uded1",fitzpatrick_scale:!1,category:"symbols"},anger:{keywords:["angry","mad"],char:"\ud83d\udca2",fitzpatrick_scale:!1,category:"symbols"},hotsprings:{keywords:["bath","warm","relax"],char:"\u2668\ufe0f",fitzpatrick_scale:!1,category:"symbols"},no_pedestrians:{keywords:["rules","crossing","walking","circle"],char:"\ud83d\udeb7",fitzpatrick_scale:!1,category:"symbols"},do_not_litter:{keywords:["trash","bin","garbage","circle"],char:"\ud83d\udeaf",fitzpatrick_scale:!1,category:"symbols"},no_bicycles:{keywords:["cyclist","prohibited","circle"],char:"\ud83d\udeb3",fitzpatrick_scale:!1,category:"symbols"},"non-potable_water":{keywords:["drink","faucet","tap","circle"],char:"\ud83d\udeb1",fitzpatrick_scale:!1,category:"symbols"},underage:{keywords:["18","drink","pub","night","minor","circle"],char:"\ud83d\udd1e",fitzpatrick_scale:!1,category:"symbols"},no_mobile_phones:{keywords:["iphone","mute","circle"],char:"\ud83d\udcf5",fitzpatrick_scale:!1,category:"symbols"},exclamation:{keywords:["heavy_exclamation_mark","danger","surprise","punctuation","wow","warning"],char:"\u2757",fitzpatrick_scale:!1,category:"symbols"},grey_exclamation:{keywords:["surprise","punctuation","gray","wow","warning"],char:"\u2755",fitzpatrick_scale:!1,category:"symbols"},question:{keywords:["doubt","confused"],char:"\u2753",fitzpatrick_scale:!1,category:"symbols"},grey_question:{keywords:["doubts","gray","huh","confused"],char:"\u2754",fitzpatrick_scale:!1,category:"symbols"},bangbang:{keywords:["exclamation","surprise"],char:"\u203c\ufe0f",fitzpatrick_scale:!1,category:"symbols"},interrobang:{keywords:["wat","punctuation","surprise"],char:"\u2049\ufe0f",fitzpatrick_scale:!1,category:"symbols"},100:{keywords:["score","perfect","numbers","century","exam","quiz","test","pass","hundred"],char:"\ud83d\udcaf",fitzpatrick_scale:!1,category:"symbols"},low_brightness:{keywords:["sun","afternoon","warm","summer"],char:"\ud83d\udd05",fitzpatrick_scale:!1,category:"symbols"},high_brightness:{keywords:["sun","light"],char:"\ud83d\udd06",fitzpatrick_scale:!1,category:"symbols"},trident:{keywords:["weapon","spear"],char:"\ud83d\udd31",fitzpatrick_scale:!1,category:"symbols"},fleur_de_lis:{keywords:["decorative","scout"],char:"\u269c",fitzpatrick_scale:!1,category:"symbols"},part_alternation_mark:{keywords:["graph","presentation","stats","business","economics","bad"],char:"\u303d\ufe0f",fitzpatrick_scale:!1,category:"symbols"},warning:{keywords:["exclamation","wip","alert","error","problem","issue"],char:"\u26a0\ufe0f",fitzpatrick_scale:!1,category:"symbols"},children_crossing:{keywords:["school","warning","danger","sign","driving","yellow-diamond"],char:"\ud83d\udeb8",fitzpatrick_scale:!1,category:"symbols"},beginner:{keywords:["badge","shield"],char:"\ud83d\udd30",fitzpatrick_scale:!1,category:"symbols"},recycle:{keywords:["arrow","environment","garbage","trash"],char:"\u267b\ufe0f",fitzpatrick_scale:!1,category:"symbols"},u6307:{keywords:["chinese","point","green-square","kanji"],char:"\ud83c\ude2f",fitzpatrick_scale:!1,category:"symbols"},chart:{keywords:["green-square","graph","presentation","stats"],char:"\ud83d\udcb9",fitzpatrick_scale:!1,category:"symbols"},sparkle:{keywords:["stars","green-square","awesome","good","fireworks"],char:"\u2747\ufe0f",fitzpatrick_scale:!1,category:"symbols"},eight_spoked_asterisk:{keywords:["star","sparkle","green-square"],char:"\u2733\ufe0f",fitzpatrick_scale:!1,category:"symbols"},negative_squared_cross_mark:{keywords:["x","green-square","no","deny"],char:"\u274e",fitzpatrick_scale:!1,category:"symbols"},white_check_mark:{keywords:["green-square","ok","agree","vote","election","answer","tick"],char:"\u2705",fitzpatrick_scale:!1,category:"symbols"},diamond_shape_with_a_dot_inside:{keywords:["jewel","blue","gem","crystal","fancy"],char:"\ud83d\udca0",fitzpatrick_scale:!1,category:"symbols"},cyclone:{keywords:["weather","swirl","blue","cloud","vortex","spiral","whirlpool","spin","tornado","hurricane","typhoon"],char:"\ud83c\udf00",fitzpatrick_scale:!1,category:"symbols"},loop:{keywords:["tape","cassette"],char:"\u27bf",fitzpatrick_scale:!1,category:"symbols"},globe_with_meridians:{keywords:["earth","international","world","internet","interweb","i18n"],char:"\ud83c\udf10",fitzpatrick_scale:!1,category:"symbols"},m:{keywords:["alphabet","blue-circle","letter"],char:"\u24c2\ufe0f",fitzpatrick_scale:!1,category:"symbols"},atm:{keywords:["money","sales","cash","blue-square","payment","bank"],char:"\ud83c\udfe7",fitzpatrick_scale:!1,category:"symbols"},sa:{keywords:["japanese","blue-square","katakana"],char:"\ud83c\ude02\ufe0f",fitzpatrick_scale:!1,category:"symbols"},passport_control:{keywords:["custom","blue-square"],char:"\ud83d\udec2",fitzpatrick_scale:!1,category:"symbols"},customs:{keywords:["passport","border","blue-square"],char:"\ud83d\udec3",fitzpatrick_scale:!1,category:"symbols"},baggage_claim:{keywords:["blue-square","airport","transport"],char:"\ud83d\udec4",fitzpatrick_scale:!1,category:"symbols"},left_luggage:{keywords:["blue-square","travel"],char:"\ud83d\udec5",fitzpatrick_scale:!1,category:"symbols"},wheelchair:{keywords:["blue-square","disabled","a11y","accessibility"],char:"\u267f",fitzpatrick_scale:!1,category:"symbols"},no_smoking:{keywords:["cigarette","blue-square","smell","smoke"],char:"\ud83d\udead",fitzpatrick_scale:!1,category:"symbols"},wc:{keywords:["toilet","restroom","blue-square"],char:"\ud83d\udebe",fitzpatrick_scale:!1,category:"symbols"},parking:{keywords:["cars","blue-square","alphabet","letter"],char:"\ud83c\udd7f\ufe0f",fitzpatrick_scale:!1,category:"symbols"},potable_water:{keywords:["blue-square","liquid","restroom","cleaning","faucet"],char:"\ud83d\udeb0",fitzpatrick_scale:!1,category:"symbols"},mens:{keywords:["toilet","restroom","wc","blue-square","gender","male"],char:"\ud83d\udeb9",fitzpatrick_scale:!1,category:"symbols"},womens:{keywords:["purple-square","woman","female","toilet","loo","restroom","gender"],char:"\ud83d\udeba",fitzpatrick_scale:!1,category:"symbols"},baby_symbol:{keywords:["orange-square","child"],char:"\ud83d\udebc",fitzpatrick_scale:!1,category:"symbols"},restroom:{keywords:["blue-square","toilet","refresh","wc","gender"],char:"\ud83d\udebb",fitzpatrick_scale:!1,category:"symbols"},put_litter_in_its_place:{keywords:["blue-square","sign","human","info"],char:"\ud83d\udeae",fitzpatrick_scale:!1,category:"symbols"},cinema:{keywords:["blue-square","record","film","movie","curtain","stage","theater"],char:"\ud83c\udfa6",fitzpatrick_scale:!1,category:"symbols"},signal_strength:{keywords:["blue-square","reception","phone","internet","connection","wifi","bluetooth","bars"],char:"\ud83d\udcf6",fitzpatrick_scale:!1,category:"symbols"},koko:{keywords:["blue-square","here","katakana","japanese","destination"],char:"\ud83c\ude01",fitzpatrick_scale:!1,category:"symbols"},ng:{keywords:["blue-square","words","shape","icon"],char:"\ud83c\udd96",fitzpatrick_scale:!1,category:"symbols"},ok:{keywords:["good","agree","yes","blue-square"],char:"\ud83c\udd97",fitzpatrick_scale:!1,category:"symbols"},up:{keywords:["blue-square","above","high"],char:"\ud83c\udd99",fitzpatrick_scale:!1,category:"symbols"},cool:{keywords:["words","blue-square"],char:"\ud83c\udd92",fitzpatrick_scale:!1,category:"symbols"},new:{keywords:["blue-square","words","start"],char:"\ud83c\udd95",fitzpatrick_scale:!1,category:"symbols"},free:{keywords:["blue-square","words"],char:"\ud83c\udd93",fitzpatrick_scale:!1,category:"symbols"},zero:{keywords:["0","numbers","blue-square","null"],char:"0\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},one:{keywords:["blue-square","numbers","1"],char:"1\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},two:{keywords:["numbers","2","prime","blue-square"],char:"2\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},three:{keywords:["3","numbers","prime","blue-square"],char:"3\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},four:{keywords:["4","numbers","blue-square"],char:"4\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},five:{keywords:["5","numbers","blue-square","prime"],char:"5\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},six:{keywords:["6","numbers","blue-square"],char:"6\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},seven:{keywords:["7","numbers","blue-square","prime"],char:"7\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},eight:{keywords:["8","blue-square","numbers"],char:"8\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},nine:{keywords:["blue-square","numbers","9"],char:"9\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},keycap_ten:{keywords:["numbers","10","blue-square"],char:"\ud83d\udd1f",fitzpatrick_scale:!1,category:"symbols"},asterisk:{keywords:["star","keycap"],char:"*\u20e3",fitzpatrick_scale:!1,category:"symbols"},1234:{keywords:["numbers","blue-square"],char:"\ud83d\udd22",fitzpatrick_scale:!1,category:"symbols"},eject_button:{keywords:["blue-square"],char:"\u23cf\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_forward:{keywords:["blue-square","right","direction","play"],char:"\u25b6\ufe0f",fitzpatrick_scale:!1,category:"symbols"},pause_button:{keywords:["pause","blue-square"],char:"\u23f8",fitzpatrick_scale:!1,category:"symbols"},next_track_button:{keywords:["forward","next","blue-square"],char:"\u23ed",fitzpatrick_scale:!1,category:"symbols"},stop_button:{keywords:["blue-square"],char:"\u23f9",fitzpatrick_scale:!1,category:"symbols"},record_button:{keywords:["blue-square"],char:"\u23fa",fitzpatrick_scale:!1,category:"symbols"},play_or_pause_button:{keywords:["blue-square","play","pause"],char:"\u23ef",fitzpatrick_scale:!1,category:"symbols"},previous_track_button:{keywords:["backward"],char:"\u23ee",fitzpatrick_scale:!1,category:"symbols"},fast_forward:{keywords:["blue-square","play","speed","continue"],char:"\u23e9",fitzpatrick_scale:!1,category:"symbols"},rewind:{keywords:["play","blue-square"],char:"\u23ea",fitzpatrick_scale:!1,category:"symbols"},twisted_rightwards_arrows:{keywords:["blue-square","shuffle","music","random"],char:"\ud83d\udd00",fitzpatrick_scale:!1,category:"symbols"},repeat:{keywords:["loop","record"],char:"\ud83d\udd01",fitzpatrick_scale:!1,category:"symbols"},repeat_one:{keywords:["blue-square","loop"],char:"\ud83d\udd02",fitzpatrick_scale:!1,category:"symbols"},arrow_backward:{keywords:["blue-square","left","direction"],char:"\u25c0\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_up_small:{keywords:["blue-square","triangle","direction","point","forward","top"],char:"\ud83d\udd3c",fitzpatrick_scale:!1,category:"symbols"},arrow_down_small:{keywords:["blue-square","direction","bottom"],char:"\ud83d\udd3d",fitzpatrick_scale:!1,category:"symbols"},arrow_double_up:{keywords:["blue-square","direction","top"],char:"\u23eb",fitzpatrick_scale:!1,category:"symbols"},arrow_double_down:{keywords:["blue-square","direction","bottom"],char:"\u23ec",fitzpatrick_scale:!1,category:"symbols"},arrow_right:{keywords:["blue-square","next"],char:"\u27a1\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_left:{keywords:["blue-square","previous","back"],char:"\u2b05\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_up:{keywords:["blue-square","continue","top","direction"],char:"\u2b06\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_down:{keywords:["blue-square","direction","bottom"],char:"\u2b07\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_upper_right:{keywords:["blue-square","point","direction","diagonal","northeast"],char:"\u2197\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_lower_right:{keywords:["blue-square","direction","diagonal","southeast"],char:"\u2198\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_lower_left:{keywords:["blue-square","direction","diagonal","southwest"],char:"\u2199\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_upper_left:{keywords:["blue-square","point","direction","diagonal","northwest"],char:"\u2196\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_up_down:{keywords:["blue-square","direction","way","vertical"],char:"\u2195\ufe0f",fitzpatrick_scale:!1,category:"symbols"},left_right_arrow:{keywords:["shape","direction","horizontal","sideways"],char:"\u2194\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrows_counterclockwise:{keywords:["blue-square","sync","cycle"],char:"\ud83d\udd04",fitzpatrick_scale:!1,category:"symbols"},arrow_right_hook:{keywords:["blue-square","return","rotate","direction"],char:"\u21aa\ufe0f",fitzpatrick_scale:!1,category:"symbols"},leftwards_arrow_with_hook:{keywords:["back","return","blue-square","undo","enter"],char:"\u21a9\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_heading_up:{keywords:["blue-square","direction","top"],char:"\u2934\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrow_heading_down:{keywords:["blue-square","direction","bottom"],char:"\u2935\ufe0f",fitzpatrick_scale:!1,category:"symbols"},hash:{keywords:["symbol","blue-square","twitter"],char:"#\ufe0f\u20e3",fitzpatrick_scale:!1,category:"symbols"},information_source:{keywords:["blue-square","alphabet","letter"],char:"\u2139\ufe0f",fitzpatrick_scale:!1,category:"symbols"},abc:{keywords:["blue-square","alphabet"],char:"\ud83d\udd24",fitzpatrick_scale:!1,category:"symbols"},abcd:{keywords:["blue-square","alphabet"],char:"\ud83d\udd21",fitzpatrick_scale:!1,category:"symbols"},capital_abcd:{keywords:["alphabet","words","blue-square"],char:"\ud83d\udd20",fitzpatrick_scale:!1,category:"symbols"},symbols:{keywords:["blue-square","music","note","ampersand","percent","glyphs","characters"],char:"\ud83d\udd23",fitzpatrick_scale:!1,category:"symbols"},musical_note:{keywords:["score","tone","sound"],char:"\ud83c\udfb5",fitzpatrick_scale:!1,category:"symbols"},notes:{keywords:["music","score"],char:"\ud83c\udfb6",fitzpatrick_scale:!1,category:"symbols"},wavy_dash:{keywords:["draw","line","moustache","mustache","squiggle","scribble"],char:"\u3030\ufe0f",fitzpatrick_scale:!1,category:"symbols"},curly_loop:{keywords:["scribble","draw","shape","squiggle"],char:"\u27b0",fitzpatrick_scale:!1,category:"symbols"},heavy_check_mark:{keywords:["ok","nike","answer","yes","tick"],char:"\u2714\ufe0f",fitzpatrick_scale:!1,category:"symbols"},arrows_clockwise:{keywords:["sync","cycle","round","repeat"],char:"\ud83d\udd03",fitzpatrick_scale:!1,category:"symbols"},heavy_plus_sign:{keywords:["math","calculation","addition","more","increase"],char:"\u2795",fitzpatrick_scale:!1,category:"symbols"},heavy_minus_sign:{keywords:["math","calculation","subtract","less"],char:"\u2796",fitzpatrick_scale:!1,category:"symbols"},heavy_division_sign:{keywords:["divide","math","calculation"],char:"\u2797",fitzpatrick_scale:!1,category:"symbols"},heavy_multiplication_x:{keywords:["math","calculation"],char:"\u2716\ufe0f",fitzpatrick_scale:!1,category:"symbols"},infinity:{keywords:["forever"],char:"\u267e",fitzpatrick_scale:!1,category:"symbols"},heavy_dollar_sign:{keywords:["money","sales","payment","currency","buck"],char:"\ud83d\udcb2",fitzpatrick_scale:!1,category:"symbols"},currency_exchange:{keywords:["money","sales","dollar","travel"],char:"\ud83d\udcb1",fitzpatrick_scale:!1,category:"symbols"},copyright:{keywords:["ip","license","circle","law","legal"],char:"\xa9\ufe0f",fitzpatrick_scale:!1,category:"symbols"},registered:{keywords:["alphabet","circle"],char:"\xae\ufe0f",fitzpatrick_scale:!1,category:"symbols"},tm:{keywords:["trademark","brand","law","legal"],char:"\u2122\ufe0f",fitzpatrick_scale:!1,category:"symbols"},end:{keywords:["words","arrow"],char:"\ud83d\udd1a",fitzpatrick_scale:!1,category:"symbols"},back:{keywords:["arrow","words","return"],char:"\ud83d\udd19",fitzpatrick_scale:!1,category:"symbols"},on:{keywords:["arrow","words"],char:"\ud83d\udd1b",fitzpatrick_scale:!1,category:"symbols"},top:{keywords:["words","blue-square"],char:"\ud83d\udd1d",fitzpatrick_scale:!1,category:"symbols"},soon:{keywords:["arrow","words"],char:"\ud83d\udd1c",fitzpatrick_scale:!1,category:"symbols"},ballot_box_with_check:{keywords:["ok","agree","confirm","black-square","vote","election","yes","tick"],char:"\u2611\ufe0f",fitzpatrick_scale:!1,category:"symbols"},radio_button:{keywords:["input","old","music","circle"],char:"\ud83d\udd18",fitzpatrick_scale:!1,category:"symbols"},white_circle:{keywords:["shape","round"],char:"\u26aa",fitzpatrick_scale:!1,category:"symbols"},black_circle:{keywords:["shape","button","round"],char:"\u26ab",fitzpatrick_scale:!1,category:"symbols"},red_circle:{keywords:["shape","error","danger"],char:"\ud83d\udd34",fitzpatrick_scale:!1,category:"symbols"},large_blue_circle:{keywords:["shape","icon","button"],char:"\ud83d\udd35",fitzpatrick_scale:!1,category:"symbols"},small_orange_diamond:{keywords:["shape","jewel","gem"],char:"\ud83d\udd38",fitzpatrick_scale:!1,category:"symbols"},small_blue_diamond:{keywords:["shape","jewel","gem"],char:"\ud83d\udd39",fitzpatrick_scale:!1,category:"symbols"},large_orange_diamond:{keywords:["shape","jewel","gem"],char:"\ud83d\udd36",fitzpatrick_scale:!1,category:"symbols"},large_blue_diamond:{keywords:["shape","jewel","gem"],char:"\ud83d\udd37",fitzpatrick_scale:!1,category:"symbols"},small_red_triangle:{keywords:["shape","direction","up","top"],char:"\ud83d\udd3a",fitzpatrick_scale:!1,category:"symbols"},black_small_square:{keywords:["shape","icon"],char:"\u25aa\ufe0f",fitzpatrick_scale:!1,category:"symbols"},white_small_square:{keywords:["shape","icon"],char:"\u25ab\ufe0f",fitzpatrick_scale:!1,category:"symbols"},black_large_square:{keywords:["shape","icon","button"],char:"\u2b1b",fitzpatrick_scale:!1,category:"symbols"},white_large_square:{keywords:["shape","icon","stone","button"],char:"\u2b1c",fitzpatrick_scale:!1,category:"symbols"},small_red_triangle_down:{keywords:["shape","direction","bottom"],char:"\ud83d\udd3b",fitzpatrick_scale:!1,category:"symbols"},black_medium_square:{keywords:["shape","button","icon"],char:"\u25fc\ufe0f",fitzpatrick_scale:!1,category:"symbols"},white_medium_square:{keywords:["shape","stone","icon"],char:"\u25fb\ufe0f",fitzpatrick_scale:!1,category:"symbols"},black_medium_small_square:{keywords:["icon","shape","button"],char:"\u25fe",fitzpatrick_scale:!1,category:"symbols"},white_medium_small_square:{keywords:["shape","stone","icon","button"],char:"\u25fd",fitzpatrick_scale:!1,category:"symbols"},black_square_button:{keywords:["shape","input","frame"],char:"\ud83d\udd32",fitzpatrick_scale:!1,category:"symbols"},white_square_button:{keywords:["shape","input"],char:"\ud83d\udd33",fitzpatrick_scale:!1,category:"symbols"},speaker:{keywords:["sound","volume","silence","broadcast"],char:"\ud83d\udd08",fitzpatrick_scale:!1,category:"symbols"},sound:{keywords:["volume","speaker","broadcast"],char:"\ud83d\udd09",fitzpatrick_scale:!1,category:"symbols"},loud_sound:{keywords:["volume","noise","noisy","speaker","broadcast"],char:"\ud83d\udd0a",fitzpatrick_scale:!1,category:"symbols"},mute:{keywords:["sound","volume","silence","quiet"],char:"\ud83d\udd07",fitzpatrick_scale:!1,category:"symbols"},mega:{keywords:["sound","speaker","volume"],char:"\ud83d\udce3",fitzpatrick_scale:!1,category:"symbols"},loudspeaker:{keywords:["volume","sound"],char:"\ud83d\udce2",fitzpatrick_scale:!1,category:"symbols"},bell:{keywords:["sound","notification","christmas","xmas","chime"],char:"\ud83d\udd14",fitzpatrick_scale:!1,category:"symbols"},no_bell:{keywords:["sound","volume","mute","quiet","silent"],char:"\ud83d\udd15",fitzpatrick_scale:!1,category:"symbols"},black_joker:{keywords:["poker","cards","game","play","magic"],char:"\ud83c\udccf",fitzpatrick_scale:!1,category:"symbols"},mahjong:{keywords:["game","play","chinese","kanji"],char:"\ud83c\udc04",fitzpatrick_scale:!1,category:"symbols"},spades:{keywords:["poker","cards","suits","magic"],char:"\u2660\ufe0f",fitzpatrick_scale:!1,category:"symbols"},clubs:{keywords:["poker","cards","magic","suits"],char:"\u2663\ufe0f",fitzpatrick_scale:!1,category:"symbols"},hearts:{keywords:["poker","cards","magic","suits"],char:"\u2665\ufe0f",fitzpatrick_scale:!1,category:"symbols"},diamonds:{keywords:["poker","cards","magic","suits"],char:"\u2666\ufe0f",fitzpatrick_scale:!1,category:"symbols"},flower_playing_cards:{keywords:["game","sunset","red"],char:"\ud83c\udfb4",fitzpatrick_scale:!1,category:"symbols"},thought_balloon:{keywords:["bubble","cloud","speech","thinking","dream"],char:"\ud83d\udcad",fitzpatrick_scale:!1,category:"symbols"},right_anger_bubble:{keywords:["caption","speech","thinking","mad"],char:"\ud83d\uddef",fitzpatrick_scale:!1,category:"symbols"},speech_balloon:{keywords:["bubble","words","message","talk","chatting"],char:"\ud83d\udcac",fitzpatrick_scale:!1,category:"symbols"},left_speech_bubble:{keywords:["words","message","talk","chatting"],char:"\ud83d\udde8",fitzpatrick_scale:!1,category:"symbols"},clock1:{keywords:["time","late","early","schedule"],char:"\ud83d\udd50",fitzpatrick_scale:!1,category:"symbols"},clock2:{keywords:["time","late","early","schedule"],char:"\ud83d\udd51",fitzpatrick_scale:!1,category:"symbols"},clock3:{keywords:["time","late","early","schedule"],char:"\ud83d\udd52",fitzpatrick_scale:!1,category:"symbols"},clock4:{keywords:["time","late","early","schedule"],char:"\ud83d\udd53",fitzpatrick_scale:!1,category:"symbols"},clock5:{keywords:["time","late","early","schedule"],char:"\ud83d\udd54",fitzpatrick_scale:!1,category:"symbols"},clock6:{keywords:["time","late","early","schedule","dawn","dusk"],char:"\ud83d\udd55",fitzpatrick_scale:!1,category:"symbols"},clock7:{keywords:["time","late","early","schedule"],char:"\ud83d\udd56",fitzpatrick_scale:!1,category:"symbols"},clock8:{keywords:["time","late","early","schedule"],char:"\ud83d\udd57",fitzpatrick_scale:!1,category:"symbols"},clock9:{keywords:["time","late","early","schedule"],char:"\ud83d\udd58",fitzpatrick_scale:!1,category:"symbols"},clock10:{keywords:["time","late","early","schedule"],char:"\ud83d\udd59",fitzpatrick_scale:!1,category:"symbols"},clock11:{keywords:["time","late","early","schedule"],char:"\ud83d\udd5a",fitzpatrick_scale:!1,category:"symbols"},clock12:{keywords:["time","noon","midnight","midday","late","early","schedule"],char:"\ud83d\udd5b",fitzpatrick_scale:!1,category:"symbols"},clock130:{keywords:["time","late","early","schedule"],char:"\ud83d\udd5c",fitzpatrick_scale:!1,category:"symbols"},clock230:{keywords:["time","late","early","schedule"],char:"\ud83d\udd5d",fitzpatrick_scale:!1,category:"symbols"},clock330:{keywords:["time","late","early","schedule"],char:"\ud83d\udd5e",fitzpatrick_scale:!1,category:"symbols"},clock430:{keywords:["time","late","early","schedule"],char:"\ud83d\udd5f",fitzpatrick_scale:!1,category:"symbols"},clock530:{keywords:["time","late","early","schedule"],char:"\ud83d\udd60",fitzpatrick_scale:!1,category:"symbols"},clock630:{keywords:["time","late","early","schedule"],char:"\ud83d\udd61",fitzpatrick_scale:!1,category:"symbols"},clock730:{keywords:["time","late","early","schedule"],char:"\ud83d\udd62",fitzpatrick_scale:!1,category:"symbols"},clock830:{keywords:["time","late","early","schedule"],char:"\ud83d\udd63",fitzpatrick_scale:!1,category:"symbols"},clock930:{keywords:["time","late","early","schedule"],char:"\ud83d\udd64",fitzpatrick_scale:!1,category:"symbols"},clock1030:{keywords:["time","late","early","schedule"],char:"\ud83d\udd65",fitzpatrick_scale:!1,category:"symbols"},clock1130:{keywords:["time","late","early","schedule"],char:"\ud83d\udd66",fitzpatrick_scale:!1,category:"symbols"},clock1230:{keywords:["time","late","early","schedule"],char:"\ud83d\udd67",fitzpatrick_scale:!1,category:"symbols"},afghanistan:{keywords:["af","flag","nation","country","banner"],char:"\ud83c\udde6\ud83c\uddeb",fitzpatrick_scale:!1,category:"flags"},aland_islands:{keywords:["\xc5land","islands","flag","nation","country","banner"],char:"\ud83c\udde6\ud83c\uddfd",fitzpatrick_scale:!1,category:"flags"},albania:{keywords:["al","flag","nation","country","banner"],char:"\ud83c\udde6\ud83c\uddf1",fitzpatrick_scale:!1,category:"flags"},algeria:{keywords:["dz","flag","nation","country","banner"],char:"\ud83c\udde9\ud83c\uddff",fitzpatrick_scale:!1,category:"flags"},american_samoa:{keywords:["american","ws","flag","nation","country","banner"],char:"\ud83c\udde6\ud83c\uddf8",fitzpatrick_scale:!1,category:"flags"},andorra:{keywords:["ad","flag","nation","country","banner"],char:"\ud83c\udde6\ud83c\udde9",fitzpatrick_scale:!1,category:"flags"},angola:{keywords:["ao","flag","nation","country","banner"],char:"\ud83c\udde6\ud83c\uddf4",fitzpatrick_scale:!1,category:"flags"},anguilla:{keywords:["ai","flag","nation","country","banner"],char:"\ud83c\udde6\ud83c\uddee",fitzpatrick_scale:!1,category:"flags"},antarctica:{keywords:["aq","flag","nation","country","banner"],char:"\ud83c\udde6\ud83c\uddf6",fitzpatrick_scale:!1,category:"flags"},antigua_barbuda:{keywords:["antigua","barbuda","flag","nation","country","banner"],char:"\ud83c\udde6\ud83c\uddec",fitzpatrick_scale:!1,category:"flags"},argentina:{keywords:["ar","flag","nation","country","banner"],char:"\ud83c\udde6\ud83c\uddf7",fitzpatrick_scale:!1,category:"flags"},armenia:{keywords:["am","flag","nation","country","banner"],char:"\ud83c\udde6\ud83c\uddf2",fitzpatrick_scale:!1,category:"flags"},aruba:{keywords:["aw","flag","nation","country","banner"],char:"\ud83c\udde6\ud83c\uddfc",fitzpatrick_scale:!1,category:"flags"},australia:{keywords:["au","flag","nation","country","banner"],char:"\ud83c\udde6\ud83c\uddfa",fitzpatrick_scale:!1,category:"flags"},austria:{keywords:["at","flag","nation","country","banner"],char:"\ud83c\udde6\ud83c\uddf9",fitzpatrick_scale:!1,category:"flags"},azerbaijan:{keywords:["az","flag","nation","country","banner"],char:"\ud83c\udde6\ud83c\uddff",fitzpatrick_scale:!1,category:"flags"},bahamas:{keywords:["bs","flag","nation","country","banner"],char:"\ud83c\udde7\ud83c\uddf8",fitzpatrick_scale:!1,category:"flags"},bahrain:{keywords:["bh","flag","nation","country","banner"],char:"\ud83c\udde7\ud83c\udded",fitzpatrick_scale:!1,category:"flags"},bangladesh:{keywords:["bd","flag","nation","country","banner"],char:"\ud83c\udde7\ud83c\udde9",fitzpatrick_scale:!1,category:"flags"},barbados:{keywords:["bb","flag","nation","country","banner"],char:"\ud83c\udde7\ud83c\udde7",fitzpatrick_scale:!1,category:"flags"},belarus:{keywords:["by","flag","nation","country","banner"],char:"\ud83c\udde7\ud83c\uddfe",fitzpatrick_scale:!1,category:"flags"},belgium:{keywords:["be","flag","nation","country","banner"],char:"\ud83c\udde7\ud83c\uddea",fitzpatrick_scale:!1,category:"flags"},belize:{keywords:["bz","flag","nation","country","banner"],char:"\ud83c\udde7\ud83c\uddff",fitzpatrick_scale:!1,category:"flags"},benin:{keywords:["bj","flag","nation","country","banner"],char:"\ud83c\udde7\ud83c\uddef",fitzpatrick_scale:!1,category:"flags"},bermuda:{keywords:["bm","flag","nation","country","banner"],char:"\ud83c\udde7\ud83c\uddf2",fitzpatrick_scale:!1,category:"flags"},bhutan:{keywords:["bt","flag","nation","country","banner"],char:"\ud83c\udde7\ud83c\uddf9",fitzpatrick_scale:!1,category:"flags"},bolivia:{keywords:["bo","flag","nation","country","banner"],char:"\ud83c\udde7\ud83c\uddf4",fitzpatrick_scale:!1,category:"flags"},caribbean_netherlands:{keywords:["bonaire","flag","nation","country","banner"],char:"\ud83c\udde7\ud83c\uddf6",fitzpatrick_scale:!1,category:"flags"},bosnia_herzegovina:{keywords:["bosnia","herzegovina","flag","nation","country","banner"],char:"\ud83c\udde7\ud83c\udde6",fitzpatrick_scale:!1,category:"flags"},botswana:{keywords:["bw","flag","nation","country","banner"],char:"\ud83c\udde7\ud83c\uddfc",fitzpatrick_scale:!1,category:"flags"},brazil:{keywords:["br","flag","nation","country","banner"],char:"\ud83c\udde7\ud83c\uddf7",fitzpatrick_scale:!1,category:"flags"},british_indian_ocean_territory:{keywords:["british","indian","ocean","territory","flag","nation","country","banner"],char:"\ud83c\uddee\ud83c\uddf4",fitzpatrick_scale:!1,category:"flags"},british_virgin_islands:{keywords:["british","virgin","islands","bvi","flag","nation","country","banner"],char:"\ud83c\uddfb\ud83c\uddec",fitzpatrick_scale:!1,category:"flags"},brunei:{keywords:["bn","darussalam","flag","nation","country","banner"],char:"\ud83c\udde7\ud83c\uddf3",fitzpatrick_scale:!1,category:"flags"},bulgaria:{keywords:["bg","flag","nation","country","banner"],char:"\ud83c\udde7\ud83c\uddec",fitzpatrick_scale:!1,category:"flags"},burkina_faso:{keywords:["burkina","faso","flag","nation","country","banner"],char:"\ud83c\udde7\ud83c\uddeb",fitzpatrick_scale:!1,category:"flags"},burundi:{keywords:["bi","flag","nation","country","banner"],char:"\ud83c\udde7\ud83c\uddee",fitzpatrick_scale:!1,category:"flags"},cape_verde:{keywords:["cabo","verde","flag","nation","country","banner"],char:"\ud83c\udde8\ud83c\uddfb",fitzpatrick_scale:!1,category:"flags"},cambodia:{keywords:["kh","flag","nation","country","banner"],char:"\ud83c\uddf0\ud83c\udded",fitzpatrick_scale:!1,category:"flags"},cameroon:{keywords:["cm","flag","nation","country","banner"],char:"\ud83c\udde8\ud83c\uddf2",fitzpatrick_scale:!1,category:"flags"},canada:{keywords:["ca","flag","nation","country","banner"],char:"\ud83c\udde8\ud83c\udde6",fitzpatrick_scale:!1,category:"flags"},canary_islands:{keywords:["canary","islands","flag","nation","country","banner"],char:"\ud83c\uddee\ud83c\udde8",fitzpatrick_scale:!1,category:"flags"},cayman_islands:{keywords:["cayman","islands","flag","nation","country","banner"],char:"\ud83c\uddf0\ud83c\uddfe",fitzpatrick_scale:!1,category:"flags"},central_african_republic:{keywords:["central","african","republic","flag","nation","country","banner"],char:"\ud83c\udde8\ud83c\uddeb",fitzpatrick_scale:!1,category:"flags"},chad:{keywords:["td","flag","nation","country","banner"],char:"\ud83c\uddf9\ud83c\udde9",fitzpatrick_scale:!1,category:"flags"},chile:{keywords:["flag","nation","country","banner"],char:"\ud83c\udde8\ud83c\uddf1",fitzpatrick_scale:!1,category:"flags"},cn:{keywords:["china","chinese","prc","flag","country","nation","banner"],char:"\ud83c\udde8\ud83c\uddf3",fitzpatrick_scale:!1,category:"flags"},christmas_island:{keywords:["christmas","island","flag","nation","country","banner"],char:"\ud83c\udde8\ud83c\uddfd",fitzpatrick_scale:!1,category:"flags"},cocos_islands:{keywords:["cocos","keeling","islands","flag","nation","country","banner"],char:"\ud83c\udde8\ud83c\udde8",fitzpatrick_scale:!1,category:"flags"},colombia:{keywords:["co","flag","nation","country","banner"],char:"\ud83c\udde8\ud83c\uddf4",fitzpatrick_scale:!1,category:"flags"},comoros:{keywords:["km","flag","nation","country","banner"],char:"\ud83c\uddf0\ud83c\uddf2",fitzpatrick_scale:!1,category:"flags"},congo_brazzaville:{keywords:["congo","flag","nation","country","banner"],char:"\ud83c\udde8\ud83c\uddec",fitzpatrick_scale:!1,category:"flags"},congo_kinshasa:{keywords:["congo","democratic","republic","flag","nation","country","banner"],char:"\ud83c\udde8\ud83c\udde9",fitzpatrick_scale:!1,category:"flags"},cook_islands:{keywords:["cook","islands","flag","nation","country","banner"],char:"\ud83c\udde8\ud83c\uddf0",fitzpatrick_scale:!1,category:"flags"},costa_rica:{keywords:["costa","rica","flag","nation","country","banner"],char:"\ud83c\udde8\ud83c\uddf7",fitzpatrick_scale:!1,category:"flags"},croatia:{keywords:["hr","flag","nation","country","banner"],char:"\ud83c\udded\ud83c\uddf7",fitzpatrick_scale:!1,category:"flags"},cuba:{keywords:["cu","flag","nation","country","banner"],char:"\ud83c\udde8\ud83c\uddfa",fitzpatrick_scale:!1,category:"flags"},curacao:{keywords:["cura\xe7ao","flag","nation","country","banner"],char:"\ud83c\udde8\ud83c\uddfc",fitzpatrick_scale:!1,category:"flags"},cyprus:{keywords:["cy","flag","nation","country","banner"],char:"\ud83c\udde8\ud83c\uddfe",fitzpatrick_scale:!1,category:"flags"},czech_republic:{keywords:["cz","flag","nation","country","banner"],char:"\ud83c\udde8\ud83c\uddff",fitzpatrick_scale:!1,category:"flags"},denmark:{keywords:["dk","flag","nation","country","banner"],char:"\ud83c\udde9\ud83c\uddf0",fitzpatrick_scale:!1,category:"flags"},djibouti:{keywords:["dj","flag","nation","country","banner"],char:"\ud83c\udde9\ud83c\uddef",fitzpatrick_scale:!1,category:"flags"},dominica:{keywords:["dm","flag","nation","country","banner"],char:"\ud83c\udde9\ud83c\uddf2",fitzpatrick_scale:!1,category:"flags"},dominican_republic:{keywords:["dominican","republic","flag","nation","country","banner"],char:"\ud83c\udde9\ud83c\uddf4",fitzpatrick_scale:!1,category:"flags"},ecuador:{keywords:["ec","flag","nation","country","banner"],char:"\ud83c\uddea\ud83c\udde8",fitzpatrick_scale:!1,category:"flags"},egypt:{keywords:["eg","flag","nation","country","banner"],char:"\ud83c\uddea\ud83c\uddec",fitzpatrick_scale:!1,category:"flags"},el_salvador:{keywords:["el","salvador","flag","nation","country","banner"],char:"\ud83c\uddf8\ud83c\uddfb",fitzpatrick_scale:!1,category:"flags"},equatorial_guinea:{keywords:["equatorial","gn","flag","nation","country","banner"],char:"\ud83c\uddec\ud83c\uddf6",fitzpatrick_scale:!1,category:"flags"},eritrea:{keywords:["er","flag","nation","country","banner"],char:"\ud83c\uddea\ud83c\uddf7",fitzpatrick_scale:!1,category:"flags"},estonia:{keywords:["ee","flag","nation","country","banner"],char:"\ud83c\uddea\ud83c\uddea",fitzpatrick_scale:!1,category:"flags"},ethiopia:{keywords:["et","flag","nation","country","banner"],char:"\ud83c\uddea\ud83c\uddf9",fitzpatrick_scale:!1,category:"flags"},eu:{keywords:["european","union","flag","banner"],char:"\ud83c\uddea\ud83c\uddfa",fitzpatrick_scale:!1,category:"flags"},falkland_islands:{keywords:["falkland","islands","malvinas","flag","nation","country","banner"],char:"\ud83c\uddeb\ud83c\uddf0",fitzpatrick_scale:!1,category:"flags"},faroe_islands:{keywords:["faroe","islands","flag","nation","country","banner"],char:"\ud83c\uddeb\ud83c\uddf4",fitzpatrick_scale:!1,category:"flags"},fiji:{keywords:["fj","flag","nation","country","banner"],char:"\ud83c\uddeb\ud83c\uddef",fitzpatrick_scale:!1,category:"flags"},finland:{keywords:["fi","flag","nation","country","banner"],char:"\ud83c\uddeb\ud83c\uddee",fitzpatrick_scale:!1,category:"flags"},fr:{keywords:["banner","flag","nation","france","french","country"],char:"\ud83c\uddeb\ud83c\uddf7",fitzpatrick_scale:!1,category:"flags"},french_guiana:{keywords:["french","guiana","flag","nation","country","banner"],char:"\ud83c\uddec\ud83c\uddeb",fitzpatrick_scale:!1,category:"flags"},french_polynesia:{keywords:["french","polynesia","flag","nation","country","banner"],char:"\ud83c\uddf5\ud83c\uddeb",fitzpatrick_scale:!1,category:"flags"},french_southern_territories:{keywords:["french","southern","territories","flag","nation","country","banner"],char:"\ud83c\uddf9\ud83c\uddeb",fitzpatrick_scale:!1,category:"flags"},gabon:{keywords:["ga","flag","nation","country","banner"],char:"\ud83c\uddec\ud83c\udde6",fitzpatrick_scale:!1,category:"flags"},gambia:{keywords:["gm","flag","nation","country","banner"],char:"\ud83c\uddec\ud83c\uddf2",fitzpatrick_scale:!1,category:"flags"},georgia:{keywords:["ge","flag","nation","country","banner"],char:"\ud83c\uddec\ud83c\uddea",fitzpatrick_scale:!1,category:"flags"},de:{keywords:["german","nation","flag","country","banner"],char:"\ud83c\udde9\ud83c\uddea",fitzpatrick_scale:!1,category:"flags"},ghana:{keywords:["gh","flag","nation","country","banner"],char:"\ud83c\uddec\ud83c\udded",fitzpatrick_scale:!1,category:"flags"},gibraltar:{keywords:["gi","flag","nation","country","banner"],char:"\ud83c\uddec\ud83c\uddee",fitzpatrick_scale:!1,category:"flags"},greece:{keywords:["gr","flag","nation","country","banner"],char:"\ud83c\uddec\ud83c\uddf7",fitzpatrick_scale:!1,category:"flags"},greenland:{keywords:["gl","flag","nation","country","banner"],char:"\ud83c\uddec\ud83c\uddf1",fitzpatrick_scale:!1,category:"flags"},grenada:{keywords:["gd","flag","nation","country","banner"],char:"\ud83c\uddec\ud83c\udde9",fitzpatrick_scale:!1,category:"flags"},guadeloupe:{keywords:["gp","flag","nation","country","banner"],char:"\ud83c\uddec\ud83c\uddf5",fitzpatrick_scale:!1,category:"flags"},guam:{keywords:["gu","flag","nation","country","banner"],char:"\ud83c\uddec\ud83c\uddfa",fitzpatrick_scale:!1,category:"flags"},guatemala:{keywords:["gt","flag","nation","country","banner"],char:"\ud83c\uddec\ud83c\uddf9",fitzpatrick_scale:!1,category:"flags"},guernsey:{keywords:["gg","flag","nation","country","banner"],char:"\ud83c\uddec\ud83c\uddec",fitzpatrick_scale:!1,category:"flags"},guinea:{keywords:["gn","flag","nation","country","banner"],char:"\ud83c\uddec\ud83c\uddf3",fitzpatrick_scale:!1,category:"flags"},guinea_bissau:{keywords:["gw","bissau","flag","nation","country","banner"],char:"\ud83c\uddec\ud83c\uddfc",fitzpatrick_scale:!1,category:"flags"},guyana:{keywords:["gy","flag","nation","country","banner"],char:"\ud83c\uddec\ud83c\uddfe",fitzpatrick_scale:!1,category:"flags"},haiti:{keywords:["ht","flag","nation","country","banner"],char:"\ud83c\udded\ud83c\uddf9",fitzpatrick_scale:!1,category:"flags"},honduras:{keywords:["hn","flag","nation","country","banner"],char:"\ud83c\udded\ud83c\uddf3",fitzpatrick_scale:!1,category:"flags"},hong_kong:{keywords:["hong","kong","flag","nation","country","banner"],char:"\ud83c\udded\ud83c\uddf0",fitzpatrick_scale:!1,category:"flags"},hungary:{keywords:["hu","flag","nation","country","banner"],char:"\ud83c\udded\ud83c\uddfa",fitzpatrick_scale:!1,category:"flags"},iceland:{keywords:["is","flag","nation","country","banner"],char:"\ud83c\uddee\ud83c\uddf8",fitzpatrick_scale:!1,category:"flags"},india:{keywords:["in","flag","nation","country","banner"],char:"\ud83c\uddee\ud83c\uddf3",fitzpatrick_scale:!1,category:"flags"},indonesia:{keywords:["flag","nation","country","banner"],char:"\ud83c\uddee\ud83c\udde9",fitzpatrick_scale:!1,category:"flags"},iran:{keywords:["iran,","islamic","republic","flag","nation","country","banner"],char:"\ud83c\uddee\ud83c\uddf7",fitzpatrick_scale:!1,category:"flags"},iraq:{keywords:["iq","flag","nation","country","banner"],char:"\ud83c\uddee\ud83c\uddf6",fitzpatrick_scale:!1,category:"flags"},ireland:{keywords:["ie","flag","nation","country","banner"],char:"\ud83c\uddee\ud83c\uddea",fitzpatrick_scale:!1,category:"flags"},isle_of_man:{keywords:["isle","man","flag","nation","country","banner"],char:"\ud83c\uddee\ud83c\uddf2",fitzpatrick_scale:!1,category:"flags"},israel:{keywords:["il","flag","nation","country","banner"],char:"\ud83c\uddee\ud83c\uddf1",fitzpatrick_scale:!1,category:"flags"},it:{keywords:["italy","flag","nation","country","banner"],char:"\ud83c\uddee\ud83c\uddf9",fitzpatrick_scale:!1,category:"flags"},cote_divoire:{keywords:["ivory","coast","flag","nation","country","banner"],char:"\ud83c\udde8\ud83c\uddee",fitzpatrick_scale:!1,category:"flags"},jamaica:{keywords:["jm","flag","nation","country","banner"],char:"\ud83c\uddef\ud83c\uddf2",fitzpatrick_scale:!1,category:"flags"},jp:{keywords:["japanese","nation","flag","country","banner"],char:"\ud83c\uddef\ud83c\uddf5",fitzpatrick_scale:!1,category:"flags"},jersey:{keywords:["je","flag","nation","country","banner"],char:"\ud83c\uddef\ud83c\uddea",fitzpatrick_scale:!1,category:"flags"},jordan:{keywords:["jo","flag","nation","country","banner"],char:"\ud83c\uddef\ud83c\uddf4",fitzpatrick_scale:!1,category:"flags"},kazakhstan:{keywords:["kz","flag","nation","country","banner"],char:"\ud83c\uddf0\ud83c\uddff",fitzpatrick_scale:!1,category:"flags"},kenya:{keywords:["ke","flag","nation","country","banner"],char:"\ud83c\uddf0\ud83c\uddea",fitzpatrick_scale:!1,category:"flags"},kiribati:{keywords:["ki","flag","nation","country","banner"],char:"\ud83c\uddf0\ud83c\uddee",fitzpatrick_scale:!1,category:"flags"},kosovo:{keywords:["xk","flag","nation","country","banner"],char:"\ud83c\uddfd\ud83c\uddf0",fitzpatrick_scale:!1,category:"flags"},kuwait:{keywords:["kw","flag","nation","country","banner"],char:"\ud83c\uddf0\ud83c\uddfc",fitzpatrick_scale:!1,category:"flags"},kyrgyzstan:{keywords:["kg","flag","nation","country","banner"],char:"\ud83c\uddf0\ud83c\uddec",fitzpatrick_scale:!1,category:"flags"},laos:{keywords:["lao","democratic","republic","flag","nation","country","banner"],char:"\ud83c\uddf1\ud83c\udde6",fitzpatrick_scale:!1,category:"flags"},latvia:{keywords:["lv","flag","nation","country","banner"],char:"\ud83c\uddf1\ud83c\uddfb",fitzpatrick_scale:!1,category:"flags"},lebanon:{keywords:["lb","flag","nation","country","banner"],char:"\ud83c\uddf1\ud83c\udde7",fitzpatrick_scale:!1,category:"flags"},lesotho:{keywords:["ls","flag","nation","country","banner"],char:"\ud83c\uddf1\ud83c\uddf8",fitzpatrick_scale:!1,category:"flags"},liberia:{keywords:["lr","flag","nation","country","banner"],char:"\ud83c\uddf1\ud83c\uddf7",fitzpatrick_scale:!1,category:"flags"},libya:{keywords:["ly","flag","nation","country","banner"],char:"\ud83c\uddf1\ud83c\uddfe",fitzpatrick_scale:!1,category:"flags"},liechtenstein:{keywords:["li","flag","nation","country","banner"],char:"\ud83c\uddf1\ud83c\uddee",fitzpatrick_scale:!1,category:"flags"},lithuania:{keywords:["lt","flag","nation","country","banner"],char:"\ud83c\uddf1\ud83c\uddf9",fitzpatrick_scale:!1,category:"flags"},luxembourg:{keywords:["lu","flag","nation","country","banner"],char:"\ud83c\uddf1\ud83c\uddfa",fitzpatrick_scale:!1,category:"flags"},macau:{keywords:["macao","flag","nation","country","banner"],char:"\ud83c\uddf2\ud83c\uddf4",fitzpatrick_scale:!1,category:"flags"},macedonia:{keywords:["macedonia,","flag","nation","country","banner"],char:"\ud83c\uddf2\ud83c\uddf0",fitzpatrick_scale:!1,category:"flags"},madagascar:{keywords:["mg","flag","nation","country","banner"],char:"\ud83c\uddf2\ud83c\uddec",fitzpatrick_scale:!1,category:"flags"},malawi:{keywords:["mw","flag","nation","country","banner"],char:"\ud83c\uddf2\ud83c\uddfc",fitzpatrick_scale:!1,category:"flags"},malaysia:{keywords:["my","flag","nation","country","banner"],char:"\ud83c\uddf2\ud83c\uddfe",fitzpatrick_scale:!1,category:"flags"},maldives:{keywords:["mv","flag","nation","country","banner"],char:"\ud83c\uddf2\ud83c\uddfb",fitzpatrick_scale:!1,category:"flags"},mali:{keywords:["ml","flag","nation","country","banner"],char:"\ud83c\uddf2\ud83c\uddf1",fitzpatrick_scale:!1,category:"flags"},malta:{keywords:["mt","flag","nation","country","banner"],char:"\ud83c\uddf2\ud83c\uddf9",fitzpatrick_scale:!1,category:"flags"},marshall_islands:{keywords:["marshall","islands","flag","nation","country","banner"],char:"\ud83c\uddf2\ud83c\udded",fitzpatrick_scale:!1,category:"flags"},martinique:{keywords:["mq","flag","nation","country","banner"],char:"\ud83c\uddf2\ud83c\uddf6",fitzpatrick_scale:!1,category:"flags"},mauritania:{keywords:["mr","flag","nation","country","banner"],char:"\ud83c\uddf2\ud83c\uddf7",fitzpatrick_scale:!1,category:"flags"},mauritius:{keywords:["mu","flag","nation","country","banner"],char:"\ud83c\uddf2\ud83c\uddfa",fitzpatrick_scale:!1,category:"flags"},mayotte:{keywords:["yt","flag","nation","country","banner"],char:"\ud83c\uddfe\ud83c\uddf9",fitzpatrick_scale:!1,category:"flags"},mexico:{keywords:["mx","flag","nation","country","banner"],char:"\ud83c\uddf2\ud83c\uddfd",fitzpatrick_scale:!1,category:"flags"},micronesia:{keywords:["micronesia,","federated","states","flag","nation","country","banner"],char:"\ud83c\uddeb\ud83c\uddf2",fitzpatrick_scale:!1,category:"flags"},moldova:{keywords:["moldova,","republic","flag","nation","country","banner"],char:"\ud83c\uddf2\ud83c\udde9",fitzpatrick_scale:!1,category:"flags"},monaco:{keywords:["mc","flag","nation","country","banner"],char:"\ud83c\uddf2\ud83c\udde8",fitzpatrick_scale:!1,category:"flags"},mongolia:{keywords:["mn","flag","nation","country","banner"],char:"\ud83c\uddf2\ud83c\uddf3",fitzpatrick_scale:!1,category:"flags"},montenegro:{keywords:["me","flag","nation","country","banner"],char:"\ud83c\uddf2\ud83c\uddea",fitzpatrick_scale:!1,category:"flags"},montserrat:{keywords:["ms","flag","nation","country","banner"],char:"\ud83c\uddf2\ud83c\uddf8",fitzpatrick_scale:!1,category:"flags"},morocco:{keywords:["ma","flag","nation","country","banner"],char:"\ud83c\uddf2\ud83c\udde6",fitzpatrick_scale:!1,category:"flags"},mozambique:{keywords:["mz","flag","nation","country","banner"],char:"\ud83c\uddf2\ud83c\uddff",fitzpatrick_scale:!1,category:"flags"},myanmar:{keywords:["mm","flag","nation","country","banner"],char:"\ud83c\uddf2\ud83c\uddf2",fitzpatrick_scale:!1,category:"flags"},namibia:{keywords:["na","flag","nation","country","banner"],char:"\ud83c\uddf3\ud83c\udde6",fitzpatrick_scale:!1,category:"flags"},nauru:{keywords:["nr","flag","nation","country","banner"],char:"\ud83c\uddf3\ud83c\uddf7",fitzpatrick_scale:!1,category:"flags"},nepal:{keywords:["np","flag","nation","country","banner"],char:"\ud83c\uddf3\ud83c\uddf5",fitzpatrick_scale:!1,category:"flags"},netherlands:{keywords:["nl","flag","nation","country","banner"],char:"\ud83c\uddf3\ud83c\uddf1",fitzpatrick_scale:!1,category:"flags"},new_caledonia:{keywords:["new","caledonia","flag","nation","country","banner"],char:"\ud83c\uddf3\ud83c\udde8",fitzpatrick_scale:!1,category:"flags"},new_zealand:{keywords:["new","zealand","flag","nation","country","banner"],char:"\ud83c\uddf3\ud83c\uddff",fitzpatrick_scale:!1,category:"flags"},nicaragua:{keywords:["ni","flag","nation","country","banner"],char:"\ud83c\uddf3\ud83c\uddee",fitzpatrick_scale:!1,category:"flags"},niger:{keywords:["ne","flag","nation","country","banner"],char:"\ud83c\uddf3\ud83c\uddea",fitzpatrick_scale:!1,category:"flags"},nigeria:{keywords:["flag","nation","country","banner"],char:"\ud83c\uddf3\ud83c\uddec",fitzpatrick_scale:!1,category:"flags"},niue:{keywords:["nu","flag","nation","country","banner"],char:"\ud83c\uddf3\ud83c\uddfa",fitzpatrick_scale:!1,category:"flags"},norfolk_island:{keywords:["norfolk","island","flag","nation","country","banner"],char:"\ud83c\uddf3\ud83c\uddeb",fitzpatrick_scale:!1,category:"flags"},northern_mariana_islands:{keywords:["northern","mariana","islands","flag","nation","country","banner"],char:"\ud83c\uddf2\ud83c\uddf5",fitzpatrick_scale:!1,category:"flags"},north_korea:{keywords:["north","korea","nation","flag","country","banner"],char:"\ud83c\uddf0\ud83c\uddf5",fitzpatrick_scale:!1,category:"flags"},norway:{keywords:["no","flag","nation","country","banner"],char:"\ud83c\uddf3\ud83c\uddf4",fitzpatrick_scale:!1,category:"flags"},oman:{keywords:["om_symbol","flag","nation","country","banner"],char:"\ud83c\uddf4\ud83c\uddf2",fitzpatrick_scale:!1,category:"flags"},pakistan:{keywords:["pk","flag","nation","country","banner"],char:"\ud83c\uddf5\ud83c\uddf0",fitzpatrick_scale:!1,category:"flags"},palau:{keywords:["pw","flag","nation","country","banner"],char:"\ud83c\uddf5\ud83c\uddfc",fitzpatrick_scale:!1,category:"flags"},palestinian_territories:{keywords:["palestine","palestinian","territories","flag","nation","country","banner"],char:"\ud83c\uddf5\ud83c\uddf8",fitzpatrick_scale:!1,category:"flags"},panama:{keywords:["pa","flag","nation","country","banner"],char:"\ud83c\uddf5\ud83c\udde6",fitzpatrick_scale:!1,category:"flags"},papua_new_guinea:{keywords:["papua","new","guinea","flag","nation","country","banner"],char:"\ud83c\uddf5\ud83c\uddec",fitzpatrick_scale:!1,category:"flags"},paraguay:{keywords:["py","flag","nation","country","banner"],char:"\ud83c\uddf5\ud83c\uddfe",fitzpatrick_scale:!1,category:"flags"},peru:{keywords:["pe","flag","nation","country","banner"],char:"\ud83c\uddf5\ud83c\uddea",fitzpatrick_scale:!1,category:"flags"},philippines:{keywords:["ph","flag","nation","country","banner"],char:"\ud83c\uddf5\ud83c\udded",fitzpatrick_scale:!1,category:"flags"},pitcairn_islands:{keywords:["pitcairn","flag","nation","country","banner"],char:"\ud83c\uddf5\ud83c\uddf3",fitzpatrick_scale:!1,category:"flags"},poland:{keywords:["pl","flag","nation","country","banner"],char:"\ud83c\uddf5\ud83c\uddf1",fitzpatrick_scale:!1,category:"flags"},portugal:{keywords:["pt","flag","nation","country","banner"],char:"\ud83c\uddf5\ud83c\uddf9",fitzpatrick_scale:!1,category:"flags"},puerto_rico:{keywords:["puerto","rico","flag","nation","country","banner"],char:"\ud83c\uddf5\ud83c\uddf7",fitzpatrick_scale:!1,category:"flags"},qatar:{keywords:["qa","flag","nation","country","banner"],char:"\ud83c\uddf6\ud83c\udde6",fitzpatrick_scale:!1,category:"flags"},reunion:{keywords:["r\xe9union","flag","nation","country","banner"],char:"\ud83c\uddf7\ud83c\uddea",fitzpatrick_scale:!1,category:"flags"},romania:{keywords:["ro","flag","nation","country","banner"],char:"\ud83c\uddf7\ud83c\uddf4",fitzpatrick_scale:!1,category:"flags"},ru:{keywords:["russian","federation","flag","nation","country","banner"],char:"\ud83c\uddf7\ud83c\uddfa",fitzpatrick_scale:!1,category:"flags"},rwanda:{keywords:["rw","flag","nation","country","banner"],char:"\ud83c\uddf7\ud83c\uddfc",fitzpatrick_scale:!1,category:"flags"},st_barthelemy:{keywords:["saint","barth\xe9lemy","flag","nation","country","banner"],char:"\ud83c\udde7\ud83c\uddf1",fitzpatrick_scale:!1,category:"flags"},st_helena:{keywords:["saint","helena","ascension","tristan","cunha","flag","nation","country","banner"],char:"\ud83c\uddf8\ud83c\udded",fitzpatrick_scale:!1,category:"flags"},st_kitts_nevis:{keywords:["saint","kitts","nevis","flag","nation","country","banner"],char:"\ud83c\uddf0\ud83c\uddf3",fitzpatrick_scale:!1,category:"flags"},st_lucia:{keywords:["saint","lucia","flag","nation","country","banner"],char:"\ud83c\uddf1\ud83c\udde8",fitzpatrick_scale:!1,category:"flags"},st_pierre_miquelon:{keywords:["saint","pierre","miquelon","flag","nation","country","banner"],char:"\ud83c\uddf5\ud83c\uddf2",fitzpatrick_scale:!1,category:"flags"},st_vincent_grenadines:{keywords:["saint","vincent","grenadines","flag","nation","country","banner"],char:"\ud83c\uddfb\ud83c\udde8",fitzpatrick_scale:!1,category:"flags"},samoa:{keywords:["ws","flag","nation","country","banner"],char:"\ud83c\uddfc\ud83c\uddf8",fitzpatrick_scale:!1,category:"flags"},san_marino:{keywords:["san","marino","flag","nation","country","banner"],char:"\ud83c\uddf8\ud83c\uddf2",fitzpatrick_scale:!1,category:"flags"},sao_tome_principe:{keywords:["sao","tome","principe","flag","nation","country","banner"],char:"\ud83c\uddf8\ud83c\uddf9",fitzpatrick_scale:!1,category:"flags"},saudi_arabia:{keywords:["flag","nation","country","banner"],char:"\ud83c\uddf8\ud83c\udde6",fitzpatrick_scale:!1,category:"flags"},senegal:{keywords:["sn","flag","nation","country","banner"],char:"\ud83c\uddf8\ud83c\uddf3",fitzpatrick_scale:!1,category:"flags"},serbia:{keywords:["rs","flag","nation","country","banner"],char:"\ud83c\uddf7\ud83c\uddf8",fitzpatrick_scale:!1,category:"flags"},seychelles:{keywords:["sc","flag","nation","country","banner"],char:"\ud83c\uddf8\ud83c\udde8",fitzpatrick_scale:!1,category:"flags"},sierra_leone:{keywords:["sierra","leone","flag","nation","country","banner"],char:"\ud83c\uddf8\ud83c\uddf1",fitzpatrick_scale:!1,category:"flags"},singapore:{keywords:["sg","flag","nation","country","banner"],char:"\ud83c\uddf8\ud83c\uddec",fitzpatrick_scale:!1,category:"flags"},sint_maarten:{keywords:["sint","maarten","dutch","flag","nation","country","banner"],char:"\ud83c\uddf8\ud83c\uddfd",fitzpatrick_scale:!1,category:"flags"},slovakia:{keywords:["sk","flag","nation","country","banner"],char:"\ud83c\uddf8\ud83c\uddf0",fitzpatrick_scale:!1,category:"flags"},slovenia:{keywords:["si","flag","nation","country","banner"],char:"\ud83c\uddf8\ud83c\uddee",fitzpatrick_scale:!1,category:"flags"},solomon_islands:{keywords:["solomon","islands","flag","nation","country","banner"],char:"\ud83c\uddf8\ud83c\udde7",fitzpatrick_scale:!1,category:"flags"},somalia:{keywords:["so","flag","nation","country","banner"],char:"\ud83c\uddf8\ud83c\uddf4",fitzpatrick_scale:!1,category:"flags"},south_africa:{keywords:["south","africa","flag","nation","country","banner"],char:"\ud83c\uddff\ud83c\udde6",fitzpatrick_scale:!1,category:"flags"},south_georgia_south_sandwich_islands:{keywords:["south","georgia","sandwich","islands","flag","nation","country","banner"],char:"\ud83c\uddec\ud83c\uddf8",fitzpatrick_scale:!1,category:"flags"},kr:{keywords:["south","korea","nation","flag","country","banner"],char:"\ud83c\uddf0\ud83c\uddf7",fitzpatrick_scale:!1,category:"flags"},south_sudan:{keywords:["south","sd","flag","nation","country","banner"],char:"\ud83c\uddf8\ud83c\uddf8",fitzpatrick_scale:!1,category:"flags"},es:{keywords:["spain","flag","nation","country","banner"],char:"\ud83c\uddea\ud83c\uddf8",fitzpatrick_scale:!1,category:"flags"},sri_lanka:{keywords:["sri","lanka","flag","nation","country","banner"],char:"\ud83c\uddf1\ud83c\uddf0",fitzpatrick_scale:!1,category:"flags"},sudan:{keywords:["sd","flag","nation","country","banner"],char:"\ud83c\uddf8\ud83c\udde9",fitzpatrick_scale:!1,category:"flags"},suriname:{keywords:["sr","flag","nation","country","banner"],char:"\ud83c\uddf8\ud83c\uddf7",fitzpatrick_scale:!1,category:"flags"},swaziland:{keywords:["sz","flag","nation","country","banner"],char:"\ud83c\uddf8\ud83c\uddff",fitzpatrick_scale:!1,category:"flags"},sweden:{keywords:["se","flag","nation","country","banner"],char:"\ud83c\uddf8\ud83c\uddea",fitzpatrick_scale:!1,category:"flags"},switzerland:{keywords:["ch","flag","nation","country","banner"],char:"\ud83c\udde8\ud83c\udded",fitzpatrick_scale:!1,category:"flags"},syria:{keywords:["syrian","arab","republic","flag","nation","country","banner"],char:"\ud83c\uddf8\ud83c\uddfe",fitzpatrick_scale:!1,category:"flags"},taiwan:{keywords:["tw","flag","nation","country","banner"],char:"\ud83c\uddf9\ud83c\uddfc",fitzpatrick_scale:!1,category:"flags"},tajikistan:{keywords:["tj","flag","nation","country","banner"],char:"\ud83c\uddf9\ud83c\uddef",fitzpatrick_scale:!1,category:"flags"},tanzania:{keywords:["tanzania,","united","republic","flag","nation","country","banner"],char:"\ud83c\uddf9\ud83c\uddff",fitzpatrick_scale:!1,category:"flags"},thailand:{keywords:["th","flag","nation","country","banner"],char:"\ud83c\uddf9\ud83c\udded",fitzpatrick_scale:!1,category:"flags"},timor_leste:{keywords:["timor","leste","flag","nation","country","banner"],char:"\ud83c\uddf9\ud83c\uddf1",fitzpatrick_scale:!1,category:"flags"},togo:{keywords:["tg","flag","nation","country","banner"],char:"\ud83c\uddf9\ud83c\uddec",fitzpatrick_scale:!1,category:"flags"},tokelau:{keywords:["tk","flag","nation","country","banner"],char:"\ud83c\uddf9\ud83c\uddf0",fitzpatrick_scale:!1,category:"flags"},tonga:{keywords:["to","flag","nation","country","banner"],char:"\ud83c\uddf9\ud83c\uddf4",fitzpatrick_scale:!1,category:"flags"},trinidad_tobago:{keywords:["trinidad","tobago","flag","nation","country","banner"],char:"\ud83c\uddf9\ud83c\uddf9",fitzpatrick_scale:!1,category:"flags"},tunisia:{keywords:["tn","flag","nation","country","banner"],char:"\ud83c\uddf9\ud83c\uddf3",fitzpatrick_scale:!1,category:"flags"},tr:{keywords:["turkey","flag","nation","country","banner"],char:"\ud83c\uddf9\ud83c\uddf7",fitzpatrick_scale:!1,category:"flags"},turkmenistan:{keywords:["flag","nation","country","banner"],char:"\ud83c\uddf9\ud83c\uddf2",fitzpatrick_scale:!1,category:"flags"},turks_caicos_islands:{keywords:["turks","caicos","islands","flag","nation","country","banner"],char:"\ud83c\uddf9\ud83c\udde8",fitzpatrick_scale:!1,category:"flags"},tuvalu:{keywords:["flag","nation","country","banner"],char:"\ud83c\uddf9\ud83c\uddfb",fitzpatrick_scale:!1,category:"flags"},uganda:{keywords:["ug","flag","nation","country","banner"],char:"\ud83c\uddfa\ud83c\uddec",fitzpatrick_scale:!1,category:"flags"},ukraine:{keywords:["ua","flag","nation","country","banner"],char:"\ud83c\uddfa\ud83c\udde6",fitzpatrick_scale:!1,category:"flags"},united_arab_emirates:{keywords:["united","arab","emirates","flag","nation","country","banner"],char:"\ud83c\udde6\ud83c\uddea",fitzpatrick_scale:!1,category:"flags"},uk:{keywords:["united","kingdom","great","britain","northern","ireland","flag","nation","country","banner","british","UK","english","england","union jack"],char:"\ud83c\uddec\ud83c\udde7",fitzpatrick_scale:!1,category:"flags"},england:{keywords:["flag","english"],char:"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f",fitzpatrick_scale:!1,category:"flags"},scotland:{keywords:["flag","scottish"],char:"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc73\udb40\udc63\udb40\udc74\udb40\udc7f",fitzpatrick_scale:!1,category:"flags"},wales:{keywords:["flag","welsh"],char:"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc77\udb40\udc6c\udb40\udc73\udb40\udc7f",fitzpatrick_scale:!1,category:"flags"},us:{keywords:["united","states","america","flag","nation","country","banner"],char:"\ud83c\uddfa\ud83c\uddf8",fitzpatrick_scale:!1,category:"flags"},us_virgin_islands:{keywords:["virgin","islands","us","flag","nation","country","banner"],char:"\ud83c\uddfb\ud83c\uddee",fitzpatrick_scale:!1,category:"flags"},uruguay:{keywords:["uy","flag","nation","country","banner"],char:"\ud83c\uddfa\ud83c\uddfe",fitzpatrick_scale:!1,category:"flags"},uzbekistan:{keywords:["uz","flag","nation","country","banner"],char:"\ud83c\uddfa\ud83c\uddff",fitzpatrick_scale:!1,category:"flags"},vanuatu:{keywords:["vu","flag","nation","country","banner"],char:"\ud83c\uddfb\ud83c\uddfa",fitzpatrick_scale:!1,category:"flags"},vatican_city:{keywords:["vatican","city","flag","nation","country","banner"],char:"\ud83c\uddfb\ud83c\udde6",fitzpatrick_scale:!1,category:"flags"},venezuela:{keywords:["ve","bolivarian","republic","flag","nation","country","banner"],char:"\ud83c\uddfb\ud83c\uddea",fitzpatrick_scale:!1,category:"flags"},vietnam:{keywords:["viet","nam","flag","nation","country","banner"],char:"\ud83c\uddfb\ud83c\uddf3",fitzpatrick_scale:!1,category:"flags"},wallis_futuna:{keywords:["wallis","futuna","flag","nation","country","banner"],char:"\ud83c\uddfc\ud83c\uddeb",fitzpatrick_scale:!1,category:"flags"},western_sahara:{keywords:["western","sahara","flag","nation","country","banner"],char:"\ud83c\uddea\ud83c\udded",fitzpatrick_scale:!1,category:"flags"},yemen:{keywords:["ye","flag","nation","country","banner"],char:"\ud83c\uddfe\ud83c\uddea",fitzpatrick_scale:!1,category:"flags"},zambia:{keywords:["zm","flag","nation","country","banner"],char:"\ud83c\uddff\ud83c\uddf2",fitzpatrick_scale:!1,category:"flags"},zimbabwe:{keywords:["zw","flag","nation","country","banner"],char:"\ud83c\uddff\ud83c\uddfc",fitzpatrick_scale:!1,category:"flags"},united_nations:{keywords:["un","flag","banner"],char:"\ud83c\uddfa\ud83c\uddf3",fitzpatrick_scale:!1,category:"flags"},pirate_flag:{keywords:["skull","crossbones","flag","banner"],char:"\ud83c\udff4\u200d\u2620\ufe0f",fitzpatrick_scale:!1,category:"flags"}}); \ No newline at end of file diff --git a/public/static/js/tinymce5/plugins/emoticons/plugin.min.js b/public/static/js/tinymce5/plugins/emoticons/plugin.min.js new file mode 100755 index 0000000..a52cfed --- /dev/null +++ b/public/static/js/tinymce5/plugins/emoticons/plugin.min.js @@ -0,0 +1,9 @@ +/** + * Copyright (c) Tiny Technologies, Inc. All rights reserved. + * Licensed under the LGPL or a commercial license. + * For LGPL see License.txt in the project root for license information. + * For commercial licenses see https://www.tiny.cloud/ + * + * Version: 5.10.3 (2022-02-09) + */ +!function(){"use strict";function r(){}function i(t){return function(){return t}}function t(t){return t}function n(){return c}var m,e=tinymce.util.Tools.resolve("tinymce.PluginManager"),l=i(!1),a=i(!(m=null)),c={fold:function(t,n){return t()},isSome:l,isNone:a,getOr:t,getOrThunk:o,getOrDie:function(t){throw new Error(t||"error: getOrDie called on none.")},getOrNull:i(null),getOrUndefined:i(void 0),or:t,orThunk:o,map:n,each:r,bind:n,exists:l,forall:a,filter:function(){return c},toArray:function(){return[]},toString:i("none()")};function o(t){return t()}function g(t){var n=t;return{get:function(){return n},set:function(t){n=t}}}function d(t,n){for(var e=k(t),o=0,r=e.length;o=(a="Could not load emoticons

    "}]},buttons:[{type:"cancel",text:"Close",primary:!0}],initialData:{pattern:"",results:[]}}),f.focus(S),f.unblock()}))}function b(t){t.on("PreInit",function(){t.parser.addAttributeFilter("data-emoticon",function(t){!function(t){for(var n,e=0,o=t.length;e"),(r=c.getAll("title")[0])&&r.firstChild&&(s.title=r.firstChild.value),w.each(c.getAll("meta"),function(e){var t,n=e.attr("name"),l=e.attr("http-equiv");n?s[n.toLowerCase()]=e.attr("content"):"Content-Type"===l&&(t=/charset\s*=\s*(.*)\s*/gi.exec(e.attr("content")))&&(s.docencoding=t[1])}),(r=c.getAll("html")[0])&&(s.langcode=d(r,"lang")||d(r,"xml:lang")),s.stylesheets=[],w.each(c.getAll("link"),function(e){"stylesheet"===e.attr("rel")&&s.stylesheets.push(e.attr("href"))}),(r=c.getAll("body")[0])&&(s.langdir=d(r,"dir"),s.style=d(r,"style"),s.visited_color=d(r,"vlink"),s.link_color=d(r,"link"),s.active_color=d(r,"alink")),o=s,e=g(g({},{title:"",keywords:"",description:"",robots:"",author:"",docencoding:""}),o),l.windowManager.open({title:"Metadata and Document Properties",size:"normal",body:{type:"panel",items:[{name:"title",type:"input",label:"Title"},{name:"keywords",type:"input",label:"Keywords"},{name:"description",type:"input",label:"Description"},{name:"robots",type:"input",label:"Robots"},{name:"author",type:"input",label:"Author"},{name:"docencoding",type:"input",label:"Encoding"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:e,onSubmit:function(e){var t=e.getData(),n=function(e,o,t){function n(e,t,n){e.attr(t,n||void 0)}function r(e){s.firstChild?s.insert(e,s.firstChild):s.append(e)}var a,l,i=e.dom,c=C(e,t),s=c.getAll("head")[0];s||(a=c.getAll("html")[0],s=new f("head",1),a.firstChild?a.insert(s,a.firstChild,!0):a.append(s)),a=c.firstChild,o.xml_pi?(l='version="1.0"',o.docencoding&&(l+=' encoding="'+o.docencoding+'"'),7!==a.type&&(a=new f("xml",7),c.insert(a,c.firstChild,!0)),a.value=l):a&&7===a.type&&a.remove(),a=c.getAll("#doctype")[0],o.doctype?(a||(a=new f("#doctype",10),o.xml_pi?c.insert(a,c.firstChild):r(a)),a.value=o.doctype.substring(9,o.doctype.length-1)):a&&a.remove(),a=null,w.each(c.getAll("meta"),function(e){"Content-Type"===e.attr("http-equiv")&&(a=e)}),o.docencoding?(a||((a=new f("meta",1)).attr("http-equiv","Content-Type"),a.shortEnded=!0,r(a)),a.attr("content","text/html; charset="+o.docencoding)):a&&a.remove(),a=c.getAll("title")[0],o.title?(a?a.empty():r(a=new f("title",1)),a.append(new f("#text",3)).value=o.title):a&&a.remove(),w.each("keywords,description,author,copyright,robots".split(","),function(e){for(var t,n=c.getAll("meta"),l=o[e],i=0;i"))}(l,w.extend(o,t),i.get());i.set(n),e.close()}})})}function A(e){return e.replace(/<\/?[A-Z]+/g,function(e){return e.toLowerCase()})}function s(e,t,n,l){var i,o,r,a,c,s,d,u,m,g,f,p,h,y="",v=e.dom;l.selection||(a=e.getParam("protect"),c=l.content,w.each(a,function(e){c=c.replace(e,function(e){return"\x3c!--mce:protected "+escape(e)+"--\x3e"})}),r=c,"raw"===l.format&&t.get()||l.source_view&&_(e)||(-1!==(i=(r=(r=0!==r.length||l.source_view?r:w.trim(t.get())+"\n"+w.trim(r)+"\n"+w.trim(n.get())).replace(/<(\/?)BODY/gi,"<$1body")).indexOf("",i),t.set(A(r.substring(0,i+1))),-1===(o=r.indexOf("\n'),p+=g.getParam("fullpage_default_doctype",""),p+="\n\n\n",(f=g.getParam("fullpage_default_title"))&&(p+=""+f+"\n"),(f=b(g))&&(p+='\n'),(f=x(g))&&(h+="font-family: "+f+";"),(f=k(g))&&(h+="font-size: "+f+";"),(f=g.getParam("fullpage_default_text_color"))&&(h+="color: "+f+";"),p+="\n\n")),n.set("\n\n")),s=C(e,t.get()),P(s.getAll("style"),function(e){e.firstChild&&(y+=e.firstChild.value)}),(d=s.getAll("body")[0])&&v.setAttribs(e.getBody(),{style:d.attr("style")||"",dir:d.attr("dir")||"",vLink:d.attr("vlink")||"",link:d.attr("link")||"",aLink:d.attr("alink")||""}),v.remove("fullpage_styles"),u=e.getDoc().getElementsByTagName("head")[0],y&&v.add(u,"style",{id:"fullpage_styles"}).appendChild(document.createTextNode(y)),m={},w.each(u.getElementsByTagName("link"),function(e){"stylesheet"===e.rel&&e.getAttribute("data-mce-fullpage")&&(m[e.href]=e)}),w.each(s.getAll("link"),function(e){var t=e.attr("href");if(!t)return!0;m[t]||"stylesheet"!==e.attr("rel")||v.add(u,"link",{rel:"stylesheet",text:"text/css",href:t,"data-mce-fullpage":"1"}),delete m[t]}),w.each(m,function(e){e.parentNode.removeChild(e)})))}var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),g=function(){return(g=Object.assign||function(e){for(var t,n=1,l=arguments.length;n/g,function(e,t){return unescape(t)}))})})}(); \ No newline at end of file diff --git a/public/static/js/tinymce5/plugins/fullscreen/plugin.min.js b/public/static/js/tinymce5/plugins/fullscreen/plugin.min.js new file mode 100755 index 0000000..9186bcc --- /dev/null +++ b/public/static/js/tinymce5/plugins/fullscreen/plugin.min.js @@ -0,0 +1,9 @@ +/** + * Copyright (c) Tiny Technologies, Inc. All rights reserved. + * Licensed under the LGPL or a commercial license. + * For LGPL see License.txt in the project root for license information. + * For commercial licenses see https://www.tiny.cloud/ + * + * Version: 5.10.3 (2022-02-09) + */ +!function(){"use strict";function a(e){var n=e;return{get:function(){return n},set:function(e){n=e}}}function e(t){return function(e){return r=typeof(n=e),(null===n?"null":"object"==r&&(Array.prototype.isPrototypeOf(n)||n.constructor&&"Array"===n.constructor.name)?"array":"object"==r&&(String.prototype.isPrototypeOf(n)||n.constructor&&"String"===n.constructor.name)?"string":r)===t;var n,r}}function n(n){return function(e){return typeof e===n}}function c(e){return!(null==e)}function s(){}function y(e){return function(){return e}}function r(e){return e}var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),l=e("string"),d=e("array"),o=n("boolean"),h=n("function"),i=n("number");function u(){return m}var v=y(!1),f=y(!0),m={fold:function(e,n){return e()},isSome:v,isNone:f,getOr:r,getOrThunk:g,getOrDie:function(e){throw new Error(e||"error: getOrDie called on none.")},getOrNull:y(null),getOrUndefined:y(void 0),or:r,orThunk:g,map:u,each:s,bind:u,exists:v,forall:f,filter:function(){return m},toArray:function(){return[]},toString:y("none()")};function g(e){return e()}function p(e){function n(){return r.get().each(e)}var r=a(A.none());return{clear:function(){n(),r.set(A.none())},isSet:function(){return r.get().isSome()},get:function(){return r.get()},set:function(e){n(),r.set(A.some(e))}}}function w(){return p(function(e){return e.unbind()})}function C(e,n){for(var r=e.length,t=new Array(r),o=0;o'+e.name+""}var t,o,n,i,r,s,l,c;return{name:"plugins",title:"Plugins",items:[{type:"htmlpanel",presets:"document",html:[null==e?"":'
    '+(s=b((i=w((n=o=e).plugins),void 0===(r=n.getParam("forced_plugins"))?i:m(i,function(e){return!(-1"+(t=o,n=e,function(e,t,n){for(var a=0,o=e.length;a";var t,n}),l=s.length,c=s.join(""),"

    "+T.translate(["Plugins installed ({0}):",l])+"

      "+c+"
    ")+"
    ",(t=b(m(d,function(e){var t=e.key,n=e.type;return"autocorrect"!==t&&"premium"===n}),function(e){return"
  • "+T.translate(e.name)+"
  • "}).join(""),'

    '+T.translate("Premium plugins:")+"

    ")].join("")}]}}function l(d,y){return function(){var e,t,n,a,o,i,r,s,l,c,u,m=(e=d,t=y,r={name:"shortcuts",title:"Handy Shortcuts",items:[{type:"table",header:["Action","Shortcut"],cells:b(x,function(e){var t=b(e.shortcuts,f).join(" or ");return[e.action,t]})}]},s={name:"keyboardnav",title:"Keyboard Navigation",items:[{type:"htmlpanel",presets:"document",html:"

    Editor UI keyboard navigation

    \n\n

    Activating keyboard navigation

    \n\n

    The sections of the outer UI of the editor - the menubar, toolbar, sidebar and footer - are all keyboard navigable. As such, there are multiple ways to activate keyboard navigation:

    \n
      \n
    • Focus the menubar: Alt + F9 (Windows) or ⌥F9 (MacOS)
    • \n
    • Focus the toolbar: Alt + F10 (Windows) or ⌥F10 (MacOS)
    • \n
    • Focus the footer: Alt + F11 (Windows) or ⌥F11 (MacOS)
    • \n
    \n\n

    Focusing the menubar or toolbar will start keyboard navigation at the first item in the menubar or toolbar, which will be highlighted with a gray background. Focusing the footer will start keyboard navigation at the first item in the element path, which will be highlighted with an underline.

    \n\n

    Moving between UI sections

    \n\n

    When keyboard navigation is active, pressing tab will move the focus to the next major section of the UI, where applicable. These sections are:

    \n
      \n
    • the menubar
    • \n
    • each group of the toolbar
    • \n
    • the sidebar
    • \n
    • the element path in the footer
    • \n
    • the wordcount toggle button in the footer
    • \n
    • the branding link in the footer
    • \n
    • the editor resize handle in the footer
    • \n
    \n\n

    Pressing shift + tab will move backwards through the same sections, except when moving from the footer to the toolbar. Focusing the element path then pressing shift + tab will move focus to the first toolbar group, not the last.

    \n\n

    Moving within UI sections

    \n\n

    Keyboard navigation within UI sections can usually be achieved using the left and right arrow keys. This includes:

    \n
      \n
    • moving between menus in the menubar
    • \n
    • moving between buttons in a toolbar group
    • \n
    • moving between items in the element path
    • \n
    \n\n

    In all these UI sections, keyboard navigation will cycle within the section. For example, focusing the last button in a toolbar group then pressing right arrow will move focus to the first item in the same toolbar group.

    \n\n

    Executing buttons

    \n\n

    To execute a button, navigate the selection to the desired button and hit space or enter.

    \n\n

    Opening, navigating and closing menus

    \n\n

    When focusing a menubar button or a toolbar button with a menu, pressing space, enter or down arrow will open the menu. When the menu opens the first item will be selected. To move up or down the menu, press the up or down arrow key respectively. This is the same for submenus, which can also be opened and closed using the left and right arrow keys.

    \n\n

    To close any active menu, hit the escape key. When a menu is closed the selection will be restored to its previous selection. This also works for closing submenus.

    \n\n

    Context toolbars and menus

    \n\n

    To focus an open context toolbar such as the table context toolbar, press Ctrl + F9 (Windows) or ⌃F9 (MacOS).

    \n\n

    Context toolbar navigation is the same as toolbar navigation, and context menu navigation is the same as standard menu navigation.

    \n\n

    Dialog navigation

    \n\n

    There are two types of dialog UIs in TinyMCE: tabbed dialogs and non-tabbed dialogs.

    \n\n

    When a non-tabbed dialog is opened, the first interactive component in the dialog will be focused. Users can navigate between interactive components by pressing tab. This includes any footer buttons. Navigation will cycle back to the first dialog component if tab is pressed while focusing the last component in the dialog. Pressing shift + tab will navigate backwards.

    \n\n

    When a tabbed dialog is opened, the first button in the tab menu is focused. Pressing tab will navigate to the first interactive component in that tab, and will cycle through the tab\u2019s components, the footer buttons, then back to the tab button. To switch to another tab, focus the tab button for the current tab, then use the arrow keys to cycle through the tab buttons.

    "}]},l=k(e),a=C.majorVersion,o=C.minorVersion,i=0===a.indexOf("@")?"X.X.X":a+"."+o,c={name:"versions",title:"Version",items:[{type:"htmlpanel",html:"

    "+T.translate(["You are using {0}",'TinyMCE '+i+""])+"

    ",presets:"document"}]},u=g(((n={})[r.name]=r,n[s.name]=s,n[l.name]=l,n[c.name]=c,n),t.get()),v.from(e.getParam("help_tabs")).fold(function(){return-1!==(n=(t=w(e=u)).indexOf("versions"))&&(t.splice(n,1),t.push("versions")),{tabs:e,names:t};var e,t,n},function(e){return t=u,n={},a=b(e,function(e){return"string"==typeof e?(A(t,e)&&(n[e]=t[e]),e):(n[e.name]=e).name}),{tabs:n,names:a};var t,n,a})),h=m.tabs,p=function(e){for(var t=[],n=function(e){t.push(e)},a=0;a")}),(t=n).ui.registry.addButton("hr",{icon:"horizontal-rule",tooltip:"Horizontal line",onAction:e}),t.ui.registry.addMenuItem("hr",{icon:"horizontal-rule",text:"Horizontal line",onAction:e})})}(); \ No newline at end of file diff --git a/public/static/js/tinymce5/plugins/image/plugin.min.js b/public/static/js/tinymce5/plugins/image/plugin.min.js new file mode 100755 index 0000000..46ed64b --- /dev/null +++ b/public/static/js/tinymce5/plugins/image/plugin.min.js @@ -0,0 +1,9 @@ +/** + * Copyright (c) Tiny Technologies, Inc. All rights reserved. + * Licensed under the LGPL or a commercial license. + * For LGPL see License.txt in the project root for license information. + * For commercial licenses see https://www.tiny.cloud/ + * + * Version: 5.10.3 (2022-02-09) + */ +!function(){"use strict";function e(r){return function(e){return n=typeof(t=e),(null===t?"null":"object"==n&&(Array.prototype.isPrototypeOf(t)||t.constructor&&"Array"===t.constructor.name)?"array":"object"==n&&(String.prototype.isPrototypeOf(t)||t.constructor&&"String"===t.constructor.name)?"string":n)===r;var t,n}}function t(t){return function(e){return typeof e===t}}function D(e){return!(null==e)}function l(){}function a(e){return function(){return e}}function n(e){return e}function r(){return g}var i,o=tinymce.util.Tools.resolve("tinymce.PluginManager"),v=function(){return(v=Object.assign||function(e){for(var t,n=1,r=arguments.length;n h1\" instead of mammoth.styleMapping(\"p[style-name='Title'] => h1\")");}},{"./document-to-html":3,"./docx/docx-reader":9,"./docx/style-map":14,"./images":20,"./options-reader":22,"./results":24,"./style-reader":25,"./transforms":29,"./underline":30,"./unzip":2,underscore:153}],22:[function(x,W,D){function n(l){return l?m.isString(l)?l.split("\n").map(function(a){return a.trim()}).filter(function(a){return""!== + a&&"#"!==a.charAt(0)}):l:[]}D.readOptions=function(l){l=l||{};return m.extend({},b,l,{customStyleMap:n(l.styleMap),readStyleMap:function(){var a=this.customStyleMap;this.includeEmbeddedStyleMap&&(a=a.concat(n(this.embeddedStyleMap)));this.includeDefaultStyleMap&&(a=a.concat(g));return a}})};var m=x("underscore"),g=D._defaultStyleMap="p.Heading1 => h1:fresh;p.Heading2 => h2:fresh;p.Heading3 => h3:fresh;p.Heading4 => h4:fresh;p.Heading5 => h5:fresh;p.Heading6 => h6:fresh;p[style-name='Heading 1'] => h1:fresh;p[style-name='Heading 2'] => h2:fresh;p[style-name='Heading 3'] => h3:fresh;p[style-name='Heading 4'] => h4:fresh;p[style-name='Heading 5'] => h5:fresh;p[style-name='Heading 6'] => h6:fresh;p[style-name='heading 1'] => h1:fresh;p[style-name='heading 2'] => h2:fresh;p[style-name='heading 3'] => h3:fresh;p[style-name='heading 4'] => h4:fresh;p[style-name='heading 5'] => h5:fresh;p[style-name='heading 6'] => h6:fresh;r[style-name='Strong'] => strong;p[style-name='footnote text'] => p:fresh;r[style-name='footnote reference'] =>;p[style-name='endnote text'] => p:fresh;r[style-name='endnote reference'] =>;p[style-name='annotation text'] => p:fresh;r[style-name='annotation reference'] =>;p[style-name='Footnote'] => p:fresh;r[style-name='Footnote anchor'] =>;p[style-name='Endnote'] => p:fresh;r[style-name='Endnote anchor'] =>;p:unordered-list(1) => ul > li:fresh;p:unordered-list(2) => ul|ol > li > ul > li:fresh;p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh;p:unordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh;p:unordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh;p:ordered-list(1) => ol > li:fresh;p:ordered-list(2) => ul|ol > li > ol > li:fresh;p:ordered-list(3) => ul|ol > li > ul|ol > li > ol > li:fresh;p:ordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh;p:ordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh;r[style-name='Hyperlink'] =>;p[style-name='Normal'] => p:fresh".split(";"), + b=D._standardOptions={transformDocument:function(l){return l},includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0}},{underscore:153}],23:[function(x,W,D){var n=x("underscore"),m=x("bluebird/js/release/promise")();D.defer=function(){var g,b,l=new m.Promise(function(a,c){g=a;b=c});return{resolve:g,reject:b,promise:l}};D.when=m.resolve;D.resolve=m.resolve;D.all=m.all;D.props=m.props;D.reject=m.reject;D.promisify=m.promisify;D.mapSeries=m.mapSeries;D.attempt=m.attempt;D.nfcall=function(g){var b=Array.prototype.slice.call(arguments, + 1);return m.promisify(g).apply(null,b)};m.prototype.fail=m.prototype.caught;m.prototype.also=function(g){return this.then(function(b){b=n.extend({},b,g(b));return m.props(b)})}},{"bluebird/js/release/promise":60,underscore:153}],24:[function(x,W,D){function n(l,a){this.value=l;this.messages=a||[]}function m(l){var a=[];b.flatten(b.pluck(l,"messages"),!0).forEach(function(c){void 0===b.find(a,g.bind(null,c))&&a.push(c)});return a}function g(l,a){return l.type===a.type&&l.message===a.message}var b= + x("underscore");D.Result=n;D.success=function(l){return new n(l,[])};D.warning=function(l){return{type:"warning",message:l}};D.error=function(l){return{type:"error",message:l.message,error:l}};n.prototype.map=function(l){return new n(l(this.value),this.messages)};n.prototype.flatMap=function(l){l=l(this.value);return new n(l.value,m([this,l]))};n.prototype.flatMapThen=function(l){var a=this;return l(this.value).then(function(c){return new n(c.value,m([a,c]))})};n.combine=function(l){var a=b.flatten(b.pluck(l, + "value"));l=m(l);return new n(a,l)}},{underscore:153}],25:[function(x,W,D){function n(){function f(R){R=c.rules.firstOf.apply(c.rules.firstOf,["matcher suffix"].concat(R));R=c.rules.zeroOrMore(R);return c.rules.then(R,function(Q){var B={};Q.forEach(function(H){a.extend(B,H)});return B})}var N=c.rules.sequence,T=function(R,Q){return c.rules.then(c.rules.token("identifier",R),function(){return Q})},q=T("p",t.paragraph),F=T("r",t.run);q=c.rules.firstOf("p or r or table",q,F);F=c.rules.then(z,function(R){return{styleId:R}}); + var G=c.rules.firstOf("style name matcher",c.rules.then(c.rules.sequence(c.rules.tokenOfType("equals"),c.rules.sequence.cut(),c.rules.sequence.capture(U)).head(),function(R){return{styleName:t.equalTo(R)}}),c.rules.then(c.rules.sequence(c.rules.tokenOfType("startsWith"),c.rules.sequence.cut(),c.rules.sequence.capture(U)).head(),function(R){return{styleName:t.startsWith(R)}}));G=c.rules.sequence(c.rules.tokenOfType("open-square-bracket"),c.rules.sequence.cut(),c.rules.token("identifier","style-name"), + c.rules.sequence.capture(G),c.rules.tokenOfType("close-square-bracket")).head();var k=c.rules.firstOf("list type",T("ordered-list",{isOrdered:!0}),T("unordered-list",{isOrdered:!1}));k=N(c.rules.tokenOfType("colon"),N.capture(k),N.cut(),c.rules.tokenOfType("open-paren"),N.capture(K),c.rules.tokenOfType("close-paren")).map(function(R,Q){return{list:{isOrdered:R.isOrdered,levelIndex:Q-1}}});q=N(N.capture(q),N.capture(f([F,G,k]))).map(function(R,Q){return R(Q)});F=N(c.rules.token("identifier","table"), + N.capture(f([F,G]))).map(function(R){return t.table(R)});G=T("b",t.bold);k=T("i",t.italic);var J=T("u",t.underline),I=T("strike",t.strikethrough),S=T("small-caps",t.smallCaps);T=T("comment-reference",t.commentReference);N=N(c.rules.token("identifier","br"),N.cut(),c.rules.tokenOfType("open-square-bracket"),c.rules.token("identifier","type"),c.rules.tokenOfType("equals"),N.capture(U),c.rules.tokenOfType("close-square-bracket")).map(function(R){switch(R){case "line":return t.lineBreak;case "page":return t.pageBreak; + case "column":return t.columnBreak}});return c.rules.firstOf("element type",q,F,G,k,J,I,S,T,N)}function m(){var f=c.rules.sequence.capture,N=c.rules.tokenOfType("whitespace"),T=c.rules.then(c.rules.optional(c.rules.sequence(c.rules.tokenOfType("colon"),c.rules.token("identifier","fresh"))),function(G){return G.map(function(){return!0}).valueOrElse(!1)}),q=c.rules.then(c.rules.optional(c.rules.sequence(c.rules.tokenOfType("colon"),c.rules.token("identifier","separator"),c.rules.tokenOfType("open-paren"), + f(U),c.rules.tokenOfType("close-paren")).head()),function(G){return G.valueOrElse("")}),F=c.rules.oneOrMoreWithSeparator(E,c.rules.tokenOfType("choice"));f=c.rules.sequence(f(F),f(c.rules.zeroOrMore(z)),f(T),f(q)).map(function(G,k,J,I){var S={},R={};0/},{name:"whitespace",regex:/\s+/},{name:"arrow",regex:/=>/},{name:"equals",regex:/=/},{name:"startsWith",regex:/\^=/},{name:"open-paren",regex:/\(/},{name:"close-paren",regex:/\)/}, + {name:"open-square-bracket",regex:/\[/},{name:"close-square-bracket",regex:/\]/},{name:"string",regex:new RegExp(m+"'")},{name:"unterminated-string",regex:new RegExp(m)},{name:"integer",regex:/([0-9]+)/},{name:"choice",regex:/\|/},{name:"bang",regex:/(!)/}])).tokenise(g)};var m="'((?:\\\\.|[^'])*)"},{lop:107}],29:[function(x,W,D){function n(a,c){return m(function(t){return t.type===a?c(t):t})}function m(a){return function p(t){if(t.children){var w=l.map(t.children,p);t=l.extend(t,{children:w})}return a(t)}} + function g(a){var c=[];b(a,function(t){c.push(t)});return c}function b(a,c){a.children&&a.children.forEach(function(t){b(t,c);c(t)})}var l=x("underscore");D.paragraph=function(a){return n("paragraph",a)};D.run=function(a){return n("run",a)};D._elements=m;D.getDescendantsOfType=function(a,c){return g(a).filter(function(t){return t.type===c})};D.getDescendants=g},{underscore:153}],30:[function(x,W,D){var n=x("./styles/html-paths"),m=x("./html");D.element=function(g){return function(b){return m.elementWithTag(n.element(g), + [b])}}},{"./html":18,"./styles/html-paths":27}],31:[function(x,W,D){function n(){function a(){r=!1;if(!w&&(0===p.length||l[p[p.length-1]])&&!c()){E._append("\n");for(var K=0;K/g,">"))}).join("")}var c=[];return{asString:function(){return c.join("")},open:function(t,p){p=a(p);c.push(g.format("<%s%s>",t,p))},close:function(t){c.push(g.format("",t))},text:function(t){c.push(t.replace(/&/g,"&").replace(//g,">"))},selfClosing:function(t, + p){p=a(p);c.push(g.format("<%s%s />",t,p))},_append:function(t){c.push(t)}}}var g=x("util"),b=x("underscore");D.writer=function(a){a=a||{};return a.prettyPrint?n():m()};var l={div:!0,p:!0,ul:!0,li:!0}},{underscore:153,util:157}],32:[function(x,W,D){var n=x("./html-writer"),m=x("./markdown-writer");D.writer=function(g){g=g||{};return"markdown"===g.outputFormat?m.writer():n.writer(g)}},{"./html-writer":31,"./markdown-writer":33}],33:[function(x,W,D){function n(a){return m(a,a)}function m(a,c){return function(){return{start:a, + end:c}}}function g(a){return function(c,t){return{start:t?"\n":"",end:t?"":"\n",list:{isOrdered:a.isOrdered,indent:t?t.indent+1:0,count:0}}}}var b=x("underscore"),l={p:m("","\n\n"),br:m(""," \n"),ul:g({isOrdered:!1}),ol:g({isOrdered:!0}),li:function(a,c,t){c=c||{indent:0,isOrdered:!1,count:0};c.count++;t.hasClosed=!1;a=c.isOrdered?c.count+".":"-";return{start:Array(c.indent+1).join("\t")+a+" ",end:function(){if(!t.hasClosed)return t.hasClosed=!0,"\n"}}},strong:n("__"),em:n("*"),a:function(a){return(a= + a.href||"")?{start:"[",end:"]("+a+")",anchorPosition:"before"}:{}},img:function(a){var c=a.src||"";a=a.alt||"";return c||a?{start:"!["+a+"]("+c+")"}:{}}};(function(){for(var a=1;6>=a;a++)l["h"+a]=m(Array(a+1).join("#")+" ","\n\n")})();D.writer=function(){function a(K,U){U=U||{};K=(l[K]||function(){return{}})(U,r,E);w.push({end:K.end,list:r});K.list&&(r=K.list);var O="before"===K.anchorPosition;O&&c(U);p.push(K.start||"");O||c(U)}function c(K){K.id&&p.push('')}function t(K){K= + w.pop();r=K.list;K=b.isFunction(K.end)?K.end():K.end;p.push(K||"")}var p=[],w=[],r=null,E={};return{asString:function(){return p.join("")},open:a,close:t,text:function(K){p.push(K.replace(/\\/g,"\\\\").replace(/([`\*_\{\}\[\]\(\)#\+\-\.!])/g,"\\$1"))},selfClosing:function(K,U){a(K,U);t(K)}}}},{underscore:153}],34:[function(x,W,D){W=x("./nodes");D.Element=W.Element;D.element=W.element;D.text=W.text;D.readString=x("./reader").readString;D.writeString=x("./writer").writeString},{"./nodes":35,"./reader":36, + "./writer":37}],35:[function(x,W,D){function n(l,a,c){this.type="element";this.name=l;this.attributes=a||{};this.children=c||[]}var m=x("underscore");D.Element=n;D.element=function(l,a,c){return new n(l,a,c)};D.text=function(l){return{type:"text",value:l}};var g={first:function(){return null},firstOrEmpty:function(){return g},attributes:{}};n.prototype.first=function(l){return m.find(this.children,function(a){return a.name===l})};n.prototype.firstOrEmpty=function(l){return this.first(l)||g};n.prototype.getElementsByTagName= + function(l){var a=m.filter(this.children,function(c){return c.name===l});return m.extend(a,b)};n.prototype.text=function(){if(0===this.children.length)return"";if(1!==this.children.length||"text"!==this.children[0].type)throw Error("Not implemented");return this.children[0].value};var b={getElementsByTagName:function(l){return m.extend(m.flatten(this.map(function(a){return a.getElementsByTagName(l)},!0)),b)}}},{underscore:153}],36:[function(x,W,D){function n(c,t,p){return b.reduce(c,function(w,r, + E){var K=p(r,E,c);w[K]=t(r,E,c);return w},{})}var m=x("../promises"),g=x("sax"),b=x("underscore"),l=x("./nodes"),a=l.Element;D.readString=function(c,t){function p(z){if(z.uri){var M=t[z.uri];return(M?M+":":"{"+z.uri+"}")+z.local}return z.local}t=t||{};var w=!1,r=g.parser(!0,{xmlns:!0,position:!1}),E={children:[]},K=E,U=[],O=m.defer();r.onopentag=function(z){var M=n(z.attributes,function(f){return f.value},p);z=new a(p(z),M);K.children.push(z);U.push(K);K=z};r.onclosetag=function(z){K=U.pop()};r.ontext= + function(z){K!==E&&K.children.push(l.text(z))};r.onend=function(){w||(w=!0,O.resolve(E.children[0]))};r.onerror=function(z){w||(w=!0,O.reject(z))};r.write(c).close();return O.promise}},{"../promises":23,"./nodes":35,sax:150,underscore:153}],37:[function(x,W,D){function n(b,l){b.text(l.value)}var m=x("underscore"),g=x("xmlbuilder");D.writeString=function(b,l){function a(p){var w=/^\{(.*)\}(.*)$/.exec(p);return w?(p=c[w[1]],p+(""===p?"":":")+w[2]):p}var c=m.invert(l),t={element:function(p,w){var r= + p.element(a(w.name),w.attributes);w.children.forEach(function(E){t[E.type](r,E)})},text:n};return function(p){var w=g.create(a(p.name),{version:"1.0",encoding:"UTF-8",standalone:!0});m.forEach(l,function(r,E){w.attribute("xmlns"+(""===E?"":":"+E),r)});p.children.forEach(function(r){t[r.type](w,r)});return w.end()}(b)}},{underscore:153,xmlbuilder:179}],38:[function(x,W,D){(function(n){var m=x("jszip"),g=x("./promises");D.openArrayBuffer=function(b){var l=new m(b);return{exists:function(a){return null!== + l.file(a)},read:function(a,c){a=l.file(a).asUint8Array();a=new n(a);return c?g.when(a.toString(c)):g.when(a)},write:function(a,c){l.file(a,c)},toBuffer:function(){return l.generate({type:"nodebuffer"})}}};D.splitPath=function(b){var l=b.lastIndexOf("/");return-1===l?{dirname:"",basename:b}:{dirname:b.substring(0,l),basename:b.substring(l+1)}};D.joinPath=function(){var b=[];Array.prototype.filter.call(arguments,function(l){return l}).forEach(function(l){/^\//.test(l)?b=[l]:b.push(l)});return b.join("/")}}).call(this, + x("buffer").Buffer)},{"./promises":23,buffer:77,jszip:92}],39:[function(x,W,D){function n(a){var c=a.length;if(0>18&63]+g[c>>12&63]+g[c>>6&63]+g[c&63]);return p.join("")}D.byteLength=function(a){return 3*a.length/4-n(a)};D.toByteArray=function(a){var c=a.length;var t=n(a);var p=new l(3*c/4-t);var w=0>16&255;p[r++]=E>>8&255;p[r++]=E&255}2===t?(E=b[a.charCodeAt(c)]<<2|b[a.charCodeAt(c+1)]>>4,p[r++]=E&255):1===t&&(E=b[a.charCodeAt(c)]<<10|b[a.charCodeAt(c+1)]<<4|b[a.charCodeAt(c+2)]>>2,p[r++]=E>>8&255,p[r++]=E&255);return p};D.fromByteArray=function(a){for(var c=a.length,t=c%3,p="",w=[],r=0,E=c-t;rE?E:r+16383));1===t?(a=a[c-1],p+= + g[a>>2],p+=g[a<<4&63],p+="=="):2===t&&(a=(a[c-2]<<8)+a[c-1],p+=g[a>>10],p+=g[a>>4&63],p+=g[a<<2&63],p+="=");w.push(p);return w.join("")};var g=[],b=[],l="undefined"!==typeof Uint8Array?Uint8Array:Array;for(x=0;64>x;++x)g[x]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[x],b["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(x)]=x;b[45]=62;b[95]=63},{}],40:[function(x,W,D){W.exports=function(n){function m(b){b=new g(b);var l=b.promise();b.setHowMany(1); + b.setUnwrap();b.init();return l}var g=n._SomePromiseArray;n.any=function(b){return m(b)};n.prototype.any=function(){return m(this)}}},{}],41:[function(x,W,D){(function(n){function m(){this._isTickUsed=this._customScheduler=!1;this._lateQueue=new t(16);this._normalQueue=new t(16);this._haveDrainedQueues=!1;this._trampolineEnabled=!0;var w=this;this.drainQueues=function(){w._drainQueues()};this._schedule=c}function g(w,r,E){this._lateQueue.push(w,r,E);this._queueTick()}function b(w,r,E){this._normalQueue.push(w, + r,E);this._queueTick()}function l(w){this._normalQueue._pushOne(w);this._queueTick()}try{throw Error();}catch(w){var a=w}var c=x("./schedule"),t=x("./queue"),p=x("./util");m.prototype.setScheduler=function(w){var r=this._schedule;this._schedule=w;this._customScheduler=!0;return r};m.prototype.hasCustomScheduler=function(){return this._customScheduler};m.prototype.enableTrampoline=function(){this._trampolineEnabled=!0};m.prototype.disableTrampolineIfNecessary=function(){p.hasDevTools&&(this._trampolineEnabled= + !1)};m.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues};m.prototype.fatalError=function(w,r){r?(n.stderr.write("Fatal "+(w instanceof Error?w.stack:w)+"\n"),n.exit(2)):this.throwLater(w)};m.prototype.throwLater=function(w,r){1===arguments.length&&(r=w,w=function(){throw r;});if("undefined"!==typeof setTimeout)setTimeout(function(){w(r)},0);else try{this._schedule(function(){w(r)})}catch(E){throw Error("No async scheduler available\n\n See http://goo.gl/MqrFmX\n"); + }};p.hasDevTools?(m.prototype.invokeLater=function(w,r,E){this._trampolineEnabled?g.call(this,w,r,E):this._schedule(function(){setTimeout(function(){w.call(r,E)},100)})},m.prototype.invoke=function(w,r,E){this._trampolineEnabled?b.call(this,w,r,E):this._schedule(function(){w.call(r,E)})},m.prototype.settlePromises=function(w){this._trampolineEnabled?l.call(this,w):this._schedule(function(){w._settlePromises()})}):(m.prototype.invokeLater=g,m.prototype.invoke=b,m.prototype.settlePromises=l);m.prototype._drainQueue= + function(w){for(;0M&&(M=Math.max(0,M+z.length));return z[M]}var t=x("./util"),p=t.canEvaluate,w=t.isIdentifier,r=function(z){return(new Function("ensureMethod", + " \n return function(obj) { \n 'use strict' \n var len = this.length; \n ensureMethod(obj, 'methodName'); \n switch(len) { \n case 1: return obj.methodName(this[0]); \n case 2: return obj.methodName(this[0], this[1]); \n case 3: return obj.methodName(this[0], this[1], this[2]); \n case 0: return obj.methodName(); \n default: \n return obj.methodName.apply(obj, this); \n } \n }; \n ".replace(/methodName/g, + z)))(b)},E=function(z){return new Function("obj"," \n 'use strict'; \n return obj.propertyName; \n ".replace("propertyName",z))},K=function(z,M,f){var N=f[z];if("function"!==typeof N){if(!w(z))return null;N=M(z);f[z]=N;f[" size"]++;if(512M;++M)delete f[z[M]];f[" size"]=z.length-256}}return N}; + var U=function(z){return K(z,r,n)};var O=function(z){return K(z,E,m)};g.prototype.call=function(z){for(var M=arguments.length,f=Array(Math.max(M-1,0)),N=1;N=this._branchesRemainingToCancel};n.prototype._cancelBy=function(p){if(p===this)return this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0;this._branchHasCancelled();return this._enoughBranchesHaveCancelled()?(this._invokeOnCancel(),!0):!1};n.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&& + this._cancel()};n.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),t.invoke(this._cancelPromises,this,void 0))};n.prototype._cancelPromises=function(){0ba.length?ba:ba.substr(0,38)+"...";return"(<"+aa+">, no stack trace)"}function F(){return"function"===typeof la}function G(aa){if(aa=aa.match(ha))return{fileName:aa[1],line:parseInt(aa[2],10)}}function k(aa){this._parent=aa;this._promisesCreated=0;aa=this._length= + 1+(void 0===aa?0:aa._length);la(this,k);32aa)){var ba=[],ea={},da=0;for(aa=this;void 0!==aa;++da)ba.push(aa),aa=aa._parent; + aa=this._length=da;for(da=aa-1;0<=da;--da){var ia=ba[da].stack;void 0===ea[ia]&&(ea[ia]=da)}for(da=0;daea||0>da||!ia||!ka||ia!==ka||ea>= + da||(fa=function(oa){return X.test(oa)?!0:(oa=G(oa))&&oa.fileName===ia&&ea<=oa.line&&oa.line<=da?!0:!1})}},warn:O,deprecated:function(aa,ba){aa+=" is deprecated and will be removed in a future version.";ba&&(aa+=" Use "+ba+" instead.");return O(aa)},CapturedTrace:k,fireDomEvent:L,fireGlobalEvent:V}}}).call(this,x("_process"))},{"./errors":50,"./util":74,_process:138}],48:[function(x,W,D){W.exports=function(n){function m(){return this.value}function g(){throw this.reason;}n.prototype["return"]=n.prototype.thenReturn= + function(b){b instanceof n&&b.suppressUnhandledRejections();return this._then(m,void 0,void 0,{value:b},void 0)};n.prototype["throw"]=n.prototype.thenThrow=function(b){return this._then(g,void 0,void 0,{reason:b},void 0)};n.prototype.catchThrow=function(b){if(1>=arguments.length)return this._then(void 0,g,void 0,{reason:b},void 0);var l=arguments[1];return this.caught(b,function(){throw l;})};n.prototype.catchReturn=function(b){if(1>=arguments.length)return b instanceof n&&b.suppressUnhandledRejections(), + this._then(void 0,m,void 0,{value:b},void 0);var l=arguments[1];l instanceof n&&l.suppressUnhandledRejections();return this.caught(b,function(){return l})}}},{}],49:[function(x,W,D){W.exports=function(n,m){function g(){return l(this)}var b=n.reduce,l=n.all;n.prototype.each=function(a){return b(this,a,m,0)._then(g,void 0,void 0,this,void 0)};n.prototype.mapSeries=function(a){return b(this,a,m,m)};n.each=function(a,c){return b(a,c,m,0)._then(g,void 0,void 0,a,void 0)};n.mapSeries=function(a,c){return b(a, + c,m,m)}}},{}],50:[function(x,W,D){function n(U,O){function z(M){if(!(this instanceof z))return new z(M);l(this,"message","string"===typeof M?M:O);l(this,"name",U);Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}b(z,Error);return z}function m(U){if(!(this instanceof m))return new m(U);l(this,"name","OperationalError");l(this,"message",U);this.cause=U;this.isOperational=!0;U instanceof Error?(l(this,"message",U.message),l(this,"stack",U.stack)):Error.captureStackTrace&& + Error.captureStackTrace(this,this.constructor)}D=x("./es5");var g=D.freeze;x=x("./util");var b=x.inherits,l=x.notEnumerableProp;x=n("Warning","warning");var a=n("CancellationError","cancellation error"),c=n("TimeoutError","timeout error"),t=n("AggregateError","aggregate error");try{var p=TypeError;var w=RangeError}catch(U){p=n("TypeError","type error"),w=n("RangeError","range error")}for(var r="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "), + E=0;EO;++O)E.push(r(O+1)),K.push(new Function("value","holder"," \n 'use strict'; \n holder.pIndex = value; \n holder.checkFulfillment(this); \n ".replace(/Index/g, + O+1))),U.push(new Function("promise","holder"," \n 'use strict'; \n holder.pIndex = promise; \n ".replace(/Index/g,O+1)));var z=function(M){this._reject(M)}}n.join=function(){var M=arguments.length-1;if(0=M&&t){var N=new n(b);N._captureStackTrace();f=new E[M-1](f);for(var T=K, + q=0;qO){if(z[-1*O-1]=U,1<=N&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(1<=N&&this._inFlight>=N)return z[O]=U,this._queue.push(O),!1;null!==f&&(f[O]=U);var T=this._promise,q=this._callback,F=T._boundValue();T._pushContext();U=r(q).call(F,U,O,M);q=T._popContext();a.checkForgottenReturns(U,q,null!==f?"Promise.filter":"Promise.map",T);if(U=== + E)return this._reject(U.e),!0;T=b(U,this._promise);if(T instanceof n){T=T._target();U=T._bitField;if(0===(U&50397184))return 1<=N&&this._inFlight++,z[O]=T,T._proxy(this,-1*(O+1)),!1;if(0!==(U&33554432))U=T._value();else return 0!==(U&16777216)?this._reject(T._reason()):this._cancel(),!0}z[O]=U}return++this._totalResolved>=M?(null!==f?this._filter(z,f):this._resolve(z),!0):!1};c.prototype._drainQueue=function(){for(var U=this._queue,O=this._limit,z=this._values;0>>16)){if(B=== + this)return B=c(),this._attachExtraTrace(B),this._reject(B);this._setFulfilled();this._rejectionHandler0=B;0<(H&65535)&&(0!==(H&134217728)?this._settlePromises():O.settlePromises(this))}};g.prototype._reject=function(B){var H=this._bitField;if(!((H&117506048)>>>16)){this._setRejected();this._fulfillmentHandler0=B;if(this._isFinal())return O.fatalError(B,r.isNode);0<(H&65535)?O.settlePromises(this):this._ensurePossibleRejectionHandled()}};g.prototype._fulfillPromises=function(B,H){for(var X=1;X=this._length?(this._resolve(this._values),!0):!1};c.prototype._promiseCancelled=function(){this._cancel();return!0};c.prototype._promiseRejected=function(w){this._totalResolved++;this._reject(w);return!0};c.prototype._resultCancelled=function(){if(!this._isResolved()){var w= + this._values;this._cancel();if(w instanceof n)w.cancel();else for(var r=0;r=G;--k)F.push(k);for(k=q+1;3>=k;++k)F.push(k);return F};var N=function(q,F,G,k,J,I){G=Math.max(0,("number"=== + typeof k.length?Math.max(Math.min(k.length,1024),0):0)-1);var S=f(G),R="string"===typeof q||F===t;q="string"===typeof q?"this != null ? this['"+q+"'] : fn":"fn";I="'use strict'; \n var ret = function (Parameters) { \n 'use strict'; \n var len = arguments.length; \n var promise = new Promise(INTERNAL); \n promise._captureStackTrace(); \n var nodeback = nodebackForPromise(promise, "+ + I+"); \n var ret; \n var callback = tryCatch([GetFunctionCode]); \n switch(len) { \n [CodeForSwitchCase] \n } \n if (ret === errorObj) { \n promise._rejectCallback(maybeWrapAsError(ret.e), true, true);\n } \n if (!promise._isFateSealed()) promise._setAsyncGuaranteed(); \n return promise; \n }; \n notEnumerableProp(ret, '__isPromisified__', true); \n return ret; \n ".replace("[CodeForSwitchCase]", + function(){for(var Q="",B=0;B=this._length){if(this._isMap){E=this._values;K=new w;for(var U=E.length/2|0,O=0;O>1};n.prototype.props=function(){return a(this)};n.props=function(E){return a(E)}}}, + {"./es5":51,"./util":74}],64:[function(x,W,D){function n(m){this._capacity=m;this._front=this._length=0}n.prototype._willBeOverCapacity=function(m){return this._capacity=this._length?(this._resolve(this._values),!0):!1};b.prototype._promiseFulfilled=function(a,c){var t=new l; + t._bitField=33554432;t._settledValueField=a;return this._promiseResolved(c,t)};b.prototype._promiseRejected=function(a,c){var t=new l;t._bitField=16777216;t._settledValueField=a;return this._promiseResolved(c,t)};n.settle=function(a){g.deprecated(".settle()",".reflect()");return(new b(a)).promise()};n.prototype.settle=function(){return n.settle(this)}}},{"./util":74}],69:[function(x,W,D){W.exports=function(n,m,g){function b(r){this.constructor$(r);this._howMany=0;this._initialized=this._unwrap=!1} + function l(r,E){if((E|0)!==E||0>E)return g("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");r=new b(r);var K=r.promise();r.setHowMany(E);r.init();return K}var a=x("./util"),c=x("./errors").RangeError,t=x("./errors").AggregateError,p=a.isArray,w={};a.inherits(b,m);b.prototype._init=function(){if(this._initialized)if(0===this._howMany)this._resolve([]);else{this._init$(void 0,-5);var r=p(this._values);!this._isResolved()&&r&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}}; + b.prototype.init=function(){this._initialized=!0;this._init()};b.prototype.setUnwrap=function(){this._unwrap=!0};b.prototype.howMany=function(){return this._howMany};b.prototype.setHowMany=function(r){this._howMany=r};b.prototype._promiseFulfilled=function(r){this._addFulfilled(r);return this._fulfilled()===this.howMany()?(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0):!1};b.prototype._promiseRejected=function(r){this._addRejected(r); + return this._checkOutcome()};b.prototype._promiseCancelled=function(){if(this._values instanceof n||null==this._values)return this._cancel();this._addRejected(w);return this._checkOutcome()};b.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var r=new t,E=this.length();E=G)return k._fulfill();var J=N[F++];var I=g(J);I!==J&&"function"===typeof J._isDisposable&&"function"===typeof J._getDisposer&&J._isDisposable()&& + I._setDisposable(J._getDisposer());J=I;if(J instanceof n&&J._isDisposable()){try{J=g(J._getDisposer().tryDispose(T),N.promise)}catch(S){return c(S)}if(J instanceof n)return J._then(q,c,null,null,null)}q()}var F=0,G=N.length,k=new n(l);q();return k}function p(N,T,q){this._data=N;this._promise=T;this._context=q}function w(N,T,q){this.constructor$(N,T,q)}function r(N){return p.isDisposer(N)?(this.resources[this.index]._setDisposable(N),N.promise()):N}function E(N){this.length=N;this.promise=null;this[N- + 1]=null}var K=x("./util"),U=x("./errors").TypeError,O=x("./util").inherits,z=K.errorObj,M=K.tryCatch,f={};p.prototype.data=function(){return this._data};p.prototype.promise=function(){return this._promise};p.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():f};p.prototype.tryDispose=function(N){var T=this.resource(),q=this._context;void 0!==q&&q._pushContext();N=T!==f?this.doDispose(T,N):null;void 0!==q&&q._popContext();this._promise._unsetDisposable();this._data= + null;return N};p.isDisposer=function(N){return null!=N&&"function"===typeof N.resource&&"function"===typeof N.tryDispose};O(w,p);w.prototype.doDispose=function(N,T){return this.data().call(N,N,T)};E.prototype._resultCancelled=function(){for(var N=this.length,T=0;TN)return m("you must pass at least 2 arguments to Promise.using");var T=arguments[N-1];if("function"!==typeof T)return m("expecting a function but got "+ + K.classString(T));var q=!0;if(2===N&&Array.isArray(arguments[0])){var F=arguments[0];N=F.length;q=!1}else F=arguments,N--;for(var G=new E(N),k=0;k + l)throw new RangeError("size is too large");var p=c;void 0===p&&(t=void 0,p=0);c=new g(a);if("string"===typeof p){t=new g(p,t);p=t.length;for(var w=-1;++wl)throw new RangeError("size is too large");return new g(a)};D.from=function(a,c,t){if("function"===typeof g.from&&(!n.Uint8Array||Uint8Array.from!== + g.from))return g.from(a,c,t);if("number"===typeof a)throw new TypeError('"value" argument must not be a number');if("string"===typeof a)return new g(a,c);if("undefined"!==typeof ArrayBuffer&&a instanceof ArrayBuffer){var p=c;if(1===arguments.length)return new g(a);"undefined"===typeof p&&(p=0);var w=t;"undefined"===typeof w&&(w=a.byteLength-p);if(p>=a.byteLength)throw new RangeError("'offset' is out of bounds");if(w>a.byteLength-p)throw new RangeError("'length' is out of bounds");return new g(a.slice(p, + p+w))}if(g.isBuffer(a))return p=new g(a.length),a.copy(p,0,0,a.length),p;if(a){if(Array.isArray(a)||"undefined"!==typeof ArrayBuffer&&a.buffer instanceof ArrayBuffer||"length"in a)return new g(a);if("Buffer"===a.type&&Array.isArray(a.data))return new g(a.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.");};D.allocUnsafeSlow=function(a){if("function"===typeof g.allocUnsafeSlow)return g.allocUnsafeSlow(a);if("number"!==typeof a)throw new TypeError("size must be a number"); + if(a>=l)throw new RangeError("size is too large");return new b(a)}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{buffer:77}],77:[function(x,W,D){(function(n){function m(){try{var u=new Uint8Array(1);u.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}};return 42===u.foo()&&"function"===typeof u.subarray&&0===u.subarray(1,1).byteLength}catch(d){return!1}}function g(u,d){if((b.TYPED_ARRAY_SUPPORT?2147483647:1073741823)< + d)throw new RangeError("Invalid typed array length");b.TYPED_ARRAY_SUPPORT?(u=new Uint8Array(d),u.__proto__=b.prototype):(null===u&&(u=new b(d)),u.length=d);return u}function b(u,d,A){if(!(b.TYPED_ARRAY_SUPPORT||this instanceof b))return new b(u,d,A);if("number"===typeof u){if("string"===typeof d)throw Error("If encoding is specified then the first argument must be a string");return c(this,u)}return l(this,u,d,A)}function l(u,d,A,h){if("number"===typeof d)throw new TypeError('"value" argument must not be a number'); + if("undefined"!==typeof ArrayBuffer&&d instanceof ArrayBuffer){d.byteLength;if(0>A||d.byteLengthu)throw new RangeError('"size" argument must not be negative');}function c(u,d){a(d);u=g(u,0>d?0:w(d)|0);if(!b.TYPED_ARRAY_SUPPORT)for(var A=0;Ad.length?0:w(d.length)|0;u=g(u,A);for(var h=0;h=(b.TYPED_ARRAY_SUPPORT?2147483647:1073741823))throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ + (b.TYPED_ARRAY_SUPPORT?2147483647:1073741823).toString(16)+" bytes");return u|0}function r(u,d){if(b.isBuffer(u))return u.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(u)||u instanceof ArrayBuffer))return u.byteLength;"string"!==typeof u&&(u=""+u);var A=u.length;if(0===A)return 0;for(var h=!1;;)switch(d){case "ascii":case "latin1":case "binary":return A;case "utf8":case "utf-8":case void 0:return J(u).length;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return 2* + A;case "hex":return A>>>1;case "base64":return R.toByteArray(k(u)).length;default:if(h)return J(u).length;d=(""+d).toLowerCase();h=!0}}function E(u,d,A){var h=!1;if(void 0===d||0>d)d=0;if(d>this.length)return"";if(void 0===A||A>this.length)A=this.length;if(0>=A)return"";A>>>=0;d>>>=0;if(A<=d)return"";for(u||(u="utf8");;)switch(u){case "hex":u=d;d=A;A=this.length;if(!u||0>u)u=0;if(!d||0>d||d>A)d=A;h="";for(A=u;Ah?"0"+h.toString(16):h.toString(16),h=u+h;return h;case "utf8":case "utf-8":return z(this, + d,A);case "ascii":u="";for(A=Math.min(this.length,A);dA&&(A=-2147483648);A=+A;isNaN(A)&&(A=v?0:u.length-1);0>A&&(A=u.length+A);if(A>=u.length){if(v)return-1;A=u.length-1}else if(0>A)if(v)A=0;else return-1;"string"===typeof d&&(d=b.from(d,h));if(b.isBuffer(d))return 0===d.length?-1:O(u,d,A,h,v);if("number"===typeof d)return d&=255,b.TYPED_ARRAY_SUPPORT&&"function"=== + typeof Uint8Array.prototype.indexOf?v?Uint8Array.prototype.indexOf.call(u,d,A):Uint8Array.prototype.lastIndexOf.call(u,d,A):O(u,[d],A,h,v);throw new TypeError("val must be string, number or Buffer");}function O(u,d,A,h,v){function P(L,V){return 1===e?L[V]:L.readUInt16BE(V*e)}var e=1,y=u.length,C=d.length;if(void 0!==h&&(h=String(h).toLowerCase(),"ucs2"===h||"ucs-2"===h||"utf16le"===h||"utf-16le"===h)){if(2>u.length||2>d.length)return-1;e=2;y/=2;C/=2;A/=2}if(v)for(h=-1;Ay&&(A=y-C);0<=A;A--){y=!0;for(h=0;hv&&(P=v);break;case 2:var y=u[d+1];128===(y&192)&&(v=(v&31)<<6|y&63,127v||57343v&&(P=v))}null===P?(P=65533,e=1):65535>>10&1023|55296),P=56320|P&1023);h.push(P);d+=e}u=h.length;if(u<=H)h=String.fromCharCode.apply(String,h);else{A="";for(d=0;du)throw new RangeError("offset is not uint"); + if(u+d>A)throw new RangeError("Trying to access beyond buffer length");}function f(u,d,A,h,v,P){if(!b.isBuffer(u))throw new TypeError('"buffer" argument must be a Buffer instance');if(d>v||du.length)throw new RangeError("Index out of range");}function N(u,d,A,h){0>d&&(d=65535+d+1);for(var v=0,P=Math.min(u.length-A,2);v>>8*(h?v:1-v)}function T(u,d,A,h){0>d&&(d=4294967295+d+1);for(var v=0,P=Math.min(u.length- + A,4);v>>8*(h?v:3-v)&255}function q(u,d,A,h,v,P){if(A+h>u.length)throw new RangeError("Index out of range");if(0>A)throw new RangeError("Index out of range");}function F(u,d,A,h,v){v||q(u,d,A,4,3.4028234663852886E38,-3.4028234663852886E38);Q.write(u,d,A,h,23,4);return A+4}function G(u,d,A,h,v){v||q(u,d,A,8,1.7976931348623157E308,-1.7976931348623157E308);Q.write(u,d,A,h,52,8);return A+8}function k(u){u=u.trim?u.trim():u.replace(/^\s+|\s+$/g,"");u=u.replace(X,"");if(2>u.length)return""; + for(;0!==u.length%4;)u+="=";return u}function J(u,d){d=d||Infinity;for(var A,h=u.length,v=null,P=[],e=0;eA){if(!v){if(56319A){-1<(d-=3)&&P.push(239,191,189);v=A;continue}A=(v-55296<<10|A-56320)+65536}else v&&-1<(d-=3)&&P.push(239,191,189);v=null;if(128>A){if(0>--d)break;P.push(A)}else if(2048>A){if(0>(d-=2))break;P.push(A>>6|192,A&63| + 128)}else if(65536>A){if(0>(d-=3))break;P.push(A>>12|224,A>>6&63|128,A&63|128)}else if(1114112>A){if(0>(d-=4))break;P.push(A>>18|240,A>>12&63|128,A>>6&63|128,A&63|128)}else throw Error("Invalid code point");}return P}function I(u){for(var d=[],A=0;A=d.length||v>=u.length);++v)d[v+A]=u[v];return v}var R=x("base64-js"),Q=x("ieee754"),B=x("isarray");D.Buffer=b;D.SlowBuffer=function(u){+u!=u&&(u=0);return b.alloc(+u)}; + D.INSPECT_MAX_BYTES=50;b.TYPED_ARRAY_SUPPORT=void 0!==n.TYPED_ARRAY_SUPPORT?n.TYPED_ARRAY_SUPPORT:m();D.kMaxLength=b.TYPED_ARRAY_SUPPORT?2147483647:1073741823;b.poolSize=8192;b._augment=function(u){u.__proto__=b.prototype;return u};b.from=function(u,d,A){return l(null,u,d,A)};b.TYPED_ARRAY_SUPPORT&&(b.prototype.__proto__=Uint8Array.prototype,b.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&b[Symbol.species]===b&&Object.defineProperty(b,Symbol.species,{value:null,configurable:!0})); + b.alloc=function(u,d,A){a(u);u=0>=u?g(null,u):void 0!==d?"string"===typeof A?g(null,u).fill(d,A):g(null,u).fill(d):g(null,u);return u};b.allocUnsafe=function(u){return c(null,u)};b.allocUnsafeSlow=function(u){return c(null,u)};b.isBuffer=function(u){return!(null==u||!u._isBuffer)};b.compare=function(u,d){if(!b.isBuffer(u)||!b.isBuffer(d))throw new TypeError("Arguments must be Buffers");if(u===d)return 0;for(var A=u.length,h=d.length,v=0,P=Math.min(A,h);vd&&(u+=" ... "));return""};b.prototype.compare=function(u,d,A,h,v){if(!b.isBuffer(u))throw new TypeError("Argument must be a Buffer");void 0===d&&(d=0);void 0===A&&(A=u?u.length:0);void 0===h&&(h=0);void 0===v&&(v=this.length);if(0>d||A>u.length||0>h||v>this.length)throw new RangeError("out of range index");if(h>=v&&d>=A)return 0;if(h>=v)return-1; + if(d>=A)return 1;d>>>=0;A>>>=0;h>>>=0;v>>>=0;if(this===u)return 0;var P=v-h,e=A-d,y=Math.min(P,e);h=this.slice(h,v);u=u.slice(d,A);for(d=0;dv)A=v;if(0A||0>d)||d>this.length)throw new RangeError("Attempt to write outside buffer bounds");h||(h="utf8");for(v=!1;;)switch(h){case "hex":a:{d=Number(d)||0;h=this.length-d;A?(A=Number(A),A>h&&(A=h)):A=h;h=u.length;if(0!==h%2)throw new TypeError("Invalid hex string"); + A>h/2&&(A=h/2);for(h=0;h(v-=2));++e){var y=h.charCodeAt(e);u=y>>8;y%=256;P.push(y);P.push(u)}return S(P, + this,d,A);default:if(v)throw new TypeError("Unknown encoding: "+h);h=(""+h).toLowerCase();v=!0}};b.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var H=4096;b.prototype.slice=function(u,d){var A=this.length;u=~~u;d=void 0===d?A:~~d;0>u?(u+=A,0>u&&(u=0)):u>A&&(u=A);0>d?(d+=A,0>d&&(d=0)):d>A&&(d=A);d=128*h&&(A-=Math.pow(2,8*d));return A};b.prototype.readIntBE=function(u,d,A){u|=0;d|=0;A||M(u, + d,this.length);A=d;for(var h=1,v=this[u+--A];0=128*h&&(v-=Math.pow(2,8*d));return v};b.prototype.readInt8=function(u,d){d||M(u,1,this.length);return this[u]&128?-1*(255-this[u]+1):this[u]};b.prototype.readInt16LE=function(u,d){d||M(u,2,this.length);u=this[u]|this[u+1]<<8;return u&32768?u|4294901760:u};b.prototype.readInt16BE=function(u,d){d||M(u,2,this.length);u=this[u+1]|this[u]<<8;return u&32768?u|4294901760:u};b.prototype.readInt32LE=function(u,d){d||M(u,4,this.length); + return this[u]|this[u+1]<<8|this[u+2]<<16|this[u+3]<<24};b.prototype.readInt32BE=function(u,d){d||M(u,4,this.length);return this[u]<<24|this[u+1]<<16|this[u+2]<<8|this[u+3]};b.prototype.readFloatLE=function(u,d){d||M(u,4,this.length);return Q.read(this,u,!0,23,4)};b.prototype.readFloatBE=function(u,d){d||M(u,4,this.length);return Q.read(this,u,!1,23,4)};b.prototype.readDoubleLE=function(u,d){d||M(u,8,this.length);return Q.read(this,u,!0,52,8)};b.prototype.readDoubleBE=function(u,d){d||M(u,8,this.length); + return Q.read(this,u,!1,52,8)};b.prototype.writeUIntLE=function(u,d,A,h){u=+u;d|=0;A|=0;h||f(this,u,d,A,Math.pow(2,8*A)-1,0);h=1;var v=0;for(this[d]=u&255;++v>>8):N(this,u,d,!0);return d+2};b.prototype.writeUInt16BE=function(u,d,A){u=+u;d|=0;A||f(this,u,d,2,65535,0);b.TYPED_ARRAY_SUPPORT?(this[d]=u>>>8,this[d+1]=u&255):N(this,u,d,!1);return d+2};b.prototype.writeUInt32LE=function(u,d,A){u=+u;d|=0;A||f(this,u,d,4,4294967295,0);b.TYPED_ARRAY_SUPPORT?(this[d+3]=u>>>24,this[d+2]=u>>>16,this[d+1]=u>>>8,this[d]=u&255): + T(this,u,d,!0);return d+4};b.prototype.writeUInt32BE=function(u,d,A){u=+u;d|=0;A||f(this,u,d,4,4294967295,0);b.TYPED_ARRAY_SUPPORT?(this[d]=u>>>24,this[d+1]=u>>>16,this[d+2]=u>>>8,this[d+3]=u&255):T(this,u,d,!1);return d+4};b.prototype.writeIntLE=function(u,d,A,h){u=+u;d|=0;h||(h=Math.pow(2,8*A-1),f(this,u,d,A,h-1,-h));h=0;var v=1,P=0;for(this[d]=u&255;++hu&&0===P&&0!==this[d+h-1]&&(P=1),this[d+h]=(u/v>>0)-P&255;return d+A};b.prototype.writeIntBE=function(u,d,A,h){u=+u;d|=0;h||(h= + Math.pow(2,8*A-1),f(this,u,d,A,h-1,-h));h=A-1;var v=1,P=0;for(this[d+h]=u&255;0<=--h&&(v*=256);)0>u&&0===P&&0!==this[d+h+1]&&(P=1),this[d+h]=(u/v>>0)-P&255;return d+A};b.prototype.writeInt8=function(u,d,A){u=+u;d|=0;A||f(this,u,d,1,127,-128);b.TYPED_ARRAY_SUPPORT||(u=Math.floor(u));0>u&&(u=255+u+1);this[d]=u&255;return d+1};b.prototype.writeInt16LE=function(u,d,A){u=+u;d|=0;A||f(this,u,d,2,32767,-32768);b.TYPED_ARRAY_SUPPORT?(this[d]=u&255,this[d+1]=u>>>8):N(this,u,d,!0);return d+2};b.prototype.writeInt16BE= + function(u,d,A){u=+u;d|=0;A||f(this,u,d,2,32767,-32768);b.TYPED_ARRAY_SUPPORT?(this[d]=u>>>8,this[d+1]=u&255):N(this,u,d,!1);return d+2};b.prototype.writeInt32LE=function(u,d,A){u=+u;d|=0;A||f(this,u,d,4,2147483647,-2147483648);b.TYPED_ARRAY_SUPPORT?(this[d]=u&255,this[d+1]=u>>>8,this[d+2]=u>>>16,this[d+3]=u>>>24):T(this,u,d,!0);return d+4};b.prototype.writeInt32BE=function(u,d,A){u=+u;d|=0;A||f(this,u,d,4,2147483647,-2147483648);0>u&&(u=4294967295+u+1);b.TYPED_ARRAY_SUPPORT?(this[d]=u>>>24,this[d+ + 1]=u>>>16,this[d+2]=u>>>8,this[d+3]=u&255):T(this,u,d,!1);return d+4};b.prototype.writeFloatLE=function(u,d,A){return F(this,u,d,!0,A)};b.prototype.writeFloatBE=function(u,d,A){return F(this,u,d,!1,A)};b.prototype.writeDoubleLE=function(u,d,A){return G(this,u,d,!0,A)};b.prototype.writeDoubleBE=function(u,d,A){return G(this,u,d,!1,A)};b.prototype.copy=function(u,d,A,h){A||(A=0);h||0===h||(h=this.length);d>=u.length&&(d=u.length);d||(d=0);0d)throw new RangeError("targetStart out of bounds");if(0>A||A>=this.length)throw new RangeError("sourceStart out of bounds");if(0>h)throw new RangeError("sourceEnd out of bounds");h>this.length&&(h=this.length);u.length-dv||!b.TYPED_ARRAY_SUPPORT)for(h=0;hv&&(u=v)}if(void 0!==h&&"string"!==typeof h)throw new TypeError("encoding must be a string");if("string"===typeof h&&!b.isEncoding(h))throw new TypeError("Unknown encoding: "+h);}else"number"===typeof u&&(u&=255);if(0>d||this.length>>=0;A=void 0===A?this.length:A>>>0;u||(u=0);if("number"=== + typeof u)for(h=d;hb||isNaN(b))throw TypeError("n must be a positive number");this._maxListeners=b;return this};n.prototype.emit=function(b){var l;this._events||(this._events={});if("error"===b&&(!this._events.error||g(this._events.error)&&!this._events.error.length)){var a= + arguments[1];if(a instanceof Error)throw a;var c=Error('Uncaught, unspecified "error" event. ('+a+")");c.context=a;throw c;}c=this._events[b];if(void 0===c)return!1;if(m(c))switch(arguments.length){case 1:c.call(this);break;case 2:c.call(this,arguments[1]);break;case 3:c.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),c.apply(this,a)}else if(g(c)){a=Array.prototype.slice.call(arguments,1);var t=c.slice();c=t.length;for(l=0;ll&&(this._events[b].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.", + this._events[b].length),"function"===typeof console.trace&&console.trace());return this};n.prototype.on=n.prototype.addListener;n.prototype.once=function(b,l){function a(){this.removeListener(b,a);c||(c=!0,l.apply(this,arguments))}if(!m(l))throw TypeError("listener must be a function");var c=!1;a.listener=l;this.on(b,a);return this};n.prototype.removeListener=function(b,l){if(!m(l))throw TypeError("listener must be a function");if(!this._events||!this._events[b])return this;var a=this._events[b]; + var c=a.length;var t=-1;if(a===l||m(a.listener)&&a.listener===l)delete this._events[b],this._events.removeListener&&this.emit("removeListener",b,l);else if(g(a)){for(;0t)return this;1===a.length?(a.length=0,delete this._events[b]):a.splice(t,1);this._events.removeListener&&this.emit("removeListener",b,l)}return this};n.prototype.removeAllListeners=function(b){if(!this._events)return this;if(!this._events.removeListener)return 0=== + arguments.length?this._events={}:this._events[b]&&delete this._events[b],this;if(0===arguments.length){for(l in this._events)"removeListener"!==l&&this.removeAllListeners(l);this.removeAllListeners("removeListener");this._events={};return this}var l=this._events[b];if(m(l))this.removeListener(b,l);else if(l)for(;l.length;)this.removeListener(b,l[l.length-1]);delete this._events[b];return this};n.prototype.listeners=function(b){return this._events&&this._events[b]?m(this._events[b])?[this._events[b]]: + this._events[b].slice():[]};n.prototype.listenerCount=function(b){if(this._events){b=this._events[b];if(m(b))return 1;if(b)return b.length}return 0};n.listenerCount=function(b,l){return b.listenerCount(l)}},{}],80:[function(x,W,D){D.read=function(n,m,g,b,l){var a=8*l-b-1;var c=(1<>1,p=-7;l=g?l-1:0;var w=g?-1:1,r=n[m+l];l+=w;g=r&(1<<-p)-1;r>>=-p;for(p+=a;0>=-p;for(p+=b;0>1,r=23===l?Math.pow(2,-24)-Math.pow(2,-77):0;a=b?0:a-1;var E=b?1:-1,K=0>m||0===m&&0>1/m?1:0;m=Math.abs(m);isNaN(m)||Infinity===m?(m=isNaN(m)?1:0,b=p):(b=Math.floor(Math.log(m)/Math.LN2),1>m*(c=Math.pow(2,-b))&&(b--,c*=2),m=1<=b+w?m+r/c:m+r*Math.pow(2,1-w),2<=m*c&&(b++,c/=2),b+w>=p?(m=0,b=p):1<=b+w?(m=(m*c-1)*Math.pow(2,l),b+=w):(m=m*Math.pow(2,w-1)*Math.pow(2,l),b=0));for(;8<= + l;n[g+a]=m&255,a+=E,m/=256,l-=8);b=b<>2,g=(g&3)<<4|b>>4,c=(b&15)<<2|l>>6,t=l&63,isNaN(b)?c=t=64:isNaN(l)&& + (t=64),m=m+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(g)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(c)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(t);return m};D.decode=function(n,m){m="";var g=0;for(n=n.replace(/[^A-Za-z0-9\+\/=]/g,"");g>4;l=(l&15)<<4|a>>2;var t=(a&3)<<6|c;m+=String.fromCharCode(b);64!=a&&(m+=String.fromCharCode(l));64!=c&&(m+=String.fromCharCode(t))}return m}},{}],85:[function(x,W,D){function n(){this.crc32=this.uncompressedSize= + this.compressedSize=0;this.compressedContent=this.compressionMethod=null}n.prototype={getContent:function(){return null},getCompressedContent:function(){return null}};W.exports=n},{}],86:[function(x,W,D){D.STORE={magic:"\x00\x00",compress:function(n,m){return n},uncompress:function(n){return n},compressInputType:null,uncompressInputType:null};D.DEFLATE=x("./flate")},{"./flate":91}],87:[function(x,W,D){var n=x("./utils"),m=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035, + 249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705, + 3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311, + 2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245, + 2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498, + 2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918E3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552, + 615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];W.exports=function(g,b){if("undefined"===typeof g||!g.length)return 0;var l="string"!==n.getTypeOf(g);"undefined"==typeof b&&(b=0);b^=-1;for(var a=0,c=g.length;a>>8^t}return b^-1}},{"./utils":104}],88:[function(x,W,D){function n(g){this.data=null;this.index=this.length=0}var m=x("./utils");n.prototype= + {checkOffset:function(g){this.checkIndex(this.index+g)},checkIndex:function(g){if(this.lengthg)throw Error("End of data reached (data length = "+this.length+", asked index = "+g+"). Corrupted zip ?");},setIndex:function(g){this.checkIndex(g);this.index=g},skip:function(g){this.setIndex(this.index+g)},byteAt:function(g){},readInt:function(g){var b=0,l;this.checkOffset(g);for(l=this.index+g-1;l>=this.index;l--)b=(b<<8)+this.byteAt(l);this.index+=g;return b},readString:function(g){return m.transformTo("string", + this.readData(g))},readData:function(g){},lastIndexOfSignature:function(g){},readDate:function(){var g=this.readInt(4);return new Date((g>>25&127)+1980,(g>>21&15)-1,g>>16&31,g>>11&31,g>>5&63,(g&31)<<1)}};W.exports=n},{"./utils":104}],89:[function(x,W,D){D.base64=!1;D.binary=!1;D.dir=!1;D.createFolders=!1;D.date=null;D.compression=null;D.compressionOptions=null;D.comment=null;D.unixPermissions=null;D.dosPermissions=null},{}],90:[function(x,W,D){var n=x("./utils");D.string2binary=function(m){return n.string2binary(m)}; + D.string2Uint8Array=function(m){return n.transformTo("uint8array",m)};D.uint8Array2String=function(m){return n.transformTo("string",m)};D.string2Blob=function(m){m=n.transformTo("arraybuffer",m);return n.arrayBuffer2Blob(m)};D.arrayBuffer2Blob=function(m){return n.arrayBuffer2Blob(m)};D.transformTo=function(m,g){return n.transformTo(m,g)};D.getTypeOf=function(m){return n.getTypeOf(m)};D.checkSupport=function(m){return n.checkSupport(m)};D.MAX_VALUE_16BITS=n.MAX_VALUE_16BITS;D.MAX_VALUE_32BITS=n.MAX_VALUE_32BITS; + D.pretty=function(m){return n.pretty(m)};D.findCompression=function(m){return n.findCompression(m)};D.isRegExp=function(m){return n.isRegExp(m)}},{"./utils":104}],91:[function(x,W,D){W="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Uint32Array;var n=x("pako");D.uncompressInputType=W?"uint8array":"array";D.compressInputType=W?"uint8array":"array";D.magic="\b\x00";D.compress=function(m,g){return n.deflateRaw(m,{level:g.level||-1})};D.uncompress=function(m){return n.inflateRaw(m)}}, + {pako:120}],92:[function(x,W,D){function n(g,b){if(!(this instanceof n))return new n(g,b);this.files={};this.comment=null;this.root="";g&&this.load(g,b);this.clone=function(){var l=new n,a;for(a in this)"function"!==typeof this[a]&&(l[a]=this[a]);return l}}var m=x("./base64");n.prototype=x("./object");n.prototype.load=x("./load");n.support=x("./support");n.defaults=x("./defaults");n.utils=x("./deprecatedPublicUtils");n.base64={encode:function(g){return m.encode(g)},decode:function(g){return m.decode(g)}}; + n.compressions=x("./compressions");W.exports=n},{"./base64":84,"./compressions":86,"./defaults":89,"./deprecatedPublicUtils":90,"./load":93,"./object":96,"./support":100}],93:[function(x,W,D){var n=x("./base64"),m=x("./zipEntries");W.exports=function(g,b){var l;b=b||{};b.base64&&(g=n.decode(g));var a=new m(g,b);g=a.files;for(l=0;l>>=8;return J},f=function(){var G={},k,J;for(k=0;kx;x++)b[x]=252<=x?6:248<=x?5:240<=x?4:224<=x?3:192<=x?2:1;b[254]=b[254]=1;var l=function(a){var c,t,p=a.length,w=Array(2*p);for(c=t=0;cr)w[t++]= + r;else{var E=b[r];if(4r?w[t++]=r:(r-=65536,w[t++]=55296|r>>10&1023,w[t++]=56320|r&1023)}}}w.length!==t&&(w.subarray?w=w.subarray(0,t):w.length=t);return n.applyFromCharCode(w)};D.utf8encode=function(a){if(m.nodebuffer)return g(a,"utf-8");var c,t,p=a.length,w=0;for(c=0;cr?1:2048>r?2:65536>r?3:4}var K=m.uint8array?new Uint8Array(w):Array(w);for(c=t=0;tr?K[t++]=r:(2048>r?K[t++]=192|r>>>6:(65536>r?K[t++]=224|r>>>12:(K[t++]=240|r>>>18,K[t++]=128|r>>>12&63),K[t++]=128|r>>>6&63),K[t++]=128|r&63);return K};D.utf8decode=function(a){if(m.nodebuffer)return n.transformTo("nodebuffer",a).toString("utf-8");a=n.transformTo(m.uint8array? + "uint8array":"array",a);for(var c=[],t=0,p=a.length;ta.length&&(r=a.length);for(w=r-1;0<=w&&128===(a[w]&192);)w--;w=0>w?r:0===w?r:w+b[a[w]]>r?w:r;m.uint8array?c.push(l(a.subarray(t,w))):c.push(l(a.slice(t,w)));t=w}return c.join("")}},{"./nodeBuffer":94,"./support":100,"./utils":104}],104:[function(x,W,D){function n(p){return p}function m(p,w){for(var r=0;rE?"0":"")+E.toString(16).toUpperCase()}return w};D.findCompression=function(p){for(var w in a)if(a.hasOwnProperty(w)&&a[w].magic===p)return a[w];return null};D.isRegExp=function(p){return"[object RegExp]"===Object.prototype.toString.call(p)}},{"./compressions":86,"./nodeBuffer":94,"./support":100}],105:[function(x,W, + D){function n(w,r){this.files=[];this.loadOptions=r;w&&this.load(w)}var m=x("./stringReader"),g=x("./nodeBufferReader"),b=x("./uint8ArrayReader"),l=x("./utils"),a=x("./signature"),c=x("./zipEntry"),t=x("./support"),p=x("./object");n.prototype={checkSignature:function(w){var r=this.reader.readString(4);if(r!==w)throw Error("Corrupted zip or bug : unexpected signature ("+l.pretty(r)+", expected "+l.pretty(w)+")");},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2);this.diskWithCentralDirStart= + this.reader.readInt(2);this.centralDirRecordsOnThisDisk=this.reader.readInt(2);this.centralDirRecords=this.reader.readInt(2);this.centralDirSize=this.reader.readInt(4);this.centralDirOffset=this.reader.readInt(4);this.zipCommentLength=this.reader.readInt(2);this.zipComment=this.reader.readString(this.zipCommentLength);this.zipComment=p.utf8decode(this.zipComment)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8);this.versionMadeBy=this.reader.readString(2);this.versionNeeded= + this.reader.readInt(2);this.diskNumber=this.reader.readInt(4);this.diskWithCentralDirStart=this.reader.readInt(4);this.centralDirRecordsOnThisDisk=this.reader.readInt(8);this.centralDirRecords=this.reader.readInt(8);this.centralDirSize=this.reader.readInt(8);this.centralDirOffset=this.reader.readInt(8);this.zip64ExtensibleData={};for(var w=this.zip64EndOfCentralSize-44,r,E,K;0>8;this.dir=this.externalFileAttributes&16?!0:!1;0===a&&(this.dosPermissions=this.externalFileAttributes& + 63);3===a&&(this.unixPermissions=this.externalFileAttributes>>16&65535);this.dir||"/"!==this.fileName.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(a){this.extraFields[1]&&(a=new m(this.extraFields[1].value),this.uncompressedSize===g.MAX_VALUE_32BITS&&(this.uncompressedSize=a.readInt(8)),this.compressedSize===g.MAX_VALUE_32BITS&&(this.compressedSize=a.readInt(8)),this.localHeaderOffset===g.MAX_VALUE_32BITS&&(this.localHeaderOffset=a.readInt(8)),this.diskNumberStart===g.MAX_VALUE_32BITS&& + (this.diskNumberStart=a.readInt(4)))},readExtraFields:function(a){var c=a.index;for(this.extraFields=this.extraFields||{};a.indexm.length)throw Error("Failure must have errors");return new n({status:"failure",remaining:g,errors:m})},error:function(m,g){if(1>m.length)throw Error("Failure must have errors");return new n({status:"error",remaining:g,errors:m})},success:function(m,g,b){return new n({status:"success",value:m,source:b,remaining:g,errors:[]})},cut:function(m){return new n({status:"cut",remaining:m,errors:[]})}}; + var n=function(m){this._value=m.value;this._status=m.status;this._hasValue=void 0!==m.value;this._remaining=m.remaining;this._source=m.source;this._errors=m.errors};n.prototype.map=function(m){return this._hasValue?new n({value:m(this._value,this._source),status:this._status,remaining:this._remaining,source:this._source,errors:this._errors}):this};n.prototype.changeRemaining=function(m){return new n({value:this._value,status:this._status,remaining:m,source:this._source,errors:this._errors})};n.prototype.isSuccess= + function(){return"success"===this._status||"cut"===this._status};n.prototype.isFailure=function(){return"failure"===this._status};n.prototype.isError=function(){return"error"===this._status};n.prototype.isCut=function(){return"cut"===this._status};n.prototype.value=function(){return this._value};n.prototype.remaining=function(){return this._remaining};n.prototype.source=function(){return this._source};n.prototype.errors=function(){return this._errors}},{}],116:[function(x,W,D){var n=x("./Token"), + m=x("./StringSource");D.RegexTokeniser=function(g){g=g.map(function(b){return{name:b.name,regex:new RegExp(b.regex.source,"g")}});return{tokenise:function(b,l){l=new m(b,l);var a=0;for(var c=[];ap)){t=new n(g[r].name,E[1],w.range(p,a));break a}}a=p+1;t=new n("unrecognisedCharacter",t.substring(p,a),w.range(p,a))}c.push(t)}c.push(new n("end",null,l.range(b.length, + b.length)));return c}}}},{"./StringSource":108,"./Token":109}],117:[function(x,W,D){function n(E){return l.success(null,E)}function m(E,K){var U=E.head();K=U?a.error({expected:K,actual:r(U),location:U.source}):a.error({expected:K,actual:"end of tokens"});return l.failure([K],E)}var g=x("underscore"),b=x("option"),l=x("./parsing-results"),a=x("./errors"),c=x("./lazy-iterators");D.token=function(E,K){var U=void 0!==K;return function(O){var z=O.head();return!z||z.name!==E||U&&z.value!==K?(z=r({name:E, + value:K}),m(O,z)):l.success(z.value,O.tail(),z.source)}};D.tokenOfType=function(E){return D.token(E)};D.firstOf=function(E,K){g.isArray(K)||(K=Array.prototype.slice.call(arguments,1));return function(U){return c.fromArray(K).map(function(O){return O(U)}).filter(function(O){return O.isSuccess()||O.isError()}).first()||m(U,E)}};D.then=function(E,K){return function(U){U=E(U);U.map||console.log(U);return U.map(K)}};D.sequence=function(){function E(O){return O.isCaptured}var K=Array.prototype.slice.call(arguments, + 0),U=function(O){var z=g.foldl(K,function(f,N){var T=f.result;f=f.hasCut;if(!T.isSuccess())return{result:T,hasCut:f};var q=N(T.remaining());return q.isCut()?{result:T,hasCut:!0}:q.isSuccess()?(N=N.isCaptured?T.value().withValue(N,q.value()):T.value(),T=q.remaining(),q=O.to(T),{result:l.success(N,T,q),hasCut:f}):f?{result:l.error(q.errors(),q.remaining()),hasCut:f}:{result:q,hasCut:f}},{result:l.success(new t,O),hasCut:!1}).result,M=O.to(z.remaining());return z.map(function(f){return f.withValue(D.sequence.source, + M)})};U.head=function(){var O=g.find(K,E);return D.then(U,D.sequence.extract(O))};U.map=function(O){return D.then(U,function(z){return O.apply(this,z.toArray())})};return U};var t=function(E,K){this._values=E||{};this._valuesArray=K||[]};t.prototype.withValue=function(E,K){if(E.captureName&&E.captureName in this._values)throw Error('Cannot add second value for capture "'+E.captureName+'"');var U=g.clone(this._values);U[E.captureName]=K;E=this._valuesArray.concat([K]);return new t(U,E)};t.prototype.get= + function(E){if(E.captureName in this._values)return this._values[E.captureName];throw Error('No value for capture "'+E.captureName+'"');};t.prototype.toArray=function(){return this._valuesArray};D.sequence.capture=function(E,K){var U=function(){return E.apply(this,arguments)};U.captureName=K;U.isCaptured=!0;return U};D.sequence.extract=function(E){return function(K){return K.get(E)}};D.sequence.applyValues=function(E){var K=Array.prototype.slice.call(arguments,1);return function(U){var O=K.map(function(z){return U.get(z)}); + return E.apply(this,O)}};D.sequence.source={captureName:"\u2603source\u2603"};D.sequence.cut=function(){return function(E){return l.cut(E)}};D.optional=function(E){return function(K){var U=E(K);return U.isSuccess()?U.map(b.some):U.isFailure()?l.success(b.none,K):U}};D.zeroOrMoreWithSeparator=function(E,K){return w(E,K,!1)};D.oneOrMoreWithSeparator=function(E,K){return w(E,K,!0)};var p=D.zeroOrMore=function(E){return function(K){for(var U=[],O;(O=E(K))&&O.isSuccess();)K=O.remaining(),U.push(O.value()); + return O.isError()?O:l.success(U,K)}};D.oneOrMore=function(E){return D.oneOrMoreWithSeparator(E,n)};var w=function(E,K,U){return function(O){var z=E(O);return z.isSuccess()?(O=D.sequence.capture(E,"main"),O=p(D.then(D.sequence(K,O),D.sequence.extract(O)))(z.remaining()),l.success([z.value()].concat(O.value()),O.remaining())):U||z.isError()?z:l.success([],O)}};D.leftAssociative=function(E,K,U){K=U?[{func:U,rule:K}]:K;K=K.map(function(z){return D.then(z.rule,function(M){return function(f,N){return z.func(f, + M,N)}})});var O=D.firstOf.apply(null,["rules"].concat(K));return function(z){var M=E(z);if(!M.isSuccess())return M;for(var f=O(M.remaining());f.isSuccess();){var N=f.remaining(),T=z.to(f.remaining());f=f.value();M=l.success(f(M.value(),T),N,T);f=O(M.remaining())}return f.isError()?f:M}};D.leftAssociative.firstOf=function(){return Array.prototype.slice.call(arguments,0)};D.nonConsuming=function(E){return function(K){return E(K).changeRemaining(K)}};var r=function(E){return E.value?E.name+' "'+E.value+ + '"':E.name}},{"./errors":112,"./lazy-iterators":113,"./parsing-results":115,option:119,underscore:118}],118:[function(x,W,D){(function(){var n=this,m=n._,g={},b=Array.prototype,l=Object.prototype,a=b.push,c=b.slice,t=b.concat,p=l.toString,w=l.hasOwnProperty,r=b.forEach,E=b.map,K=b.reduce,U=b.reduceRight,O=b.filter,z=b.every,M=b.some,f=b.indexOf,N=b.lastIndexOf;l=Array.isArray;var T=Object.keys,q=Function.prototype.bind,F=function(h){if(h instanceof F)return h;if(!(this instanceof F))return new F(h); + this._wrapped=h};"undefined"!==typeof D?("undefined"!==typeof W&&W.exports&&(D=W.exports=F),D._=F):n._=F;F.VERSION="1.4.4";var G=F.each=F.forEach=function(h,v,P){if(null!=h)if(r&&h.forEach===r)h.forEach(v,P);else if(h.length===+h.length)for(var e=0,y=h.length;eh.length)return Math.max.apply(Math,h);if(!v&&F.isEmpty(h))return-Infinity; + var e={computed:-Infinity,value:-Infinity};G(h,function(y,C,L){C=v?v.call(P,y,C,L):y;C>=e.computed&&(e={value:y,computed:C})});return e.value};F.min=function(h,v,P){if(!v&&F.isArray(h)&&h[0]===+h[0]&&65535>h.length)return Math.min.apply(Math,h);if(!v&&F.isEmpty(h))return Infinity;var e={computed:Infinity,value:Infinity};G(h,function(y,C,L){C=v?v.call(P,y,C,L):y;CV||void 0===L)return 1;if(L>>1;P.call(e,h[L])P?Math.max(0,y+P):P;else return e=F.sortedIndex(h,v),h[e]===v?e:-1; + if(f&&h.indexOf===f)return h.indexOf(v,P);for(;e=arguments.length&&(v=h||0,h=0);P=arguments[2]||1;for(var e=Math.max(Math.ceil((v-h)/P),0),y=0,C=Array(e);y=Z?(clearTimeout(y),y=null,L=Y,C=h.apply(P,e)):y||(y=setTimeout(V,Z));return C}};F.debounce=function(h,v,P){var e,y;return function(){var C=this,L=arguments,V=P&&!e;clearTimeout(e); + e=setTimeout(function(){e=null;P||(y=h.apply(C,L))},v);V&&(y=h.apply(C,L));return y}};F.once=function(h){var v=!1,P;return function(){if(v)return P;v=!0;P=h.apply(this,arguments);h=null;return P}};F.wrap=function(h,v){return function(){var P=[h];a.apply(P,arguments);return v.apply(this,P)}};F.compose=function(){var h=arguments;return function(){for(var v=arguments,P=h.length-1;0<=P;P--)v=[h[P].apply(this,v)];return v[0]}};F.after=function(h,v){return 0>=h?v():function(){if(1>--h)return v.apply(this, + arguments)}};F.keys=T||function(h){if(h!==Object(h))throw new TypeError("Invalid object");var v=[],P;for(P in h)F.has(h,P)&&(v[v.length]=P);return v};F.values=function(h){var v=[],P;for(P in h)F.has(h,P)&&v.push(h[P]);return v};F.pairs=function(h){var v=[],P;for(P in h)F.has(h,P)&&v.push([P,h[P]]);return v};F.invert=function(h){var v={},P;for(P in h)F.has(h,P)&&(v[h[P]]=P);return v};F.functions=F.methods=function(h){var v=[],P;for(P in h)F.isFunction(h[P])&&v.push(P);return v.sort()};F.extend=function(h){G(c.call(arguments, + 1),function(v){if(v)for(var P in v)h[P]=v[P]});return h};F.pick=function(h){var v={},P=t.apply(b,c.call(arguments,1));G(P,function(e){e in h&&(v[e]=h[e])});return v};F.omit=function(h){var v={},P=t.apply(b,c.call(arguments,1)),e;for(e in h)F.contains(P,e)||(v[e]=h[e]);return v};F.defaults=function(h){G(c.call(arguments,1),function(v){if(v)for(var P in v)null==h[P]&&(h[P]=v[P])});return h};F.clone=function(h){return F.isObject(h)?F.isArray(h)?h.slice():F.extend({},h):h};F.tap=function(h,v){v(h);return h}; + var R=function(h,v,P,e){if(h===v)return 0!==h||1/h==1/v;if(null==h||null==v)return h===v;h instanceof F&&(h=h._wrapped);v instanceof F&&(v=v._wrapped);var y=p.call(h);if(y!=p.call(v))return!1;switch(y){case "[object String]":return h==String(v);case "[object Number]":return h!=+h?v!=+v:0==h?1/h==1/v:h==+v;case "[object Date]":case "[object Boolean]":return+h==+v;case "[object RegExp]":return h.source==v.source&&h.global==v.global&&h.multiline==v.multiline&&h.ignoreCase==v.ignoreCase}if("object"!= + typeof h||"object"!=typeof v)return!1;for(var C=P.length;C--;)if(P[C]==h)return e[C]==v;P.push(h);e.push(v);C=0;var L=!0;if("[object Array]"==y){if(C=h.length,L=C==v.length)for(;C--&&(L=R(h[C],v[C],P,e)););}else{y=h.constructor;var V=v.constructor;if(y!==V&&!(F.isFunction(y)&&y instanceof y&&F.isFunction(V)&&V instanceof V))return!1;for(var Y in h)if(F.has(h,Y)&&(C++,!(L=F.has(v,Y)&&R(h[Y],v[Y],P,e))))break;if(L){for(Y in v)if(F.has(v,Y)&&!C--)break;L=!C}}P.pop();e.pop();return L};F.isEqual=function(h, + v){return R(h,v,[],[])};F.isEmpty=function(h){if(null==h)return!0;if(F.isArray(h)||F.isString(h))return 0===h.length;for(var v in h)if(F.has(h,v))return!1;return!0};F.isElement=function(h){return!(!h||1!==h.nodeType)};F.isArray=l||function(h){return"[object Array]"==p.call(h)};F.isObject=function(h){return h===Object(h)};G("Arguments Function String Number Date RegExp".split(" "),function(h){F["is"+h]=function(v){return p.call(v)=="[object "+h+"]"}});F.isArguments(arguments)||(F.isArguments=function(h){return!(!h|| + !F.has(h,"callee"))});"function"!==typeof/./&&(F.isFunction=function(h){return"function"===typeof h});F.isFinite=function(h){return isFinite(h)&&!isNaN(parseFloat(h))};F.isNaN=function(h){return F.isNumber(h)&&h!=+h};F.isBoolean=function(h){return!0===h||!1===h||"[object Boolean]"==p.call(h)};F.isNull=function(h){return null===h};F.isUndefined=function(h){return void 0===h};F.has=function(h,v){return w.call(h,v)};F.noConflict=function(){n._=m;return this};F.identity=function(h){return h};F.times= + function(h,v,P){for(var e=Array(h),y=0;y":">",'"':""","'":"'","/":"/"}};Q.unescape=F.invert(Q.escape);var B={escape:new RegExp("["+F.keys(Q.escape).join("")+"]","g"),unescape:new RegExp("("+F.keys(Q.unescape).join("|")+")","g")};F.each(["escape","unescape"],function(h){F[h]=function(v){return null==v?"":(""+v).replace(B[h], + function(P){return Q[h][P]})}});F.result=function(h,v){if(null==h)return null;v=h[v];return F.isFunction(v)?v.call(h):v};F.mixin=function(h){G(F.functions(h),function(v){var P=F[v]=h[v];F.prototype[v]=function(){var e=[this._wrapped];a.apply(e,arguments);return A.call(this,P.apply(F,e))}})};var H=0;F.uniqueId=function(h){var v=++H+"";return h?h+v:v};F.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var X=/(.)^/,u={"'":"'","\\":"\\","\r":"r","\n":"n", + "\t":"t","\u2028":"u2028","\u2029":"u2029"},d=/\\|'|\r|\n|\t|\u2028|\u2029/g;F.template=function(h,v,P){P=F.defaults({},P,F.templateSettings);var e=new RegExp([(P.escape||X).source,(P.interpolate||X).source,(P.evaluate||X).source].join("|")+"|$","g"),y=0,C="__p+='";h.replace(e,function(V,Y,Z,ca,fa){C+=h.slice(y,fa).replace(d,function(ha){return"\\"+u[ha]});Y&&(C+="'+\n((__t=("+Y+"))==null?'':_.escape(__t))+\n'");Z&&(C+="'+\n((__t=("+Z+"))==null?'':__t)+\n'");ca&&(C+="';\n"+ca+"\n__p+='");y=fa+V.length; + return V});C+="';\n";P.variable||(C="with(obj||{}){\n"+C+"}\n");C="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+C+"return __p;\n";try{var L=new Function(P.variable||"obj","_",C)}catch(V){throw V.source=C,V;}if(v)return L(v,F);v=function(V){return L.call(this,V,F)};v.source="function("+(P.variable||"obj")+"){\n"+C+"}";return v};F.chain=function(h){return F(h).chain()};var A=function(h){return this._chain?F(h).chain():h};F.mixin(F);G("pop push reverse shift sort splice unshift".split(" "), + function(h){var v=b[h];F.prototype[h]=function(){var P=this._wrapped;v.apply(P,arguments);"shift"!=h&&"splice"!=h||0!==P.length||delete P[0];return A.call(this,P)}});G(["concat","join","slice"],function(h){var v=b[h];F.prototype[h]=function(){return A.call(this,v.apply(this._wrapped,arguments))}});F.extend(F.prototype,{chain:function(){this._chain=!0;return this},value:function(){return this._wrapped}})}).call(this)},{}],119:[function(x,W,D){function n(g){return"function"==typeof g?g():g}D.none=Object.create({value:function(){throw Error("Called value on none"); + },isNone:function(){return!0},isSome:function(){return!1},map:function(){return D.none},flatMap:function(){return D.none},toArray:function(){return[]},orElse:n,valueOrElse:n});D.some=function(g){return new m(g)};var m=function(g){this._value=g};m.prototype.value=function(){return this._value};m.prototype.isNone=function(){return!1};m.prototype.isSome=function(){return!0};m.prototype.map=function(g){return new m(g(this._value))};m.prototype.flatMap=function(g){return g(this._value)};m.prototype.toArray= + function(){return[this._value]};m.prototype.orElse=function(g){return this};m.prototype.valueOrElse=function(g){return this._value};D.isOption=function(g){return g===D.none||g instanceof m};D.fromNullable=function(g){return null==g?D.none:new m(g)}},{}],120:[function(x,W,D){D=x("./lib/utils/common").assign;var n=x("./lib/deflate"),m=x("./lib/inflate");x=x("./lib/zlib/constants");var g={};D(g,n,m,x);W.exports=g},{"./lib/deflate":121,"./lib/inflate":122,"./lib/utils/common":123,"./lib/zlib/constants":126}], + 121:[function(x,W,D){function n(p){if(!(this instanceof n))return new n(p);p=this.options=b.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},p||{});p.raw&&0p.windowBits&&(p.windowBits+=16);this.err=0;this.msg="";this.ended=!1;this.chunks=[];this.strm=new c;this.strm.avail_out=0;var w=g.deflateInit2(this.strm,p.level,p.method,p.windowBits,p.memLevel,p.strategy);if(0!==w)throw Error(a[w]);p.header&& + g.deflateSetHeader(this.strm,p.header);if(p.dictionary){p="string"===typeof p.dictionary?l.string2buf(p.dictionary):"[object ArrayBuffer]"===t.call(p.dictionary)?new Uint8Array(p.dictionary):p.dictionary;w=g.deflateSetDictionary(this.strm,p);if(0!==w)throw Error(a[w]);this._dict_set=!0}}function m(p,w){w=new n(w);w.push(p,!0);if(w.err)throw w.msg;return w.result}var g=x("./zlib/deflate"),b=x("./utils/common"),l=x("./utils/strings"),a=x("./zlib/messages"),c=x("./zlib/zstream"),t=Object.prototype.toString; + n.prototype.push=function(p,w){var r=this.strm,E=this.options.chunkSize;if(this.ended)return!1;w=w===~~w?w:!0===w?4:0;"string"===typeof p?r.input=l.string2buf(p):"[object ArrayBuffer]"===t.call(p)?r.input=new Uint8Array(p):r.input=p;r.next_in=0;r.avail_in=r.input.length;do{0===r.avail_out&&(r.output=new b.Buf8(E),r.next_out=0,r.avail_out=E);p=g.deflate(r,w);if(1!==p&&0!==p)return this.onEnd(p),this.ended=!0,!1;if(0===r.avail_out||0===r.avail_in&&(4===w||2===w))if("string"===this.options.to)this.onData(l.buf2binstring(b.shrinkBuf(r.output, + r.next_out)));else this.onData(b.shrinkBuf(r.output,r.next_out))}while((0E.windowBits&&(E.windowBits=-E.windowBits,0===E.windowBits&&(E.windowBits=-15));!(0<=E.windowBits&&16>E.windowBits)|| + r&&r.windowBits||(E.windowBits+=32);15E.windowBits&&0===(E.windowBits&15)&&(E.windowBits|=15);this.err=0;this.msg="";this.ended=!1;this.chunks=[];this.strm=new t;this.strm.avail_out=0;r=g.inflateInit2(this.strm,E.windowBits);if(r!==a.Z_OK)throw Error(c[r]);this.header=new p;g.inflateGetHeader(this.strm,this.header)}function m(r,E){E=new n(E);E.push(r,!0);if(E.err)throw E.msg;return E.result}var g=x("./zlib/inflate"),b=x("./utils/common"),l=x("./utils/strings"),a=x("./zlib/constants"), + c=x("./zlib/messages"),t=x("./zlib/zstream"),p=x("./zlib/gzheader"),w=Object.prototype.toString;n.prototype.push=function(r,E){var K=this.strm,U=this.options.chunkSize,O=this.options.dictionary,z=!1;if(this.ended)return!1;E=E===~~E?E:!0===E?a.Z_FINISH:a.Z_NO_FLUSH;"string"===typeof r?K.input=l.binstring2buf(r):"[object ArrayBuffer]"===w.call(r)?K.input=new Uint8Array(r):K.input=r;K.next_in=0;K.avail_in=K.input.length;do{0===K.avail_out&&(K.output=new b.Buf8(U),K.next_out=0,K.avail_out=U);r=g.inflate(K, + a.Z_NO_FLUSH);r===a.Z_NEED_DICT&&O&&(r="string"===typeof O?l.string2buf(O):"[object ArrayBuffer]"===w.call(O)?new Uint8Array(O):O,r=g.inflateSetDictionary(this.strm,r));r===a.Z_BUF_ERROR&&!0===z&&(r=a.Z_OK,z=!1);if(r!==a.Z_STREAM_END&&r!==a.Z_OK)return this.onEnd(r),this.ended=!0,!1;if(K.next_out&&(0===K.avail_out||r===a.Z_STREAM_END||0===K.avail_in&&(E===a.Z_FINISH||E===a.Z_SYNC_FLUSH)))if("string"===this.options.to){var M=l.utf8border(K.output,K.next_out);var f=K.next_out-M;var N=l.buf2string(K.output, + M);K.next_out=f;K.avail_out=U-f;f&&b.arraySet(K.output,K.output,M,f,0);this.onData(N)}else this.onData(b.shrinkBuf(K.output,K.next_out));0===K.avail_in&&0===K.avail_out&&(z=!0)}while((0c&&(a.subarray&& + b||!a.subarray&&g))return String.fromCharCode.apply(null,m.shrinkBuf(a,c));for(var t="",p=0;px;x++)l[x]=252<=x?6:248<=x?5:240<=x?4:224<=x?3:192<=x?2:1;l[254]=l[254]=1;D.string2buf=function(a){var c,t,p=a.length,w=0;for(c=0;cr?1:2048>r?2:65536>r?3:4}var K=new m.Buf8(w);for(c=t=0;tr?K[t++]=r:(2048>r?K[t++]=192|r>>>6:(65536>r?K[t++]=224|r>>>12:(K[t++]=240|r>>>18,K[t++]=128|r>>>12&63),K[t++]=128|r>>>6&63),K[t++]=128|r&63);return K};D.buf2binstring=function(a){return n(a,a.length)};D.binstring2buf= + function(a){for(var c=new m.Buf8(a.length),t=0,p=c.length;tr)w[t++]=r;else{var E=l[r];if(4r?w[t++]=r:(r-=65536,w[t++]=55296|r>>10&1023,w[t++]=56320|r&1023)}}}return n(w,t)};D.utf8border=function(a,c){var t;c=c||a.length;c>a.length&&(c=a.length);for(t=c-1;0<= + t&&128===(a[t]&192);)t--;return 0>t||0===t?c:t+l[a[t]]>c?t:c}},{"./common":123}],125:[function(x,W,D){W.exports=function(n,m,g,b){var l=n&65535|0;n=n>>>16&65535|0;for(var a;0!==g;){a=2E3b;b++){m=b;for(var l=0;8>l;l++)m=m&1?3988292384^m>>>1:m>>>1;g[b]=m}return g}();W.exports=function(m,g,b,l){b=l+b;for(m^=-1;l>>8^n[(m^g[l])&255];return m^-1}},{}],128:[function(x,W,D){function n(k,J){k.msg=F[J];return J}function m(k){for(var J=k.length;0<= + --J;)k[J]=0}function g(k){var J=k.state,I=J.pending;I>k.avail_out&&(I=k.avail_out);0!==I&&(f.arraySet(k.output,J.pending_buf,J.pending_out,I,k.next_out),k.next_out+=I,J.pending_out+=I,k.total_out+=I,k.avail_out-=I,J.pending-=I,0===J.pending&&(J.pending_out=0))}function b(k,J){N._tr_flush_block(k,0<=k.block_start?k.block_start:-1,k.strstart-k.block_start,J);k.block_start=k.strstart;g(k.strm)}function l(k,J){k.pending_buf[k.pending++]=J}function a(k,J){k.pending_buf[k.pending++]=J>>>8&255;k.pending_buf[k.pending++]= + J&255}function c(k,J){var I=k.max_chain_length,S=k.strstart,R=k.prev_length,Q=k.nice_match,B=k.strstart>k.w_size-262?k.strstart-(k.w_size-262):0,H=k.window,X=k.w_mask,u=k.prev,d=k.strstart+258,A=H[S+R-1],h=H[S+R];k.prev_length>=k.good_match&&(I>>=2);Q>k.lookahead&&(Q=k.lookahead);do{var v=J;if(H[v+R]===h&&H[v+R-1]===A&&H[v]===H[S]&&H[++v]===H[S+1]){S+=2;for(v++;H[++S]===H[++v]&&H[++S]===H[++v]&&H[++S]===H[++v]&&H[++S]===H[++v]&&H[++S]===H[++v]&&H[++S]===H[++v]&&H[++S]===H[++v]&&H[++S]===H[++v]&&S< + d;);v=258-(d-S);S=d-258;if(v>R){k.match_start=J;R=v;if(v>=Q)break;A=H[S+R-1];h=H[S+R]}}}while((J=u[J&X])>B&&0!==--I);return R<=k.lookahead?R:k.lookahead}function t(k){var J=k.w_size,I;do{var S=k.window_size-k.lookahead-k.strstart;if(k.strstart>=J+(J-262)){f.arraySet(k.window,k.window,J,J,0);k.match_start-=J;k.strstart-=J;k.block_start-=J;var R=I=k.hash_size;do{var Q=k.head[--R];k.head[R]=Q>=J?Q-J:0}while(--I);R=I=J;do Q=k.prev[--R],k.prev[R]=Q>=J?Q-J:0;while(--I);S+=J}if(0===k.strm.avail_in)break; + R=k.strm;I=k.window;Q=k.strstart+k.lookahead;var B=R.avail_in;B>S&&(B=S);0===B?I=0:(R.avail_in-=B,f.arraySet(I,R.input,R.next_in,B,Q),1===R.state.wrap?R.adler=T(R.adler,I,B,Q):2===R.state.wrap&&(R.adler=q(R.adler,I,B,Q)),R.next_in+=B,R.total_in+=B,I=B);k.lookahead+=I;if(3<=k.lookahead+k.insert)for(S=k.strstart-k.insert,k.ins_h=k.window[S],k.ins_h=(k.ins_h<k.lookahead+k.insert););}while(262>k.lookahead&&0!==k.strm.avail_in)}function p(k,J){for(var I;;){if(262>k.lookahead){t(k);if(262>k.lookahead&&0===J)return 1;if(0===k.lookahead)break}I=0;3<=k.lookahead&&(k.ins_h=(k.ins_h<k.strstart?k.strstart:2;return 4===J?(b(k,!0),0===k.strm.avail_out?3:4):k.last_lit&&(b(k,!1),0===k.strm.avail_out)?1:2}function w(k,J){for(var I,S;;){if(262>k.lookahead){t(k);if(262>k.lookahead&&0===J)return 1;if(0===k.lookahead)break}I=0;3<=k.lookahead&&(k.ins_h=(k.ins_h<=k.match_length&&(1===k.strategy||3===k.match_length&&4096k.strstart?k.strstart: + 2;return 4===J?(b(k,!0),0===k.strm.avail_out?3:4):k.last_lit&&(b(k,!1),0===k.strm.avail_out)?1:2}function r(k,J){for(var I,S,R,Q=k.window;;){if(258>=k.lookahead){t(k);if(258>=k.lookahead&&0===J)return 1;if(0===k.lookahead)break}k.match_length=0;if(3<=k.lookahead&&0 + k.lookahead&&(k.match_length=k.lookahead)}3<=k.match_length?(I=N._tr_tally(k,1,k.match_length-3),k.lookahead-=k.match_length,k.strstart+=k.match_length,k.match_length=0):(I=N._tr_tally(k,0,k.window[k.strstart]),k.lookahead--,k.strstart++);if(I&&(b(k,!1),0===k.strm.avail_out))return 1}k.insert=0;return 4===J?(b(k,!0),0===k.strm.avail_out?3:4):k.last_lit&&(b(k,!1),0===k.strm.avail_out)?1:2}function E(k,J){for(var I;;){if(0===k.lookahead&&(t(k),0===k.lookahead)){if(0===J)return 1;break}k.match_length= + 0;I=N._tr_tally(k,0,k.window[k.strstart]);k.lookahead--;k.strstart++;if(I&&(b(k,!1),0===k.strm.avail_out))return 1}k.insert=0;return 4===J?(b(k,!0),0===k.strm.avail_out?3:4):k.last_lit&&(b(k,!1),0===k.strm.avail_out)?1:2}function K(k,J,I,S,R){this.good_length=k;this.max_lazy=J;this.nice_length=I;this.max_chain=S;this.func=R}function U(){this.strm=null;this.status=0;this.pending_buf=null;this.wrap=this.pending=this.pending_out=this.pending_buf_size=0;this.gzhead=null;this.gzindex=0;this.method=8;this.last_flush= + -1;this.w_mask=this.w_bits=this.w_size=0;this.window=null;this.window_size=0;this.head=this.prev=null;this.nice_match=this.good_match=this.strategy=this.level=this.max_lazy_match=this.max_chain_length=this.prev_length=this.lookahead=this.match_start=this.strstart=this.match_available=this.prev_match=this.match_length=this.block_start=this.hash_shift=this.hash_mask=this.hash_bits=this.hash_size=this.ins_h=0;this.dyn_ltree=new f.Buf16(1146);this.dyn_dtree=new f.Buf16(122);this.bl_tree=new f.Buf16(78); + m(this.dyn_ltree);m(this.dyn_dtree);m(this.bl_tree);this.bl_desc=this.d_desc=this.l_desc=null;this.bl_count=new f.Buf16(16);this.heap=new f.Buf16(573);m(this.heap);this.heap_max=this.heap_len=0;this.depth=new f.Buf16(573);m(this.depth);this.bi_valid=this.bi_buf=this.insert=this.matches=this.static_len=this.opt_len=this.d_buf=this.last_lit=this.lit_bufsize=this.l_buf=0}function O(k){if(!k||!k.state)return n(k,-2);k.total_in=k.total_out=0;k.data_type=2;var J=k.state;J.pending=0;J.pending_out=0;0>J.wrap&& + (J.wrap=-J.wrap);J.status=J.wrap?42:113;k.adler=2===J.wrap?0:1;J.last_flush=0;N._tr_init(J);return 0}function z(k){var J=O(k);0===J&&(k=k.state,k.window_size=2*k.w_size,m(k.head),k.max_lazy_match=G[k.level].max_lazy,k.good_match=G[k.level].good_length,k.nice_match=G[k.level].nice_length,k.max_chain_length=G[k.level].max_chain,k.strstart=0,k.block_start=0,k.lookahead=0,k.insert=0,k.match_length=k.prev_length=2,k.match_available=0,k.ins_h=0);return J}function M(k,J,I,S,R,Q){if(!k)return-2;var B=1;-1=== + J&&(J=6);0>S?(B=0,S=-S):15R||9S||15J||9Q||4k.pending_buf_size-5&&(I=k.pending_buf_size-5);;){if(1>=k.lookahead){t(k);if(0===k.lookahead&&0===J)return 1;if(0===k.lookahead)break}k.strstart+=k.lookahead;k.lookahead=0;var S=k.block_start+I;if(0===k.strstart||k.strstart>=S)if(k.lookahead=k.strstart-S,k.strstart= + S,b(k,!1),0===k.strm.avail_out)return 1;if(k.strstart-k.block_start>=k.w_size-262&&(b(k,!1),0===k.strm.avail_out))return 1}k.insert=0;if(4===J)return b(k,!0),0===k.strm.avail_out?3:4;k.strstart>k.block_start&&b(k,!1);return 1}),new K(4,4,8,4,p),new K(4,5,16,8,p),new K(4,6,32,32,p),new K(4,4,16,16,w),new K(8,16,32,32,w),new K(8,16,128,128,w),new K(8,32,128,256,w),new K(32,128,258,1024,w),new K(32,258,258,4096,w)];D.deflateInit=function(k,J){return M(k,J,8,15,8,0)};D.deflateInit2=M;D.deflateReset=z; + D.deflateResetKeep=O;D.deflateSetHeader=function(k,J){if(!k||!k.state||2!==k.state.wrap)return-2;k.state.gzhead=J;return 0};D.deflate=function(k,J){if(!k||!k.state||5J)return k?n(k,-2):-2;var I=k.state;if(!k.output||!k.input&&0!==k.avail_in||666===I.status&&4!==J)return n(k,0===k.avail_out?-5:-2);I.strm=k;var S=I.last_flush;I.last_flush=J;if(42===I.status)if(2===I.wrap)k.adler=0,l(I,31),l(I,139),l(I,8),I.gzhead?(l(I,(I.gzhead.text?1:0)+(I.gzhead.hcrc?2:0)+(I.gzhead.extra?4:0)+(I.gzhead.name? + 8:0)+(I.gzhead.comment?16:0)),l(I,I.gzhead.time&255),l(I,I.gzhead.time>>8&255),l(I,I.gzhead.time>>16&255),l(I,I.gzhead.time>>24&255),l(I,9===I.level?2:2<=I.strategy||2>I.level?4:0),l(I,I.gzhead.os&255),I.gzhead.extra&&I.gzhead.extra.length&&(l(I,I.gzhead.extra.length&255),l(I,I.gzhead.extra.length>>8&255)),I.gzhead.hcrc&&(k.adler=q(k.adler,I.pending_buf,I.pending,0)),I.gzindex=0,I.status=69):(l(I,0),l(I,0),l(I,0),l(I,0),l(I,0),l(I,9===I.level?2:2<=I.strategy||2>I.level?4:0),l(I,3),I.status=113);else{var R= + 8+(I.w_bits-8<<4)<<8;R|=(2<=I.strategy||2>I.level?0:6>I.level?1:6===I.level?2:3)<<6;0!==I.strstart&&(R|=32);I.status=113;a(I,R+(31-R%31));0!==I.strstart&&(a(I,k.adler>>>16),a(I,k.adler&65535));k.adler=1}if(69===I.status)if(I.gzhead.extra){for(R=I.pending;I.gzindex<(I.gzhead.extra.length&65535)&&(I.pending!==I.pending_buf_size||(I.gzhead.hcrc&&I.pending>R&&(k.adler=q(k.adler,I.pending_buf,I.pending-R,R)),g(k),R=I.pending,I.pending!==I.pending_buf_size));)l(I,I.gzhead.extra[I.gzindex]&255),I.gzindex++; + I.gzhead.hcrc&&I.pending>R&&(k.adler=q(k.adler,I.pending_buf,I.pending-R,R));I.gzindex===I.gzhead.extra.length&&(I.gzindex=0,I.status=73)}else I.status=73;if(73===I.status)if(I.gzhead.name){R=I.pending;do{if(I.pending===I.pending_buf_size&&(I.gzhead.hcrc&&I.pending>R&&(k.adler=q(k.adler,I.pending_buf,I.pending-R,R)),g(k),R=I.pending,I.pending===I.pending_buf_size)){var Q=1;break}Q=I.gzindex + R&&(k.adler=q(k.adler,I.pending_buf,I.pending-R,R));0===Q&&(I.gzindex=0,I.status=91)}else I.status=91;if(91===I.status)if(I.gzhead.comment){R=I.pending;do{if(I.pending===I.pending_buf_size&&(I.gzhead.hcrc&&I.pending>R&&(k.adler=q(k.adler,I.pending_buf,I.pending-R,R)),g(k),R=I.pending,I.pending===I.pending_buf_size)){Q=1;break}Q=I.gzindexR&&(k.adler=q(k.adler,I.pending_buf,I.pending- + R,R));0===Q&&(I.status=103)}else I.status=103;103===I.status&&(I.gzhead.hcrc?(I.pending+2>I.pending_buf_size&&g(k),I.pending+2<=I.pending_buf_size&&(l(I,k.adler&255),l(I,k.adler>>8&255),k.adler=0,I.status=113)):I.status=113);if(0!==I.pending){if(g(k),0===k.avail_out)return I.last_flush=-1,0}else if(0===k.avail_in&&(J<<1)-(4=I.wrap)return 1;2===I.wrap?(l(I,k.adler&255),l(I,k.adler>>8&255),l(I,k.adler>>16&255),l(I,k.adler>>24&255),l(I,k.total_in&255),l(I,k.total_in>>8&255), + l(I,k.total_in>>16&255),l(I,k.total_in>>24&255)):(a(I,k.adler>>>16),a(I,k.adler&65535));g(k);0=S.w_size){0===R&&(m(S.head),S.strstart=0,S.block_start=0,S.insert=0);var Q=new f.Buf8(S.w_size);f.arraySet(Q,J,I-S.w_size,S.w_size,0);J=Q;I=S.w_size}Q=k.avail_in;var B=k.next_in;var H=k.input;k.avail_in=I;k.next_in=0;k.input=J;for(t(S);3<=S.lookahead;){J=S.strstart;I=S.lookahead-2;do S.ins_h=(S.ins_h<z&&(O+=l[b++]<>>24;O>>>=F;z-=F;F=q>>>16&255;if(0===F)t[c++]=q&65535;else if(F&16){var G=q&65535;if(F&= + 15)z>>=F,z-=F;15>z&&(O+=l[b++]<>>24;O>>>=F;z-=F;F=q>>>16&255;if(F&16){q&=65535;F&=15;zw){n.msg="invalid distance too far back";g.mode=30;break a}O>>>=F;z-=F;F=c-m;if(q>F){F=q-F;if(F>E&&g.sane){n.msg="invalid distance too far back";g.mode=30;break a}var k=0;var J=U;if(0===K){if(k+=r-F,F>3;b-=G;z-=G<<3;n.next_in=b;n.next_out=c;n.avail_in=b>>24&255)+(z>>>8&65280)+((z&65280)<<8)+((z&255)<<24)}function m(){this.mode=0;this.last=!1;this.wrap=0;this.havedict=!1;this.total=this.check=this.dmax=this.flags=0;this.head= + null;this.wnext=this.whave=this.wsize=this.wbits=0;this.window=null;this.extra=this.offset=this.length=this.bits=this.hold=0;this.distcode=this.lencode=null;this.have=this.ndist=this.nlen=this.ncode=this.distbits=this.lenbits=0;this.next=null;this.lens=new t.Buf16(320);this.work=new t.Buf16(288);this.distdyn=this.lendyn=null;this.was=this.back=this.sane=0}function g(z){if(!z||!z.state)return-2;var M=z.state;z.total_in=z.total_out=M.total=0;z.msg="";M.wrap&&(z.adler=M.wrap&1);M.mode=1;M.last=0;M.havedict= + 0;M.dmax=32768;M.head=null;M.hold=0;M.bits=0;M.lencode=M.lendyn=new t.Buf32(852);M.distcode=M.distdyn=new t.Buf32(592);M.sane=1;M.back=-1;return 0}function b(z){if(!z||!z.state)return-2;var M=z.state;M.wsize=0;M.whave=0;M.wnext=0;return g(z)}function l(z,M){if(!z||!z.state)return-2;var f=z.state;if(0>M){var N=0;M=-M}else N=(M>>4)+1,48>M&&(M&=15);if(M&&(8>M||15=T.wsize?(t.arraySet(T.window,M,f-T.wsize,T.wsize,0),T.wnext=0,T.whave=T.wsize):(z=T.wsize-T.wnext,z>N&&(z=N),t.arraySet(T.window,M,f-N,z,T.wnext),(N-=z)?(t.arraySet(T.window,M,f-N,N,0),T.wnext=N,T.whave=T.wsize):(T.wnext+=z,T.wnext===T.wsize&&(T.wnext=0),T.whaveQ;){if(0===S)break a;S--;R+=I[J++]<>>8&255;q.check=w(q.check,N,2,0);Q=R=0;q.mode=2;break}q.flags=0;q.head&&(q.head.done=!1);if(!(q.wrap&1)||(((R&255)<<8)+(R>>8))%31){z.msg="incorrect header check";q.mode=30;break}if(8!==(R&15)){z.msg="unknown compression method";q.mode=30;break}R>>>=4;Q-=4;var u=(R&15)+8;if(0===q.wbits)q.wbits=u;else if(u> + q.wbits){z.msg="invalid window size";q.mode=30;break}q.dmax=1<Q;){if(0===S)break a;S--;R+=I[J++]<>8&1);q.flags&512&&(N[0]=R&255,N[1]=R>>>8&255,q.check=w(q.check,N,2,0));Q=R=0;q.mode=3;case 3:for(;32>Q;){if(0===S)break a;S--;R+=I[J++]<>>8&255,N[2]=R>>>16&255,N[3]=R>>>24&255,q.check=w(q.check,N,4,0));Q=R=0;q.mode=4;case 4:for(;16>Q;){if(0===S)break a;S--;R+=I[J++]<>8);q.flags&512&&(N[0]=R&255,N[1]=R>>>8&255,q.check=w(q.check,N,2,0));Q=R=0;q.mode=5;case 5:if(q.flags&1024){for(;16>Q;){if(0===S)break a;S--;R+=I[J++]<>>8&255,q.check=w(q.check,N,2,0));Q=R=0}else q.head&&(q.head.extra= + null);q.mode=6;case 6:if(q.flags&1024){var d=q.length;d>S&&(d=S);d&&(q.head&&(u=q.head.extra_len-q.length,q.head.extra||(q.head.extra=Array(q.head.extra_len)),t.arraySet(q.head.extra,I,J,d,u)),q.flags&512&&(q.check=w(q.check,I,d,J)),S-=d,J+=d,q.length-=d);if(q.length)break a}q.length=0;q.mode=7;case 7:if(q.flags&2048){if(0===S)break a;d=0;do u=I[J+d++],q.head&&u&&65536>q.length&&(q.head.name+=String.fromCharCode(u));while(u&&dq.length&&(q.head.comment+=String.fromCharCode(u));while(u&&dQ;){if(0===S)break a;S--;R+=I[J++]<>9&1,q.head.done=!0);z.adler=q.check= + 0;q.mode=12;break;case 10:for(;32>Q;){if(0===S)break a;S--;R+=I[J++]<>>=Q&7;Q-=Q&7;q.mode=27;break}for(;3>Q;){if(0===S)break a;S--;R+=I[J++]<>>=1;--Q;switch(R&3){case 0:q.mode=14;break;case 1:u=q;if(K){U=new t.Buf32(512);O=new t.Buf32(32);for(d=0;144> + d;)u.lens[d++]=8;for(;256>d;)u.lens[d++]=9;for(;280>d;)u.lens[d++]=7;for(;288>d;)u.lens[d++]=8;E(1,u.lens,0,288,U,0,u.work,{bits:9});for(d=0;32>d;)u.lens[d++]=5;E(2,u.lens,0,32,O,0,u.work,{bits:5});K=!1}u.lencode=U;u.lenbits=9;u.distcode=O;u.distbits=5;q.mode=20;if(6===M){R>>>=2;Q-=2;break a}break;case 2:q.mode=17;break;case 3:z.msg="invalid block type",q.mode=30}R>>>=2;Q-=2;break;case 14:R>>>=Q&7;for(Q-=Q&7;32>Q;){if(0===S)break a;S--;R+=I[J++]<>>16^65535)){z.msg="invalid stored block lengths"; + q.mode=30;break}q.length=R&65535;Q=R=0;q.mode=15;if(6===M)break a;case 15:q.mode=16;case 16:if(d=q.length){d>S&&(d=S);d>k&&(d=k);if(0===d)break a;t.arraySet(G,I,J,d,F);S-=d;J+=d;k-=d;F+=d;q.length-=d;break}q.mode=12;break;case 17:for(;14>Q;){if(0===S)break a;S--;R+=I[J++]<>>=5;Q-=5;q.ndist=(R&31)+1;R>>>=5;Q-=5;q.ncode=(R&15)+4;R>>>=4;Q-=4;if(286 + Q;){if(0===S)break a;S--;R+=I[J++]<>>=3;Q-=3}for(;19>q.have;)q.lens[T[q.have++]]=0;q.lencode=q.lendyn;q.lenbits=7;d={bits:q.lenbits};X=E(0,q.lens,0,19,q.lencode,0,q.work,d);q.lenbits=d.bits;if(X){z.msg="invalid code lengths set";q.mode=30;break}q.have=0;q.mode=19;case 19:for(;q.have>>24;A&=65535;if(d<=Q)break;if(0===S)break a;S--;R+=I[J++]<A)R>>>=d,Q-=d,q.lens[q.have++]=A;else{if(16=== + A){for(u=d+2;Q>>=d;Q-=d;if(0===q.have){z.msg="invalid bit length repeat";q.mode=30;break}u=q.lens[q.have-1];d=3+(R&3);R>>>=2;Q-=2}else if(17===A){for(u=d+3;Q>>=d;Q-=d;u=0;d=3+(R&7);R>>>=3;Q-=3}else{for(u=d+7;Q>>=d;Q-=d;u=0;d=11+(R&127);R>>>=7;Q-=7}if(q.have+d>q.nlen+q.ndist){z.msg="invalid bit length repeat";q.mode=30;break}for(;d--;)q.lens[q.have++]=u}}if(30=== + q.mode)break;if(0===q.lens[256]){z.msg="invalid code -- missing end-of-block";q.mode=30;break}q.lenbits=9;d={bits:q.lenbits};X=E(1,q.lens,0,q.nlen,q.lencode,0,q.work,d);q.lenbits=d.bits;if(X){z.msg="invalid literal/lengths set";q.mode=30;break}q.distbits=6;q.distcode=q.distdyn;d={bits:q.distbits};X=E(2,q.lens,q.nlen,q.ndist,q.distcode,0,q.work,d);q.distbits=d.bits;if(X){z.msg="invalid distances set";q.mode=30;break}q.mode=20;if(6===M)break a;case 20:q.mode=21;case 21:if(6<=S&&258<=k){z.next_out=F; + z.avail_out=k;z.next_in=J;z.avail_in=S;q.hold=R;q.bits=Q;r(z,H);F=z.next_out;G=z.output;k=z.avail_out;J=z.next_in;I=z.input;S=z.avail_in;R=q.hold;Q=q.bits;12===q.mode&&(q.back=-1);break}for(q.back=0;;){A=q.lencode[R&(1<>>24;u=A>>>16&255;A&=65535;if(d<=Q)break;if(0===S)break a;S--;R+=I[J++]<>h)];d=A>>>24;u=A>>>16&255;A&=65535;if(h+d<=Q)break;if(0===S)break a;S--;R+=I[J++]<>>=h;Q-=h;q.back+= + h}R>>>=d;Q-=d;q.back+=d;q.length=A;if(0===u){q.mode=26;break}if(u&32){q.back=-1;q.mode=12;break}if(u&64){z.msg="invalid literal/length code";q.mode=30;break}q.extra=u&15;q.mode=22;case 22:if(q.extra){for(u=q.extra;Q>>=q.extra;Q-=q.extra;q.back+=q.extra}q.was=q.length;q.mode=23;case 23:for(;;){A=q.distcode[R&(1<>>24;u=A>>>16&255;A&=65535;if(d<=Q)break;if(0===S)break a;S--;R+=I[J++]<>h)];d=A>>>24;u=A>>>16&255;A&=65535;if(h+d<=Q)break;if(0===S)break a;S--;R+=I[J++]<>>=h;Q-=h;q.back+=h}R>>>=d;Q-=d;q.back+=d;if(u&64){z.msg="invalid distance code";q.mode=30;break}q.offset=A;q.extra=u&15;q.mode=24;case 24:if(q.extra){for(u=q.extra;Q>>=q.extra;Q-=q.extra;q.back+=q.extra}if(q.offset>q.dmax){z.msg="invalid distance too far back";q.mode=30;break}q.mode=25; + case 25:if(0===k)break a;d=H-k;if(q.offset>d){d=q.offset-d;if(d>q.whave&&q.sane){z.msg="invalid distance too far back";q.mode=30;break}d>q.wnext?(d-=q.wnext,u=q.wsize-d):u=q.wnext-d;d>q.length&&(d=q.length);h=q.window}else h=G,u=F-q.offset,d=q.length;d>k&&(d=k);k-=d;q.length-=d;do G[F++]=h[u++];while(--d);0===q.length&&(q.mode=21);break;case 26:if(0===k)break a;G[F++]=q.length;k--;q.mode=21;break;case 27:if(q.wrap){for(;32>Q;){if(0===S)break a;S--;R|=I[J++]<Q;){if(0===S)break a;S--;R+=I[J++]<q.mode&&(27>q.mode||4!==M))&&c(z,z.output,z.next_out,H-z.avail_out))return q.mode=31,-4;B-=z.avail_in;H-=z.avail_out;z.total_in+=B;z.total_out+=H;q.total+=H;q.wrap&&H&&(z.adler=q.check=q.flags?w(q.check,G,H,z.next_out-H):p(q.check,G,H,z.next_out-H));z.data_type=q.bits+(q.last?64:0)+(12===q.mode?128:0)+(20===q.mode||15===q.mode?256:0);(0===B&&0===H||4===M)&&0===X&&(X=-5);return X};D.inflateEnd=function(z){if(!z||!z.state)return-2;var M=z.state;M.window&&(M.window=null);z.state=null;return 0};D.inflateGetHeader= + function(z,M){if(!z||!z.state)return-2;z=z.state;if(0===(z.wrap&2))return-2;z.head=M;M.done=!1;return 0};D.inflateSetDictionary=function(z,M){var f=M.length;if(!z||!z.state)return-2;var N=z.state;if(0!==N.wrap&&11!==N.mode)return-2;if(11===N.mode){var T=p(1,M,f,0);if(T!==N.check)return-3}if(c(z,M,f,f))return N.mode=31,-4;N.havedict=1;return 0};D.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":123,"./adler32":125,"./crc32":127,"./inffast":130,"./inftrees":132}],132:[function(x, + W,D){var n=x("../utils/common"),m=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],g=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],b=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];W.exports=function(a,c,t,p,w,r,E,K){var U=K.bits,O,z,M,f,N, + T,q=0,F=new n.Buf16(16);var G=new n.Buf16(16);var k,J=0;for(O=0;15>=O;O++)F[O]=0;for(z=0;zM&&(I=M);if(0===M)return w[r++]=20971520,w[r++]=20971520,K.bits=1,0;for(U=1;U=O;O++)if(f<<=1,f-=F[O],0>f)return-1;if(0O;O++)G[O+1]=G[O]+F[O];for(z=0;zR?(A=k[J+E[z]],h=S[q+E[z]]):(A=96,h=0);f=1<>G)+T]=d<<24|A<<16|h|0;while(0!==T);for(f=1<>=1;0!==f?(N&=f-1,N+=f):N=0;z++;if(0===--F[O]){if(O===M)break;O=c[t+E[z]]}if(O>I&&(N&X)!==B){0===G&&(G=I);Q+=U;p=O-G;for(f=1<=f)break;p++;f<<=1}H+=1<>>8&255}function l(d,A,h){d.bi_valid>16-h?(d.bi_buf|=A<>16-d.bi_valid,d.bi_valid+=h-16):(d.bi_buf|=A<>>=1,h<<=1;while(0<--A);return h>>>1}function t(d,A,h){var v=Array(16),P=0,e; + for(e=1;15>=e;e++)v[e]=P=P+h[e-1]<<1;for(h=0;h<=A;h++)P=d[2*h+1],0!==P&&(d[2*h]=c(v[P]++,P))}function p(d){var A;for(A=0;286>A;A++)d.dyn_ltree[2*A]=0;for(A=0;30>A;A++)d.dyn_dtree[2*A]=0;for(A=0;19>A;A++)d.bl_tree[2*A]=0;d.dyn_ltree[512]=1;d.opt_len=d.static_len=0;d.last_lit=d.matches=0}function w(d){8P?I[P]:I[256+(P>>>7)];a(d,y,h);C=q[y];0!==C&&(P-=Q[y],l(d,P,C))}}while(vd.heap_len;){var L=d.heap[++d.heap_len]=2>C?++C:0;h[2*L]=1;d.depth[L]=0;d.opt_len--;P&&(d.static_len-=v[2*L+1])}A.max_code=C;for(y=d.heap_len>>1;1<=y;y--)E(d,h,y);L=e;do y=d.heap[1],d.heap[1]=d.heap[d.heap_len--],E(d,h,1),v=d.heap[1],d.heap[--d.heap_max]=y,d.heap[--d.heap_max]= + v,h[2*L]=h[2*y]+h[2*v],d.depth[L]=(d.depth[y]>=d.depth[v]?d.depth[y]:d.depth[v])+1,h[2*y+1]=h[2*v+1]=L,d.heap[1]=L++,E(d,h,1);while(2<=d.heap_len);d.heap[--d.heap_max]=d.heap[1];y=A.dyn_tree;L=A.max_code;v=A.stat_desc.static_tree;P=A.stat_desc.has_stree;e=A.stat_desc.extra_bits;var V=A.stat_desc.extra_base,Y=A.stat_desc.max_length,Z,ca=0;for(Z=0;15>=Z;Z++)d.bl_count[Z]=0;y[2*d.heap[d.heap_max]+1]=0;for(A=d.heap_max+1;573>A;A++){var fa=d.heap[A];Z=y[2*y[2*fa+1]+1]+1;Z>Y&&(Z=Y,ca++);y[2*fa+1]=Z;if(!(fa> + L)){d.bl_count[Z]++;var ha=0;fa>=V&&(ha=e[fa-V]);var la=y[2*fa];d.opt_len+=la*(Z+ha);P&&(d.static_len+=la*(v[2*fa+1]+ha))}}if(0!==ca){do{for(Z=Y-1;0===d.bl_count[Z];)Z--;d.bl_count[Z]--;d.bl_count[Z+1]+=2;d.bl_count[Y]--;ca-=2}while(0L||(y[2*v+1]!==Z&&(d.opt_len+=(Z-y[2*v+1])*y[2*v],y[2*v+1]=Z),fa--)}t(h,C,d.bl_count)}function O(d,A,h){var v,P=-1,e=A[1],y=0,C=7,L=4;0===e&&(C=138,L=3);A[2*(h+1)+1]=65535;for(v=0;v<=h;v++){var V=e;e= + A[2*(v+1)+1];++y=y?d.bl_tree[34]++:d.bl_tree[36]++,y=0,P=V,0===e?(C=138,L=3):V===e?(C=6,L=3):(C=7,L=4))}}function z(d,A,h){var v,P=-1,e=A[1],y=0,C=7,L=4;0===e&&(C=138,L=3);for(v=0;v<=h;v++){var V=e;e=A[2*(v+1)+1];if(!(++y=y?(a(d,17,d.bl_tree),l(d,y-3,3)):(a(d,18,d.bl_tree),l(d,y-11,7)); + y=0;P=V;0===e?(C=138,L=3):V===e?(C=6,L=3):(C=7,L=4)}}}function M(d){var A=4093624447,h;for(h=0;31>=h;h++,A>>>=1)if(A&1&&0!==d.dyn_ltree[2*h])return 0;if(0!==d.dyn_ltree[18]||0!==d.dyn_ltree[20]||0!==d.dyn_ltree[26])return 1;for(h=32;256>h;h++)if(0!==d.dyn_ltree[2*h])return 1;return 0}function f(d,A,h,v){l(d,v?1:0,3);w(d);b(d,h);b(d,~h);N.arraySet(d.pending_buf,d.window,A,h,d.pending);d.pending+=h}var N=x("../utils/common"),T=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],q=[0,0,0,0,1, + 1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],F=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],G=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],k=Array(576);n(k);var J=Array(60);n(J);var I=Array(512);n(I);var S=Array(256);n(S);var R=Array(29);n(R);var Q=Array(30);n(Q);var B,H,X,u=!1;D._tr_init=function(d){if(!u){var A,h,v,P=Array(16);for(v=h=0;28>v;v++)for(R[v]=h,A=0;A<1<v;v++)for(Q[v]=h,A=0;A<1<>=7;30>v;v++)for(Q[v]=h<<7,A= + 0;A<1<=A;A++)P[A]=0;for(A=0;143>=A;)k[2*A+1]=8,A++,P[8]++;for(;255>=A;)k[2*A+1]=9,A++,P[9]++;for(;279>=A;)k[2*A+1]=7,A++,P[7]++;for(;287>=A;)k[2*A+1]=8,A++,P[8]++;t(k,287,P);for(A=0;30>A;A++)J[2*A+1]=5,J[2*A]=c(A,5);B=new m(k,T,257,286,15);H=new m(J,q,0,30,15);X=new m([],F,0,19,7);u=!0}d.l_desc=new g(d.dyn_ltree,B);d.d_desc=new g(d.dyn_dtree,H);d.bl_desc=new g(d.bl_tree,X);d.bi_buf=0;d.bi_valid=0;p(d)};D._tr_stored_block=f;D._tr_flush_block=function(d,A,h,v){var P= + 0;if(0>>3;var y=d.static_len+3+7>>>3;y<=e&&(e=y)}else e=y=h+5;if(h+4<=e&&-1!==A)f(d,A,h,v);else if(4===d.strategy||y===e)l(d,2+(v?1:0),3),K(d,k,J);else{l(d,4+(v?1:0),3);A=d.l_desc.max_code+1;h=d.d_desc.max_code+1;P+=1;l(d,A-257,5);l(d,h-1,5);l(d, + P-4,4);for(e=0;e>>8&255;d.pending_buf[d.d_buf+2*d.last_lit+1]=A&255;d.pending_buf[d.l_buf+d.last_lit]=h&255;d.last_lit++;0===A?d.dyn_ltree[2*h]++:(d.matches++,A--,d.dyn_ltree[2*(S[h]+256+1)]++,d.dyn_dtree[2*(256>A?I[A]:I[256+(A>>>7)])]++);return d.last_lit===d.lit_bufsize-1};D._tr_align=function(d){l(d,2,3);a(d,256, + k);16===d.bi_valid?(b(d,d.bi_buf),d.bi_buf=0,d.bi_valid=0):8<=d.bi_valid&&(d.pending_buf[d.pending++]=d.bi_buf&255,d.bi_buf>>=8,d.bi_valid-=8)}},{"../utils/common":123}],135:[function(x,W,D){W.exports=function(){this.input=null;this.total_in=this.avail_in=this.next_in=0;this.output=null;this.total_out=this.avail_out=this.next_out=0;this.msg="";this.state=null;this.data_type=2;this.adler=0}},{}],136:[function(x,W,D){(function(n){function m(a,c){for(var t=0,p=a.length-1;0<=p;p--){var w=a[p];"."===w? + a.splice(p,1):".."===w?(a.splice(p,1),t++):t&&(a.splice(p,1),t--)}if(c)for(;t--;t)a.unshift("..");return a}function g(a,c){if(a.filter)return a.filter(c);for(var t=[],p=0;pU?[]:E.slice(K,U-K+1)}a=D.resolve(a).substr(1);c=D.resolve(c).substr(1);a=t(a.split("/"));c=t(c.split("/"));for(var p=Math.min(a.length,c.length),w=p,r=0;rc&&(c=a.length+c);return a.substr(c,t)}}).call(this,x("_process"))},{_process:138}],137:[function(x,W,D){(function(n){function m(g,b,l,a){if("function"!==typeof g)throw new TypeError('"callback" argument must be a function'); + var c=arguments.length;switch(c){case 0:case 1:return n.nextTick(g);case 2:return n.nextTick(function(){g.call(null,b)});case 3:return n.nextTick(function(){g.call(null,b,l)});case 4:return n.nextTick(function(){g.call(null,b,l,a)});default:var t=Array(c-1);for(c=0;c=B||0===H.length&&H.ended)return 0;if(H.objectMode)return 1;if(B!==B)return H.flowing&&H.length?H.buffer.head.data.length:H.length;if(B>H.highWaterMark){var X=B;8388608<=X?X=8388608:(X--,X|=X>>>1,X|=X>>>2,X|=X>>>4,X|=X>>>8,X|=X>>> + 16,X++);H.highWaterMark=X}return B<=H.length?B:H.ended?H.length:(H.needReadable=!0,0)}function c(B){var H=B._readableState;H.needReadable=!1;H.emittedReadable||(S("emitReadable",H.flowing),H.emittedReadable=!0,H.sync?N(t,B):t(B))}function t(B){S("emit readable");B.emit("readable");K(B)}function p(B,H){for(var X=H.length;!H.reading&&!H.flowing&&!H.ended&&H.length=H.length)X=H.decoder?H.buffer.join(""):1===H.buffer.length?H.buffer.head.data:H.buffer.concat(H.length),H.buffer.clear();else{X=H.buffer;H=H.decoder;if(BA.length?A.length:B;d=h===A.length?d+A:d+A.slice(0,B);B-=h;if(0===B){h===A.length?(++u,X.head=H.next?H.next:X.tail=null):(X.head=H, + H.data=A.slice(h));break}++u}X.length-=u;X=d}else{H=k.allocUnsafe(B);u=X.head;d=1;u.data.copy(H);for(B-=u.data.length;u=u.next;){A=u.data;h=B>A.length?A.length:B;A.copy(H,H.length-B,0,h);B-=h;if(0===B){h===A.length?(++d,X.head=u.next?u.next:X.tail=null):(X.head=u,u.data=A.slice(h));break}++d}X.length-=d;X=H}H=X}X=H}return X}function O(B){var H=B._readableState;if(0=H.highWaterMark||H.ended))return S("read: emitReadable",H.length,H.ended),0===H.length&&H.ended?O(this):c(this),null;B=a(B,H);if(0===B&&H.ended)return 0===H.length&&O(this),null;var u=H.needReadable;S("need readable",u);if(0===H.length||H.length-B>>0);for(var b=this.head,l=0;b;)b.data.copy(g,l),l+=b.data.length,b=b.next;return g}},{buffer:77,"buffer-shims":76}],146:[function(x,W,D){W.exports=x("./lib/_stream_passthrough.js")}, + {"./lib/_stream_passthrough.js":141}],147:[function(x,W,D){var n=x("_process");a:{try{var m=x("stream");break a}catch(g){}m=void 0}D=W.exports=x("./lib/_stream_readable.js");D.Stream=m||D;D.Readable=D;D.Writable=x("./lib/_stream_writable.js");D.Duplex=x("./lib/_stream_duplex.js");D.Transform=x("./lib/_stream_transform.js");D.PassThrough=x("./lib/_stream_passthrough.js");!n.browser&&"disable"===n.env.READABLE_STREAM&&m&&(W.exports=m)},{"./lib/_stream_duplex.js":140,"./lib/_stream_passthrough.js":141, + "./lib/_stream_readable.js":142,"./lib/_stream_transform.js":143,"./lib/_stream_writable.js":144,_process:138}],148:[function(x,W,D){W.exports=x("./lib/_stream_transform.js")},{"./lib/_stream_transform.js":143}],149:[function(x,W,D){W.exports=x("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":144}],150:[function(x,W,D){(function(n){(function(m){function g(e,y){if(!(this instanceof g))return new g(e,y);for(var C=0,L=T.length;Ce.indexOf(":")? + ["",e]:e.split(":"),L=C[0];C=C[1];y&&"xmlns"===e&&(L="xmlns",C="");return{prefix:L,local:C}}function U(e){e.strict||(e.attribName=e.attribName[e.looseCase]());if(-1===e.attribList.indexOf(e.attribName)&&!e.tag.attributes.hasOwnProperty(e.attribName))if(e.opt.xmlns){var y=K(e.attribName,!0),C=y.local;if("xmlns"===y.prefix)if("xml"===C&&e.attribValue!==B)E(e,"xml: prefix must be bound to "+B+"\nActual: "+e.attribValue);else if("xmlns"===C&&e.attribValue!==H)E(e,"xmlns: prefix must be bound to "+H+"\nActual: "+ + e.attribValue);else{y=e.tag;var L=e.tags[e.tags.length-1]||e;y.ns===L.ns&&(y.ns=Object.create(L.ns));y.ns[C]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,c(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}function O(e,y){if(e.opt.xmlns){var C=e.tag,L=K(e.tagName);C.prefix=L.prefix;C.local=L.local;C.uri=C.ns[L.prefix]||"";C.prefix&&!C.uri&&(E(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)), + C.uri=L.prefix);L=e.tags[e.tags.length-1]||e;C.ns&&L.ns!==C.ns&&Object.keys(C.ns).forEach(function(la){c(e,"onopennamespace",{prefix:la,uri:C.ns[la]})});L=0;for(var V=e.attribList.length;L";e.tagName="";e.state=v.SCRIPT;return}c(e,"onscript",e.script);e.script=""}var y=e.tags.length,C=e.tagName;e.strict||(C=C[e.looseCase]());for(var L=C;y--;)if(e.tags[y].name!==L)E(e,"Unexpected close tag"); + else break;if(0>y)E(e,"Unmatched closing tag: "+e.tagName),e.textNode+="";else{e.tagName=C;for(C=e.tags.length;C-- >y;){var V=e.tag=e.tags.pop();e.tagName=e.tag.name;c(e,"onclosetag",e.tagName);for(var Y in V.ns);L=e.tags[e.tags.length-1]||e;e.opt.xmlns&&V.ns!==L.ns&&Object.keys(V.ns).forEach(function(Z){c(e,"onclosenamespace",{prefix:Z,uri:V.ns[Z]})})}0===y&&(e.closedRoot=!0);e.tagName=e.attribValue=e.attribName="";e.attribList.length=0}}else E(e,"Weird empty close tag."),e.textNode+= + "";e.state=v.TEXT}function M(e){var y=e.entity,C=y.toLowerCase(),L="";if(e.ENTITIES[y])return e.ENTITIES[y];if(e.ENTITIES[C])return e.ENTITIES[C];y=C;if("#"===y.charAt(0))if("x"===y.charAt(1)){y=y.slice(2);var V=parseInt(y,16);L=V.toString(16)}else y=y.slice(1),V=parseInt(y,10),L=V.toString(10);y=y.replace(/^0+/,"");return L.toLowerCase()!==y?(E(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(V)}function f(e,y){"<"===y?(e.state=v.OPEN_WAKA,e.startTagPosition=e.position):a(G, + y)||(E(e,"Non-whitespace before first tag."),e.textNode=y,e.state=v.TEXT)}function N(e,y){var C="";y"===C?(c(this,"onsgmldeclaration",this.sgmlDecl),this.sgmlDecl="",this.state=v.TEXT):(a(I,C)&&(this.state=v.SGML_DECL_QUOTED),this.sgmlDecl+=C);continue;case v.SGML_DECL_QUOTED:C===this.q&&(this.state=v.SGML_DECL,this.q="");this.sgmlDecl+=C;continue;case v.DOCTYPE:">"===C?(this.state=v.TEXT,c(this,"ondoctype",this.doctype),this.doctype=!0):(this.doctype+=C,"["===C?this.state=v.DOCTYPE_DTD: + a(I,C)&&(this.state=v.DOCTYPE_QUOTED,this.q=C));continue;case v.DOCTYPE_QUOTED:this.doctype+=C;C===this.q&&(this.q="",this.state=v.DOCTYPE);continue;case v.DOCTYPE_DTD:this.doctype+=C;"]"===C?this.state=v.DOCTYPE:a(I,C)&&(this.state=v.DOCTYPE_DTD_QUOTED,this.q=C);continue;case v.DOCTYPE_DTD_QUOTED:this.doctype+=C;C===this.q&&(this.state=v.DOCTYPE_DTD,this.q="");continue;case v.COMMENT:"-"===C?this.state=v.COMMENT_ENDING:this.comment+=C;continue;case v.COMMENT_ENDING:"-"===C?(this.state=v.COMMENT_ENDED, + (this.comment=p(this.opt,this.comment))&&c(this,"oncomment",this.comment),this.comment=""):(this.comment+="-"+C,this.state=v.COMMENT);continue;case v.COMMENT_ENDED:">"!==C?(E(this,"Malformed comment"),this.comment+="--"+C,this.state=v.COMMENT):this.state=v.TEXT;continue;case v.CDATA:"]"===C?this.state=v.CDATA_ENDING:this.cdata+=C;continue;case v.CDATA_ENDING:"]"===C?this.state=v.CDATA_ENDING_2:(this.cdata+="]"+C,this.state=v.CDATA);continue;case v.CDATA_ENDING_2:">"===C?(this.cdata&&c(this,"oncdata", + this.cdata),c(this,"onclosecdata"),this.cdata="",this.state=v.TEXT):"]"===C?this.cdata+="]":(this.cdata+="]]"+C,this.state=v.CDATA);continue;case v.PROC_INST:"?"===C?this.state=v.PROC_INST_ENDING:a(G,C)?this.state=v.PROC_INST_BODY:this.procInstName+=C;continue;case v.PROC_INST_BODY:if(!this.procInstBody&&a(G,C))continue;else"?"===C?this.state=v.PROC_INST_ENDING:this.procInstBody+=C;continue;case v.PROC_INST_ENDING:">"===C?(c(this,"onprocessinginstruction",{name:this.procInstName,body:this.procInstBody}), + this.procInstName=this.procInstBody="",this.state=v.TEXT):(this.procInstBody+="?"+C,this.state=v.PROC_INST_BODY);continue;case v.OPEN_TAG:if(a(d,C))this.tagName+=C;else{this.strict||(this.tagName=this.tagName[this.looseCase]());L=this.tags[this.tags.length-1]||this;var V=this.tag={name:this.tagName,attributes:{}};this.opt.xmlns&&(V.ns=L.ns);this.attribList.length=0;">"===C?O(this):"/"===C?this.state=v.OPEN_TAG_SLASH:(a(G,C)||E(this,"Invalid character in tag name"),this.state=v.ATTRIB)}continue;case v.OPEN_TAG_SLASH:">"=== + C?(O(this,!0),z(this)):(E(this,"Forward-slash in opening tag not followed by >"),this.state=v.ATTRIB);continue;case v.ATTRIB:if(a(G,C))continue;else">"===C?O(this):"/"===C?this.state=v.OPEN_TAG_SLASH:a(u,C)?(this.attribName=C,this.attribValue="",this.state=v.ATTRIB_NAME):E(this,"Invalid attribute name");continue;case v.ATTRIB_NAME:"="===C?this.state=v.ATTRIB_VALUE:">"===C?(E(this,"Attribute without value"),this.attribValue=this.attribName,U(this),O(this)):a(G,C)?this.state=v.ATTRIB_NAME_SAW_WHITE: + a(d,C)?this.attribName+=C:E(this,"Invalid attribute name");continue;case v.ATTRIB_NAME_SAW_WHITE:if("="===C)this.state=v.ATTRIB_VALUE;else if(a(G,C))continue;else E(this,"Attribute without value"),this.attribValue=this.tag.attributes[this.attribName]="",c(this,"onattribute",{name:this.attribName,value:""}),this.attribName="",">"===C?O(this):a(u,C)?(this.attribName=C,this.state=v.ATTRIB_NAME):(E(this,"Invalid attribute name"),this.state=v.ATTRIB);continue;case v.ATTRIB_VALUE:if(a(G,C))continue;else a(I, + C)?(this.q=C,this.state=v.ATTRIB_VALUE_QUOTED):(E(this,"Unquoted attribute value"),this.state=v.ATTRIB_VALUE_UNQUOTED,this.attribValue=C);continue;case v.ATTRIB_VALUE_QUOTED:if(C!==this.q){"&"===C?this.state=v.ATTRIB_VALUE_ENTITY_Q:this.attribValue+=C;continue}U(this);this.q="";this.state=v.ATTRIB_VALUE_CLOSED;continue;case v.ATTRIB_VALUE_CLOSED:a(G,C)?this.state=v.ATTRIB:">"===C?O(this):"/"===C?this.state=v.OPEN_TAG_SLASH:a(u,C)?(E(this,"No whitespace between attributes"),this.attribName=C,this.attribValue= + "",this.state=v.ATTRIB_NAME):E(this,"Invalid attribute name");continue;case v.ATTRIB_VALUE_UNQUOTED:if(!a(S,C)){"&"===C?this.state=v.ATTRIB_VALUE_ENTITY_U:this.attribValue+=C;continue}U(this);">"===C?O(this):this.state=v.ATTRIB;continue;case v.CLOSE_TAG:if(this.tagName)">"===C?z(this):a(d,C)?this.tagName+=C:this.script?(this.script+=""===C?z(this):E(this,"Invalid characters in closing tag");continue;case v.TEXT_ENTITY:case v.ATTRIB_VALUE_ENTITY_Q:case v.ATTRIB_VALUE_ENTITY_U:switch(this.state){case v.TEXT_ENTITY:var Y=v.TEXT;var Z="textNode";break;case v.ATTRIB_VALUE_ENTITY_Q:Y=v.ATTRIB_VALUE_QUOTED;Z="attribValue";break;case v.ATTRIB_VALUE_ENTITY_U:Y=v.ATTRIB_VALUE_UNQUOTED, + Z="attribValue"}";"===C?(this[Z]+=M(this),this.entity="",this.state=Y):a(this.entity.length?h:A,C)?this.entity+=C:(E(this,"Invalid character in entity name"),this[Z]+="&"+this.entity+C,this.entity="",this.state=Y);continue;default:throw Error(this,"Unknown state: "+this.state);}}if(this.position>=this.bufferCheckPosition){e=Math.max(m.MAX_BUFFER_LENGTH,10);C=y=0;for(Y=T.length;Ce)switch(T[C]){case "textNode":t(this);break;case "cdata":c(this,"oncdata",this.cdata); + this.cdata="";break;case "script":c(this,"onscript",this.script);this.script="";break;default:w(this,"Max buffer length exceeded: "+T[C])}y=Math.max(y,Z)}this.bufferCheckPosition=m.MAX_BUFFER_LENGTH-y+this.position}return this},resume:function(){this.error=null;return this},close:function(){return this.write(null)},flush:function(){t(this);""!==this.cdata&&(c(this,"oncdata",this.cdata),this.cdata="");""!==this.script&&(c(this,"onscript",this.script),this.script="")}};try{var q=x("stream").Stream}catch(e){q= + function(){}}var F=m.EVENTS.filter(function(e){return"error"!==e&&"end"!==e});b.prototype=Object.create(q.prototype,{constructor:{value:b}});b.prototype.write=function(e){"function"===typeof n&&"function"===typeof n.isBuffer&&n.isBuffer(e)&&(this._decoder||(this._decoder=new (x("string_decoder").StringDecoder)("utf8")),e=this._decoder.write(e));this._parser.write(e.toString());this.emit("data",e);return!0};b.prototype.end=function(e){e&&e.length&&this.write(e);this._parser.end();return!0};b.prototype.on= + function(e,y){var C=this;C._parser["on"+e]||-1===F.indexOf(e)||(C._parser["on"+e]=function(){var L=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);L.splice(0,0,e);C.emit.apply(C,L)});return q.prototype.on.call(C,e,y)};var G="\r\n\t ",k="0124356789",J="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",I="'\"",S=G+">",R="[CDATA[",Q="DOCTYPE",B="http://www.w3.org/XML/1998/namespace",H="http://www.w3.org/2000/xmlns/",X={xml:B,xmlns:H};G=l(G);k=l(k);J=l(J);var u=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, + d=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/,A=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,h=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/; + I=l(I);S=l(S);var v=0;m.STATE={BEGIN:v++,BEGIN_WHITESPACE:v++,TEXT:v++,TEXT_ENTITY:v++,OPEN_WAKA:v++,SGML_DECL:v++,SGML_DECL_QUOTED:v++,DOCTYPE:v++,DOCTYPE_QUOTED:v++,DOCTYPE_DTD:v++,DOCTYPE_DTD_QUOTED:v++,COMMENT_STARTING:v++,COMMENT:v++,COMMENT_ENDING:v++,COMMENT_ENDED:v++,CDATA:v++,CDATA_ENDING:v++,CDATA_ENDING_2:v++,PROC_INST:v++,PROC_INST_BODY:v++,PROC_INST_ENDING:v++,OPEN_TAG:v++,OPEN_TAG_SLASH:v++,ATTRIB:v++,ATTRIB_NAME:v++,ATTRIB_NAME_SAW_WHITE:v++,ATTRIB_VALUE:v++,ATTRIB_VALUE_QUOTED:v++, + ATTRIB_VALUE_CLOSED:v++,ATTRIB_VALUE_UNQUOTED:v++,ATTRIB_VALUE_ENTITY_Q:v++,ATTRIB_VALUE_ENTITY_U:v++,CLOSE_TAG:v++,CLOSE_TAG_SAW_WHITE:v++,SCRIPT:v++,SCRIPT_ENDING:v++};m.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"};m.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216, + Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167, + uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934, + Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240, + prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,"int":8747,there4:8756,sim:8764,cong:8773,asymp:8776, + ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830};Object.keys(m.ENTITIES).forEach(function(e){var y=m.ENTITIES[e];y="number"===typeof y?String.fromCharCode(y):y;m.ENTITIES[e]=y});for(var P in m.STATE)m.STATE[m.STATE[P]]=P;v=m.STATE;String.fromCodePoint||function(){var e=String.fromCharCode,y=Math.floor, + C=function(){var L=[],V=-1,Y=arguments.length;if(!Y)return"";for(var Z="";++Vca||1114111=ca)L.push(ca);else{ca-=65536;var fa=(ca>>10)+55296;ca=ca%1024+56320;L.push(fa,ca)}if(V+1===Y||16384=this.charLength-this.charReceived?this.charLength-this.charReceived:a.length;a.copy(this.charBuffer,this.charReceived,0,c);this.charReceived+=c;if(this.charReceived=t)this.charLength+=this.surrogateSize,c="";else{this.charReceived=this.charLength=0;if(0===a.length)return c;break}}this.detectIncompleteChar(a);var p=a.length;this.charLength&&(a.copy(this.charBuffer,0,a.length-this.charReceived,p),p-=this.charReceived);c+=a.toString(this.encoding,0,p);p=c.length-1;t=c.charCodeAt(p);return 55296<=t&&56319>=t?(t=this.surrogateSize, + this.charLength+=t,this.charReceived+=t,this.charBuffer.copy(this.charBuffer,t,0,t),a.copy(this.charBuffer,0,0,t),c.substring(0,p)):c};x.prototype.detectIncompleteChar=function(a){for(var c=3<=a.length?3:a.length;0>5){this.charLength=2;break}if(2>=c&&14==t>>4){this.charLength=3;break}if(3>=c&&30==t>>3){this.charLength=4;break}}this.charReceived=c};x.prototype.end=function(a){var c="";a&&a.length&&(c=this.write(a));this.charReceived&&(a=this.encoding,c+=this.charBuffer.slice(0, + this.charReceived).toString(a));return c}},{buffer:77}],153:[function(x,W,D){(function(){function n(e){return function(y,C,L,V){C=N(C,V,4);var Y=!I(y)&&f.keys(y),Z=(Y||y).length,ca=0arguments.length&&(L=y[Y?Y[ca]:ca],ca+=e);for(var fa=C,ha=L;0<=ca&&caL||null==C)return C;for(var V=1;VL&&(L=C)}else y=T(y,C),f.each(e,function(fa,ha,la){Y=y(fa,ha,la);if(Y>V||-Infinity===Y&&-Infinity===L)L=fa,V=Y});return L};f.min=function(e,y,C){var L=Infinity,V=Infinity,Y;if(null==y&& + null!=e){e=I(e)?e:f.values(e);for(var Z=0,ca=e.length;ZZ||void 0===Y)return 1;if(Y=C)throw Error("bindAll must be passed function names");for(y=1;y=la||la>y?(Z&&(clearTimeout(Z),Z=null),ca=ha,Y=e.apply(L,V),Z||(L=V=null)):Z||!1===C.trailing||(Z=setTimeout(fa,la));return Y}};f.debounce=function(e,y,C){var L,V,Y,Z,ca,fa=function(){var ha=f.now()-Z;ha--e)return y.apply(this,arguments)}};f.before=function(e,y){var C;return function(){0<--e&&(C=y.apply(this,arguments));1>=e&&(y=null);return C}};f.once=f.partial(f.before,2);var B=!{toString:null}.propertyIsEnumerable("toString"),H="valueOf isPrototypeOf toString propertyIsEnumerable hasOwnProperty toLocaleString".split(" "); + f.keys=function(e){if(!f.isObject(e))return[];if(U)return U(e);var y=[],C;for(C in e)f.has(e,C)&&y.push(C);B&&b(e,y);return y};f.allKeys=function(e){if(!f.isObject(e))return[];var y=[],C;for(C in e)y.push(C);B&&b(e,y);return y};f.values=function(e){for(var y=f.keys(e),C=y.length,L=Array(C),V=0;V":">",'"':""","'":"'","`":"`"};q=f.invert(K);G=function(e){var y=function(Y){return e[Y]},C="(?:"+f.keys(e).join("|")+")",L=RegExp(C),V=RegExp(C,"g");return function(Y){Y=null==Y?"":""+Y;return L.test(Y)?Y.replace(V,y):Y}};f.escape=G(K);f.unescape= + G(q);f.result=function(e,y,C){y=null==e?void 0:e[y];void 0===y&&(y=C);return f.isFunction(y)?y.call(e):y};var u=0;f.uniqueId=function(e){var y=++u+"";return e?e+y:y};f.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var d=/(.)^/,A={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},h=/\\|'|\r|\n|\u2028|\u2029/g,v=function(e){return"\\"+A[e]};f.template=function(e,y,C){!y&&C&&(y=C);y=f.defaults({},y,f.templateSettings);C=RegExp([(y.escape|| + d).source,(y.interpolate||d).source,(y.evaluate||d).source].join("|")+"|$","g");var L=0,V="__p+='";e.replace(C,function(Z,ca,fa,ha,la){V+=e.slice(L,la).replace(h,v);L=la+Z.length;ca?V+="'+\n((__t=("+ca+"))==null?'':_.escape(__t))+\n'":fa?V+="'+\n((__t=("+fa+"))==null?'':__t)+\n'":ha&&(V+="';\n"+ha+"\n__p+='");return Z});V+="';\n";y.variable||(V="with(obj||{}){\n"+V+"}\n");V="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+V+"return __p;\n";try{var Y=new Function(y.variable|| + "obj","_",V)}catch(Z){throw Z.source=V,Z;}C=function(Z){return Y.call(this,Z,f)};C.source="function("+(y.variable||"obj")+"){\n"+V+"}";return C};f.chain=function(e){e=f(e);e._chain=!0;return e};var P=function(e,y){return e._chain?f(y).chain():y};f.mixin=function(e){f.each(f.functions(e),function(y){var C=f[y]=e[y];f.prototype[y]=function(){var L=[this._wrapped];p.apply(L,arguments);return P(this,C.apply(f,L))}})};f.mixin(f);f.each("pop push reverse shift sort splice unshift".split(" "),function(e){var y= + c[e];f.prototype[e]=function(){var C=this._wrapped;y.apply(C,arguments);"shift"!==e&&"splice"!==e||0!==C.length||delete C[0];return P(this,C)}});f.each(["concat","join","slice"],function(e){var y=c[e];f.prototype[e]=function(){return P(this,y.apply(this._wrapped,arguments))}});f.prototype.value=function(){return this._wrapped};f.prototype.valueOf=f.prototype.toJSON=f.prototype.value;f.prototype.toString=function(){return""+this._wrapped}}).call(this)},{}],154:[function(x,W,D){(function(n){function m(g){try{if(!n.localStorage)return!1}catch(b){return!1}g= + n.localStorage[g];return null==g?!1:"true"===String(g).toLowerCase()}W.exports=function(g,b){if(m("noDeprecation"))return g;var l=!1;return function(){if(!l){if(m("throwDeprecation"))throw Error(b);m("traceDeprecation")?console.trace(b):console.warn(b);l=!0}return g.apply(this,arguments)}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],155:[function(x,W,D){arguments[4][81][0].apply(D,arguments)},{dup:81}],156:[function(x,W, + D){W.exports=function(n){return n&&"object"===typeof n&&"function"===typeof n.copy&&"function"===typeof n.fill&&"function"===typeof n.readUInt8}},{}],157:[function(x,W,D){(function(n,m){function g(Q,B){var H={seen:[],stylize:l};3<=arguments.length&&(H.depth=arguments[2]);4<=arguments.length&&(H.colors=arguments[3]);U(B)?H.showHidden=B:B&&D._extend(H,B);M(H.showHidden)&&(H.showHidden=!1);M(H.depth)&&(H.depth=2);M(H.colors)&&(H.colors=!1);M(H.customInspect)&&(H.customInspect=!0);H.colors&&(H.stylize= + b);return c(H,Q,H.depth)}function b(Q,B){return(B=g.styles[B])?"\u001b["+g.colors[B][0]+"m"+Q+"\u001b["+g.colors[B][1]+"m":Q}function l(Q,B){return Q}function a(Q){var B={};Q.forEach(function(H,X){B[H]=!0});return B}function c(Q,B,H){if(Q.customInspect&&B&&F(B.inspect)&&B.inspect!==D.inspect&&(!B.constructor||B.constructor.prototype!==B)){var X=B.inspect(H,Q);z(X)||(X=c(Q,X,H));return X}if(X=t(Q,B))return X;var u=Object.keys(B),d=a(u);Q.showHidden&&(u=Object.getOwnPropertyNames(B));if(q(B)&&(0<=u.indexOf("message")|| + 0<=u.indexOf("description")))return p(B);if(0===u.length){if(F(B))return Q.stylize("[Function"+(B.name?": "+B.name:"")+"]","special");if(f(B))return Q.stylize(RegExp.prototype.toString.call(B),"regexp");if(T(B))return Q.stylize(Date.prototype.toString.call(B),"date");if(q(B))return p(B)}X="";var A=!1,h=["{","}"];K(B)&&(A=!0,h=["[","]"]);F(B)&&(X=" [Function"+(B.name?": "+B.name:"")+"]");f(B)&&(X=" "+RegExp.prototype.toString.call(B));T(B)&&(X=" "+Date.prototype.toUTCString.call(B));q(B)&&(X=" "+p(B)); + if(0===u.length&&(!A||0==B.length))return h[0]+X+h[1];if(0>H)return f(B)?Q.stylize(RegExp.prototype.toString.call(B),"regexp"):Q.stylize("[Object]","special");Q.seen.push(B);u=A?w(Q,B,H,d,u):u.map(function(v){return r(Q,B,H,d,v,A)});Q.seen.pop();return E(u,X,h)}function t(Q,B){if(M(B))return Q.stylize("undefined","undefined");if(z(B))return B="'"+JSON.stringify(B).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'",Q.stylize(B,"string");if(O(B))return Q.stylize(""+B,"number");if(U(B))return Q.stylize(""+ + B,"boolean");if(null===B)return Q.stylize("null","null")}function p(Q){return"["+Error.prototype.toString.call(Q)+"]"}function w(Q,B,H,X,u){for(var d=[],A=0,h=B.length;AQ.seen.indexOf(B.value)?(h=null===H?c(Q,B.value,null):c(Q,B.value,H-1),-1Q?"0"+Q.toString(10):Q.toString(10)}function k(){var Q=new Date,B=[G(Q.getHours()), + G(Q.getMinutes()),G(Q.getSeconds())].join(":");return[Q.getDate(),R[Q.getMonth()],B].join(" ")}var J=/%[sdj%]/g;D.format=function(Q){if(!z(Q)){for(var B=[],H=0;H=u)return A;switch(A){case "%s":return String(X[H++]);case "%d":return Number(X[H++]);case "%j":try{return JSON.stringify(X[H++])}catch(h){return"[Circular]"}default:return A}});for(var d= + X[H];H":null!=(b=this.parent)&&b.name?"attribute: {"+m+"}, parent: <"+this.parent.name+">":"attribute: {"+m+"}":""};return n}()}).call(this)},{}],160:[function(x,W,D){(function(){var n=function(b,l){function a(){this.constructor=b}for(var c in l)m.call(l,c)&&(b[c]=l[c]);a.prototype=l.prototype;b.prototype=new a;b.__super__=l.prototype;return b},m={}.hasOwnProperty;var g=x("./XMLNode");W.exports=function(b){function l(a,c){l.__super__.constructor.call(this, + a);if(null==c)throw Error("Missing CDATA text. "+this.debugInfo());this.text=this.stringify.cdata(c)}n(l,b);l.prototype.clone=function(){return Object.create(this)};l.prototype.toString=function(a){return this.options.writer.set(a).cdata(this)};return l}(g)}).call(this)},{"./XMLNode":171}],161:[function(x,W,D){(function(){var n=function(b,l){function a(){this.constructor=b}for(var c in l)m.call(l,c)&&(b[c]=l[c]);a.prototype=l.prototype;b.prototype=new a;b.__super__=l.prototype;return b},m={}.hasOwnProperty; + var g=x("./XMLNode");W.exports=function(b){function l(a,c){l.__super__.constructor.call(this,a);if(null==c)throw Error("Missing comment text. "+this.debugInfo());this.text=this.stringify.comment(c)}n(l,b);l.prototype.clone=function(){return Object.create(this)};l.prototype.toString=function(a){return this.options.writer.set(a).comment(this)};return l}(g)}).call(this)},{"./XMLNode":171}],162:[function(x,W,D){(function(){var n=function(b,l){function a(){this.constructor=b}for(var c in l)m.call(l,c)&& + (b[c]=l[c]);a.prototype=l.prototype;b.prototype=new a;b.__super__=l.prototype;return b},m={}.hasOwnProperty;var g=x("./XMLNode");W.exports=function(b){function l(a,c,t,p,w,r){l.__super__.constructor.call(this,a);if(null==c)throw Error("Missing DTD element name. "+this.debugInfo());if(null==t)throw Error("Missing DTD attribute name. "+this.debugInfo(c));if(!p)throw Error("Missing DTD attribute type. "+this.debugInfo(c));if(!w)throw Error("Missing DTD attribute default. "+this.debugInfo(c));0!==w.indexOf("#")&& + (w="#"+w);if(!w.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(c));if(r&&!w.match(/^(#FIXED|#DEFAULT)$/))throw Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(c));this.elementName=this.stringify.eleName(c);this.attributeName=this.stringify.attName(t);this.attributeType=this.stringify.dtdAttType(p);this.defaultValue=this.stringify.dtdAttDefault(r);this.defaultValueType= + w}n(l,b);l.prototype.toString=function(a){return this.options.writer.set(a).dtdAttList(this)};return l}(g)}).call(this)},{"./XMLNode":171}],163:[function(x,W,D){(function(){var n=function(b,l){function a(){this.constructor=b}for(var c in l)m.call(l,c)&&(b[c]=l[c]);a.prototype=l.prototype;b.prototype=new a;b.__super__=l.prototype;return b},m={}.hasOwnProperty;var g=x("./XMLNode");W.exports=function(b){function l(a,c,t){l.__super__.constructor.call(this,a);if(null==c)throw Error("Missing DTD element name. "+ + this.debugInfo());t||(t="(#PCDATA)");Array.isArray(t)&&(t="("+t.join(",")+")");this.name=this.stringify.eleName(c);this.value=this.stringify.dtdElementValue(t)}n(l,b);l.prototype.toString=function(a){return this.options.writer.set(a).dtdElement(this)};return l}(g)}).call(this)},{"./XMLNode":171}],164:[function(x,W,D){(function(){var n=function(l,a){function c(){this.constructor=l}for(var t in a)m.call(a,t)&&(l[t]=a[t]);c.prototype=a.prototype;l.prototype=new c;l.__super__=a.prototype;return l},m= + {}.hasOwnProperty;var g=x("./Utility").isObject;var b=x("./XMLNode");W.exports=function(l){function a(c,t,p,w){a.__super__.constructor.call(this,c);if(null==p)throw Error("Missing DTD entity name. "+this.debugInfo(p));if(null==w)throw Error("Missing DTD entity value. "+this.debugInfo(p));this.pe=!!t;this.name=this.stringify.eleName(p);if(g(w)){if(!w.pubID&&!w.sysID)throw Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(p));if(w.pubID&&!w.sysID)throw Error("System identifier is required for a public external entity. "+ + this.debugInfo(p));null!=w.pubID&&(this.pubID=this.stringify.dtdPubID(w.pubID));null!=w.sysID&&(this.sysID=this.stringify.dtdSysID(w.sysID));null!=w.nData&&(this.nData=this.stringify.dtdNData(w.nData));if(this.pe&&this.nData)throw Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(p));}else this.value=this.stringify.dtdEntityValue(w)}n(a,l);a.prototype.toString=function(c){return this.options.writer.set(c).dtdEntity(this)};return a}(b)}).call(this)},{"./Utility":158, + "./XMLNode":171}],165:[function(x,W,D){(function(){var n=function(b,l){function a(){this.constructor=b}for(var c in l)m.call(l,c)&&(b[c]=l[c]);a.prototype=l.prototype;b.prototype=new a;b.__super__=l.prototype;return b},m={}.hasOwnProperty;var g=x("./XMLNode");W.exports=function(b){function l(a,c,t){l.__super__.constructor.call(this,a);if(null==c)throw Error("Missing DTD notation name. "+this.debugInfo(c));if(!t.pubID&&!t.sysID)throw Error("Public or system identifiers are required for an external entity. "+ + this.debugInfo(c));this.name=this.stringify.eleName(c);null!=t.pubID&&(this.pubID=this.stringify.dtdPubID(t.pubID));null!=t.sysID&&(this.sysID=this.stringify.dtdSysID(t.sysID))}n(l,b);l.prototype.toString=function(a){return this.options.writer.set(a).dtdNotation(this)};return l}(g)}).call(this)},{"./XMLNode":171}],166:[function(x,W,D){(function(){var n=function(l,a){function c(){this.constructor=l}for(var t in a)m.call(a,t)&&(l[t]=a[t]);c.prototype=a.prototype;l.prototype=new c;l.__super__=a.prototype; + return l},m={}.hasOwnProperty;var g=x("./Utility").isObject;var b=x("./XMLNode");W.exports=function(l){function a(c,t,p,w){a.__super__.constructor.call(this,c);g(t)&&(c=t,t=c.version,p=c.encoding,w=c.standalone);t||(t="1.0");this.version=this.stringify.xmlVersion(t);null!=p&&(this.encoding=this.stringify.xmlEncoding(p));null!=w&&(this.standalone=this.stringify.xmlStandalone(w))}n(a,l);a.prototype.toString=function(c){return this.options.writer.set(c).declaration(this)};return a}(b)}).call(this)}, + {"./Utility":158,"./XMLNode":171}],167:[function(x,W,D){(function(){var n=function(p,w){function r(){this.constructor=p}for(var E in w)m.call(w,E)&&(p[E]=w[E]);r.prototype=w.prototype;p.prototype=new r;p.__super__=w.prototype;return p},m={}.hasOwnProperty;var g=x("./Utility").isObject;var b=x("./XMLNode");var l=x("./XMLDTDAttList");var a=x("./XMLDTDEntity");var c=x("./XMLDTDElement");var t=x("./XMLDTDNotation");W.exports=function(p){function w(r,E,K){w.__super__.constructor.call(this,r);this.name= + "!DOCTYPE";this.documentObject=r;g(E)&&(K=E,E=K.pubID,K=K.sysID);null==K&&(E=[E,K],K=E[0],E=E[1]);null!=E&&(this.pubID=this.stringify.dtdPubID(E));null!=K&&(this.sysID=this.stringify.dtdSysID(K))}n(w,p);w.prototype.element=function(r,E){r=new c(this,r,E);this.children.push(r);return this};w.prototype.attList=function(r,E,K,U,O){r=new l(this,r,E,K,U,O);this.children.push(r);return this};w.prototype.entity=function(r,E){r=new a(this,!1,r,E);this.children.push(r);return this};w.prototype.pEntity=function(r, + E){r=new a(this,!0,r,E);this.children.push(r);return this};w.prototype.notation=function(r,E){r=new t(this,r,E);this.children.push(r);return this};w.prototype.toString=function(r){return this.options.writer.set(r).docType(this)};w.prototype.ele=function(r,E){return this.element(r,E)};w.prototype.att=function(r,E,K,U,O){return this.attList(r,E,K,U,O)};w.prototype.ent=function(r,E){return this.entity(r,E)};w.prototype.pent=function(r,E){return this.pEntity(r,E)};w.prototype.not=function(r,E){return this.notation(r, + E)};w.prototype.up=function(){return this.root()||this.documentObject};return w}(b)}).call(this)},{"./Utility":158,"./XMLDTDAttList":162,"./XMLDTDElement":163,"./XMLDTDEntity":164,"./XMLDTDNotation":165,"./XMLNode":171}],168:[function(x,W,D){(function(){var n=function(c,t){function p(){this.constructor=c}for(var w in t)m.call(t,w)&&(c[w]=t[w]);p.prototype=t.prototype;c.prototype=new p;c.__super__=t.prototype;return c},m={}.hasOwnProperty;var g=x("./Utility").isPlainObject;var b=x("./XMLNode");var l= + x("./XMLStringifier");var a=x("./XMLStringWriter");W.exports=function(c){function t(p){t.__super__.constructor.call(this,null);this.name="?xml";p||(p={});p.writer||(p.writer=new a);this.options=p;this.stringify=new l(p);this.isDocument=!0}n(t,c);t.prototype.end=function(p){p?g(p)&&(p=this.options.writer.set(p)):p=this.options.writer;return p.document(this)};t.prototype.toString=function(p){return this.options.writer.set(p).document(this)};return t}(b)}).call(this)},{"./Utility":158,"./XMLNode":171, + "./XMLStringWriter":175,"./XMLStringifier":176}],169:[function(x,W,D){(function(){var n={}.hasOwnProperty;var m=x("./Utility");var g=m.isObject;var b=m.isFunction;var l=m.isPlainObject;var a=m.getValue;var c=x("./XMLElement");var t=x("./XMLCData");var p=x("./XMLComment");var w=x("./XMLRaw");var r=x("./XMLText");var E=x("./XMLProcessingInstruction");var K=x("./XMLDeclaration");var U=x("./XMLDocType");var O=x("./XMLDTDAttList");var z=x("./XMLDTDEntity");var M=x("./XMLDTDElement");var f=x("./XMLDTDNotation"); + var N=x("./XMLAttribute");var T=x("./XMLStringifier");var q=x("./XMLStringWriter");W.exports=function(){function F(G,k,J){this.name="?xml";G||(G={});if(!G.writer)G.writer=new q(G);else if(l(G.writer)){var I=G.writer;G.writer=new q(I)}this.options=G;this.writer=G.writer;this.stringify=new T(G);this.onDataCallback=k||function(){};this.onEndCallback=J||function(){};this.currentNode=null;this.currentLevel=-1;this.openTags={};this.documentCompleted=this.documentStarted=!1;this.root=null}F.prototype.node= + function(G,k,J){if(null==G)throw Error("Missing node name.");if(this.root&&-1===this.currentLevel)throw Error("Document can only have one root node. "+this.debugInfo(G));this.openCurrent();G=a(G);null==k&&(k={});k=a(k);g(k)||(k=[k,J],J=k[0],k=k[1]);this.currentNode=new c(this,G,k);this.currentNode.children=!1;this.currentLevel++;this.openTags[this.currentLevel]=this.currentNode;null!=J&&this.text(J);return this};F.prototype.element=function(G,k,J){return this.currentNode&&this.currentNode instanceof + U?this.dtdElement.apply(this,arguments):this.node(G,k,J)};F.prototype.attribute=function(G,k){var J;if(!this.currentNode||this.currentNode.children)throw Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(G));null!=G&&(G=a(G));if(g(G))for(J in G)n.call(G,J)&&(k=G[J],this.attribute(J,k));else b(k)&&(k=k.apply()),this.options.skipNullAttributes&&null==k||(this.currentNode.attributes[G]=new N(this,G,k));return this};F.prototype.text=function(G){this.openCurrent(); + G=new r(this,G);this.onData(this.writer.text(G,this.currentLevel+1),this.currentLevel+1);return this};F.prototype.cdata=function(G){this.openCurrent();G=new t(this,G);this.onData(this.writer.cdata(G,this.currentLevel+1),this.currentLevel+1);return this};F.prototype.comment=function(G){this.openCurrent();G=new p(this,G);this.onData(this.writer.comment(G,this.currentLevel+1),this.currentLevel+1);return this};F.prototype.raw=function(G){this.openCurrent();G=new w(this,G);this.onData(this.writer.raw(G, + this.currentLevel+1),this.currentLevel+1);return this};F.prototype.instruction=function(G,k){var J;this.openCurrent();null!=G&&(G=a(G));null!=k&&(k=a(k));if(Array.isArray(G))for(k=0,J=G.length;kthis.currentLevel)throw Error("The document node has no parent.");this.currentNode?(this.currentNode.children? + this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]);delete this.openTags[this.currentLevel];this.currentLevel--;return this};F.prototype.end=function(){for(;0<=this.currentLevel;)this.up();return this.onEnd()};F.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)};F.prototype.openNode=function(G){if(!G.isOpen)return!this.root&&0===this.currentLevel&& + G instanceof c&&(this.root=G),this.onData(this.writer.openNode(G,this.currentLevel),this.currentLevel),G.isOpen=!0};F.prototype.closeNode=function(G){if(!G.isClosed)return this.onData(this.writer.closeNode(G,this.currentLevel),this.currentLevel),G.isClosed=!0};F.prototype.onData=function(G,k){this.documentStarted=!0;return this.onDataCallback(G,k+1)};F.prototype.onEnd=function(){this.documentCompleted=!0;return this.onEndCallback()};F.prototype.debugInfo=function(G){return null==G?"":"node: <"+G+ + ">"};F.prototype.ele=function(){return this.element.apply(this,arguments)};F.prototype.nod=function(G,k,J){return this.node(G,k,J)};F.prototype.txt=function(G){return this.text(G)};F.prototype.dat=function(G){return this.cdata(G)};F.prototype.com=function(G){return this.comment(G)};F.prototype.ins=function(G,k){return this.instruction(G,k)};F.prototype.dec=function(G,k,J){return this.declaration(G,k,J)};F.prototype.dtd=function(G,k,J){return this.doctype(G,k,J)};F.prototype.e=function(G,k,J){return this.element(G, + k,J)};F.prototype.n=function(G,k,J){return this.node(G,k,J)};F.prototype.t=function(G){return this.text(G)};F.prototype.d=function(G){return this.cdata(G)};F.prototype.c=function(G){return this.comment(G)};F.prototype.r=function(G){return this.raw(G)};F.prototype.i=function(G,k){return this.instruction(G,k)};F.prototype.att=function(){return this.currentNode&&this.currentNode instanceof U?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)};F.prototype.a=function(){return this.currentNode&& + this.currentNode instanceof U?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)};F.prototype.ent=function(G,k){return this.entity(G,k)};F.prototype.pent=function(G,k){return this.pEntity(G,k)};F.prototype.not=function(G,k){return this.notation(G,k)};return F}()}).call(this)},{"./Utility":158,"./XMLAttribute":159,"./XMLCData":160,"./XMLComment":161,"./XMLDTDAttList":162,"./XMLDTDElement":163,"./XMLDTDEntity":164,"./XMLDTDNotation":165,"./XMLDeclaration":166,"./XMLDocType":167, + "./XMLElement":170,"./XMLProcessingInstruction":172,"./XMLRaw":173,"./XMLStringWriter":175,"./XMLStringifier":176,"./XMLText":177}],170:[function(x,W,D){(function(){var n=function(t,p){function w(){this.constructor=t}for(var r in p)m.call(p,r)&&(t[r]=p[r]);w.prototype=p.prototype;t.prototype=new w;t.__super__=p.prototype;return t},m={}.hasOwnProperty;var g=x("./Utility");var b=g.isObject;var l=g.isFunction;var a=g.getValue;g=x("./XMLNode");var c=x("./XMLAttribute");W.exports=function(t){function p(w, + r,E){p.__super__.constructor.call(this,w);if(null==r)throw Error("Missing element name. "+this.debugInfo());this.name=this.stringify.eleName(r);this.attributes={};null!=E&&this.attribute(E);w.isDocument&&(this.isRoot=!0,this.documentObject=w,w.rootObject=this)}n(p,t);p.prototype.clone=function(){var w;var r=Object.create(this);r.isRoot&&(r.documentObject=null);r.attributes={};var E=this.attributes;for(w in E)if(m.call(E,w)){var K=E[w];r.attributes[w]=K.clone()}r.children=[];this.children.forEach(function(U){U= + U.clone();U.parent=r;return r.children.push(U)});return r};p.prototype.attribute=function(w,r){var E;null!=w&&(w=a(w));if(b(w))for(E in w)m.call(w,E)&&(r=w[E],this.attribute(E,r));else l(r)&&(r=r.apply()),this.options.skipNullAttributes&&null==r||(this.attributes[w]=new c(this,w,r));return this};p.prototype.removeAttribute=function(w){var r;if(null==w)throw Error("Missing attribute name. "+this.debugInfo());w=a(w);if(Array.isArray(w)){var E=0;for(r=w.length;Ez)throw Error("Already at the first node. "+this.debugInfo());return this.parent.children[z-1]};O.prototype.next=function(){var z=this.parent.children.indexOf(this); + if(-1===z||z===this.parent.children.length-1)throw Error("Already at the last node. "+this.debugInfo());return this.parent.children[z+1]};O.prototype.importDocument=function(z){z=z.root().clone();z.parent=this;z.isRoot=!1;this.children.push(z);return this};O.prototype.debugInfo=function(z){var M,f;z=z||this.name;return null!=z||null!=(M=this.parent)&&M.name?null==z?"parent: <"+this.parent.name+">":null!=(f=this.parent)&&f.name?"node: <"+z+">, parent: <"+this.parent.name+">":"node: <"+z+">":""};O.prototype.ele= + function(z,M,f){return this.element(z,M,f)};O.prototype.nod=function(z,M,f){return this.node(z,M,f)};O.prototype.txt=function(z){return this.text(z)};O.prototype.dat=function(z){return this.cdata(z)};O.prototype.com=function(z){return this.comment(z)};O.prototype.ins=function(z,M){return this.instruction(z,M)};O.prototype.doc=function(){return this.document()};O.prototype.dec=function(z,M,f){return this.declaration(z,M,f)};O.prototype.dtd=function(z,M){return this.doctype(z,M)};O.prototype.e=function(z, + M,f){return this.element(z,M,f)};O.prototype.n=function(z,M,f){return this.node(z,M,f)};O.prototype.t=function(z){return this.text(z)};O.prototype.d=function(z){return this.cdata(z)};O.prototype.c=function(z){return this.comment(z)};O.prototype.r=function(z){return this.raw(z)};O.prototype.i=function(z,M){return this.instruction(z,M)};O.prototype.u=function(){return this.up()};O.prototype.importXMLBuilder=function(z){return this.importDocument(z)};return O}()}).call(this)},{"./Utility":158,"./XMLCData":160, + "./XMLComment":161,"./XMLDeclaration":166,"./XMLDocType":167,"./XMLElement":170,"./XMLProcessingInstruction":172,"./XMLRaw":173,"./XMLText":177}],172:[function(x,W,D){(function(){var n=function(b,l){function a(){this.constructor=b}for(var c in l)m.call(l,c)&&(b[c]=l[c]);a.prototype=l.prototype;b.prototype=new a;b.__super__=l.prototype;return b},m={}.hasOwnProperty;var g=x("./XMLNode");W.exports=function(b){function l(a,c,t){l.__super__.constructor.call(this,a);if(null==c)throw Error("Missing instruction target. "+ + this.debugInfo());this.target=this.stringify.insTarget(c);t&&(this.value=this.stringify.insValue(t))}n(l,b);l.prototype.clone=function(){return Object.create(this)};l.prototype.toString=function(a){return this.options.writer.set(a).processingInstruction(this)};return l}(g)}).call(this)},{"./XMLNode":171}],173:[function(x,W,D){(function(){var n=function(b,l){function a(){this.constructor=b}for(var c in l)m.call(l,c)&&(b[c]=l[c]);a.prototype=l.prototype;b.prototype=new a;b.__super__=l.prototype;return b}, + m={}.hasOwnProperty;var g=x("./XMLNode");W.exports=function(b){function l(a,c){l.__super__.constructor.call(this,a);if(null==c)throw Error("Missing raw text. "+this.debugInfo());this.value=this.stringify.raw(c)}n(l,b);l.prototype.clone=function(){return Object.create(this)};l.prototype.toString=function(a){return this.options.writer.set(a).raw(this)};return l}(g)}).call(this)},{"./XMLNode":171}],174:[function(x,W,D){(function(){var n=function(z,M){function f(){this.constructor=z}for(var N in M)m.call(M, + N)&&(z[N]=M[N]);f.prototype=M.prototype;z.prototype=new f;z.__super__=M.prototype;return z},m={}.hasOwnProperty;var g=x("./XMLDeclaration");var b=x("./XMLDocType");var l=x("./XMLCData");var a=x("./XMLComment");var c=x("./XMLElement");var t=x("./XMLRaw");var p=x("./XMLText");var w=x("./XMLProcessingInstruction");var r=x("./XMLDTDAttList");var E=x("./XMLDTDElement");var K=x("./XMLDTDEntity");var U=x("./XMLDTDNotation");var O=x("./XMLWriterBase");W.exports=function(z){function M(f,N){M.__super__.constructor.call(this, + N);this.stream=f}n(M,z);M.prototype.document=function(f){var N;var T=f.children;var q=0;for(N=T.length;q");return this.stream.write(this.endline(f))};M.prototype.docType=function(f,N){var T;N||(N=0);this.stream.write(this.space(N));this.stream.write("");return this.stream.write(this.endline(f))};M.prototype.element=function(f,N){N||(N=0);var T=this.space(N);this.stream.write(T+"<"+f.name);var q=f.attributes;for(k in q)if(m.call(q,k)){var F=q[k];this.attribute(F)}if(0===f.children.length||f.children.every(function(J){return""===J.value}))this.allowEmpty?this.stream.write(">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&1===f.children.length&& + null!=f.children[0].value)this.stream.write(">"),this.stream.write(f.children[0].value),this.stream.write("");else{this.stream.write(">"+this.newline);var G=f.children;var k=0;for(q=G.length;k")}return this.stream.write(this.endline(f))};M.prototype.processingInstruction=function(f,N){this.stream.write(this.space(N)+""+this.endline(f))};M.prototype.raw=function(f,N){return this.stream.write(this.space(N)+f.value+this.endline(f))};M.prototype.text=function(f,N){return this.stream.write(this.space(N)+ + f.value+this.endline(f))};M.prototype.dtdAttList=function(f,N){this.stream.write(this.space(N)+""+this.endline(f))};M.prototype.dtdElement=function(f,N){this.stream.write(this.space(N)+""+this.endline(f))};M.prototype.dtdEntity=function(f,N){this.stream.write(this.space(N)+""+this.endline(f))};M.prototype.dtdNotation=function(f,N){this.stream.write(this.space(N)+ + ""+this.endline(f))};M.prototype.endline=function(f){return f.isLastRootNode?"":this.newline};return M}(O)}).call(this)},{"./XMLCData":160,"./XMLComment":161,"./XMLDTDAttList":162,"./XMLDTDElement":163,"./XMLDTDEntity":164,"./XMLDTDNotation":165,"./XMLDeclaration":166, + "./XMLDocType":167,"./XMLElement":170,"./XMLProcessingInstruction":172,"./XMLRaw":173,"./XMLText":177,"./XMLWriterBase":178}],175:[function(x,W,D){(function(){var n=function(z,M){function f(){this.constructor=z}for(var N in M)m.call(M,N)&&(z[N]=M[N]);f.prototype=M.prototype;z.prototype=new f;z.__super__=M.prototype;return z},m={}.hasOwnProperty;var g=x("./XMLDeclaration");var b=x("./XMLDocType");var l=x("./XMLCData");var a=x("./XMLComment");var c=x("./XMLElement");var t=x("./XMLRaw");var p=x("./XMLText"); + var w=x("./XMLProcessingInstruction");var r=x("./XMLDTDAttList");var E=x("./XMLDTDElement");var K=x("./XMLDTDEntity");var U=x("./XMLDTDNotation");var O=x("./XMLWriterBase");W.exports=function(z){function M(f){M.__super__.constructor.call(this,f)}n(M,z);M.prototype.document=function(f){var N;this.textispresent=!1;var T="";var q=f.children;f=0;for(N=q.length;f";return N+=this.newline};M.prototype.docType=function(f,N){var T;N||(N=0);var q=this.space(N);q+="";return q+=this.newline};M.prototype.element=function(f,N){var T;N||(N=0);var q=!1;this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault);var F=this.space(N);var G=F+"<"+f.name;var k=f.attributes;for(T in k)if(m.call(k,T)){var J=k[T];G+=this.attribute(J)}if(0===f.children.length||f.children.every(function(S){return""===S.value}))G=this.allowEmpty?G+(">"+this.newline):G+(this.spacebeforeslash+"/>"+ + this.newline);else if(this.pretty&&1===f.children.length&&null!=f.children[0].value)G=G+">"+f.children[0].value,G+=""+this.newline;else{if(this.dontprettytextnodes)for(k=f.children,J=0,T=k.length;J"+this.newline;k=f.children;J=0;for(T=k.length;J"+this.newline}return G};M.prototype.processingInstruction= + function(f,N){N=this.space(N)+""+this.newline};M.prototype.raw=function(f,N){return this.space(N)+f.value+this.newline};M.prototype.text=function(f,N){return this.space(N)+f.value+this.newline};M.prototype.dtdAttList=function(f,N){N=this.space(N)+""+this.newline};M.prototype.dtdElement=function(f,N){return this.space(N)+""+this.newline};M.prototype.dtdEntity=function(f,N){N=this.space(N)+""+this.newline};M.prototype.dtdNotation=function(f, + N){N=this.space(N)+""+this.newline};M.prototype.openNode=function(f,N){var T;N||(N=0);if(f instanceof c){var q=this.space(N)+"<"+f.name;var F=f.attributes;for(T in F)m.call(F,T)&&(N=F[T],q+=this.attribute(N));q+=(f.children?">":"/>")+this.newline}else q=this.space(N)+"")+this.newline;return q};M.prototype.closeNode=function(f,N){N||(N=0);switch(!1){case !(f instanceof c):return this.space(N)+""+this.newline;case !(f instanceof b):return this.space(N)+"]>"+this.newline}};return M}(O)}).call(this)},{"./XMLCData":160,"./XMLComment":161,"./XMLDTDAttList":162,"./XMLDTDElement":163,"./XMLDTDEntity":164,"./XMLDTDNotation":165,"./XMLDeclaration":166,"./XMLDocType":167, + "./XMLElement":170,"./XMLProcessingInstruction":172,"./XMLRaw":173,"./XMLText":177,"./XMLWriterBase":178}],176:[function(x,W,D){(function(){var n=function(g,b){return function(){return g.apply(b,arguments)}},m={}.hasOwnProperty;W.exports=function(){function g(b){this.assertLegalChar=n(this.assertLegalChar,this);var l;b||(b={});this.noDoubleEncoding=b.noDoubleEncoding;b=b.stringify||{};for(l in b)if(m.call(b,l)){var a=b[l];this[l]=a}}g.prototype.eleName=function(b){return this.assertLegalChar(""+b|| + "")};g.prototype.eleText=function(b){return this.assertLegalChar(this.elEscape(""+b||""))};g.prototype.cdata=function(b){b=(""+b||"").replace("]]\x3e","]]]]\x3e");return this.assertLegalChar(b)};g.prototype.comment=function(b){b=""+b||"";if(b.match(/--/))throw Error("Comment text cannot contain double-hypen: "+b);return this.assertLegalChar(b)};g.prototype.raw=function(b){return""+b||""};g.prototype.attName=function(b){return""+b||""};g.prototype.attValue=function(b){return this.attEscape(""+ + b||"")};g.prototype.insTarget=function(b){return""+b||""};g.prototype.insValue=function(b){b=""+b||"";if(b.match(/\?>/))throw Error("Invalid processing instruction value: "+b);return b};g.prototype.xmlVersion=function(b){b=""+b||"";if(!b.match(/1\.[0-9]+/))throw Error("Invalid version number: "+b);return b};g.prototype.xmlEncoding=function(b){b=""+b||"";if(!b.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw Error("Invalid encoding: "+b);return b};g.prototype.xmlStandalone=function(b){return b?"yes":"no"}; + g.prototype.dtdPubID=function(b){return""+b||""};g.prototype.dtdSysID=function(b){return""+b||""};g.prototype.dtdElementValue=function(b){return""+b||""};g.prototype.dtdAttType=function(b){return""+b||""};g.prototype.dtdAttDefault=function(b){return null!=b?""+b||"":b};g.prototype.dtdEntityValue=function(b){return""+b||""};g.prototype.dtdNData=function(b){return""+b||""};g.prototype.convertAttKey="@";g.prototype.convertPIKey="?";g.prototype.convertTextKey="#text";g.prototype.convertCDataKey="#cdata"; + g.prototype.convertCommentKey="#comment";g.prototype.convertRawKey="#raw";g.prototype.assertLegalChar=function(b){var l;if(l=b.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/))throw Error("Invalid character in string: "+b+" at index "+l.index);return b};g.prototype.elEscape=function(b){return b.replace(this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,"&").replace(//g,">").replace(/\r/g," ")};g.prototype.attEscape=function(b){return b.replace(this.noDoubleEncoding? + /(?!&\S+;)&/g:/&/g,"&").replace(/'); + c.ui.registry.addButton("importword",{icon:"importword",tooltip:"\u5bfc\u5165Word",onAction:function(){u()}});return{getMetadata:function(){return{name:"\u5bfc\u5165Word",url:"https://github.com/Five-great/tinymce-plugins"}}}}); \ No newline at end of file diff --git a/public/static/js/tinymce5/plugins/importword/plugin.min.js b/public/static/js/tinymce5/plugins/importword/plugin.min.js new file mode 100755 index 0000000..e5f737a --- /dev/null +++ b/public/static/js/tinymce5/plugins/importword/plugin.min.js @@ -0,0 +1,764 @@ + +/** + * importword 1.2v + * The tinymce-plugins is used to import word + * + * https://github.com/Five-great/tinymce-plugins + * + * Copyright 2020, Five(Li Hailong) The Chengdu, China https://www.fivecc.cn/ + * + * Licensed under MIT + */ +/** + * importword 1.2v + * The tinymce-plugins is used to import word + * + * https://github.com/Five-great/tinymce-plugins + * + * Copyright 2020, Five(Li Hailong) The Chengdu, China https://www.fivecc.cn/ + * + * Licensed under MIT + */ +(function(ra){("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof self?self:this).mammoth=ra()})(function(){return function n(x,W,D){function m(l,a){if(!W[l]){if(!x[l]){var c="function"==typeof require&&require;if(!a&&c)return c(l,!0);if(g)return g(l,!0);a=Error("Cannot find module '"+l+"'");throw a.code="MODULE_NOT_FOUND",a;}a=W[l]={exports:{}};x[l][0].call(a.exports,function(t){var p=x[l][1][t];return m(p?p:t)},a,a.exports,n,x,W,D)}return W[l].exports}for(var g= + "function"==typeof require&&require,b=0;b h1\" instead of mammoth.styleMapping(\"p[style-name='Title'] => h1\")");}},{"./document-to-html":3,"./docx/docx-reader":9,"./docx/style-map":14,"./images":20,"./options-reader":22,"./results":24,"./style-reader":25,"./transforms":29,"./underline":30,"./unzip":2,underscore:153}],22:[function(x,W,D){function n(l){return l?m.isString(l)?l.split("\n").map(function(a){return a.trim()}).filter(function(a){return""!== + a&&"#"!==a.charAt(0)}):l:[]}D.readOptions=function(l){l=l||{};return m.extend({},b,l,{customStyleMap:n(l.styleMap),readStyleMap:function(){var a=this.customStyleMap;this.includeEmbeddedStyleMap&&(a=a.concat(n(this.embeddedStyleMap)));this.includeDefaultStyleMap&&(a=a.concat(g));return a}})};var m=x("underscore"),g=D._defaultStyleMap="p.Heading1 => h1:fresh;p.Heading2 => h2:fresh;p.Heading3 => h3:fresh;p.Heading4 => h4:fresh;p.Heading5 => h5:fresh;p.Heading6 => h6:fresh;p[style-name='Heading 1'] => h1:fresh;p[style-name='Heading 2'] => h2:fresh;p[style-name='Heading 3'] => h3:fresh;p[style-name='Heading 4'] => h4:fresh;p[style-name='Heading 5'] => h5:fresh;p[style-name='Heading 6'] => h6:fresh;p[style-name='heading 1'] => h1:fresh;p[style-name='heading 2'] => h2:fresh;p[style-name='heading 3'] => h3:fresh;p[style-name='heading 4'] => h4:fresh;p[style-name='heading 5'] => h5:fresh;p[style-name='heading 6'] => h6:fresh;r[style-name='Strong'] => strong;p[style-name='footnote text'] => p:fresh;r[style-name='footnote reference'] =>;p[style-name='endnote text'] => p:fresh;r[style-name='endnote reference'] =>;p[style-name='annotation text'] => p:fresh;r[style-name='annotation reference'] =>;p[style-name='Footnote'] => p:fresh;r[style-name='Footnote anchor'] =>;p[style-name='Endnote'] => p:fresh;r[style-name='Endnote anchor'] =>;p:unordered-list(1) => ul > li:fresh;p:unordered-list(2) => ul|ol > li > ul > li:fresh;p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh;p:unordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh;p:unordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ul > li:fresh;p:ordered-list(1) => ol > li:fresh;p:ordered-list(2) => ul|ol > li > ol > li:fresh;p:ordered-list(3) => ul|ol > li > ul|ol > li > ol > li:fresh;p:ordered-list(4) => ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh;p:ordered-list(5) => ul|ol > li > ul|ol > li > ul|ol > li > ul|ol > li > ol > li:fresh;r[style-name='Hyperlink'] =>;p[style-name='Normal'] => p:fresh".split(";"), + b=D._standardOptions={transformDocument:function(l){return l},includeDefaultStyleMap:!0,includeEmbeddedStyleMap:!0}},{underscore:153}],23:[function(x,W,D){var n=x("underscore"),m=x("bluebird/js/release/promise")();D.defer=function(){var g,b,l=new m.Promise(function(a,c){g=a;b=c});return{resolve:g,reject:b,promise:l}};D.when=m.resolve;D.resolve=m.resolve;D.all=m.all;D.props=m.props;D.reject=m.reject;D.promisify=m.promisify;D.mapSeries=m.mapSeries;D.attempt=m.attempt;D.nfcall=function(g){var b=Array.prototype.slice.call(arguments, + 1);return m.promisify(g).apply(null,b)};m.prototype.fail=m.prototype.caught;m.prototype.also=function(g){return this.then(function(b){b=n.extend({},b,g(b));return m.props(b)})}},{"bluebird/js/release/promise":60,underscore:153}],24:[function(x,W,D){function n(l,a){this.value=l;this.messages=a||[]}function m(l){var a=[];b.flatten(b.pluck(l,"messages"),!0).forEach(function(c){void 0===b.find(a,g.bind(null,c))&&a.push(c)});return a}function g(l,a){return l.type===a.type&&l.message===a.message}var b= + x("underscore");D.Result=n;D.success=function(l){return new n(l,[])};D.warning=function(l){return{type:"warning",message:l}};D.error=function(l){return{type:"error",message:l.message,error:l}};n.prototype.map=function(l){return new n(l(this.value),this.messages)};n.prototype.flatMap=function(l){l=l(this.value);return new n(l.value,m([this,l]))};n.prototype.flatMapThen=function(l){var a=this;return l(this.value).then(function(c){return new n(c.value,m([a,c]))})};n.combine=function(l){var a=b.flatten(b.pluck(l, + "value"));l=m(l);return new n(a,l)}},{underscore:153}],25:[function(x,W,D){function n(){function f(R){R=c.rules.firstOf.apply(c.rules.firstOf,["matcher suffix"].concat(R));R=c.rules.zeroOrMore(R);return c.rules.then(R,function(Q){var B={};Q.forEach(function(H){a.extend(B,H)});return B})}var N=c.rules.sequence,T=function(R,Q){return c.rules.then(c.rules.token("identifier",R),function(){return Q})},q=T("p",t.paragraph),F=T("r",t.run);q=c.rules.firstOf("p or r or table",q,F);F=c.rules.then(z,function(R){return{styleId:R}}); + var G=c.rules.firstOf("style name matcher",c.rules.then(c.rules.sequence(c.rules.tokenOfType("equals"),c.rules.sequence.cut(),c.rules.sequence.capture(U)).head(),function(R){return{styleName:t.equalTo(R)}}),c.rules.then(c.rules.sequence(c.rules.tokenOfType("startsWith"),c.rules.sequence.cut(),c.rules.sequence.capture(U)).head(),function(R){return{styleName:t.startsWith(R)}}));G=c.rules.sequence(c.rules.tokenOfType("open-square-bracket"),c.rules.sequence.cut(),c.rules.token("identifier","style-name"), + c.rules.sequence.capture(G),c.rules.tokenOfType("close-square-bracket")).head();var k=c.rules.firstOf("list type",T("ordered-list",{isOrdered:!0}),T("unordered-list",{isOrdered:!1}));k=N(c.rules.tokenOfType("colon"),N.capture(k),N.cut(),c.rules.tokenOfType("open-paren"),N.capture(K),c.rules.tokenOfType("close-paren")).map(function(R,Q){return{list:{isOrdered:R.isOrdered,levelIndex:Q-1}}});q=N(N.capture(q),N.capture(f([F,G,k]))).map(function(R,Q){return R(Q)});F=N(c.rules.token("identifier","table"), + N.capture(f([F,G]))).map(function(R){return t.table(R)});G=T("b",t.bold);k=T("i",t.italic);var J=T("u",t.underline),I=T("strike",t.strikethrough),S=T("small-caps",t.smallCaps);T=T("comment-reference",t.commentReference);N=N(c.rules.token("identifier","br"),N.cut(),c.rules.tokenOfType("open-square-bracket"),c.rules.token("identifier","type"),c.rules.tokenOfType("equals"),N.capture(U),c.rules.tokenOfType("close-square-bracket")).map(function(R){switch(R){case "line":return t.lineBreak;case "page":return t.pageBreak; + case "column":return t.columnBreak}});return c.rules.firstOf("element type",q,F,G,k,J,I,S,T,N)}function m(){var f=c.rules.sequence.capture,N=c.rules.tokenOfType("whitespace"),T=c.rules.then(c.rules.optional(c.rules.sequence(c.rules.tokenOfType("colon"),c.rules.token("identifier","fresh"))),function(G){return G.map(function(){return!0}).valueOrElse(!1)}),q=c.rules.then(c.rules.optional(c.rules.sequence(c.rules.tokenOfType("colon"),c.rules.token("identifier","separator"),c.rules.tokenOfType("open-paren"), + f(U),c.rules.tokenOfType("close-paren")).head()),function(G){return G.valueOrElse("")}),F=c.rules.oneOrMoreWithSeparator(E,c.rules.tokenOfType("choice"));f=c.rules.sequence(f(F),f(c.rules.zeroOrMore(z)),f(T),f(q)).map(function(G,k,J,I){var S={},R={};0/},{name:"whitespace",regex:/\s+/},{name:"arrow",regex:/=>/},{name:"equals",regex:/=/},{name:"startsWith",regex:/\^=/},{name:"open-paren",regex:/\(/},{name:"close-paren",regex:/\)/}, + {name:"open-square-bracket",regex:/\[/},{name:"close-square-bracket",regex:/\]/},{name:"string",regex:new RegExp(m+"'")},{name:"unterminated-string",regex:new RegExp(m)},{name:"integer",regex:/([0-9]+)/},{name:"choice",regex:/\|/},{name:"bang",regex:/(!)/}])).tokenise(g)};var m="'((?:\\\\.|[^'])*)"},{lop:107}],29:[function(x,W,D){function n(a,c){return m(function(t){return t.type===a?c(t):t})}function m(a){return function p(t){if(t.children){var w=l.map(t.children,p);t=l.extend(t,{children:w})}return a(t)}} + function g(a){var c=[];b(a,function(t){c.push(t)});return c}function b(a,c){a.children&&a.children.forEach(function(t){b(t,c);c(t)})}var l=x("underscore");D.paragraph=function(a){return n("paragraph",a)};D.run=function(a){return n("run",a)};D._elements=m;D.getDescendantsOfType=function(a,c){return g(a).filter(function(t){return t.type===c})};D.getDescendants=g},{underscore:153}],30:[function(x,W,D){var n=x("./styles/html-paths"),m=x("./html");D.element=function(g){return function(b){return m.elementWithTag(n.element(g), + [b])}}},{"./html":18,"./styles/html-paths":27}],31:[function(x,W,D){function n(){function a(){r=!1;if(!w&&(0===p.length||l[p[p.length-1]])&&!c()){E._append("\n");for(var K=0;K/g,">"))}).join("")}var c=[];return{asString:function(){return c.join("")},open:function(t,p){p=a(p);c.push(g.format("<%s%s>",t,p))},close:function(t){c.push(g.format("",t))},text:function(t){c.push(t.replace(/&/g,"&").replace(//g,">"))},selfClosing:function(t, + p){p=a(p);c.push(g.format("<%s%s />",t,p))},_append:function(t){c.push(t)}}}var g=x("util"),b=x("underscore");D.writer=function(a){a=a||{};return a.prettyPrint?n():m()};var l={div:!0,p:!0,ul:!0,li:!0}},{underscore:153,util:157}],32:[function(x,W,D){var n=x("./html-writer"),m=x("./markdown-writer");D.writer=function(g){g=g||{};return"markdown"===g.outputFormat?m.writer():n.writer(g)}},{"./html-writer":31,"./markdown-writer":33}],33:[function(x,W,D){function n(a){return m(a,a)}function m(a,c){return function(){return{start:a, + end:c}}}function g(a){return function(c,t){return{start:t?"\n":"",end:t?"":"\n",list:{isOrdered:a.isOrdered,indent:t?t.indent+1:0,count:0}}}}var b=x("underscore"),l={p:m("","\n\n"),br:m(""," \n"),ul:g({isOrdered:!1}),ol:g({isOrdered:!0}),li:function(a,c,t){c=c||{indent:0,isOrdered:!1,count:0};c.count++;t.hasClosed=!1;a=c.isOrdered?c.count+".":"-";return{start:Array(c.indent+1).join("\t")+a+" ",end:function(){if(!t.hasClosed)return t.hasClosed=!0,"\n"}}},strong:n("__"),em:n("*"),a:function(a){return(a= + a.href||"")?{start:"[",end:"]("+a+")",anchorPosition:"before"}:{}},img:function(a){var c=a.src||"";a=a.alt||"";return c||a?{start:"!["+a+"]("+c+")"}:{}}};(function(){for(var a=1;6>=a;a++)l["h"+a]=m(Array(a+1).join("#")+" ","\n\n")})();D.writer=function(){function a(K,U){U=U||{};K=(l[K]||function(){return{}})(U,r,E);w.push({end:K.end,list:r});K.list&&(r=K.list);var O="before"===K.anchorPosition;O&&c(U);p.push(K.start||"");O||c(U)}function c(K){K.id&&p.push('')}function t(K){K= + w.pop();r=K.list;K=b.isFunction(K.end)?K.end():K.end;p.push(K||"")}var p=[],w=[],r=null,E={};return{asString:function(){return p.join("")},open:a,close:t,text:function(K){p.push(K.replace(/\\/g,"\\\\").replace(/([`\*_\{\}\[\]\(\)#\+\-\.!])/g,"\\$1"))},selfClosing:function(K,U){a(K,U);t(K)}}}},{underscore:153}],34:[function(x,W,D){W=x("./nodes");D.Element=W.Element;D.element=W.element;D.text=W.text;D.readString=x("./reader").readString;D.writeString=x("./writer").writeString},{"./nodes":35,"./reader":36, + "./writer":37}],35:[function(x,W,D){function n(l,a,c){this.type="element";this.name=l;this.attributes=a||{};this.children=c||[]}var m=x("underscore");D.Element=n;D.element=function(l,a,c){return new n(l,a,c)};D.text=function(l){return{type:"text",value:l}};var g={first:function(){return null},firstOrEmpty:function(){return g},attributes:{}};n.prototype.first=function(l){return m.find(this.children,function(a){return a.name===l})};n.prototype.firstOrEmpty=function(l){return this.first(l)||g};n.prototype.getElementsByTagName= + function(l){var a=m.filter(this.children,function(c){return c.name===l});return m.extend(a,b)};n.prototype.text=function(){if(0===this.children.length)return"";if(1!==this.children.length||"text"!==this.children[0].type)throw Error("Not implemented");return this.children[0].value};var b={getElementsByTagName:function(l){return m.extend(m.flatten(this.map(function(a){return a.getElementsByTagName(l)},!0)),b)}}},{underscore:153}],36:[function(x,W,D){function n(c,t,p){return b.reduce(c,function(w,r, + E){var K=p(r,E,c);w[K]=t(r,E,c);return w},{})}var m=x("../promises"),g=x("sax"),b=x("underscore"),l=x("./nodes"),a=l.Element;D.readString=function(c,t){function p(z){if(z.uri){var M=t[z.uri];return(M?M+":":"{"+z.uri+"}")+z.local}return z.local}t=t||{};var w=!1,r=g.parser(!0,{xmlns:!0,position:!1}),E={children:[]},K=E,U=[],O=m.defer();r.onopentag=function(z){var M=n(z.attributes,function(f){return f.value},p);z=new a(p(z),M);K.children.push(z);U.push(K);K=z};r.onclosetag=function(z){K=U.pop()};r.ontext= + function(z){K!==E&&K.children.push(l.text(z))};r.onend=function(){w||(w=!0,O.resolve(E.children[0]))};r.onerror=function(z){w||(w=!0,O.reject(z))};r.write(c).close();return O.promise}},{"../promises":23,"./nodes":35,sax:150,underscore:153}],37:[function(x,W,D){function n(b,l){b.text(l.value)}var m=x("underscore"),g=x("xmlbuilder");D.writeString=function(b,l){function a(p){var w=/^\{(.*)\}(.*)$/.exec(p);return w?(p=c[w[1]],p+(""===p?"":":")+w[2]):p}var c=m.invert(l),t={element:function(p,w){var r= + p.element(a(w.name),w.attributes);w.children.forEach(function(E){t[E.type](r,E)})},text:n};return function(p){var w=g.create(a(p.name),{version:"1.0",encoding:"UTF-8",standalone:!0});m.forEach(l,function(r,E){w.attribute("xmlns"+(""===E?"":":"+E),r)});p.children.forEach(function(r){t[r.type](w,r)});return w.end()}(b)}},{underscore:153,xmlbuilder:179}],38:[function(x,W,D){(function(n){var m=x("jszip"),g=x("./promises");D.openArrayBuffer=function(b){var l=new m(b);return{exists:function(a){return null!== + l.file(a)},read:function(a,c){a=l.file(a).asUint8Array();a=new n(a);return c?g.when(a.toString(c)):g.when(a)},write:function(a,c){l.file(a,c)},toBuffer:function(){return l.generate({type:"nodebuffer"})}}};D.splitPath=function(b){var l=b.lastIndexOf("/");return-1===l?{dirname:"",basename:b}:{dirname:b.substring(0,l),basename:b.substring(l+1)}};D.joinPath=function(){var b=[];Array.prototype.filter.call(arguments,function(l){return l}).forEach(function(l){/^\//.test(l)?b=[l]:b.push(l)});return b.join("/")}}).call(this, + x("buffer").Buffer)},{"./promises":23,buffer:77,jszip:92}],39:[function(x,W,D){function n(a){var c=a.length;if(0>18&63]+g[c>>12&63]+g[c>>6&63]+g[c&63]);return p.join("")}D.byteLength=function(a){return 3*a.length/4-n(a)};D.toByteArray=function(a){var c=a.length;var t=n(a);var p=new l(3*c/4-t);var w=0>16&255;p[r++]=E>>8&255;p[r++]=E&255}2===t?(E=b[a.charCodeAt(c)]<<2|b[a.charCodeAt(c+1)]>>4,p[r++]=E&255):1===t&&(E=b[a.charCodeAt(c)]<<10|b[a.charCodeAt(c+1)]<<4|b[a.charCodeAt(c+2)]>>2,p[r++]=E>>8&255,p[r++]=E&255);return p};D.fromByteArray=function(a){for(var c=a.length,t=c%3,p="",w=[],r=0,E=c-t;rE?E:r+16383));1===t?(a=a[c-1],p+= + g[a>>2],p+=g[a<<4&63],p+="=="):2===t&&(a=(a[c-2]<<8)+a[c-1],p+=g[a>>10],p+=g[a>>4&63],p+=g[a<<2&63],p+="=");w.push(p);return w.join("")};var g=[],b=[],l="undefined"!==typeof Uint8Array?Uint8Array:Array;for(x=0;64>x;++x)g[x]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[x],b["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(x)]=x;b[45]=62;b[95]=63},{}],40:[function(x,W,D){W.exports=function(n){function m(b){b=new g(b);var l=b.promise();b.setHowMany(1); + b.setUnwrap();b.init();return l}var g=n._SomePromiseArray;n.any=function(b){return m(b)};n.prototype.any=function(){return m(this)}}},{}],41:[function(x,W,D){(function(n){function m(){this._isTickUsed=this._customScheduler=!1;this._lateQueue=new t(16);this._normalQueue=new t(16);this._haveDrainedQueues=!1;this._trampolineEnabled=!0;var w=this;this.drainQueues=function(){w._drainQueues()};this._schedule=c}function g(w,r,E){this._lateQueue.push(w,r,E);this._queueTick()}function b(w,r,E){this._normalQueue.push(w, + r,E);this._queueTick()}function l(w){this._normalQueue._pushOne(w);this._queueTick()}try{throw Error();}catch(w){var a=w}var c=x("./schedule"),t=x("./queue"),p=x("./util");m.prototype.setScheduler=function(w){var r=this._schedule;this._schedule=w;this._customScheduler=!0;return r};m.prototype.hasCustomScheduler=function(){return this._customScheduler};m.prototype.enableTrampoline=function(){this._trampolineEnabled=!0};m.prototype.disableTrampolineIfNecessary=function(){p.hasDevTools&&(this._trampolineEnabled= + !1)};m.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues};m.prototype.fatalError=function(w,r){r?(n.stderr.write("Fatal "+(w instanceof Error?w.stack:w)+"\n"),n.exit(2)):this.throwLater(w)};m.prototype.throwLater=function(w,r){1===arguments.length&&(r=w,w=function(){throw r;});if("undefined"!==typeof setTimeout)setTimeout(function(){w(r)},0);else try{this._schedule(function(){w(r)})}catch(E){throw Error("No async scheduler available\n\n See http://goo.gl/MqrFmX\n"); + }};p.hasDevTools?(m.prototype.invokeLater=function(w,r,E){this._trampolineEnabled?g.call(this,w,r,E):this._schedule(function(){setTimeout(function(){w.call(r,E)},100)})},m.prototype.invoke=function(w,r,E){this._trampolineEnabled?b.call(this,w,r,E):this._schedule(function(){w.call(r,E)})},m.prototype.settlePromises=function(w){this._trampolineEnabled?l.call(this,w):this._schedule(function(){w._settlePromises()})}):(m.prototype.invokeLater=g,m.prototype.invoke=b,m.prototype.settlePromises=l);m.prototype._drainQueue= + function(w){for(;0M&&(M=Math.max(0,M+z.length));return z[M]}var t=x("./util"),p=t.canEvaluate,w=t.isIdentifier,r=function(z){return(new Function("ensureMethod", + " \n return function(obj) { \n 'use strict' \n var len = this.length; \n ensureMethod(obj, 'methodName'); \n switch(len) { \n case 1: return obj.methodName(this[0]); \n case 2: return obj.methodName(this[0], this[1]); \n case 3: return obj.methodName(this[0], this[1], this[2]); \n case 0: return obj.methodName(); \n default: \n return obj.methodName.apply(obj, this); \n } \n }; \n ".replace(/methodName/g, + z)))(b)},E=function(z){return new Function("obj"," \n 'use strict'; \n return obj.propertyName; \n ".replace("propertyName",z))},K=function(z,M,f){var N=f[z];if("function"!==typeof N){if(!w(z))return null;N=M(z);f[z]=N;f[" size"]++;if(512M;++M)delete f[z[M]];f[" size"]=z.length-256}}return N}; + var U=function(z){return K(z,r,n)};var O=function(z){return K(z,E,m)};g.prototype.call=function(z){for(var M=arguments.length,f=Array(Math.max(M-1,0)),N=1;N=this._branchesRemainingToCancel};n.prototype._cancelBy=function(p){if(p===this)return this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0;this._branchHasCancelled();return this._enoughBranchesHaveCancelled()?(this._invokeOnCancel(),!0):!1};n.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&& + this._cancel()};n.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),t.invoke(this._cancelPromises,this,void 0))};n.prototype._cancelPromises=function(){0ba.length?ba:ba.substr(0,38)+"...";return"(<"+aa+">, no stack trace)"}function F(){return"function"===typeof la}function G(aa){if(aa=aa.match(ha))return{fileName:aa[1],line:parseInt(aa[2],10)}}function k(aa){this._parent=aa;this._promisesCreated=0;aa=this._length= + 1+(void 0===aa?0:aa._length);la(this,k);32aa)){var ba=[],ea={},da=0;for(aa=this;void 0!==aa;++da)ba.push(aa),aa=aa._parent; + aa=this._length=da;for(da=aa-1;0<=da;--da){var ia=ba[da].stack;void 0===ea[ia]&&(ea[ia]=da)}for(da=0;daea||0>da||!ia||!ka||ia!==ka||ea>= + da||(fa=function(oa){return X.test(oa)?!0:(oa=G(oa))&&oa.fileName===ia&&ea<=oa.line&&oa.line<=da?!0:!1})}},warn:O,deprecated:function(aa,ba){aa+=" is deprecated and will be removed in a future version.";ba&&(aa+=" Use "+ba+" instead.");return O(aa)},CapturedTrace:k,fireDomEvent:L,fireGlobalEvent:V}}}).call(this,x("_process"))},{"./errors":50,"./util":74,_process:138}],48:[function(x,W,D){W.exports=function(n){function m(){return this.value}function g(){throw this.reason;}n.prototype["return"]=n.prototype.thenReturn= + function(b){b instanceof n&&b.suppressUnhandledRejections();return this._then(m,void 0,void 0,{value:b},void 0)};n.prototype["throw"]=n.prototype.thenThrow=function(b){return this._then(g,void 0,void 0,{reason:b},void 0)};n.prototype.catchThrow=function(b){if(1>=arguments.length)return this._then(void 0,g,void 0,{reason:b},void 0);var l=arguments[1];return this.caught(b,function(){throw l;})};n.prototype.catchReturn=function(b){if(1>=arguments.length)return b instanceof n&&b.suppressUnhandledRejections(), + this._then(void 0,m,void 0,{value:b},void 0);var l=arguments[1];l instanceof n&&l.suppressUnhandledRejections();return this.caught(b,function(){return l})}}},{}],49:[function(x,W,D){W.exports=function(n,m){function g(){return l(this)}var b=n.reduce,l=n.all;n.prototype.each=function(a){return b(this,a,m,0)._then(g,void 0,void 0,this,void 0)};n.prototype.mapSeries=function(a){return b(this,a,m,m)};n.each=function(a,c){return b(a,c,m,0)._then(g,void 0,void 0,a,void 0)};n.mapSeries=function(a,c){return b(a, + c,m,m)}}},{}],50:[function(x,W,D){function n(U,O){function z(M){if(!(this instanceof z))return new z(M);l(this,"message","string"===typeof M?M:O);l(this,"name",U);Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}b(z,Error);return z}function m(U){if(!(this instanceof m))return new m(U);l(this,"name","OperationalError");l(this,"message",U);this.cause=U;this.isOperational=!0;U instanceof Error?(l(this,"message",U.message),l(this,"stack",U.stack)):Error.captureStackTrace&& + Error.captureStackTrace(this,this.constructor)}D=x("./es5");var g=D.freeze;x=x("./util");var b=x.inherits,l=x.notEnumerableProp;x=n("Warning","warning");var a=n("CancellationError","cancellation error"),c=n("TimeoutError","timeout error"),t=n("AggregateError","aggregate error");try{var p=TypeError;var w=RangeError}catch(U){p=n("TypeError","type error"),w=n("RangeError","range error")}for(var r="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "), + E=0;EO;++O)E.push(r(O+1)),K.push(new Function("value","holder"," \n 'use strict'; \n holder.pIndex = value; \n holder.checkFulfillment(this); \n ".replace(/Index/g, + O+1))),U.push(new Function("promise","holder"," \n 'use strict'; \n holder.pIndex = promise; \n ".replace(/Index/g,O+1)));var z=function(M){this._reject(M)}}n.join=function(){var M=arguments.length-1;if(0=M&&t){var N=new n(b);N._captureStackTrace();f=new E[M-1](f);for(var T=K, + q=0;qO){if(z[-1*O-1]=U,1<=N&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(1<=N&&this._inFlight>=N)return z[O]=U,this._queue.push(O),!1;null!==f&&(f[O]=U);var T=this._promise,q=this._callback,F=T._boundValue();T._pushContext();U=r(q).call(F,U,O,M);q=T._popContext();a.checkForgottenReturns(U,q,null!==f?"Promise.filter":"Promise.map",T);if(U=== + E)return this._reject(U.e),!0;T=b(U,this._promise);if(T instanceof n){T=T._target();U=T._bitField;if(0===(U&50397184))return 1<=N&&this._inFlight++,z[O]=T,T._proxy(this,-1*(O+1)),!1;if(0!==(U&33554432))U=T._value();else return 0!==(U&16777216)?this._reject(T._reason()):this._cancel(),!0}z[O]=U}return++this._totalResolved>=M?(null!==f?this._filter(z,f):this._resolve(z),!0):!1};c.prototype._drainQueue=function(){for(var U=this._queue,O=this._limit,z=this._values;0>>16)){if(B=== + this)return B=c(),this._attachExtraTrace(B),this._reject(B);this._setFulfilled();this._rejectionHandler0=B;0<(H&65535)&&(0!==(H&134217728)?this._settlePromises():O.settlePromises(this))}};g.prototype._reject=function(B){var H=this._bitField;if(!((H&117506048)>>>16)){this._setRejected();this._fulfillmentHandler0=B;if(this._isFinal())return O.fatalError(B,r.isNode);0<(H&65535)?O.settlePromises(this):this._ensurePossibleRejectionHandled()}};g.prototype._fulfillPromises=function(B,H){for(var X=1;X=this._length?(this._resolve(this._values),!0):!1};c.prototype._promiseCancelled=function(){this._cancel();return!0};c.prototype._promiseRejected=function(w){this._totalResolved++;this._reject(w);return!0};c.prototype._resultCancelled=function(){if(!this._isResolved()){var w= + this._values;this._cancel();if(w instanceof n)w.cancel();else for(var r=0;r=G;--k)F.push(k);for(k=q+1;3>=k;++k)F.push(k);return F};var N=function(q,F,G,k,J,I){G=Math.max(0,("number"=== + typeof k.length?Math.max(Math.min(k.length,1024),0):0)-1);var S=f(G),R="string"===typeof q||F===t;q="string"===typeof q?"this != null ? this['"+q+"'] : fn":"fn";I="'use strict'; \n var ret = function (Parameters) { \n 'use strict'; \n var len = arguments.length; \n var promise = new Promise(INTERNAL); \n promise._captureStackTrace(); \n var nodeback = nodebackForPromise(promise, "+ + I+"); \n var ret; \n var callback = tryCatch([GetFunctionCode]); \n switch(len) { \n [CodeForSwitchCase] \n } \n if (ret === errorObj) { \n promise._rejectCallback(maybeWrapAsError(ret.e), true, true);\n } \n if (!promise._isFateSealed()) promise._setAsyncGuaranteed(); \n return promise; \n }; \n notEnumerableProp(ret, '__isPromisified__', true); \n return ret; \n ".replace("[CodeForSwitchCase]", + function(){for(var Q="",B=0;B=this._length){if(this._isMap){E=this._values;K=new w;for(var U=E.length/2|0,O=0;O>1};n.prototype.props=function(){return a(this)};n.props=function(E){return a(E)}}}, + {"./es5":51,"./util":74}],64:[function(x,W,D){function n(m){this._capacity=m;this._front=this._length=0}n.prototype._willBeOverCapacity=function(m){return this._capacity=this._length?(this._resolve(this._values),!0):!1};b.prototype._promiseFulfilled=function(a,c){var t=new l; + t._bitField=33554432;t._settledValueField=a;return this._promiseResolved(c,t)};b.prototype._promiseRejected=function(a,c){var t=new l;t._bitField=16777216;t._settledValueField=a;return this._promiseResolved(c,t)};n.settle=function(a){g.deprecated(".settle()",".reflect()");return(new b(a)).promise()};n.prototype.settle=function(){return n.settle(this)}}},{"./util":74}],69:[function(x,W,D){W.exports=function(n,m,g){function b(r){this.constructor$(r);this._howMany=0;this._initialized=this._unwrap=!1} + function l(r,E){if((E|0)!==E||0>E)return g("expecting a positive integer\n\n See http://goo.gl/MqrFmX\n");r=new b(r);var K=r.promise();r.setHowMany(E);r.init();return K}var a=x("./util"),c=x("./errors").RangeError,t=x("./errors").AggregateError,p=a.isArray,w={};a.inherits(b,m);b.prototype._init=function(){if(this._initialized)if(0===this._howMany)this._resolve([]);else{this._init$(void 0,-5);var r=p(this._values);!this._isResolved()&&r&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}}; + b.prototype.init=function(){this._initialized=!0;this._init()};b.prototype.setUnwrap=function(){this._unwrap=!0};b.prototype.howMany=function(){return this._howMany};b.prototype.setHowMany=function(r){this._howMany=r};b.prototype._promiseFulfilled=function(r){this._addFulfilled(r);return this._fulfilled()===this.howMany()?(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0):!1};b.prototype._promiseRejected=function(r){this._addRejected(r); + return this._checkOutcome()};b.prototype._promiseCancelled=function(){if(this._values instanceof n||null==this._values)return this._cancel();this._addRejected(w);return this._checkOutcome()};b.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var r=new t,E=this.length();E=G)return k._fulfill();var J=N[F++];var I=g(J);I!==J&&"function"===typeof J._isDisposable&&"function"===typeof J._getDisposer&&J._isDisposable()&& + I._setDisposable(J._getDisposer());J=I;if(J instanceof n&&J._isDisposable()){try{J=g(J._getDisposer().tryDispose(T),N.promise)}catch(S){return c(S)}if(J instanceof n)return J._then(q,c,null,null,null)}q()}var F=0,G=N.length,k=new n(l);q();return k}function p(N,T,q){this._data=N;this._promise=T;this._context=q}function w(N,T,q){this.constructor$(N,T,q)}function r(N){return p.isDisposer(N)?(this.resources[this.index]._setDisposable(N),N.promise()):N}function E(N){this.length=N;this.promise=null;this[N- + 1]=null}var K=x("./util"),U=x("./errors").TypeError,O=x("./util").inherits,z=K.errorObj,M=K.tryCatch,f={};p.prototype.data=function(){return this._data};p.prototype.promise=function(){return this._promise};p.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():f};p.prototype.tryDispose=function(N){var T=this.resource(),q=this._context;void 0!==q&&q._pushContext();N=T!==f?this.doDispose(T,N):null;void 0!==q&&q._popContext();this._promise._unsetDisposable();this._data= + null;return N};p.isDisposer=function(N){return null!=N&&"function"===typeof N.resource&&"function"===typeof N.tryDispose};O(w,p);w.prototype.doDispose=function(N,T){return this.data().call(N,N,T)};E.prototype._resultCancelled=function(){for(var N=this.length,T=0;TN)return m("you must pass at least 2 arguments to Promise.using");var T=arguments[N-1];if("function"!==typeof T)return m("expecting a function but got "+ + K.classString(T));var q=!0;if(2===N&&Array.isArray(arguments[0])){var F=arguments[0];N=F.length;q=!1}else F=arguments,N--;for(var G=new E(N),k=0;k + l)throw new RangeError("size is too large");var p=c;void 0===p&&(t=void 0,p=0);c=new g(a);if("string"===typeof p){t=new g(p,t);p=t.length;for(var w=-1;++wl)throw new RangeError("size is too large");return new g(a)};D.from=function(a,c,t){if("function"===typeof g.from&&(!n.Uint8Array||Uint8Array.from!== + g.from))return g.from(a,c,t);if("number"===typeof a)throw new TypeError('"value" argument must not be a number');if("string"===typeof a)return new g(a,c);if("undefined"!==typeof ArrayBuffer&&a instanceof ArrayBuffer){var p=c;if(1===arguments.length)return new g(a);"undefined"===typeof p&&(p=0);var w=t;"undefined"===typeof w&&(w=a.byteLength-p);if(p>=a.byteLength)throw new RangeError("'offset' is out of bounds");if(w>a.byteLength-p)throw new RangeError("'length' is out of bounds");return new g(a.slice(p, + p+w))}if(g.isBuffer(a))return p=new g(a.length),a.copy(p,0,0,a.length),p;if(a){if(Array.isArray(a)||"undefined"!==typeof ArrayBuffer&&a.buffer instanceof ArrayBuffer||"length"in a)return new g(a);if("Buffer"===a.type&&Array.isArray(a.data))return new g(a.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.");};D.allocUnsafeSlow=function(a){if("function"===typeof g.allocUnsafeSlow)return g.allocUnsafeSlow(a);if("number"!==typeof a)throw new TypeError("size must be a number"); + if(a>=l)throw new RangeError("size is too large");return new b(a)}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{buffer:77}],77:[function(x,W,D){(function(n){function m(){try{var u=new Uint8Array(1);u.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}};return 42===u.foo()&&"function"===typeof u.subarray&&0===u.subarray(1,1).byteLength}catch(d){return!1}}function g(u,d){if((b.TYPED_ARRAY_SUPPORT?2147483647:1073741823)< + d)throw new RangeError("Invalid typed array length");b.TYPED_ARRAY_SUPPORT?(u=new Uint8Array(d),u.__proto__=b.prototype):(null===u&&(u=new b(d)),u.length=d);return u}function b(u,d,A){if(!(b.TYPED_ARRAY_SUPPORT||this instanceof b))return new b(u,d,A);if("number"===typeof u){if("string"===typeof d)throw Error("If encoding is specified then the first argument must be a string");return c(this,u)}return l(this,u,d,A)}function l(u,d,A,h){if("number"===typeof d)throw new TypeError('"value" argument must not be a number'); + if("undefined"!==typeof ArrayBuffer&&d instanceof ArrayBuffer){d.byteLength;if(0>A||d.byteLengthu)throw new RangeError('"size" argument must not be negative');}function c(u,d){a(d);u=g(u,0>d?0:w(d)|0);if(!b.TYPED_ARRAY_SUPPORT)for(var A=0;Ad.length?0:w(d.length)|0;u=g(u,A);for(var h=0;h=(b.TYPED_ARRAY_SUPPORT?2147483647:1073741823))throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ + (b.TYPED_ARRAY_SUPPORT?2147483647:1073741823).toString(16)+" bytes");return u|0}function r(u,d){if(b.isBuffer(u))return u.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(u)||u instanceof ArrayBuffer))return u.byteLength;"string"!==typeof u&&(u=""+u);var A=u.length;if(0===A)return 0;for(var h=!1;;)switch(d){case "ascii":case "latin1":case "binary":return A;case "utf8":case "utf-8":case void 0:return J(u).length;case "ucs2":case "ucs-2":case "utf16le":case "utf-16le":return 2* + A;case "hex":return A>>>1;case "base64":return R.toByteArray(k(u)).length;default:if(h)return J(u).length;d=(""+d).toLowerCase();h=!0}}function E(u,d,A){var h=!1;if(void 0===d||0>d)d=0;if(d>this.length)return"";if(void 0===A||A>this.length)A=this.length;if(0>=A)return"";A>>>=0;d>>>=0;if(A<=d)return"";for(u||(u="utf8");;)switch(u){case "hex":u=d;d=A;A=this.length;if(!u||0>u)u=0;if(!d||0>d||d>A)d=A;h="";for(A=u;Ah?"0"+h.toString(16):h.toString(16),h=u+h;return h;case "utf8":case "utf-8":return z(this, + d,A);case "ascii":u="";for(A=Math.min(this.length,A);dA&&(A=-2147483648);A=+A;isNaN(A)&&(A=v?0:u.length-1);0>A&&(A=u.length+A);if(A>=u.length){if(v)return-1;A=u.length-1}else if(0>A)if(v)A=0;else return-1;"string"===typeof d&&(d=b.from(d,h));if(b.isBuffer(d))return 0===d.length?-1:O(u,d,A,h,v);if("number"===typeof d)return d&=255,b.TYPED_ARRAY_SUPPORT&&"function"=== + typeof Uint8Array.prototype.indexOf?v?Uint8Array.prototype.indexOf.call(u,d,A):Uint8Array.prototype.lastIndexOf.call(u,d,A):O(u,[d],A,h,v);throw new TypeError("val must be string, number or Buffer");}function O(u,d,A,h,v){function P(L,V){return 1===e?L[V]:L.readUInt16BE(V*e)}var e=1,y=u.length,C=d.length;if(void 0!==h&&(h=String(h).toLowerCase(),"ucs2"===h||"ucs-2"===h||"utf16le"===h||"utf-16le"===h)){if(2>u.length||2>d.length)return-1;e=2;y/=2;C/=2;A/=2}if(v)for(h=-1;Ay&&(A=y-C);0<=A;A--){y=!0;for(h=0;hv&&(P=v);break;case 2:var y=u[d+1];128===(y&192)&&(v=(v&31)<<6|y&63,127v||57343v&&(P=v))}null===P?(P=65533,e=1):65535>>10&1023|55296),P=56320|P&1023);h.push(P);d+=e}u=h.length;if(u<=H)h=String.fromCharCode.apply(String,h);else{A="";for(d=0;du)throw new RangeError("offset is not uint"); + if(u+d>A)throw new RangeError("Trying to access beyond buffer length");}function f(u,d,A,h,v,P){if(!b.isBuffer(u))throw new TypeError('"buffer" argument must be a Buffer instance');if(d>v||du.length)throw new RangeError("Index out of range");}function N(u,d,A,h){0>d&&(d=65535+d+1);for(var v=0,P=Math.min(u.length-A,2);v>>8*(h?v:1-v)}function T(u,d,A,h){0>d&&(d=4294967295+d+1);for(var v=0,P=Math.min(u.length- + A,4);v>>8*(h?v:3-v)&255}function q(u,d,A,h,v,P){if(A+h>u.length)throw new RangeError("Index out of range");if(0>A)throw new RangeError("Index out of range");}function F(u,d,A,h,v){v||q(u,d,A,4,3.4028234663852886E38,-3.4028234663852886E38);Q.write(u,d,A,h,23,4);return A+4}function G(u,d,A,h,v){v||q(u,d,A,8,1.7976931348623157E308,-1.7976931348623157E308);Q.write(u,d,A,h,52,8);return A+8}function k(u){u=u.trim?u.trim():u.replace(/^\s+|\s+$/g,"");u=u.replace(X,"");if(2>u.length)return""; + for(;0!==u.length%4;)u+="=";return u}function J(u,d){d=d||Infinity;for(var A,h=u.length,v=null,P=[],e=0;eA){if(!v){if(56319A){-1<(d-=3)&&P.push(239,191,189);v=A;continue}A=(v-55296<<10|A-56320)+65536}else v&&-1<(d-=3)&&P.push(239,191,189);v=null;if(128>A){if(0>--d)break;P.push(A)}else if(2048>A){if(0>(d-=2))break;P.push(A>>6|192,A&63| + 128)}else if(65536>A){if(0>(d-=3))break;P.push(A>>12|224,A>>6&63|128,A&63|128)}else if(1114112>A){if(0>(d-=4))break;P.push(A>>18|240,A>>12&63|128,A>>6&63|128,A&63|128)}else throw Error("Invalid code point");}return P}function I(u){for(var d=[],A=0;A=d.length||v>=u.length);++v)d[v+A]=u[v];return v}var R=x("base64-js"),Q=x("ieee754"),B=x("isarray");D.Buffer=b;D.SlowBuffer=function(u){+u!=u&&(u=0);return b.alloc(+u)}; + D.INSPECT_MAX_BYTES=50;b.TYPED_ARRAY_SUPPORT=void 0!==n.TYPED_ARRAY_SUPPORT?n.TYPED_ARRAY_SUPPORT:m();D.kMaxLength=b.TYPED_ARRAY_SUPPORT?2147483647:1073741823;b.poolSize=8192;b._augment=function(u){u.__proto__=b.prototype;return u};b.from=function(u,d,A){return l(null,u,d,A)};b.TYPED_ARRAY_SUPPORT&&(b.prototype.__proto__=Uint8Array.prototype,b.__proto__=Uint8Array,"undefined"!==typeof Symbol&&Symbol.species&&b[Symbol.species]===b&&Object.defineProperty(b,Symbol.species,{value:null,configurable:!0})); + b.alloc=function(u,d,A){a(u);u=0>=u?g(null,u):void 0!==d?"string"===typeof A?g(null,u).fill(d,A):g(null,u).fill(d):g(null,u);return u};b.allocUnsafe=function(u){return c(null,u)};b.allocUnsafeSlow=function(u){return c(null,u)};b.isBuffer=function(u){return!(null==u||!u._isBuffer)};b.compare=function(u,d){if(!b.isBuffer(u)||!b.isBuffer(d))throw new TypeError("Arguments must be Buffers");if(u===d)return 0;for(var A=u.length,h=d.length,v=0,P=Math.min(A,h);vd&&(u+=" ... "));return""};b.prototype.compare=function(u,d,A,h,v){if(!b.isBuffer(u))throw new TypeError("Argument must be a Buffer");void 0===d&&(d=0);void 0===A&&(A=u?u.length:0);void 0===h&&(h=0);void 0===v&&(v=this.length);if(0>d||A>u.length||0>h||v>this.length)throw new RangeError("out of range index");if(h>=v&&d>=A)return 0;if(h>=v)return-1; + if(d>=A)return 1;d>>>=0;A>>>=0;h>>>=0;v>>>=0;if(this===u)return 0;var P=v-h,e=A-d,y=Math.min(P,e);h=this.slice(h,v);u=u.slice(d,A);for(d=0;dv)A=v;if(0A||0>d)||d>this.length)throw new RangeError("Attempt to write outside buffer bounds");h||(h="utf8");for(v=!1;;)switch(h){case "hex":a:{d=Number(d)||0;h=this.length-d;A?(A=Number(A),A>h&&(A=h)):A=h;h=u.length;if(0!==h%2)throw new TypeError("Invalid hex string"); + A>h/2&&(A=h/2);for(h=0;h(v-=2));++e){var y=h.charCodeAt(e);u=y>>8;y%=256;P.push(y);P.push(u)}return S(P, + this,d,A);default:if(v)throw new TypeError("Unknown encoding: "+h);h=(""+h).toLowerCase();v=!0}};b.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var H=4096;b.prototype.slice=function(u,d){var A=this.length;u=~~u;d=void 0===d?A:~~d;0>u?(u+=A,0>u&&(u=0)):u>A&&(u=A);0>d?(d+=A,0>d&&(d=0)):d>A&&(d=A);d=128*h&&(A-=Math.pow(2,8*d));return A};b.prototype.readIntBE=function(u,d,A){u|=0;d|=0;A||M(u, + d,this.length);A=d;for(var h=1,v=this[u+--A];0=128*h&&(v-=Math.pow(2,8*d));return v};b.prototype.readInt8=function(u,d){d||M(u,1,this.length);return this[u]&128?-1*(255-this[u]+1):this[u]};b.prototype.readInt16LE=function(u,d){d||M(u,2,this.length);u=this[u]|this[u+1]<<8;return u&32768?u|4294901760:u};b.prototype.readInt16BE=function(u,d){d||M(u,2,this.length);u=this[u+1]|this[u]<<8;return u&32768?u|4294901760:u};b.prototype.readInt32LE=function(u,d){d||M(u,4,this.length); + return this[u]|this[u+1]<<8|this[u+2]<<16|this[u+3]<<24};b.prototype.readInt32BE=function(u,d){d||M(u,4,this.length);return this[u]<<24|this[u+1]<<16|this[u+2]<<8|this[u+3]};b.prototype.readFloatLE=function(u,d){d||M(u,4,this.length);return Q.read(this,u,!0,23,4)};b.prototype.readFloatBE=function(u,d){d||M(u,4,this.length);return Q.read(this,u,!1,23,4)};b.prototype.readDoubleLE=function(u,d){d||M(u,8,this.length);return Q.read(this,u,!0,52,8)};b.prototype.readDoubleBE=function(u,d){d||M(u,8,this.length); + return Q.read(this,u,!1,52,8)};b.prototype.writeUIntLE=function(u,d,A,h){u=+u;d|=0;A|=0;h||f(this,u,d,A,Math.pow(2,8*A)-1,0);h=1;var v=0;for(this[d]=u&255;++v>>8):N(this,u,d,!0);return d+2};b.prototype.writeUInt16BE=function(u,d,A){u=+u;d|=0;A||f(this,u,d,2,65535,0);b.TYPED_ARRAY_SUPPORT?(this[d]=u>>>8,this[d+1]=u&255):N(this,u,d,!1);return d+2};b.prototype.writeUInt32LE=function(u,d,A){u=+u;d|=0;A||f(this,u,d,4,4294967295,0);b.TYPED_ARRAY_SUPPORT?(this[d+3]=u>>>24,this[d+2]=u>>>16,this[d+1]=u>>>8,this[d]=u&255): + T(this,u,d,!0);return d+4};b.prototype.writeUInt32BE=function(u,d,A){u=+u;d|=0;A||f(this,u,d,4,4294967295,0);b.TYPED_ARRAY_SUPPORT?(this[d]=u>>>24,this[d+1]=u>>>16,this[d+2]=u>>>8,this[d+3]=u&255):T(this,u,d,!1);return d+4};b.prototype.writeIntLE=function(u,d,A,h){u=+u;d|=0;h||(h=Math.pow(2,8*A-1),f(this,u,d,A,h-1,-h));h=0;var v=1,P=0;for(this[d]=u&255;++hu&&0===P&&0!==this[d+h-1]&&(P=1),this[d+h]=(u/v>>0)-P&255;return d+A};b.prototype.writeIntBE=function(u,d,A,h){u=+u;d|=0;h||(h= + Math.pow(2,8*A-1),f(this,u,d,A,h-1,-h));h=A-1;var v=1,P=0;for(this[d+h]=u&255;0<=--h&&(v*=256);)0>u&&0===P&&0!==this[d+h+1]&&(P=1),this[d+h]=(u/v>>0)-P&255;return d+A};b.prototype.writeInt8=function(u,d,A){u=+u;d|=0;A||f(this,u,d,1,127,-128);b.TYPED_ARRAY_SUPPORT||(u=Math.floor(u));0>u&&(u=255+u+1);this[d]=u&255;return d+1};b.prototype.writeInt16LE=function(u,d,A){u=+u;d|=0;A||f(this,u,d,2,32767,-32768);b.TYPED_ARRAY_SUPPORT?(this[d]=u&255,this[d+1]=u>>>8):N(this,u,d,!0);return d+2};b.prototype.writeInt16BE= + function(u,d,A){u=+u;d|=0;A||f(this,u,d,2,32767,-32768);b.TYPED_ARRAY_SUPPORT?(this[d]=u>>>8,this[d+1]=u&255):N(this,u,d,!1);return d+2};b.prototype.writeInt32LE=function(u,d,A){u=+u;d|=0;A||f(this,u,d,4,2147483647,-2147483648);b.TYPED_ARRAY_SUPPORT?(this[d]=u&255,this[d+1]=u>>>8,this[d+2]=u>>>16,this[d+3]=u>>>24):T(this,u,d,!0);return d+4};b.prototype.writeInt32BE=function(u,d,A){u=+u;d|=0;A||f(this,u,d,4,2147483647,-2147483648);0>u&&(u=4294967295+u+1);b.TYPED_ARRAY_SUPPORT?(this[d]=u>>>24,this[d+ + 1]=u>>>16,this[d+2]=u>>>8,this[d+3]=u&255):T(this,u,d,!1);return d+4};b.prototype.writeFloatLE=function(u,d,A){return F(this,u,d,!0,A)};b.prototype.writeFloatBE=function(u,d,A){return F(this,u,d,!1,A)};b.prototype.writeDoubleLE=function(u,d,A){return G(this,u,d,!0,A)};b.prototype.writeDoubleBE=function(u,d,A){return G(this,u,d,!1,A)};b.prototype.copy=function(u,d,A,h){A||(A=0);h||0===h||(h=this.length);d>=u.length&&(d=u.length);d||(d=0);0d)throw new RangeError("targetStart out of bounds");if(0>A||A>=this.length)throw new RangeError("sourceStart out of bounds");if(0>h)throw new RangeError("sourceEnd out of bounds");h>this.length&&(h=this.length);u.length-dv||!b.TYPED_ARRAY_SUPPORT)for(h=0;hv&&(u=v)}if(void 0!==h&&"string"!==typeof h)throw new TypeError("encoding must be a string");if("string"===typeof h&&!b.isEncoding(h))throw new TypeError("Unknown encoding: "+h);}else"number"===typeof u&&(u&=255);if(0>d||this.length>>=0;A=void 0===A?this.length:A>>>0;u||(u=0);if("number"=== + typeof u)for(h=d;hb||isNaN(b))throw TypeError("n must be a positive number");this._maxListeners=b;return this};n.prototype.emit=function(b){var l;this._events||(this._events={});if("error"===b&&(!this._events.error||g(this._events.error)&&!this._events.error.length)){var a= + arguments[1];if(a instanceof Error)throw a;var c=Error('Uncaught, unspecified "error" event. ('+a+")");c.context=a;throw c;}c=this._events[b];if(void 0===c)return!1;if(m(c))switch(arguments.length){case 1:c.call(this);break;case 2:c.call(this,arguments[1]);break;case 3:c.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),c.apply(this,a)}else if(g(c)){a=Array.prototype.slice.call(arguments,1);var t=c.slice();c=t.length;for(l=0;ll&&(this._events[b].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.", + this._events[b].length),"function"===typeof console.trace&&console.trace());return this};n.prototype.on=n.prototype.addListener;n.prototype.once=function(b,l){function a(){this.removeListener(b,a);c||(c=!0,l.apply(this,arguments))}if(!m(l))throw TypeError("listener must be a function");var c=!1;a.listener=l;this.on(b,a);return this};n.prototype.removeListener=function(b,l){if(!m(l))throw TypeError("listener must be a function");if(!this._events||!this._events[b])return this;var a=this._events[b]; + var c=a.length;var t=-1;if(a===l||m(a.listener)&&a.listener===l)delete this._events[b],this._events.removeListener&&this.emit("removeListener",b,l);else if(g(a)){for(;0t)return this;1===a.length?(a.length=0,delete this._events[b]):a.splice(t,1);this._events.removeListener&&this.emit("removeListener",b,l)}return this};n.prototype.removeAllListeners=function(b){if(!this._events)return this;if(!this._events.removeListener)return 0=== + arguments.length?this._events={}:this._events[b]&&delete this._events[b],this;if(0===arguments.length){for(l in this._events)"removeListener"!==l&&this.removeAllListeners(l);this.removeAllListeners("removeListener");this._events={};return this}var l=this._events[b];if(m(l))this.removeListener(b,l);else if(l)for(;l.length;)this.removeListener(b,l[l.length-1]);delete this._events[b];return this};n.prototype.listeners=function(b){return this._events&&this._events[b]?m(this._events[b])?[this._events[b]]: + this._events[b].slice():[]};n.prototype.listenerCount=function(b){if(this._events){b=this._events[b];if(m(b))return 1;if(b)return b.length}return 0};n.listenerCount=function(b,l){return b.listenerCount(l)}},{}],80:[function(x,W,D){D.read=function(n,m,g,b,l){var a=8*l-b-1;var c=(1<>1,p=-7;l=g?l-1:0;var w=g?-1:1,r=n[m+l];l+=w;g=r&(1<<-p)-1;r>>=-p;for(p+=a;0>=-p;for(p+=b;0>1,r=23===l?Math.pow(2,-24)-Math.pow(2,-77):0;a=b?0:a-1;var E=b?1:-1,K=0>m||0===m&&0>1/m?1:0;m=Math.abs(m);isNaN(m)||Infinity===m?(m=isNaN(m)?1:0,b=p):(b=Math.floor(Math.log(m)/Math.LN2),1>m*(c=Math.pow(2,-b))&&(b--,c*=2),m=1<=b+w?m+r/c:m+r*Math.pow(2,1-w),2<=m*c&&(b++,c/=2),b+w>=p?(m=0,b=p):1<=b+w?(m=(m*c-1)*Math.pow(2,l),b+=w):(m=m*Math.pow(2,w-1)*Math.pow(2,l),b=0));for(;8<= + l;n[g+a]=m&255,a+=E,m/=256,l-=8);b=b<>2,g=(g&3)<<4|b>>4,c=(b&15)<<2|l>>6,t=l&63,isNaN(b)?c=t=64:isNaN(l)&& + (t=64),m=m+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(a)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(g)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(c)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(t);return m};D.decode=function(n,m){m="";var g=0;for(n=n.replace(/[^A-Za-z0-9\+\/=]/g,"");g>4;l=(l&15)<<4|a>>2;var t=(a&3)<<6|c;m+=String.fromCharCode(b);64!=a&&(m+=String.fromCharCode(l));64!=c&&(m+=String.fromCharCode(t))}return m}},{}],85:[function(x,W,D){function n(){this.crc32=this.uncompressedSize= + this.compressedSize=0;this.compressedContent=this.compressionMethod=null}n.prototype={getContent:function(){return null},getCompressedContent:function(){return null}};W.exports=n},{}],86:[function(x,W,D){D.STORE={magic:"\x00\x00",compress:function(n,m){return n},uncompress:function(n){return n},compressInputType:null,uncompressInputType:null};D.DEFLATE=x("./flate")},{"./flate":91}],87:[function(x,W,D){var n=x("./utils"),m=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035, + 249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705, + 3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311, + 2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245, + 2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498, + 2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918E3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552, + 615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];W.exports=function(g,b){if("undefined"===typeof g||!g.length)return 0;var l="string"!==n.getTypeOf(g);"undefined"==typeof b&&(b=0);b^=-1;for(var a=0,c=g.length;a>>8^t}return b^-1}},{"./utils":104}],88:[function(x,W,D){function n(g){this.data=null;this.index=this.length=0}var m=x("./utils");n.prototype= + {checkOffset:function(g){this.checkIndex(this.index+g)},checkIndex:function(g){if(this.lengthg)throw Error("End of data reached (data length = "+this.length+", asked index = "+g+"). Corrupted zip ?");},setIndex:function(g){this.checkIndex(g);this.index=g},skip:function(g){this.setIndex(this.index+g)},byteAt:function(g){},readInt:function(g){var b=0,l;this.checkOffset(g);for(l=this.index+g-1;l>=this.index;l--)b=(b<<8)+this.byteAt(l);this.index+=g;return b},readString:function(g){return m.transformTo("string", + this.readData(g))},readData:function(g){},lastIndexOfSignature:function(g){},readDate:function(){var g=this.readInt(4);return new Date((g>>25&127)+1980,(g>>21&15)-1,g>>16&31,g>>11&31,g>>5&63,(g&31)<<1)}};W.exports=n},{"./utils":104}],89:[function(x,W,D){D.base64=!1;D.binary=!1;D.dir=!1;D.createFolders=!1;D.date=null;D.compression=null;D.compressionOptions=null;D.comment=null;D.unixPermissions=null;D.dosPermissions=null},{}],90:[function(x,W,D){var n=x("./utils");D.string2binary=function(m){return n.string2binary(m)}; + D.string2Uint8Array=function(m){return n.transformTo("uint8array",m)};D.uint8Array2String=function(m){return n.transformTo("string",m)};D.string2Blob=function(m){m=n.transformTo("arraybuffer",m);return n.arrayBuffer2Blob(m)};D.arrayBuffer2Blob=function(m){return n.arrayBuffer2Blob(m)};D.transformTo=function(m,g){return n.transformTo(m,g)};D.getTypeOf=function(m){return n.getTypeOf(m)};D.checkSupport=function(m){return n.checkSupport(m)};D.MAX_VALUE_16BITS=n.MAX_VALUE_16BITS;D.MAX_VALUE_32BITS=n.MAX_VALUE_32BITS; + D.pretty=function(m){return n.pretty(m)};D.findCompression=function(m){return n.findCompression(m)};D.isRegExp=function(m){return n.isRegExp(m)}},{"./utils":104}],91:[function(x,W,D){W="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Uint32Array;var n=x("pako");D.uncompressInputType=W?"uint8array":"array";D.compressInputType=W?"uint8array":"array";D.magic="\b\x00";D.compress=function(m,g){return n.deflateRaw(m,{level:g.level||-1})};D.uncompress=function(m){return n.inflateRaw(m)}}, + {pako:120}],92:[function(x,W,D){function n(g,b){if(!(this instanceof n))return new n(g,b);this.files={};this.comment=null;this.root="";g&&this.load(g,b);this.clone=function(){var l=new n,a;for(a in this)"function"!==typeof this[a]&&(l[a]=this[a]);return l}}var m=x("./base64");n.prototype=x("./object");n.prototype.load=x("./load");n.support=x("./support");n.defaults=x("./defaults");n.utils=x("./deprecatedPublicUtils");n.base64={encode:function(g){return m.encode(g)},decode:function(g){return m.decode(g)}}; + n.compressions=x("./compressions");W.exports=n},{"./base64":84,"./compressions":86,"./defaults":89,"./deprecatedPublicUtils":90,"./load":93,"./object":96,"./support":100}],93:[function(x,W,D){var n=x("./base64"),m=x("./zipEntries");W.exports=function(g,b){var l;b=b||{};b.base64&&(g=n.decode(g));var a=new m(g,b);g=a.files;for(l=0;l>>=8;return J},f=function(){var G={},k,J;for(k=0;kx;x++)b[x]=252<=x?6:248<=x?5:240<=x?4:224<=x?3:192<=x?2:1;b[254]=b[254]=1;var l=function(a){var c,t,p=a.length,w=Array(2*p);for(c=t=0;cr)w[t++]= + r;else{var E=b[r];if(4r?w[t++]=r:(r-=65536,w[t++]=55296|r>>10&1023,w[t++]=56320|r&1023)}}}w.length!==t&&(w.subarray?w=w.subarray(0,t):w.length=t);return n.applyFromCharCode(w)};D.utf8encode=function(a){if(m.nodebuffer)return g(a,"utf-8");var c,t,p=a.length,w=0;for(c=0;cr?1:2048>r?2:65536>r?3:4}var K=m.uint8array?new Uint8Array(w):Array(w);for(c=t=0;tr?K[t++]=r:(2048>r?K[t++]=192|r>>>6:(65536>r?K[t++]=224|r>>>12:(K[t++]=240|r>>>18,K[t++]=128|r>>>12&63),K[t++]=128|r>>>6&63),K[t++]=128|r&63);return K};D.utf8decode=function(a){if(m.nodebuffer)return n.transformTo("nodebuffer",a).toString("utf-8");a=n.transformTo(m.uint8array? + "uint8array":"array",a);for(var c=[],t=0,p=a.length;ta.length&&(r=a.length);for(w=r-1;0<=w&&128===(a[w]&192);)w--;w=0>w?r:0===w?r:w+b[a[w]]>r?w:r;m.uint8array?c.push(l(a.subarray(t,w))):c.push(l(a.slice(t,w)));t=w}return c.join("")}},{"./nodeBuffer":94,"./support":100,"./utils":104}],104:[function(x,W,D){function n(p){return p}function m(p,w){for(var r=0;rE?"0":"")+E.toString(16).toUpperCase()}return w};D.findCompression=function(p){for(var w in a)if(a.hasOwnProperty(w)&&a[w].magic===p)return a[w];return null};D.isRegExp=function(p){return"[object RegExp]"===Object.prototype.toString.call(p)}},{"./compressions":86,"./nodeBuffer":94,"./support":100}],105:[function(x,W, + D){function n(w,r){this.files=[];this.loadOptions=r;w&&this.load(w)}var m=x("./stringReader"),g=x("./nodeBufferReader"),b=x("./uint8ArrayReader"),l=x("./utils"),a=x("./signature"),c=x("./zipEntry"),t=x("./support"),p=x("./object");n.prototype={checkSignature:function(w){var r=this.reader.readString(4);if(r!==w)throw Error("Corrupted zip or bug : unexpected signature ("+l.pretty(r)+", expected "+l.pretty(w)+")");},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2);this.diskWithCentralDirStart= + this.reader.readInt(2);this.centralDirRecordsOnThisDisk=this.reader.readInt(2);this.centralDirRecords=this.reader.readInt(2);this.centralDirSize=this.reader.readInt(4);this.centralDirOffset=this.reader.readInt(4);this.zipCommentLength=this.reader.readInt(2);this.zipComment=this.reader.readString(this.zipCommentLength);this.zipComment=p.utf8decode(this.zipComment)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8);this.versionMadeBy=this.reader.readString(2);this.versionNeeded= + this.reader.readInt(2);this.diskNumber=this.reader.readInt(4);this.diskWithCentralDirStart=this.reader.readInt(4);this.centralDirRecordsOnThisDisk=this.reader.readInt(8);this.centralDirRecords=this.reader.readInt(8);this.centralDirSize=this.reader.readInt(8);this.centralDirOffset=this.reader.readInt(8);this.zip64ExtensibleData={};for(var w=this.zip64EndOfCentralSize-44,r,E,K;0>8;this.dir=this.externalFileAttributes&16?!0:!1;0===a&&(this.dosPermissions=this.externalFileAttributes& + 63);3===a&&(this.unixPermissions=this.externalFileAttributes>>16&65535);this.dir||"/"!==this.fileName.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(a){this.extraFields[1]&&(a=new m(this.extraFields[1].value),this.uncompressedSize===g.MAX_VALUE_32BITS&&(this.uncompressedSize=a.readInt(8)),this.compressedSize===g.MAX_VALUE_32BITS&&(this.compressedSize=a.readInt(8)),this.localHeaderOffset===g.MAX_VALUE_32BITS&&(this.localHeaderOffset=a.readInt(8)),this.diskNumberStart===g.MAX_VALUE_32BITS&& + (this.diskNumberStart=a.readInt(4)))},readExtraFields:function(a){var c=a.index;for(this.extraFields=this.extraFields||{};a.indexm.length)throw Error("Failure must have errors");return new n({status:"failure",remaining:g,errors:m})},error:function(m,g){if(1>m.length)throw Error("Failure must have errors");return new n({status:"error",remaining:g,errors:m})},success:function(m,g,b){return new n({status:"success",value:m,source:b,remaining:g,errors:[]})},cut:function(m){return new n({status:"cut",remaining:m,errors:[]})}}; + var n=function(m){this._value=m.value;this._status=m.status;this._hasValue=void 0!==m.value;this._remaining=m.remaining;this._source=m.source;this._errors=m.errors};n.prototype.map=function(m){return this._hasValue?new n({value:m(this._value,this._source),status:this._status,remaining:this._remaining,source:this._source,errors:this._errors}):this};n.prototype.changeRemaining=function(m){return new n({value:this._value,status:this._status,remaining:m,source:this._source,errors:this._errors})};n.prototype.isSuccess= + function(){return"success"===this._status||"cut"===this._status};n.prototype.isFailure=function(){return"failure"===this._status};n.prototype.isError=function(){return"error"===this._status};n.prototype.isCut=function(){return"cut"===this._status};n.prototype.value=function(){return this._value};n.prototype.remaining=function(){return this._remaining};n.prototype.source=function(){return this._source};n.prototype.errors=function(){return this._errors}},{}],116:[function(x,W,D){var n=x("./Token"), + m=x("./StringSource");D.RegexTokeniser=function(g){g=g.map(function(b){return{name:b.name,regex:new RegExp(b.regex.source,"g")}});return{tokenise:function(b,l){l=new m(b,l);var a=0;for(var c=[];ap)){t=new n(g[r].name,E[1],w.range(p,a));break a}}a=p+1;t=new n("unrecognisedCharacter",t.substring(p,a),w.range(p,a))}c.push(t)}c.push(new n("end",null,l.range(b.length, + b.length)));return c}}}},{"./StringSource":108,"./Token":109}],117:[function(x,W,D){function n(E){return l.success(null,E)}function m(E,K){var U=E.head();K=U?a.error({expected:K,actual:r(U),location:U.source}):a.error({expected:K,actual:"end of tokens"});return l.failure([K],E)}var g=x("underscore"),b=x("option"),l=x("./parsing-results"),a=x("./errors"),c=x("./lazy-iterators");D.token=function(E,K){var U=void 0!==K;return function(O){var z=O.head();return!z||z.name!==E||U&&z.value!==K?(z=r({name:E, + value:K}),m(O,z)):l.success(z.value,O.tail(),z.source)}};D.tokenOfType=function(E){return D.token(E)};D.firstOf=function(E,K){g.isArray(K)||(K=Array.prototype.slice.call(arguments,1));return function(U){return c.fromArray(K).map(function(O){return O(U)}).filter(function(O){return O.isSuccess()||O.isError()}).first()||m(U,E)}};D.then=function(E,K){return function(U){U=E(U);U.map||console.log(U);return U.map(K)}};D.sequence=function(){function E(O){return O.isCaptured}var K=Array.prototype.slice.call(arguments, + 0),U=function(O){var z=g.foldl(K,function(f,N){var T=f.result;f=f.hasCut;if(!T.isSuccess())return{result:T,hasCut:f};var q=N(T.remaining());return q.isCut()?{result:T,hasCut:!0}:q.isSuccess()?(N=N.isCaptured?T.value().withValue(N,q.value()):T.value(),T=q.remaining(),q=O.to(T),{result:l.success(N,T,q),hasCut:f}):f?{result:l.error(q.errors(),q.remaining()),hasCut:f}:{result:q,hasCut:f}},{result:l.success(new t,O),hasCut:!1}).result,M=O.to(z.remaining());return z.map(function(f){return f.withValue(D.sequence.source, + M)})};U.head=function(){var O=g.find(K,E);return D.then(U,D.sequence.extract(O))};U.map=function(O){return D.then(U,function(z){return O.apply(this,z.toArray())})};return U};var t=function(E,K){this._values=E||{};this._valuesArray=K||[]};t.prototype.withValue=function(E,K){if(E.captureName&&E.captureName in this._values)throw Error('Cannot add second value for capture "'+E.captureName+'"');var U=g.clone(this._values);U[E.captureName]=K;E=this._valuesArray.concat([K]);return new t(U,E)};t.prototype.get= + function(E){if(E.captureName in this._values)return this._values[E.captureName];throw Error('No value for capture "'+E.captureName+'"');};t.prototype.toArray=function(){return this._valuesArray};D.sequence.capture=function(E,K){var U=function(){return E.apply(this,arguments)};U.captureName=K;U.isCaptured=!0;return U};D.sequence.extract=function(E){return function(K){return K.get(E)}};D.sequence.applyValues=function(E){var K=Array.prototype.slice.call(arguments,1);return function(U){var O=K.map(function(z){return U.get(z)}); + return E.apply(this,O)}};D.sequence.source={captureName:"\u2603source\u2603"};D.sequence.cut=function(){return function(E){return l.cut(E)}};D.optional=function(E){return function(K){var U=E(K);return U.isSuccess()?U.map(b.some):U.isFailure()?l.success(b.none,K):U}};D.zeroOrMoreWithSeparator=function(E,K){return w(E,K,!1)};D.oneOrMoreWithSeparator=function(E,K){return w(E,K,!0)};var p=D.zeroOrMore=function(E){return function(K){for(var U=[],O;(O=E(K))&&O.isSuccess();)K=O.remaining(),U.push(O.value()); + return O.isError()?O:l.success(U,K)}};D.oneOrMore=function(E){return D.oneOrMoreWithSeparator(E,n)};var w=function(E,K,U){return function(O){var z=E(O);return z.isSuccess()?(O=D.sequence.capture(E,"main"),O=p(D.then(D.sequence(K,O),D.sequence.extract(O)))(z.remaining()),l.success([z.value()].concat(O.value()),O.remaining())):U||z.isError()?z:l.success([],O)}};D.leftAssociative=function(E,K,U){K=U?[{func:U,rule:K}]:K;K=K.map(function(z){return D.then(z.rule,function(M){return function(f,N){return z.func(f, + M,N)}})});var O=D.firstOf.apply(null,["rules"].concat(K));return function(z){var M=E(z);if(!M.isSuccess())return M;for(var f=O(M.remaining());f.isSuccess();){var N=f.remaining(),T=z.to(f.remaining());f=f.value();M=l.success(f(M.value(),T),N,T);f=O(M.remaining())}return f.isError()?f:M}};D.leftAssociative.firstOf=function(){return Array.prototype.slice.call(arguments,0)};D.nonConsuming=function(E){return function(K){return E(K).changeRemaining(K)}};var r=function(E){return E.value?E.name+' "'+E.value+ + '"':E.name}},{"./errors":112,"./lazy-iterators":113,"./parsing-results":115,option:119,underscore:118}],118:[function(x,W,D){(function(){var n=this,m=n._,g={},b=Array.prototype,l=Object.prototype,a=b.push,c=b.slice,t=b.concat,p=l.toString,w=l.hasOwnProperty,r=b.forEach,E=b.map,K=b.reduce,U=b.reduceRight,O=b.filter,z=b.every,M=b.some,f=b.indexOf,N=b.lastIndexOf;l=Array.isArray;var T=Object.keys,q=Function.prototype.bind,F=function(h){if(h instanceof F)return h;if(!(this instanceof F))return new F(h); + this._wrapped=h};"undefined"!==typeof D?("undefined"!==typeof W&&W.exports&&(D=W.exports=F),D._=F):n._=F;F.VERSION="1.4.4";var G=F.each=F.forEach=function(h,v,P){if(null!=h)if(r&&h.forEach===r)h.forEach(v,P);else if(h.length===+h.length)for(var e=0,y=h.length;eh.length)return Math.max.apply(Math,h);if(!v&&F.isEmpty(h))return-Infinity; + var e={computed:-Infinity,value:-Infinity};G(h,function(y,C,L){C=v?v.call(P,y,C,L):y;C>=e.computed&&(e={value:y,computed:C})});return e.value};F.min=function(h,v,P){if(!v&&F.isArray(h)&&h[0]===+h[0]&&65535>h.length)return Math.min.apply(Math,h);if(!v&&F.isEmpty(h))return Infinity;var e={computed:Infinity,value:Infinity};G(h,function(y,C,L){C=v?v.call(P,y,C,L):y;CV||void 0===L)return 1;if(L>>1;P.call(e,h[L])P?Math.max(0,y+P):P;else return e=F.sortedIndex(h,v),h[e]===v?e:-1; + if(f&&h.indexOf===f)return h.indexOf(v,P);for(;e=arguments.length&&(v=h||0,h=0);P=arguments[2]||1;for(var e=Math.max(Math.ceil((v-h)/P),0),y=0,C=Array(e);y=Z?(clearTimeout(y),y=null,L=Y,C=h.apply(P,e)):y||(y=setTimeout(V,Z));return C}};F.debounce=function(h,v,P){var e,y;return function(){var C=this,L=arguments,V=P&&!e;clearTimeout(e); + e=setTimeout(function(){e=null;P||(y=h.apply(C,L))},v);V&&(y=h.apply(C,L));return y}};F.once=function(h){var v=!1,P;return function(){if(v)return P;v=!0;P=h.apply(this,arguments);h=null;return P}};F.wrap=function(h,v){return function(){var P=[h];a.apply(P,arguments);return v.apply(this,P)}};F.compose=function(){var h=arguments;return function(){for(var v=arguments,P=h.length-1;0<=P;P--)v=[h[P].apply(this,v)];return v[0]}};F.after=function(h,v){return 0>=h?v():function(){if(1>--h)return v.apply(this, + arguments)}};F.keys=T||function(h){if(h!==Object(h))throw new TypeError("Invalid object");var v=[],P;for(P in h)F.has(h,P)&&(v[v.length]=P);return v};F.values=function(h){var v=[],P;for(P in h)F.has(h,P)&&v.push(h[P]);return v};F.pairs=function(h){var v=[],P;for(P in h)F.has(h,P)&&v.push([P,h[P]]);return v};F.invert=function(h){var v={},P;for(P in h)F.has(h,P)&&(v[h[P]]=P);return v};F.functions=F.methods=function(h){var v=[],P;for(P in h)F.isFunction(h[P])&&v.push(P);return v.sort()};F.extend=function(h){G(c.call(arguments, + 1),function(v){if(v)for(var P in v)h[P]=v[P]});return h};F.pick=function(h){var v={},P=t.apply(b,c.call(arguments,1));G(P,function(e){e in h&&(v[e]=h[e])});return v};F.omit=function(h){var v={},P=t.apply(b,c.call(arguments,1)),e;for(e in h)F.contains(P,e)||(v[e]=h[e]);return v};F.defaults=function(h){G(c.call(arguments,1),function(v){if(v)for(var P in v)null==h[P]&&(h[P]=v[P])});return h};F.clone=function(h){return F.isObject(h)?F.isArray(h)?h.slice():F.extend({},h):h};F.tap=function(h,v){v(h);return h}; + var R=function(h,v,P,e){if(h===v)return 0!==h||1/h==1/v;if(null==h||null==v)return h===v;h instanceof F&&(h=h._wrapped);v instanceof F&&(v=v._wrapped);var y=p.call(h);if(y!=p.call(v))return!1;switch(y){case "[object String]":return h==String(v);case "[object Number]":return h!=+h?v!=+v:0==h?1/h==1/v:h==+v;case "[object Date]":case "[object Boolean]":return+h==+v;case "[object RegExp]":return h.source==v.source&&h.global==v.global&&h.multiline==v.multiline&&h.ignoreCase==v.ignoreCase}if("object"!= + typeof h||"object"!=typeof v)return!1;for(var C=P.length;C--;)if(P[C]==h)return e[C]==v;P.push(h);e.push(v);C=0;var L=!0;if("[object Array]"==y){if(C=h.length,L=C==v.length)for(;C--&&(L=R(h[C],v[C],P,e)););}else{y=h.constructor;var V=v.constructor;if(y!==V&&!(F.isFunction(y)&&y instanceof y&&F.isFunction(V)&&V instanceof V))return!1;for(var Y in h)if(F.has(h,Y)&&(C++,!(L=F.has(v,Y)&&R(h[Y],v[Y],P,e))))break;if(L){for(Y in v)if(F.has(v,Y)&&!C--)break;L=!C}}P.pop();e.pop();return L};F.isEqual=function(h, + v){return R(h,v,[],[])};F.isEmpty=function(h){if(null==h)return!0;if(F.isArray(h)||F.isString(h))return 0===h.length;for(var v in h)if(F.has(h,v))return!1;return!0};F.isElement=function(h){return!(!h||1!==h.nodeType)};F.isArray=l||function(h){return"[object Array]"==p.call(h)};F.isObject=function(h){return h===Object(h)};G("Arguments Function String Number Date RegExp".split(" "),function(h){F["is"+h]=function(v){return p.call(v)=="[object "+h+"]"}});F.isArguments(arguments)||(F.isArguments=function(h){return!(!h|| + !F.has(h,"callee"))});"function"!==typeof/./&&(F.isFunction=function(h){return"function"===typeof h});F.isFinite=function(h){return isFinite(h)&&!isNaN(parseFloat(h))};F.isNaN=function(h){return F.isNumber(h)&&h!=+h};F.isBoolean=function(h){return!0===h||!1===h||"[object Boolean]"==p.call(h)};F.isNull=function(h){return null===h};F.isUndefined=function(h){return void 0===h};F.has=function(h,v){return w.call(h,v)};F.noConflict=function(){n._=m;return this};F.identity=function(h){return h};F.times= + function(h,v,P){for(var e=Array(h),y=0;y":">",'"':""","'":"'","/":"/"}};Q.unescape=F.invert(Q.escape);var B={escape:new RegExp("["+F.keys(Q.escape).join("")+"]","g"),unescape:new RegExp("("+F.keys(Q.unescape).join("|")+")","g")};F.each(["escape","unescape"],function(h){F[h]=function(v){return null==v?"":(""+v).replace(B[h], + function(P){return Q[h][P]})}});F.result=function(h,v){if(null==h)return null;v=h[v];return F.isFunction(v)?v.call(h):v};F.mixin=function(h){G(F.functions(h),function(v){var P=F[v]=h[v];F.prototype[v]=function(){var e=[this._wrapped];a.apply(e,arguments);return A.call(this,P.apply(F,e))}})};var H=0;F.uniqueId=function(h){var v=++H+"";return h?h+v:v};F.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var X=/(.)^/,u={"'":"'","\\":"\\","\r":"r","\n":"n", + "\t":"t","\u2028":"u2028","\u2029":"u2029"},d=/\\|'|\r|\n|\t|\u2028|\u2029/g;F.template=function(h,v,P){P=F.defaults({},P,F.templateSettings);var e=new RegExp([(P.escape||X).source,(P.interpolate||X).source,(P.evaluate||X).source].join("|")+"|$","g"),y=0,C="__p+='";h.replace(e,function(V,Y,Z,ca,fa){C+=h.slice(y,fa).replace(d,function(ha){return"\\"+u[ha]});Y&&(C+="'+\n((__t=("+Y+"))==null?'':_.escape(__t))+\n'");Z&&(C+="'+\n((__t=("+Z+"))==null?'':__t)+\n'");ca&&(C+="';\n"+ca+"\n__p+='");y=fa+V.length; + return V});C+="';\n";P.variable||(C="with(obj||{}){\n"+C+"}\n");C="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+C+"return __p;\n";try{var L=new Function(P.variable||"obj","_",C)}catch(V){throw V.source=C,V;}if(v)return L(v,F);v=function(V){return L.call(this,V,F)};v.source="function("+(P.variable||"obj")+"){\n"+C+"}";return v};F.chain=function(h){return F(h).chain()};var A=function(h){return this._chain?F(h).chain():h};F.mixin(F);G("pop push reverse shift sort splice unshift".split(" "), + function(h){var v=b[h];F.prototype[h]=function(){var P=this._wrapped;v.apply(P,arguments);"shift"!=h&&"splice"!=h||0!==P.length||delete P[0];return A.call(this,P)}});G(["concat","join","slice"],function(h){var v=b[h];F.prototype[h]=function(){return A.call(this,v.apply(this._wrapped,arguments))}});F.extend(F.prototype,{chain:function(){this._chain=!0;return this},value:function(){return this._wrapped}})}).call(this)},{}],119:[function(x,W,D){function n(g){return"function"==typeof g?g():g}D.none=Object.create({value:function(){throw Error("Called value on none"); + },isNone:function(){return!0},isSome:function(){return!1},map:function(){return D.none},flatMap:function(){return D.none},toArray:function(){return[]},orElse:n,valueOrElse:n});D.some=function(g){return new m(g)};var m=function(g){this._value=g};m.prototype.value=function(){return this._value};m.prototype.isNone=function(){return!1};m.prototype.isSome=function(){return!0};m.prototype.map=function(g){return new m(g(this._value))};m.prototype.flatMap=function(g){return g(this._value)};m.prototype.toArray= + function(){return[this._value]};m.prototype.orElse=function(g){return this};m.prototype.valueOrElse=function(g){return this._value};D.isOption=function(g){return g===D.none||g instanceof m};D.fromNullable=function(g){return null==g?D.none:new m(g)}},{}],120:[function(x,W,D){D=x("./lib/utils/common").assign;var n=x("./lib/deflate"),m=x("./lib/inflate");x=x("./lib/zlib/constants");var g={};D(g,n,m,x);W.exports=g},{"./lib/deflate":121,"./lib/inflate":122,"./lib/utils/common":123,"./lib/zlib/constants":126}], + 121:[function(x,W,D){function n(p){if(!(this instanceof n))return new n(p);p=this.options=b.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},p||{});p.raw&&0p.windowBits&&(p.windowBits+=16);this.err=0;this.msg="";this.ended=!1;this.chunks=[];this.strm=new c;this.strm.avail_out=0;var w=g.deflateInit2(this.strm,p.level,p.method,p.windowBits,p.memLevel,p.strategy);if(0!==w)throw Error(a[w]);p.header&& + g.deflateSetHeader(this.strm,p.header);if(p.dictionary){p="string"===typeof p.dictionary?l.string2buf(p.dictionary):"[object ArrayBuffer]"===t.call(p.dictionary)?new Uint8Array(p.dictionary):p.dictionary;w=g.deflateSetDictionary(this.strm,p);if(0!==w)throw Error(a[w]);this._dict_set=!0}}function m(p,w){w=new n(w);w.push(p,!0);if(w.err)throw w.msg;return w.result}var g=x("./zlib/deflate"),b=x("./utils/common"),l=x("./utils/strings"),a=x("./zlib/messages"),c=x("./zlib/zstream"),t=Object.prototype.toString; + n.prototype.push=function(p,w){var r=this.strm,E=this.options.chunkSize;if(this.ended)return!1;w=w===~~w?w:!0===w?4:0;"string"===typeof p?r.input=l.string2buf(p):"[object ArrayBuffer]"===t.call(p)?r.input=new Uint8Array(p):r.input=p;r.next_in=0;r.avail_in=r.input.length;do{0===r.avail_out&&(r.output=new b.Buf8(E),r.next_out=0,r.avail_out=E);p=g.deflate(r,w);if(1!==p&&0!==p)return this.onEnd(p),this.ended=!0,!1;if(0===r.avail_out||0===r.avail_in&&(4===w||2===w))if("string"===this.options.to)this.onData(l.buf2binstring(b.shrinkBuf(r.output, + r.next_out)));else this.onData(b.shrinkBuf(r.output,r.next_out))}while((0E.windowBits&&(E.windowBits=-E.windowBits,0===E.windowBits&&(E.windowBits=-15));!(0<=E.windowBits&&16>E.windowBits)|| + r&&r.windowBits||(E.windowBits+=32);15E.windowBits&&0===(E.windowBits&15)&&(E.windowBits|=15);this.err=0;this.msg="";this.ended=!1;this.chunks=[];this.strm=new t;this.strm.avail_out=0;r=g.inflateInit2(this.strm,E.windowBits);if(r!==a.Z_OK)throw Error(c[r]);this.header=new p;g.inflateGetHeader(this.strm,this.header)}function m(r,E){E=new n(E);E.push(r,!0);if(E.err)throw E.msg;return E.result}var g=x("./zlib/inflate"),b=x("./utils/common"),l=x("./utils/strings"),a=x("./zlib/constants"), + c=x("./zlib/messages"),t=x("./zlib/zstream"),p=x("./zlib/gzheader"),w=Object.prototype.toString;n.prototype.push=function(r,E){var K=this.strm,U=this.options.chunkSize,O=this.options.dictionary,z=!1;if(this.ended)return!1;E=E===~~E?E:!0===E?a.Z_FINISH:a.Z_NO_FLUSH;"string"===typeof r?K.input=l.binstring2buf(r):"[object ArrayBuffer]"===w.call(r)?K.input=new Uint8Array(r):K.input=r;K.next_in=0;K.avail_in=K.input.length;do{0===K.avail_out&&(K.output=new b.Buf8(U),K.next_out=0,K.avail_out=U);r=g.inflate(K, + a.Z_NO_FLUSH);r===a.Z_NEED_DICT&&O&&(r="string"===typeof O?l.string2buf(O):"[object ArrayBuffer]"===w.call(O)?new Uint8Array(O):O,r=g.inflateSetDictionary(this.strm,r));r===a.Z_BUF_ERROR&&!0===z&&(r=a.Z_OK,z=!1);if(r!==a.Z_STREAM_END&&r!==a.Z_OK)return this.onEnd(r),this.ended=!0,!1;if(K.next_out&&(0===K.avail_out||r===a.Z_STREAM_END||0===K.avail_in&&(E===a.Z_FINISH||E===a.Z_SYNC_FLUSH)))if("string"===this.options.to){var M=l.utf8border(K.output,K.next_out);var f=K.next_out-M;var N=l.buf2string(K.output, + M);K.next_out=f;K.avail_out=U-f;f&&b.arraySet(K.output,K.output,M,f,0);this.onData(N)}else this.onData(b.shrinkBuf(K.output,K.next_out));0===K.avail_in&&0===K.avail_out&&(z=!0)}while((0c&&(a.subarray&& + b||!a.subarray&&g))return String.fromCharCode.apply(null,m.shrinkBuf(a,c));for(var t="",p=0;px;x++)l[x]=252<=x?6:248<=x?5:240<=x?4:224<=x?3:192<=x?2:1;l[254]=l[254]=1;D.string2buf=function(a){var c,t,p=a.length,w=0;for(c=0;cr?1:2048>r?2:65536>r?3:4}var K=new m.Buf8(w);for(c=t=0;tr?K[t++]=r:(2048>r?K[t++]=192|r>>>6:(65536>r?K[t++]=224|r>>>12:(K[t++]=240|r>>>18,K[t++]=128|r>>>12&63),K[t++]=128|r>>>6&63),K[t++]=128|r&63);return K};D.buf2binstring=function(a){return n(a,a.length)};D.binstring2buf= + function(a){for(var c=new m.Buf8(a.length),t=0,p=c.length;tr)w[t++]=r;else{var E=l[r];if(4r?w[t++]=r:(r-=65536,w[t++]=55296|r>>10&1023,w[t++]=56320|r&1023)}}}return n(w,t)};D.utf8border=function(a,c){var t;c=c||a.length;c>a.length&&(c=a.length);for(t=c-1;0<= + t&&128===(a[t]&192);)t--;return 0>t||0===t?c:t+l[a[t]]>c?t:c}},{"./common":123}],125:[function(x,W,D){W.exports=function(n,m,g,b){var l=n&65535|0;n=n>>>16&65535|0;for(var a;0!==g;){a=2E3b;b++){m=b;for(var l=0;8>l;l++)m=m&1?3988292384^m>>>1:m>>>1;g[b]=m}return g}();W.exports=function(m,g,b,l){b=l+b;for(m^=-1;l>>8^n[(m^g[l])&255];return m^-1}},{}],128:[function(x,W,D){function n(k,J){k.msg=F[J];return J}function m(k){for(var J=k.length;0<= + --J;)k[J]=0}function g(k){var J=k.state,I=J.pending;I>k.avail_out&&(I=k.avail_out);0!==I&&(f.arraySet(k.output,J.pending_buf,J.pending_out,I,k.next_out),k.next_out+=I,J.pending_out+=I,k.total_out+=I,k.avail_out-=I,J.pending-=I,0===J.pending&&(J.pending_out=0))}function b(k,J){N._tr_flush_block(k,0<=k.block_start?k.block_start:-1,k.strstart-k.block_start,J);k.block_start=k.strstart;g(k.strm)}function l(k,J){k.pending_buf[k.pending++]=J}function a(k,J){k.pending_buf[k.pending++]=J>>>8&255;k.pending_buf[k.pending++]= + J&255}function c(k,J){var I=k.max_chain_length,S=k.strstart,R=k.prev_length,Q=k.nice_match,B=k.strstart>k.w_size-262?k.strstart-(k.w_size-262):0,H=k.window,X=k.w_mask,u=k.prev,d=k.strstart+258,A=H[S+R-1],h=H[S+R];k.prev_length>=k.good_match&&(I>>=2);Q>k.lookahead&&(Q=k.lookahead);do{var v=J;if(H[v+R]===h&&H[v+R-1]===A&&H[v]===H[S]&&H[++v]===H[S+1]){S+=2;for(v++;H[++S]===H[++v]&&H[++S]===H[++v]&&H[++S]===H[++v]&&H[++S]===H[++v]&&H[++S]===H[++v]&&H[++S]===H[++v]&&H[++S]===H[++v]&&H[++S]===H[++v]&&S< + d;);v=258-(d-S);S=d-258;if(v>R){k.match_start=J;R=v;if(v>=Q)break;A=H[S+R-1];h=H[S+R]}}}while((J=u[J&X])>B&&0!==--I);return R<=k.lookahead?R:k.lookahead}function t(k){var J=k.w_size,I;do{var S=k.window_size-k.lookahead-k.strstart;if(k.strstart>=J+(J-262)){f.arraySet(k.window,k.window,J,J,0);k.match_start-=J;k.strstart-=J;k.block_start-=J;var R=I=k.hash_size;do{var Q=k.head[--R];k.head[R]=Q>=J?Q-J:0}while(--I);R=I=J;do Q=k.prev[--R],k.prev[R]=Q>=J?Q-J:0;while(--I);S+=J}if(0===k.strm.avail_in)break; + R=k.strm;I=k.window;Q=k.strstart+k.lookahead;var B=R.avail_in;B>S&&(B=S);0===B?I=0:(R.avail_in-=B,f.arraySet(I,R.input,R.next_in,B,Q),1===R.state.wrap?R.adler=T(R.adler,I,B,Q):2===R.state.wrap&&(R.adler=q(R.adler,I,B,Q)),R.next_in+=B,R.total_in+=B,I=B);k.lookahead+=I;if(3<=k.lookahead+k.insert)for(S=k.strstart-k.insert,k.ins_h=k.window[S],k.ins_h=(k.ins_h<k.lookahead+k.insert););}while(262>k.lookahead&&0!==k.strm.avail_in)}function p(k,J){for(var I;;){if(262>k.lookahead){t(k);if(262>k.lookahead&&0===J)return 1;if(0===k.lookahead)break}I=0;3<=k.lookahead&&(k.ins_h=(k.ins_h<k.strstart?k.strstart:2;return 4===J?(b(k,!0),0===k.strm.avail_out?3:4):k.last_lit&&(b(k,!1),0===k.strm.avail_out)?1:2}function w(k,J){for(var I,S;;){if(262>k.lookahead){t(k);if(262>k.lookahead&&0===J)return 1;if(0===k.lookahead)break}I=0;3<=k.lookahead&&(k.ins_h=(k.ins_h<=k.match_length&&(1===k.strategy||3===k.match_length&&4096k.strstart?k.strstart: + 2;return 4===J?(b(k,!0),0===k.strm.avail_out?3:4):k.last_lit&&(b(k,!1),0===k.strm.avail_out)?1:2}function r(k,J){for(var I,S,R,Q=k.window;;){if(258>=k.lookahead){t(k);if(258>=k.lookahead&&0===J)return 1;if(0===k.lookahead)break}k.match_length=0;if(3<=k.lookahead&&0 + k.lookahead&&(k.match_length=k.lookahead)}3<=k.match_length?(I=N._tr_tally(k,1,k.match_length-3),k.lookahead-=k.match_length,k.strstart+=k.match_length,k.match_length=0):(I=N._tr_tally(k,0,k.window[k.strstart]),k.lookahead--,k.strstart++);if(I&&(b(k,!1),0===k.strm.avail_out))return 1}k.insert=0;return 4===J?(b(k,!0),0===k.strm.avail_out?3:4):k.last_lit&&(b(k,!1),0===k.strm.avail_out)?1:2}function E(k,J){for(var I;;){if(0===k.lookahead&&(t(k),0===k.lookahead)){if(0===J)return 1;break}k.match_length= + 0;I=N._tr_tally(k,0,k.window[k.strstart]);k.lookahead--;k.strstart++;if(I&&(b(k,!1),0===k.strm.avail_out))return 1}k.insert=0;return 4===J?(b(k,!0),0===k.strm.avail_out?3:4):k.last_lit&&(b(k,!1),0===k.strm.avail_out)?1:2}function K(k,J,I,S,R){this.good_length=k;this.max_lazy=J;this.nice_length=I;this.max_chain=S;this.func=R}function U(){this.strm=null;this.status=0;this.pending_buf=null;this.wrap=this.pending=this.pending_out=this.pending_buf_size=0;this.gzhead=null;this.gzindex=0;this.method=8;this.last_flush= + -1;this.w_mask=this.w_bits=this.w_size=0;this.window=null;this.window_size=0;this.head=this.prev=null;this.nice_match=this.good_match=this.strategy=this.level=this.max_lazy_match=this.max_chain_length=this.prev_length=this.lookahead=this.match_start=this.strstart=this.match_available=this.prev_match=this.match_length=this.block_start=this.hash_shift=this.hash_mask=this.hash_bits=this.hash_size=this.ins_h=0;this.dyn_ltree=new f.Buf16(1146);this.dyn_dtree=new f.Buf16(122);this.bl_tree=new f.Buf16(78); + m(this.dyn_ltree);m(this.dyn_dtree);m(this.bl_tree);this.bl_desc=this.d_desc=this.l_desc=null;this.bl_count=new f.Buf16(16);this.heap=new f.Buf16(573);m(this.heap);this.heap_max=this.heap_len=0;this.depth=new f.Buf16(573);m(this.depth);this.bi_valid=this.bi_buf=this.insert=this.matches=this.static_len=this.opt_len=this.d_buf=this.last_lit=this.lit_bufsize=this.l_buf=0}function O(k){if(!k||!k.state)return n(k,-2);k.total_in=k.total_out=0;k.data_type=2;var J=k.state;J.pending=0;J.pending_out=0;0>J.wrap&& + (J.wrap=-J.wrap);J.status=J.wrap?42:113;k.adler=2===J.wrap?0:1;J.last_flush=0;N._tr_init(J);return 0}function z(k){var J=O(k);0===J&&(k=k.state,k.window_size=2*k.w_size,m(k.head),k.max_lazy_match=G[k.level].max_lazy,k.good_match=G[k.level].good_length,k.nice_match=G[k.level].nice_length,k.max_chain_length=G[k.level].max_chain,k.strstart=0,k.block_start=0,k.lookahead=0,k.insert=0,k.match_length=k.prev_length=2,k.match_available=0,k.ins_h=0);return J}function M(k,J,I,S,R,Q){if(!k)return-2;var B=1;-1=== + J&&(J=6);0>S?(B=0,S=-S):15R||9S||15J||9Q||4k.pending_buf_size-5&&(I=k.pending_buf_size-5);;){if(1>=k.lookahead){t(k);if(0===k.lookahead&&0===J)return 1;if(0===k.lookahead)break}k.strstart+=k.lookahead;k.lookahead=0;var S=k.block_start+I;if(0===k.strstart||k.strstart>=S)if(k.lookahead=k.strstart-S,k.strstart= + S,b(k,!1),0===k.strm.avail_out)return 1;if(k.strstart-k.block_start>=k.w_size-262&&(b(k,!1),0===k.strm.avail_out))return 1}k.insert=0;if(4===J)return b(k,!0),0===k.strm.avail_out?3:4;k.strstart>k.block_start&&b(k,!1);return 1}),new K(4,4,8,4,p),new K(4,5,16,8,p),new K(4,6,32,32,p),new K(4,4,16,16,w),new K(8,16,32,32,w),new K(8,16,128,128,w),new K(8,32,128,256,w),new K(32,128,258,1024,w),new K(32,258,258,4096,w)];D.deflateInit=function(k,J){return M(k,J,8,15,8,0)};D.deflateInit2=M;D.deflateReset=z; + D.deflateResetKeep=O;D.deflateSetHeader=function(k,J){if(!k||!k.state||2!==k.state.wrap)return-2;k.state.gzhead=J;return 0};D.deflate=function(k,J){if(!k||!k.state||5J)return k?n(k,-2):-2;var I=k.state;if(!k.output||!k.input&&0!==k.avail_in||666===I.status&&4!==J)return n(k,0===k.avail_out?-5:-2);I.strm=k;var S=I.last_flush;I.last_flush=J;if(42===I.status)if(2===I.wrap)k.adler=0,l(I,31),l(I,139),l(I,8),I.gzhead?(l(I,(I.gzhead.text?1:0)+(I.gzhead.hcrc?2:0)+(I.gzhead.extra?4:0)+(I.gzhead.name? + 8:0)+(I.gzhead.comment?16:0)),l(I,I.gzhead.time&255),l(I,I.gzhead.time>>8&255),l(I,I.gzhead.time>>16&255),l(I,I.gzhead.time>>24&255),l(I,9===I.level?2:2<=I.strategy||2>I.level?4:0),l(I,I.gzhead.os&255),I.gzhead.extra&&I.gzhead.extra.length&&(l(I,I.gzhead.extra.length&255),l(I,I.gzhead.extra.length>>8&255)),I.gzhead.hcrc&&(k.adler=q(k.adler,I.pending_buf,I.pending,0)),I.gzindex=0,I.status=69):(l(I,0),l(I,0),l(I,0),l(I,0),l(I,0),l(I,9===I.level?2:2<=I.strategy||2>I.level?4:0),l(I,3),I.status=113);else{var R= + 8+(I.w_bits-8<<4)<<8;R|=(2<=I.strategy||2>I.level?0:6>I.level?1:6===I.level?2:3)<<6;0!==I.strstart&&(R|=32);I.status=113;a(I,R+(31-R%31));0!==I.strstart&&(a(I,k.adler>>>16),a(I,k.adler&65535));k.adler=1}if(69===I.status)if(I.gzhead.extra){for(R=I.pending;I.gzindex<(I.gzhead.extra.length&65535)&&(I.pending!==I.pending_buf_size||(I.gzhead.hcrc&&I.pending>R&&(k.adler=q(k.adler,I.pending_buf,I.pending-R,R)),g(k),R=I.pending,I.pending!==I.pending_buf_size));)l(I,I.gzhead.extra[I.gzindex]&255),I.gzindex++; + I.gzhead.hcrc&&I.pending>R&&(k.adler=q(k.adler,I.pending_buf,I.pending-R,R));I.gzindex===I.gzhead.extra.length&&(I.gzindex=0,I.status=73)}else I.status=73;if(73===I.status)if(I.gzhead.name){R=I.pending;do{if(I.pending===I.pending_buf_size&&(I.gzhead.hcrc&&I.pending>R&&(k.adler=q(k.adler,I.pending_buf,I.pending-R,R)),g(k),R=I.pending,I.pending===I.pending_buf_size)){var Q=1;break}Q=I.gzindex + R&&(k.adler=q(k.adler,I.pending_buf,I.pending-R,R));0===Q&&(I.gzindex=0,I.status=91)}else I.status=91;if(91===I.status)if(I.gzhead.comment){R=I.pending;do{if(I.pending===I.pending_buf_size&&(I.gzhead.hcrc&&I.pending>R&&(k.adler=q(k.adler,I.pending_buf,I.pending-R,R)),g(k),R=I.pending,I.pending===I.pending_buf_size)){Q=1;break}Q=I.gzindexR&&(k.adler=q(k.adler,I.pending_buf,I.pending- + R,R));0===Q&&(I.status=103)}else I.status=103;103===I.status&&(I.gzhead.hcrc?(I.pending+2>I.pending_buf_size&&g(k),I.pending+2<=I.pending_buf_size&&(l(I,k.adler&255),l(I,k.adler>>8&255),k.adler=0,I.status=113)):I.status=113);if(0!==I.pending){if(g(k),0===k.avail_out)return I.last_flush=-1,0}else if(0===k.avail_in&&(J<<1)-(4=I.wrap)return 1;2===I.wrap?(l(I,k.adler&255),l(I,k.adler>>8&255),l(I,k.adler>>16&255),l(I,k.adler>>24&255),l(I,k.total_in&255),l(I,k.total_in>>8&255), + l(I,k.total_in>>16&255),l(I,k.total_in>>24&255)):(a(I,k.adler>>>16),a(I,k.adler&65535));g(k);0=S.w_size){0===R&&(m(S.head),S.strstart=0,S.block_start=0,S.insert=0);var Q=new f.Buf8(S.w_size);f.arraySet(Q,J,I-S.w_size,S.w_size,0);J=Q;I=S.w_size}Q=k.avail_in;var B=k.next_in;var H=k.input;k.avail_in=I;k.next_in=0;k.input=J;for(t(S);3<=S.lookahead;){J=S.strstart;I=S.lookahead-2;do S.ins_h=(S.ins_h<z&&(O+=l[b++]<>>24;O>>>=F;z-=F;F=q>>>16&255;if(0===F)t[c++]=q&65535;else if(F&16){var G=q&65535;if(F&= + 15)z>>=F,z-=F;15>z&&(O+=l[b++]<>>24;O>>>=F;z-=F;F=q>>>16&255;if(F&16){q&=65535;F&=15;zw){n.msg="invalid distance too far back";g.mode=30;break a}O>>>=F;z-=F;F=c-m;if(q>F){F=q-F;if(F>E&&g.sane){n.msg="invalid distance too far back";g.mode=30;break a}var k=0;var J=U;if(0===K){if(k+=r-F,F>3;b-=G;z-=G<<3;n.next_in=b;n.next_out=c;n.avail_in=b>>24&255)+(z>>>8&65280)+((z&65280)<<8)+((z&255)<<24)}function m(){this.mode=0;this.last=!1;this.wrap=0;this.havedict=!1;this.total=this.check=this.dmax=this.flags=0;this.head= + null;this.wnext=this.whave=this.wsize=this.wbits=0;this.window=null;this.extra=this.offset=this.length=this.bits=this.hold=0;this.distcode=this.lencode=null;this.have=this.ndist=this.nlen=this.ncode=this.distbits=this.lenbits=0;this.next=null;this.lens=new t.Buf16(320);this.work=new t.Buf16(288);this.distdyn=this.lendyn=null;this.was=this.back=this.sane=0}function g(z){if(!z||!z.state)return-2;var M=z.state;z.total_in=z.total_out=M.total=0;z.msg="";M.wrap&&(z.adler=M.wrap&1);M.mode=1;M.last=0;M.havedict= + 0;M.dmax=32768;M.head=null;M.hold=0;M.bits=0;M.lencode=M.lendyn=new t.Buf32(852);M.distcode=M.distdyn=new t.Buf32(592);M.sane=1;M.back=-1;return 0}function b(z){if(!z||!z.state)return-2;var M=z.state;M.wsize=0;M.whave=0;M.wnext=0;return g(z)}function l(z,M){if(!z||!z.state)return-2;var f=z.state;if(0>M){var N=0;M=-M}else N=(M>>4)+1,48>M&&(M&=15);if(M&&(8>M||15=T.wsize?(t.arraySet(T.window,M,f-T.wsize,T.wsize,0),T.wnext=0,T.whave=T.wsize):(z=T.wsize-T.wnext,z>N&&(z=N),t.arraySet(T.window,M,f-N,z,T.wnext),(N-=z)?(t.arraySet(T.window,M,f-N,N,0),T.wnext=N,T.whave=T.wsize):(T.wnext+=z,T.wnext===T.wsize&&(T.wnext=0),T.whaveQ;){if(0===S)break a;S--;R+=I[J++]<>>8&255;q.check=w(q.check,N,2,0);Q=R=0;q.mode=2;break}q.flags=0;q.head&&(q.head.done=!1);if(!(q.wrap&1)||(((R&255)<<8)+(R>>8))%31){z.msg="incorrect header check";q.mode=30;break}if(8!==(R&15)){z.msg="unknown compression method";q.mode=30;break}R>>>=4;Q-=4;var u=(R&15)+8;if(0===q.wbits)q.wbits=u;else if(u> + q.wbits){z.msg="invalid window size";q.mode=30;break}q.dmax=1<Q;){if(0===S)break a;S--;R+=I[J++]<>8&1);q.flags&512&&(N[0]=R&255,N[1]=R>>>8&255,q.check=w(q.check,N,2,0));Q=R=0;q.mode=3;case 3:for(;32>Q;){if(0===S)break a;S--;R+=I[J++]<>>8&255,N[2]=R>>>16&255,N[3]=R>>>24&255,q.check=w(q.check,N,4,0));Q=R=0;q.mode=4;case 4:for(;16>Q;){if(0===S)break a;S--;R+=I[J++]<>8);q.flags&512&&(N[0]=R&255,N[1]=R>>>8&255,q.check=w(q.check,N,2,0));Q=R=0;q.mode=5;case 5:if(q.flags&1024){for(;16>Q;){if(0===S)break a;S--;R+=I[J++]<>>8&255,q.check=w(q.check,N,2,0));Q=R=0}else q.head&&(q.head.extra= + null);q.mode=6;case 6:if(q.flags&1024){var d=q.length;d>S&&(d=S);d&&(q.head&&(u=q.head.extra_len-q.length,q.head.extra||(q.head.extra=Array(q.head.extra_len)),t.arraySet(q.head.extra,I,J,d,u)),q.flags&512&&(q.check=w(q.check,I,d,J)),S-=d,J+=d,q.length-=d);if(q.length)break a}q.length=0;q.mode=7;case 7:if(q.flags&2048){if(0===S)break a;d=0;do u=I[J+d++],q.head&&u&&65536>q.length&&(q.head.name+=String.fromCharCode(u));while(u&&dq.length&&(q.head.comment+=String.fromCharCode(u));while(u&&dQ;){if(0===S)break a;S--;R+=I[J++]<>9&1,q.head.done=!0);z.adler=q.check= + 0;q.mode=12;break;case 10:for(;32>Q;){if(0===S)break a;S--;R+=I[J++]<>>=Q&7;Q-=Q&7;q.mode=27;break}for(;3>Q;){if(0===S)break a;S--;R+=I[J++]<>>=1;--Q;switch(R&3){case 0:q.mode=14;break;case 1:u=q;if(K){U=new t.Buf32(512);O=new t.Buf32(32);for(d=0;144> + d;)u.lens[d++]=8;for(;256>d;)u.lens[d++]=9;for(;280>d;)u.lens[d++]=7;for(;288>d;)u.lens[d++]=8;E(1,u.lens,0,288,U,0,u.work,{bits:9});for(d=0;32>d;)u.lens[d++]=5;E(2,u.lens,0,32,O,0,u.work,{bits:5});K=!1}u.lencode=U;u.lenbits=9;u.distcode=O;u.distbits=5;q.mode=20;if(6===M){R>>>=2;Q-=2;break a}break;case 2:q.mode=17;break;case 3:z.msg="invalid block type",q.mode=30}R>>>=2;Q-=2;break;case 14:R>>>=Q&7;for(Q-=Q&7;32>Q;){if(0===S)break a;S--;R+=I[J++]<>>16^65535)){z.msg="invalid stored block lengths"; + q.mode=30;break}q.length=R&65535;Q=R=0;q.mode=15;if(6===M)break a;case 15:q.mode=16;case 16:if(d=q.length){d>S&&(d=S);d>k&&(d=k);if(0===d)break a;t.arraySet(G,I,J,d,F);S-=d;J+=d;k-=d;F+=d;q.length-=d;break}q.mode=12;break;case 17:for(;14>Q;){if(0===S)break a;S--;R+=I[J++]<>>=5;Q-=5;q.ndist=(R&31)+1;R>>>=5;Q-=5;q.ncode=(R&15)+4;R>>>=4;Q-=4;if(286 + Q;){if(0===S)break a;S--;R+=I[J++]<>>=3;Q-=3}for(;19>q.have;)q.lens[T[q.have++]]=0;q.lencode=q.lendyn;q.lenbits=7;d={bits:q.lenbits};X=E(0,q.lens,0,19,q.lencode,0,q.work,d);q.lenbits=d.bits;if(X){z.msg="invalid code lengths set";q.mode=30;break}q.have=0;q.mode=19;case 19:for(;q.have>>24;A&=65535;if(d<=Q)break;if(0===S)break a;S--;R+=I[J++]<A)R>>>=d,Q-=d,q.lens[q.have++]=A;else{if(16=== + A){for(u=d+2;Q>>=d;Q-=d;if(0===q.have){z.msg="invalid bit length repeat";q.mode=30;break}u=q.lens[q.have-1];d=3+(R&3);R>>>=2;Q-=2}else if(17===A){for(u=d+3;Q>>=d;Q-=d;u=0;d=3+(R&7);R>>>=3;Q-=3}else{for(u=d+7;Q>>=d;Q-=d;u=0;d=11+(R&127);R>>>=7;Q-=7}if(q.have+d>q.nlen+q.ndist){z.msg="invalid bit length repeat";q.mode=30;break}for(;d--;)q.lens[q.have++]=u}}if(30=== + q.mode)break;if(0===q.lens[256]){z.msg="invalid code -- missing end-of-block";q.mode=30;break}q.lenbits=9;d={bits:q.lenbits};X=E(1,q.lens,0,q.nlen,q.lencode,0,q.work,d);q.lenbits=d.bits;if(X){z.msg="invalid literal/lengths set";q.mode=30;break}q.distbits=6;q.distcode=q.distdyn;d={bits:q.distbits};X=E(2,q.lens,q.nlen,q.ndist,q.distcode,0,q.work,d);q.distbits=d.bits;if(X){z.msg="invalid distances set";q.mode=30;break}q.mode=20;if(6===M)break a;case 20:q.mode=21;case 21:if(6<=S&&258<=k){z.next_out=F; + z.avail_out=k;z.next_in=J;z.avail_in=S;q.hold=R;q.bits=Q;r(z,H);F=z.next_out;G=z.output;k=z.avail_out;J=z.next_in;I=z.input;S=z.avail_in;R=q.hold;Q=q.bits;12===q.mode&&(q.back=-1);break}for(q.back=0;;){A=q.lencode[R&(1<>>24;u=A>>>16&255;A&=65535;if(d<=Q)break;if(0===S)break a;S--;R+=I[J++]<>h)];d=A>>>24;u=A>>>16&255;A&=65535;if(h+d<=Q)break;if(0===S)break a;S--;R+=I[J++]<>>=h;Q-=h;q.back+= + h}R>>>=d;Q-=d;q.back+=d;q.length=A;if(0===u){q.mode=26;break}if(u&32){q.back=-1;q.mode=12;break}if(u&64){z.msg="invalid literal/length code";q.mode=30;break}q.extra=u&15;q.mode=22;case 22:if(q.extra){for(u=q.extra;Q>>=q.extra;Q-=q.extra;q.back+=q.extra}q.was=q.length;q.mode=23;case 23:for(;;){A=q.distcode[R&(1<>>24;u=A>>>16&255;A&=65535;if(d<=Q)break;if(0===S)break a;S--;R+=I[J++]<>h)];d=A>>>24;u=A>>>16&255;A&=65535;if(h+d<=Q)break;if(0===S)break a;S--;R+=I[J++]<>>=h;Q-=h;q.back+=h}R>>>=d;Q-=d;q.back+=d;if(u&64){z.msg="invalid distance code";q.mode=30;break}q.offset=A;q.extra=u&15;q.mode=24;case 24:if(q.extra){for(u=q.extra;Q>>=q.extra;Q-=q.extra;q.back+=q.extra}if(q.offset>q.dmax){z.msg="invalid distance too far back";q.mode=30;break}q.mode=25; + case 25:if(0===k)break a;d=H-k;if(q.offset>d){d=q.offset-d;if(d>q.whave&&q.sane){z.msg="invalid distance too far back";q.mode=30;break}d>q.wnext?(d-=q.wnext,u=q.wsize-d):u=q.wnext-d;d>q.length&&(d=q.length);h=q.window}else h=G,u=F-q.offset,d=q.length;d>k&&(d=k);k-=d;q.length-=d;do G[F++]=h[u++];while(--d);0===q.length&&(q.mode=21);break;case 26:if(0===k)break a;G[F++]=q.length;k--;q.mode=21;break;case 27:if(q.wrap){for(;32>Q;){if(0===S)break a;S--;R|=I[J++]<Q;){if(0===S)break a;S--;R+=I[J++]<q.mode&&(27>q.mode||4!==M))&&c(z,z.output,z.next_out,H-z.avail_out))return q.mode=31,-4;B-=z.avail_in;H-=z.avail_out;z.total_in+=B;z.total_out+=H;q.total+=H;q.wrap&&H&&(z.adler=q.check=q.flags?w(q.check,G,H,z.next_out-H):p(q.check,G,H,z.next_out-H));z.data_type=q.bits+(q.last?64:0)+(12===q.mode?128:0)+(20===q.mode||15===q.mode?256:0);(0===B&&0===H||4===M)&&0===X&&(X=-5);return X};D.inflateEnd=function(z){if(!z||!z.state)return-2;var M=z.state;M.window&&(M.window=null);z.state=null;return 0};D.inflateGetHeader= + function(z,M){if(!z||!z.state)return-2;z=z.state;if(0===(z.wrap&2))return-2;z.head=M;M.done=!1;return 0};D.inflateSetDictionary=function(z,M){var f=M.length;if(!z||!z.state)return-2;var N=z.state;if(0!==N.wrap&&11!==N.mode)return-2;if(11===N.mode){var T=p(1,M,f,0);if(T!==N.check)return-3}if(c(z,M,f,f))return N.mode=31,-4;N.havedict=1;return 0};D.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":123,"./adler32":125,"./crc32":127,"./inffast":130,"./inftrees":132}],132:[function(x, + W,D){var n=x("../utils/common"),m=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],g=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],b=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],l=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];W.exports=function(a,c,t,p,w,r,E,K){var U=K.bits,O,z,M,f,N, + T,q=0,F=new n.Buf16(16);var G=new n.Buf16(16);var k,J=0;for(O=0;15>=O;O++)F[O]=0;for(z=0;zM&&(I=M);if(0===M)return w[r++]=20971520,w[r++]=20971520,K.bits=1,0;for(U=1;U=O;O++)if(f<<=1,f-=F[O],0>f)return-1;if(0O;O++)G[O+1]=G[O]+F[O];for(z=0;zR?(A=k[J+E[z]],h=S[q+E[z]]):(A=96,h=0);f=1<>G)+T]=d<<24|A<<16|h|0;while(0!==T);for(f=1<>=1;0!==f?(N&=f-1,N+=f):N=0;z++;if(0===--F[O]){if(O===M)break;O=c[t+E[z]]}if(O>I&&(N&X)!==B){0===G&&(G=I);Q+=U;p=O-G;for(f=1<=f)break;p++;f<<=1}H+=1<>>8&255}function l(d,A,h){d.bi_valid>16-h?(d.bi_buf|=A<>16-d.bi_valid,d.bi_valid+=h-16):(d.bi_buf|=A<>>=1,h<<=1;while(0<--A);return h>>>1}function t(d,A,h){var v=Array(16),P=0,e; + for(e=1;15>=e;e++)v[e]=P=P+h[e-1]<<1;for(h=0;h<=A;h++)P=d[2*h+1],0!==P&&(d[2*h]=c(v[P]++,P))}function p(d){var A;for(A=0;286>A;A++)d.dyn_ltree[2*A]=0;for(A=0;30>A;A++)d.dyn_dtree[2*A]=0;for(A=0;19>A;A++)d.bl_tree[2*A]=0;d.dyn_ltree[512]=1;d.opt_len=d.static_len=0;d.last_lit=d.matches=0}function w(d){8P?I[P]:I[256+(P>>>7)];a(d,y,h);C=q[y];0!==C&&(P-=Q[y],l(d,P,C))}}while(vd.heap_len;){var L=d.heap[++d.heap_len]=2>C?++C:0;h[2*L]=1;d.depth[L]=0;d.opt_len--;P&&(d.static_len-=v[2*L+1])}A.max_code=C;for(y=d.heap_len>>1;1<=y;y--)E(d,h,y);L=e;do y=d.heap[1],d.heap[1]=d.heap[d.heap_len--],E(d,h,1),v=d.heap[1],d.heap[--d.heap_max]=y,d.heap[--d.heap_max]= + v,h[2*L]=h[2*y]+h[2*v],d.depth[L]=(d.depth[y]>=d.depth[v]?d.depth[y]:d.depth[v])+1,h[2*y+1]=h[2*v+1]=L,d.heap[1]=L++,E(d,h,1);while(2<=d.heap_len);d.heap[--d.heap_max]=d.heap[1];y=A.dyn_tree;L=A.max_code;v=A.stat_desc.static_tree;P=A.stat_desc.has_stree;e=A.stat_desc.extra_bits;var V=A.stat_desc.extra_base,Y=A.stat_desc.max_length,Z,ca=0;for(Z=0;15>=Z;Z++)d.bl_count[Z]=0;y[2*d.heap[d.heap_max]+1]=0;for(A=d.heap_max+1;573>A;A++){var fa=d.heap[A];Z=y[2*y[2*fa+1]+1]+1;Z>Y&&(Z=Y,ca++);y[2*fa+1]=Z;if(!(fa> + L)){d.bl_count[Z]++;var ha=0;fa>=V&&(ha=e[fa-V]);var la=y[2*fa];d.opt_len+=la*(Z+ha);P&&(d.static_len+=la*(v[2*fa+1]+ha))}}if(0!==ca){do{for(Z=Y-1;0===d.bl_count[Z];)Z--;d.bl_count[Z]--;d.bl_count[Z+1]+=2;d.bl_count[Y]--;ca-=2}while(0L||(y[2*v+1]!==Z&&(d.opt_len+=(Z-y[2*v+1])*y[2*v],y[2*v+1]=Z),fa--)}t(h,C,d.bl_count)}function O(d,A,h){var v,P=-1,e=A[1],y=0,C=7,L=4;0===e&&(C=138,L=3);A[2*(h+1)+1]=65535;for(v=0;v<=h;v++){var V=e;e= + A[2*(v+1)+1];++y=y?d.bl_tree[34]++:d.bl_tree[36]++,y=0,P=V,0===e?(C=138,L=3):V===e?(C=6,L=3):(C=7,L=4))}}function z(d,A,h){var v,P=-1,e=A[1],y=0,C=7,L=4;0===e&&(C=138,L=3);for(v=0;v<=h;v++){var V=e;e=A[2*(v+1)+1];if(!(++y=y?(a(d,17,d.bl_tree),l(d,y-3,3)):(a(d,18,d.bl_tree),l(d,y-11,7)); + y=0;P=V;0===e?(C=138,L=3):V===e?(C=6,L=3):(C=7,L=4)}}}function M(d){var A=4093624447,h;for(h=0;31>=h;h++,A>>>=1)if(A&1&&0!==d.dyn_ltree[2*h])return 0;if(0!==d.dyn_ltree[18]||0!==d.dyn_ltree[20]||0!==d.dyn_ltree[26])return 1;for(h=32;256>h;h++)if(0!==d.dyn_ltree[2*h])return 1;return 0}function f(d,A,h,v){l(d,v?1:0,3);w(d);b(d,h);b(d,~h);N.arraySet(d.pending_buf,d.window,A,h,d.pending);d.pending+=h}var N=x("../utils/common"),T=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],q=[0,0,0,0,1, + 1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],F=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],G=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],k=Array(576);n(k);var J=Array(60);n(J);var I=Array(512);n(I);var S=Array(256);n(S);var R=Array(29);n(R);var Q=Array(30);n(Q);var B,H,X,u=!1;D._tr_init=function(d){if(!u){var A,h,v,P=Array(16);for(v=h=0;28>v;v++)for(R[v]=h,A=0;A<1<v;v++)for(Q[v]=h,A=0;A<1<>=7;30>v;v++)for(Q[v]=h<<7,A= + 0;A<1<=A;A++)P[A]=0;for(A=0;143>=A;)k[2*A+1]=8,A++,P[8]++;for(;255>=A;)k[2*A+1]=9,A++,P[9]++;for(;279>=A;)k[2*A+1]=7,A++,P[7]++;for(;287>=A;)k[2*A+1]=8,A++,P[8]++;t(k,287,P);for(A=0;30>A;A++)J[2*A+1]=5,J[2*A]=c(A,5);B=new m(k,T,257,286,15);H=new m(J,q,0,30,15);X=new m([],F,0,19,7);u=!0}d.l_desc=new g(d.dyn_ltree,B);d.d_desc=new g(d.dyn_dtree,H);d.bl_desc=new g(d.bl_tree,X);d.bi_buf=0;d.bi_valid=0;p(d)};D._tr_stored_block=f;D._tr_flush_block=function(d,A,h,v){var P= + 0;if(0>>3;var y=d.static_len+3+7>>>3;y<=e&&(e=y)}else e=y=h+5;if(h+4<=e&&-1!==A)f(d,A,h,v);else if(4===d.strategy||y===e)l(d,2+(v?1:0),3),K(d,k,J);else{l(d,4+(v?1:0),3);A=d.l_desc.max_code+1;h=d.d_desc.max_code+1;P+=1;l(d,A-257,5);l(d,h-1,5);l(d, + P-4,4);for(e=0;e>>8&255;d.pending_buf[d.d_buf+2*d.last_lit+1]=A&255;d.pending_buf[d.l_buf+d.last_lit]=h&255;d.last_lit++;0===A?d.dyn_ltree[2*h]++:(d.matches++,A--,d.dyn_ltree[2*(S[h]+256+1)]++,d.dyn_dtree[2*(256>A?I[A]:I[256+(A>>>7)])]++);return d.last_lit===d.lit_bufsize-1};D._tr_align=function(d){l(d,2,3);a(d,256, + k);16===d.bi_valid?(b(d,d.bi_buf),d.bi_buf=0,d.bi_valid=0):8<=d.bi_valid&&(d.pending_buf[d.pending++]=d.bi_buf&255,d.bi_buf>>=8,d.bi_valid-=8)}},{"../utils/common":123}],135:[function(x,W,D){W.exports=function(){this.input=null;this.total_in=this.avail_in=this.next_in=0;this.output=null;this.total_out=this.avail_out=this.next_out=0;this.msg="";this.state=null;this.data_type=2;this.adler=0}},{}],136:[function(x,W,D){(function(n){function m(a,c){for(var t=0,p=a.length-1;0<=p;p--){var w=a[p];"."===w? + a.splice(p,1):".."===w?(a.splice(p,1),t++):t&&(a.splice(p,1),t--)}if(c)for(;t--;t)a.unshift("..");return a}function g(a,c){if(a.filter)return a.filter(c);for(var t=[],p=0;pU?[]:E.slice(K,U-K+1)}a=D.resolve(a).substr(1);c=D.resolve(c).substr(1);a=t(a.split("/"));c=t(c.split("/"));for(var p=Math.min(a.length,c.length),w=p,r=0;rc&&(c=a.length+c);return a.substr(c,t)}}).call(this,x("_process"))},{_process:138}],137:[function(x,W,D){(function(n){function m(g,b,l,a){if("function"!==typeof g)throw new TypeError('"callback" argument must be a function'); + var c=arguments.length;switch(c){case 0:case 1:return n.nextTick(g);case 2:return n.nextTick(function(){g.call(null,b)});case 3:return n.nextTick(function(){g.call(null,b,l)});case 4:return n.nextTick(function(){g.call(null,b,l,a)});default:var t=Array(c-1);for(c=0;c=B||0===H.length&&H.ended)return 0;if(H.objectMode)return 1;if(B!==B)return H.flowing&&H.length?H.buffer.head.data.length:H.length;if(B>H.highWaterMark){var X=B;8388608<=X?X=8388608:(X--,X|=X>>>1,X|=X>>>2,X|=X>>>4,X|=X>>>8,X|=X>>> + 16,X++);H.highWaterMark=X}return B<=H.length?B:H.ended?H.length:(H.needReadable=!0,0)}function c(B){var H=B._readableState;H.needReadable=!1;H.emittedReadable||(S("emitReadable",H.flowing),H.emittedReadable=!0,H.sync?N(t,B):t(B))}function t(B){S("emit readable");B.emit("readable");K(B)}function p(B,H){for(var X=H.length;!H.reading&&!H.flowing&&!H.ended&&H.length=H.length)X=H.decoder?H.buffer.join(""):1===H.buffer.length?H.buffer.head.data:H.buffer.concat(H.length),H.buffer.clear();else{X=H.buffer;H=H.decoder;if(BA.length?A.length:B;d=h===A.length?d+A:d+A.slice(0,B);B-=h;if(0===B){h===A.length?(++u,X.head=H.next?H.next:X.tail=null):(X.head=H, + H.data=A.slice(h));break}++u}X.length-=u;X=d}else{H=k.allocUnsafe(B);u=X.head;d=1;u.data.copy(H);for(B-=u.data.length;u=u.next;){A=u.data;h=B>A.length?A.length:B;A.copy(H,H.length-B,0,h);B-=h;if(0===B){h===A.length?(++d,X.head=u.next?u.next:X.tail=null):(X.head=u,u.data=A.slice(h));break}++d}X.length-=d;X=H}H=X}X=H}return X}function O(B){var H=B._readableState;if(0=H.highWaterMark||H.ended))return S("read: emitReadable",H.length,H.ended),0===H.length&&H.ended?O(this):c(this),null;B=a(B,H);if(0===B&&H.ended)return 0===H.length&&O(this),null;var u=H.needReadable;S("need readable",u);if(0===H.length||H.length-B>>0);for(var b=this.head,l=0;b;)b.data.copy(g,l),l+=b.data.length,b=b.next;return g}},{buffer:77,"buffer-shims":76}],146:[function(x,W,D){W.exports=x("./lib/_stream_passthrough.js")}, + {"./lib/_stream_passthrough.js":141}],147:[function(x,W,D){var n=x("_process");a:{try{var m=x("stream");break a}catch(g){}m=void 0}D=W.exports=x("./lib/_stream_readable.js");D.Stream=m||D;D.Readable=D;D.Writable=x("./lib/_stream_writable.js");D.Duplex=x("./lib/_stream_duplex.js");D.Transform=x("./lib/_stream_transform.js");D.PassThrough=x("./lib/_stream_passthrough.js");!n.browser&&"disable"===n.env.READABLE_STREAM&&m&&(W.exports=m)},{"./lib/_stream_duplex.js":140,"./lib/_stream_passthrough.js":141, + "./lib/_stream_readable.js":142,"./lib/_stream_transform.js":143,"./lib/_stream_writable.js":144,_process:138}],148:[function(x,W,D){W.exports=x("./lib/_stream_transform.js")},{"./lib/_stream_transform.js":143}],149:[function(x,W,D){W.exports=x("./lib/_stream_writable.js")},{"./lib/_stream_writable.js":144}],150:[function(x,W,D){(function(n){(function(m){function g(e,y){if(!(this instanceof g))return new g(e,y);for(var C=0,L=T.length;Ce.indexOf(":")? + ["",e]:e.split(":"),L=C[0];C=C[1];y&&"xmlns"===e&&(L="xmlns",C="");return{prefix:L,local:C}}function U(e){e.strict||(e.attribName=e.attribName[e.looseCase]());if(-1===e.attribList.indexOf(e.attribName)&&!e.tag.attributes.hasOwnProperty(e.attribName))if(e.opt.xmlns){var y=K(e.attribName,!0),C=y.local;if("xmlns"===y.prefix)if("xml"===C&&e.attribValue!==B)E(e,"xml: prefix must be bound to "+B+"\nActual: "+e.attribValue);else if("xmlns"===C&&e.attribValue!==H)E(e,"xmlns: prefix must be bound to "+H+"\nActual: "+ + e.attribValue);else{y=e.tag;var L=e.tags[e.tags.length-1]||e;y.ns===L.ns&&(y.ns=Object.create(L.ns));y.ns[C]=e.attribValue}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,c(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}function O(e,y){if(e.opt.xmlns){var C=e.tag,L=K(e.tagName);C.prefix=L.prefix;C.local=L.local;C.uri=C.ns[L.prefix]||"";C.prefix&&!C.uri&&(E(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)), + C.uri=L.prefix);L=e.tags[e.tags.length-1]||e;C.ns&&L.ns!==C.ns&&Object.keys(C.ns).forEach(function(la){c(e,"onopennamespace",{prefix:la,uri:C.ns[la]})});L=0;for(var V=e.attribList.length;L";e.tagName="";e.state=v.SCRIPT;return}c(e,"onscript",e.script);e.script=""}var y=e.tags.length,C=e.tagName;e.strict||(C=C[e.looseCase]());for(var L=C;y--;)if(e.tags[y].name!==L)E(e,"Unexpected close tag"); + else break;if(0>y)E(e,"Unmatched closing tag: "+e.tagName),e.textNode+="";else{e.tagName=C;for(C=e.tags.length;C-- >y;){var V=e.tag=e.tags.pop();e.tagName=e.tag.name;c(e,"onclosetag",e.tagName);for(var Y in V.ns);L=e.tags[e.tags.length-1]||e;e.opt.xmlns&&V.ns!==L.ns&&Object.keys(V.ns).forEach(function(Z){c(e,"onclosenamespace",{prefix:Z,uri:V.ns[Z]})})}0===y&&(e.closedRoot=!0);e.tagName=e.attribValue=e.attribName="";e.attribList.length=0}}else E(e,"Weird empty close tag."),e.textNode+= + "";e.state=v.TEXT}function M(e){var y=e.entity,C=y.toLowerCase(),L="";if(e.ENTITIES[y])return e.ENTITIES[y];if(e.ENTITIES[C])return e.ENTITIES[C];y=C;if("#"===y.charAt(0))if("x"===y.charAt(1)){y=y.slice(2);var V=parseInt(y,16);L=V.toString(16)}else y=y.slice(1),V=parseInt(y,10),L=V.toString(10);y=y.replace(/^0+/,"");return L.toLowerCase()!==y?(E(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(V)}function f(e,y){"<"===y?(e.state=v.OPEN_WAKA,e.startTagPosition=e.position):a(G, + y)||(E(e,"Non-whitespace before first tag."),e.textNode=y,e.state=v.TEXT)}function N(e,y){var C="";y"===C?(c(this,"onsgmldeclaration",this.sgmlDecl),this.sgmlDecl="",this.state=v.TEXT):(a(I,C)&&(this.state=v.SGML_DECL_QUOTED),this.sgmlDecl+=C);continue;case v.SGML_DECL_QUOTED:C===this.q&&(this.state=v.SGML_DECL,this.q="");this.sgmlDecl+=C;continue;case v.DOCTYPE:">"===C?(this.state=v.TEXT,c(this,"ondoctype",this.doctype),this.doctype=!0):(this.doctype+=C,"["===C?this.state=v.DOCTYPE_DTD: + a(I,C)&&(this.state=v.DOCTYPE_QUOTED,this.q=C));continue;case v.DOCTYPE_QUOTED:this.doctype+=C;C===this.q&&(this.q="",this.state=v.DOCTYPE);continue;case v.DOCTYPE_DTD:this.doctype+=C;"]"===C?this.state=v.DOCTYPE:a(I,C)&&(this.state=v.DOCTYPE_DTD_QUOTED,this.q=C);continue;case v.DOCTYPE_DTD_QUOTED:this.doctype+=C;C===this.q&&(this.state=v.DOCTYPE_DTD,this.q="");continue;case v.COMMENT:"-"===C?this.state=v.COMMENT_ENDING:this.comment+=C;continue;case v.COMMENT_ENDING:"-"===C?(this.state=v.COMMENT_ENDED, + (this.comment=p(this.opt,this.comment))&&c(this,"oncomment",this.comment),this.comment=""):(this.comment+="-"+C,this.state=v.COMMENT);continue;case v.COMMENT_ENDED:">"!==C?(E(this,"Malformed comment"),this.comment+="--"+C,this.state=v.COMMENT):this.state=v.TEXT;continue;case v.CDATA:"]"===C?this.state=v.CDATA_ENDING:this.cdata+=C;continue;case v.CDATA_ENDING:"]"===C?this.state=v.CDATA_ENDING_2:(this.cdata+="]"+C,this.state=v.CDATA);continue;case v.CDATA_ENDING_2:">"===C?(this.cdata&&c(this,"oncdata", + this.cdata),c(this,"onclosecdata"),this.cdata="",this.state=v.TEXT):"]"===C?this.cdata+="]":(this.cdata+="]]"+C,this.state=v.CDATA);continue;case v.PROC_INST:"?"===C?this.state=v.PROC_INST_ENDING:a(G,C)?this.state=v.PROC_INST_BODY:this.procInstName+=C;continue;case v.PROC_INST_BODY:if(!this.procInstBody&&a(G,C))continue;else"?"===C?this.state=v.PROC_INST_ENDING:this.procInstBody+=C;continue;case v.PROC_INST_ENDING:">"===C?(c(this,"onprocessinginstruction",{name:this.procInstName,body:this.procInstBody}), + this.procInstName=this.procInstBody="",this.state=v.TEXT):(this.procInstBody+="?"+C,this.state=v.PROC_INST_BODY);continue;case v.OPEN_TAG:if(a(d,C))this.tagName+=C;else{this.strict||(this.tagName=this.tagName[this.looseCase]());L=this.tags[this.tags.length-1]||this;var V=this.tag={name:this.tagName,attributes:{}};this.opt.xmlns&&(V.ns=L.ns);this.attribList.length=0;">"===C?O(this):"/"===C?this.state=v.OPEN_TAG_SLASH:(a(G,C)||E(this,"Invalid character in tag name"),this.state=v.ATTRIB)}continue;case v.OPEN_TAG_SLASH:">"=== + C?(O(this,!0),z(this)):(E(this,"Forward-slash in opening tag not followed by >"),this.state=v.ATTRIB);continue;case v.ATTRIB:if(a(G,C))continue;else">"===C?O(this):"/"===C?this.state=v.OPEN_TAG_SLASH:a(u,C)?(this.attribName=C,this.attribValue="",this.state=v.ATTRIB_NAME):E(this,"Invalid attribute name");continue;case v.ATTRIB_NAME:"="===C?this.state=v.ATTRIB_VALUE:">"===C?(E(this,"Attribute without value"),this.attribValue=this.attribName,U(this),O(this)):a(G,C)?this.state=v.ATTRIB_NAME_SAW_WHITE: + a(d,C)?this.attribName+=C:E(this,"Invalid attribute name");continue;case v.ATTRIB_NAME_SAW_WHITE:if("="===C)this.state=v.ATTRIB_VALUE;else if(a(G,C))continue;else E(this,"Attribute without value"),this.attribValue=this.tag.attributes[this.attribName]="",c(this,"onattribute",{name:this.attribName,value:""}),this.attribName="",">"===C?O(this):a(u,C)?(this.attribName=C,this.state=v.ATTRIB_NAME):(E(this,"Invalid attribute name"),this.state=v.ATTRIB);continue;case v.ATTRIB_VALUE:if(a(G,C))continue;else a(I, + C)?(this.q=C,this.state=v.ATTRIB_VALUE_QUOTED):(E(this,"Unquoted attribute value"),this.state=v.ATTRIB_VALUE_UNQUOTED,this.attribValue=C);continue;case v.ATTRIB_VALUE_QUOTED:if(C!==this.q){"&"===C?this.state=v.ATTRIB_VALUE_ENTITY_Q:this.attribValue+=C;continue}U(this);this.q="";this.state=v.ATTRIB_VALUE_CLOSED;continue;case v.ATTRIB_VALUE_CLOSED:a(G,C)?this.state=v.ATTRIB:">"===C?O(this):"/"===C?this.state=v.OPEN_TAG_SLASH:a(u,C)?(E(this,"No whitespace between attributes"),this.attribName=C,this.attribValue= + "",this.state=v.ATTRIB_NAME):E(this,"Invalid attribute name");continue;case v.ATTRIB_VALUE_UNQUOTED:if(!a(S,C)){"&"===C?this.state=v.ATTRIB_VALUE_ENTITY_U:this.attribValue+=C;continue}U(this);">"===C?O(this):this.state=v.ATTRIB;continue;case v.CLOSE_TAG:if(this.tagName)">"===C?z(this):a(d,C)?this.tagName+=C:this.script?(this.script+=""===C?z(this):E(this,"Invalid characters in closing tag");continue;case v.TEXT_ENTITY:case v.ATTRIB_VALUE_ENTITY_Q:case v.ATTRIB_VALUE_ENTITY_U:switch(this.state){case v.TEXT_ENTITY:var Y=v.TEXT;var Z="textNode";break;case v.ATTRIB_VALUE_ENTITY_Q:Y=v.ATTRIB_VALUE_QUOTED;Z="attribValue";break;case v.ATTRIB_VALUE_ENTITY_U:Y=v.ATTRIB_VALUE_UNQUOTED, + Z="attribValue"}";"===C?(this[Z]+=M(this),this.entity="",this.state=Y):a(this.entity.length?h:A,C)?this.entity+=C:(E(this,"Invalid character in entity name"),this[Z]+="&"+this.entity+C,this.entity="",this.state=Y);continue;default:throw Error(this,"Unknown state: "+this.state);}}if(this.position>=this.bufferCheckPosition){e=Math.max(m.MAX_BUFFER_LENGTH,10);C=y=0;for(Y=T.length;Ce)switch(T[C]){case "textNode":t(this);break;case "cdata":c(this,"oncdata",this.cdata); + this.cdata="";break;case "script":c(this,"onscript",this.script);this.script="";break;default:w(this,"Max buffer length exceeded: "+T[C])}y=Math.max(y,Z)}this.bufferCheckPosition=m.MAX_BUFFER_LENGTH-y+this.position}return this},resume:function(){this.error=null;return this},close:function(){return this.write(null)},flush:function(){t(this);""!==this.cdata&&(c(this,"oncdata",this.cdata),this.cdata="");""!==this.script&&(c(this,"onscript",this.script),this.script="")}};try{var q=x("stream").Stream}catch(e){q= + function(){}}var F=m.EVENTS.filter(function(e){return"error"!==e&&"end"!==e});b.prototype=Object.create(q.prototype,{constructor:{value:b}});b.prototype.write=function(e){"function"===typeof n&&"function"===typeof n.isBuffer&&n.isBuffer(e)&&(this._decoder||(this._decoder=new (x("string_decoder").StringDecoder)("utf8")),e=this._decoder.write(e));this._parser.write(e.toString());this.emit("data",e);return!0};b.prototype.end=function(e){e&&e.length&&this.write(e);this._parser.end();return!0};b.prototype.on= + function(e,y){var C=this;C._parser["on"+e]||-1===F.indexOf(e)||(C._parser["on"+e]=function(){var L=1===arguments.length?[arguments[0]]:Array.apply(null,arguments);L.splice(0,0,e);C.emit.apply(C,L)});return q.prototype.on.call(C,e,y)};var G="\r\n\t ",k="0124356789",J="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",I="'\"",S=G+">",R="[CDATA[",Q="DOCTYPE",B="http://www.w3.org/XML/1998/namespace",H="http://www.w3.org/2000/xmlns/",X={xml:B,xmlns:H};G=l(G);k=l(k);J=l(J);var u=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, + d=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/,A=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,h=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040\.\d-]/; + I=l(I);S=l(S);var v=0;m.STATE={BEGIN:v++,BEGIN_WHITESPACE:v++,TEXT:v++,TEXT_ENTITY:v++,OPEN_WAKA:v++,SGML_DECL:v++,SGML_DECL_QUOTED:v++,DOCTYPE:v++,DOCTYPE_QUOTED:v++,DOCTYPE_DTD:v++,DOCTYPE_DTD_QUOTED:v++,COMMENT_STARTING:v++,COMMENT:v++,COMMENT_ENDING:v++,COMMENT_ENDED:v++,CDATA:v++,CDATA_ENDING:v++,CDATA_ENDING_2:v++,PROC_INST:v++,PROC_INST_BODY:v++,PROC_INST_ENDING:v++,OPEN_TAG:v++,OPEN_TAG_SLASH:v++,ATTRIB:v++,ATTRIB_NAME:v++,ATTRIB_NAME_SAW_WHITE:v++,ATTRIB_VALUE:v++,ATTRIB_VALUE_QUOTED:v++, + ATTRIB_VALUE_CLOSED:v++,ATTRIB_VALUE_UNQUOTED:v++,ATTRIB_VALUE_ENTITY_Q:v++,ATTRIB_VALUE_ENTITY_U:v++,CLOSE_TAG:v++,CLOSE_TAG_SAW_WHITE:v++,SCRIPT:v++,SCRIPT_ENDING:v++};m.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"};m.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216, + Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167, + uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934, + Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240, + prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,"int":8747,there4:8756,sim:8764,cong:8773,asymp:8776, + ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830};Object.keys(m.ENTITIES).forEach(function(e){var y=m.ENTITIES[e];y="number"===typeof y?String.fromCharCode(y):y;m.ENTITIES[e]=y});for(var P in m.STATE)m.STATE[m.STATE[P]]=P;v=m.STATE;String.fromCodePoint||function(){var e=String.fromCharCode,y=Math.floor, + C=function(){var L=[],V=-1,Y=arguments.length;if(!Y)return"";for(var Z="";++Vca||1114111=ca)L.push(ca);else{ca-=65536;var fa=(ca>>10)+55296;ca=ca%1024+56320;L.push(fa,ca)}if(V+1===Y||16384=this.charLength-this.charReceived?this.charLength-this.charReceived:a.length;a.copy(this.charBuffer,this.charReceived,0,c);this.charReceived+=c;if(this.charReceived=t)this.charLength+=this.surrogateSize,c="";else{this.charReceived=this.charLength=0;if(0===a.length)return c;break}}this.detectIncompleteChar(a);var p=a.length;this.charLength&&(a.copy(this.charBuffer,0,a.length-this.charReceived,p),p-=this.charReceived);c+=a.toString(this.encoding,0,p);p=c.length-1;t=c.charCodeAt(p);return 55296<=t&&56319>=t?(t=this.surrogateSize, + this.charLength+=t,this.charReceived+=t,this.charBuffer.copy(this.charBuffer,t,0,t),a.copy(this.charBuffer,0,0,t),c.substring(0,p)):c};x.prototype.detectIncompleteChar=function(a){for(var c=3<=a.length?3:a.length;0>5){this.charLength=2;break}if(2>=c&&14==t>>4){this.charLength=3;break}if(3>=c&&30==t>>3){this.charLength=4;break}}this.charReceived=c};x.prototype.end=function(a){var c="";a&&a.length&&(c=this.write(a));this.charReceived&&(a=this.encoding,c+=this.charBuffer.slice(0, + this.charReceived).toString(a));return c}},{buffer:77}],153:[function(x,W,D){(function(){function n(e){return function(y,C,L,V){C=N(C,V,4);var Y=!I(y)&&f.keys(y),Z=(Y||y).length,ca=0arguments.length&&(L=y[Y?Y[ca]:ca],ca+=e);for(var fa=C,ha=L;0<=ca&&caL||null==C)return C;for(var V=1;VL&&(L=C)}else y=T(y,C),f.each(e,function(fa,ha,la){Y=y(fa,ha,la);if(Y>V||-Infinity===Y&&-Infinity===L)L=fa,V=Y});return L};f.min=function(e,y,C){var L=Infinity,V=Infinity,Y;if(null==y&& + null!=e){e=I(e)?e:f.values(e);for(var Z=0,ca=e.length;ZZ||void 0===Y)return 1;if(Y=C)throw Error("bindAll must be passed function names");for(y=1;y=la||la>y?(Z&&(clearTimeout(Z),Z=null),ca=ha,Y=e.apply(L,V),Z||(L=V=null)):Z||!1===C.trailing||(Z=setTimeout(fa,la));return Y}};f.debounce=function(e,y,C){var L,V,Y,Z,ca,fa=function(){var ha=f.now()-Z;ha--e)return y.apply(this,arguments)}};f.before=function(e,y){var C;return function(){0<--e&&(C=y.apply(this,arguments));1>=e&&(y=null);return C}};f.once=f.partial(f.before,2);var B=!{toString:null}.propertyIsEnumerable("toString"),H="valueOf isPrototypeOf toString propertyIsEnumerable hasOwnProperty toLocaleString".split(" "); + f.keys=function(e){if(!f.isObject(e))return[];if(U)return U(e);var y=[],C;for(C in e)f.has(e,C)&&y.push(C);B&&b(e,y);return y};f.allKeys=function(e){if(!f.isObject(e))return[];var y=[],C;for(C in e)y.push(C);B&&b(e,y);return y};f.values=function(e){for(var y=f.keys(e),C=y.length,L=Array(C),V=0;V":">",'"':""","'":"'","`":"`"};q=f.invert(K);G=function(e){var y=function(Y){return e[Y]},C="(?:"+f.keys(e).join("|")+")",L=RegExp(C),V=RegExp(C,"g");return function(Y){Y=null==Y?"":""+Y;return L.test(Y)?Y.replace(V,y):Y}};f.escape=G(K);f.unescape= + G(q);f.result=function(e,y,C){y=null==e?void 0:e[y];void 0===y&&(y=C);return f.isFunction(y)?y.call(e):y};var u=0;f.uniqueId=function(e){var y=++u+"";return e?e+y:y};f.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var d=/(.)^/,A={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},h=/\\|'|\r|\n|\u2028|\u2029/g,v=function(e){return"\\"+A[e]};f.template=function(e,y,C){!y&&C&&(y=C);y=f.defaults({},y,f.templateSettings);C=RegExp([(y.escape|| + d).source,(y.interpolate||d).source,(y.evaluate||d).source].join("|")+"|$","g");var L=0,V="__p+='";e.replace(C,function(Z,ca,fa,ha,la){V+=e.slice(L,la).replace(h,v);L=la+Z.length;ca?V+="'+\n((__t=("+ca+"))==null?'':_.escape(__t))+\n'":fa?V+="'+\n((__t=("+fa+"))==null?'':__t)+\n'":ha&&(V+="';\n"+ha+"\n__p+='");return Z});V+="';\n";y.variable||(V="with(obj||{}){\n"+V+"}\n");V="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+V+"return __p;\n";try{var Y=new Function(y.variable|| + "obj","_",V)}catch(Z){throw Z.source=V,Z;}C=function(Z){return Y.call(this,Z,f)};C.source="function("+(y.variable||"obj")+"){\n"+V+"}";return C};f.chain=function(e){e=f(e);e._chain=!0;return e};var P=function(e,y){return e._chain?f(y).chain():y};f.mixin=function(e){f.each(f.functions(e),function(y){var C=f[y]=e[y];f.prototype[y]=function(){var L=[this._wrapped];p.apply(L,arguments);return P(this,C.apply(f,L))}})};f.mixin(f);f.each("pop push reverse shift sort splice unshift".split(" "),function(e){var y= + c[e];f.prototype[e]=function(){var C=this._wrapped;y.apply(C,arguments);"shift"!==e&&"splice"!==e||0!==C.length||delete C[0];return P(this,C)}});f.each(["concat","join","slice"],function(e){var y=c[e];f.prototype[e]=function(){return P(this,y.apply(this._wrapped,arguments))}});f.prototype.value=function(){return this._wrapped};f.prototype.valueOf=f.prototype.toJSON=f.prototype.value;f.prototype.toString=function(){return""+this._wrapped}}).call(this)},{}],154:[function(x,W,D){(function(n){function m(g){try{if(!n.localStorage)return!1}catch(b){return!1}g= + n.localStorage[g];return null==g?!1:"true"===String(g).toLowerCase()}W.exports=function(g,b){if(m("noDeprecation"))return g;var l=!1;return function(){if(!l){if(m("throwDeprecation"))throw Error(b);m("traceDeprecation")?console.trace(b):console.warn(b);l=!0}return g.apply(this,arguments)}}}).call(this,"undefined"!==typeof global?global:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],155:[function(x,W,D){arguments[4][81][0].apply(D,arguments)},{dup:81}],156:[function(x,W, + D){W.exports=function(n){return n&&"object"===typeof n&&"function"===typeof n.copy&&"function"===typeof n.fill&&"function"===typeof n.readUInt8}},{}],157:[function(x,W,D){(function(n,m){function g(Q,B){var H={seen:[],stylize:l};3<=arguments.length&&(H.depth=arguments[2]);4<=arguments.length&&(H.colors=arguments[3]);U(B)?H.showHidden=B:B&&D._extend(H,B);M(H.showHidden)&&(H.showHidden=!1);M(H.depth)&&(H.depth=2);M(H.colors)&&(H.colors=!1);M(H.customInspect)&&(H.customInspect=!0);H.colors&&(H.stylize= + b);return c(H,Q,H.depth)}function b(Q,B){return(B=g.styles[B])?"\u001b["+g.colors[B][0]+"m"+Q+"\u001b["+g.colors[B][1]+"m":Q}function l(Q,B){return Q}function a(Q){var B={};Q.forEach(function(H,X){B[H]=!0});return B}function c(Q,B,H){if(Q.customInspect&&B&&F(B.inspect)&&B.inspect!==D.inspect&&(!B.constructor||B.constructor.prototype!==B)){var X=B.inspect(H,Q);z(X)||(X=c(Q,X,H));return X}if(X=t(Q,B))return X;var u=Object.keys(B),d=a(u);Q.showHidden&&(u=Object.getOwnPropertyNames(B));if(q(B)&&(0<=u.indexOf("message")|| + 0<=u.indexOf("description")))return p(B);if(0===u.length){if(F(B))return Q.stylize("[Function"+(B.name?": "+B.name:"")+"]","special");if(f(B))return Q.stylize(RegExp.prototype.toString.call(B),"regexp");if(T(B))return Q.stylize(Date.prototype.toString.call(B),"date");if(q(B))return p(B)}X="";var A=!1,h=["{","}"];K(B)&&(A=!0,h=["[","]"]);F(B)&&(X=" [Function"+(B.name?": "+B.name:"")+"]");f(B)&&(X=" "+RegExp.prototype.toString.call(B));T(B)&&(X=" "+Date.prototype.toUTCString.call(B));q(B)&&(X=" "+p(B)); + if(0===u.length&&(!A||0==B.length))return h[0]+X+h[1];if(0>H)return f(B)?Q.stylize(RegExp.prototype.toString.call(B),"regexp"):Q.stylize("[Object]","special");Q.seen.push(B);u=A?w(Q,B,H,d,u):u.map(function(v){return r(Q,B,H,d,v,A)});Q.seen.pop();return E(u,X,h)}function t(Q,B){if(M(B))return Q.stylize("undefined","undefined");if(z(B))return B="'"+JSON.stringify(B).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'",Q.stylize(B,"string");if(O(B))return Q.stylize(""+B,"number");if(U(B))return Q.stylize(""+ + B,"boolean");if(null===B)return Q.stylize("null","null")}function p(Q){return"["+Error.prototype.toString.call(Q)+"]"}function w(Q,B,H,X,u){for(var d=[],A=0,h=B.length;AQ.seen.indexOf(B.value)?(h=null===H?c(Q,B.value,null):c(Q,B.value,H-1),-1Q?"0"+Q.toString(10):Q.toString(10)}function k(){var Q=new Date,B=[G(Q.getHours()), + G(Q.getMinutes()),G(Q.getSeconds())].join(":");return[Q.getDate(),R[Q.getMonth()],B].join(" ")}var J=/%[sdj%]/g;D.format=function(Q){if(!z(Q)){for(var B=[],H=0;H=u)return A;switch(A){case "%s":return String(X[H++]);case "%d":return Number(X[H++]);case "%j":try{return JSON.stringify(X[H++])}catch(h){return"[Circular]"}default:return A}});for(var d= + X[H];H":null!=(b=this.parent)&&b.name?"attribute: {"+m+"}, parent: <"+this.parent.name+">":"attribute: {"+m+"}":""};return n}()}).call(this)},{}],160:[function(x,W,D){(function(){var n=function(b,l){function a(){this.constructor=b}for(var c in l)m.call(l,c)&&(b[c]=l[c]);a.prototype=l.prototype;b.prototype=new a;b.__super__=l.prototype;return b},m={}.hasOwnProperty;var g=x("./XMLNode");W.exports=function(b){function l(a,c){l.__super__.constructor.call(this, + a);if(null==c)throw Error("Missing CDATA text. "+this.debugInfo());this.text=this.stringify.cdata(c)}n(l,b);l.prototype.clone=function(){return Object.create(this)};l.prototype.toString=function(a){return this.options.writer.set(a).cdata(this)};return l}(g)}).call(this)},{"./XMLNode":171}],161:[function(x,W,D){(function(){var n=function(b,l){function a(){this.constructor=b}for(var c in l)m.call(l,c)&&(b[c]=l[c]);a.prototype=l.prototype;b.prototype=new a;b.__super__=l.prototype;return b},m={}.hasOwnProperty; + var g=x("./XMLNode");W.exports=function(b){function l(a,c){l.__super__.constructor.call(this,a);if(null==c)throw Error("Missing comment text. "+this.debugInfo());this.text=this.stringify.comment(c)}n(l,b);l.prototype.clone=function(){return Object.create(this)};l.prototype.toString=function(a){return this.options.writer.set(a).comment(this)};return l}(g)}).call(this)},{"./XMLNode":171}],162:[function(x,W,D){(function(){var n=function(b,l){function a(){this.constructor=b}for(var c in l)m.call(l,c)&& + (b[c]=l[c]);a.prototype=l.prototype;b.prototype=new a;b.__super__=l.prototype;return b},m={}.hasOwnProperty;var g=x("./XMLNode");W.exports=function(b){function l(a,c,t,p,w,r){l.__super__.constructor.call(this,a);if(null==c)throw Error("Missing DTD element name. "+this.debugInfo());if(null==t)throw Error("Missing DTD attribute name. "+this.debugInfo(c));if(!p)throw Error("Missing DTD attribute type. "+this.debugInfo(c));if(!w)throw Error("Missing DTD attribute default. "+this.debugInfo(c));0!==w.indexOf("#")&& + (w="#"+w);if(!w.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(c));if(r&&!w.match(/^(#FIXED|#DEFAULT)$/))throw Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(c));this.elementName=this.stringify.eleName(c);this.attributeName=this.stringify.attName(t);this.attributeType=this.stringify.dtdAttType(p);this.defaultValue=this.stringify.dtdAttDefault(r);this.defaultValueType= + w}n(l,b);l.prototype.toString=function(a){return this.options.writer.set(a).dtdAttList(this)};return l}(g)}).call(this)},{"./XMLNode":171}],163:[function(x,W,D){(function(){var n=function(b,l){function a(){this.constructor=b}for(var c in l)m.call(l,c)&&(b[c]=l[c]);a.prototype=l.prototype;b.prototype=new a;b.__super__=l.prototype;return b},m={}.hasOwnProperty;var g=x("./XMLNode");W.exports=function(b){function l(a,c,t){l.__super__.constructor.call(this,a);if(null==c)throw Error("Missing DTD element name. "+ + this.debugInfo());t||(t="(#PCDATA)");Array.isArray(t)&&(t="("+t.join(",")+")");this.name=this.stringify.eleName(c);this.value=this.stringify.dtdElementValue(t)}n(l,b);l.prototype.toString=function(a){return this.options.writer.set(a).dtdElement(this)};return l}(g)}).call(this)},{"./XMLNode":171}],164:[function(x,W,D){(function(){var n=function(l,a){function c(){this.constructor=l}for(var t in a)m.call(a,t)&&(l[t]=a[t]);c.prototype=a.prototype;l.prototype=new c;l.__super__=a.prototype;return l},m= + {}.hasOwnProperty;var g=x("./Utility").isObject;var b=x("./XMLNode");W.exports=function(l){function a(c,t,p,w){a.__super__.constructor.call(this,c);if(null==p)throw Error("Missing DTD entity name. "+this.debugInfo(p));if(null==w)throw Error("Missing DTD entity value. "+this.debugInfo(p));this.pe=!!t;this.name=this.stringify.eleName(p);if(g(w)){if(!w.pubID&&!w.sysID)throw Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(p));if(w.pubID&&!w.sysID)throw Error("System identifier is required for a public external entity. "+ + this.debugInfo(p));null!=w.pubID&&(this.pubID=this.stringify.dtdPubID(w.pubID));null!=w.sysID&&(this.sysID=this.stringify.dtdSysID(w.sysID));null!=w.nData&&(this.nData=this.stringify.dtdNData(w.nData));if(this.pe&&this.nData)throw Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(p));}else this.value=this.stringify.dtdEntityValue(w)}n(a,l);a.prototype.toString=function(c){return this.options.writer.set(c).dtdEntity(this)};return a}(b)}).call(this)},{"./Utility":158, + "./XMLNode":171}],165:[function(x,W,D){(function(){var n=function(b,l){function a(){this.constructor=b}for(var c in l)m.call(l,c)&&(b[c]=l[c]);a.prototype=l.prototype;b.prototype=new a;b.__super__=l.prototype;return b},m={}.hasOwnProperty;var g=x("./XMLNode");W.exports=function(b){function l(a,c,t){l.__super__.constructor.call(this,a);if(null==c)throw Error("Missing DTD notation name. "+this.debugInfo(c));if(!t.pubID&&!t.sysID)throw Error("Public or system identifiers are required for an external entity. "+ + this.debugInfo(c));this.name=this.stringify.eleName(c);null!=t.pubID&&(this.pubID=this.stringify.dtdPubID(t.pubID));null!=t.sysID&&(this.sysID=this.stringify.dtdSysID(t.sysID))}n(l,b);l.prototype.toString=function(a){return this.options.writer.set(a).dtdNotation(this)};return l}(g)}).call(this)},{"./XMLNode":171}],166:[function(x,W,D){(function(){var n=function(l,a){function c(){this.constructor=l}for(var t in a)m.call(a,t)&&(l[t]=a[t]);c.prototype=a.prototype;l.prototype=new c;l.__super__=a.prototype; + return l},m={}.hasOwnProperty;var g=x("./Utility").isObject;var b=x("./XMLNode");W.exports=function(l){function a(c,t,p,w){a.__super__.constructor.call(this,c);g(t)&&(c=t,t=c.version,p=c.encoding,w=c.standalone);t||(t="1.0");this.version=this.stringify.xmlVersion(t);null!=p&&(this.encoding=this.stringify.xmlEncoding(p));null!=w&&(this.standalone=this.stringify.xmlStandalone(w))}n(a,l);a.prototype.toString=function(c){return this.options.writer.set(c).declaration(this)};return a}(b)}).call(this)}, + {"./Utility":158,"./XMLNode":171}],167:[function(x,W,D){(function(){var n=function(p,w){function r(){this.constructor=p}for(var E in w)m.call(w,E)&&(p[E]=w[E]);r.prototype=w.prototype;p.prototype=new r;p.__super__=w.prototype;return p},m={}.hasOwnProperty;var g=x("./Utility").isObject;var b=x("./XMLNode");var l=x("./XMLDTDAttList");var a=x("./XMLDTDEntity");var c=x("./XMLDTDElement");var t=x("./XMLDTDNotation");W.exports=function(p){function w(r,E,K){w.__super__.constructor.call(this,r);this.name= + "!DOCTYPE";this.documentObject=r;g(E)&&(K=E,E=K.pubID,K=K.sysID);null==K&&(E=[E,K],K=E[0],E=E[1]);null!=E&&(this.pubID=this.stringify.dtdPubID(E));null!=K&&(this.sysID=this.stringify.dtdSysID(K))}n(w,p);w.prototype.element=function(r,E){r=new c(this,r,E);this.children.push(r);return this};w.prototype.attList=function(r,E,K,U,O){r=new l(this,r,E,K,U,O);this.children.push(r);return this};w.prototype.entity=function(r,E){r=new a(this,!1,r,E);this.children.push(r);return this};w.prototype.pEntity=function(r, + E){r=new a(this,!0,r,E);this.children.push(r);return this};w.prototype.notation=function(r,E){r=new t(this,r,E);this.children.push(r);return this};w.prototype.toString=function(r){return this.options.writer.set(r).docType(this)};w.prototype.ele=function(r,E){return this.element(r,E)};w.prototype.att=function(r,E,K,U,O){return this.attList(r,E,K,U,O)};w.prototype.ent=function(r,E){return this.entity(r,E)};w.prototype.pent=function(r,E){return this.pEntity(r,E)};w.prototype.not=function(r,E){return this.notation(r, + E)};w.prototype.up=function(){return this.root()||this.documentObject};return w}(b)}).call(this)},{"./Utility":158,"./XMLDTDAttList":162,"./XMLDTDElement":163,"./XMLDTDEntity":164,"./XMLDTDNotation":165,"./XMLNode":171}],168:[function(x,W,D){(function(){var n=function(c,t){function p(){this.constructor=c}for(var w in t)m.call(t,w)&&(c[w]=t[w]);p.prototype=t.prototype;c.prototype=new p;c.__super__=t.prototype;return c},m={}.hasOwnProperty;var g=x("./Utility").isPlainObject;var b=x("./XMLNode");var l= + x("./XMLStringifier");var a=x("./XMLStringWriter");W.exports=function(c){function t(p){t.__super__.constructor.call(this,null);this.name="?xml";p||(p={});p.writer||(p.writer=new a);this.options=p;this.stringify=new l(p);this.isDocument=!0}n(t,c);t.prototype.end=function(p){p?g(p)&&(p=this.options.writer.set(p)):p=this.options.writer;return p.document(this)};t.prototype.toString=function(p){return this.options.writer.set(p).document(this)};return t}(b)}).call(this)},{"./Utility":158,"./XMLNode":171, + "./XMLStringWriter":175,"./XMLStringifier":176}],169:[function(x,W,D){(function(){var n={}.hasOwnProperty;var m=x("./Utility");var g=m.isObject;var b=m.isFunction;var l=m.isPlainObject;var a=m.getValue;var c=x("./XMLElement");var t=x("./XMLCData");var p=x("./XMLComment");var w=x("./XMLRaw");var r=x("./XMLText");var E=x("./XMLProcessingInstruction");var K=x("./XMLDeclaration");var U=x("./XMLDocType");var O=x("./XMLDTDAttList");var z=x("./XMLDTDEntity");var M=x("./XMLDTDElement");var f=x("./XMLDTDNotation"); + var N=x("./XMLAttribute");var T=x("./XMLStringifier");var q=x("./XMLStringWriter");W.exports=function(){function F(G,k,J){this.name="?xml";G||(G={});if(!G.writer)G.writer=new q(G);else if(l(G.writer)){var I=G.writer;G.writer=new q(I)}this.options=G;this.writer=G.writer;this.stringify=new T(G);this.onDataCallback=k||function(){};this.onEndCallback=J||function(){};this.currentNode=null;this.currentLevel=-1;this.openTags={};this.documentCompleted=this.documentStarted=!1;this.root=null}F.prototype.node= + function(G,k,J){if(null==G)throw Error("Missing node name.");if(this.root&&-1===this.currentLevel)throw Error("Document can only have one root node. "+this.debugInfo(G));this.openCurrent();G=a(G);null==k&&(k={});k=a(k);g(k)||(k=[k,J],J=k[0],k=k[1]);this.currentNode=new c(this,G,k);this.currentNode.children=!1;this.currentLevel++;this.openTags[this.currentLevel]=this.currentNode;null!=J&&this.text(J);return this};F.prototype.element=function(G,k,J){return this.currentNode&&this.currentNode instanceof + U?this.dtdElement.apply(this,arguments):this.node(G,k,J)};F.prototype.attribute=function(G,k){var J;if(!this.currentNode||this.currentNode.children)throw Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(G));null!=G&&(G=a(G));if(g(G))for(J in G)n.call(G,J)&&(k=G[J],this.attribute(J,k));else b(k)&&(k=k.apply()),this.options.skipNullAttributes&&null==k||(this.currentNode.attributes[G]=new N(this,G,k));return this};F.prototype.text=function(G){this.openCurrent(); + G=new r(this,G);this.onData(this.writer.text(G,this.currentLevel+1),this.currentLevel+1);return this};F.prototype.cdata=function(G){this.openCurrent();G=new t(this,G);this.onData(this.writer.cdata(G,this.currentLevel+1),this.currentLevel+1);return this};F.prototype.comment=function(G){this.openCurrent();G=new p(this,G);this.onData(this.writer.comment(G,this.currentLevel+1),this.currentLevel+1);return this};F.prototype.raw=function(G){this.openCurrent();G=new w(this,G);this.onData(this.writer.raw(G, + this.currentLevel+1),this.currentLevel+1);return this};F.prototype.instruction=function(G,k){var J;this.openCurrent();null!=G&&(G=a(G));null!=k&&(k=a(k));if(Array.isArray(G))for(k=0,J=G.length;kthis.currentLevel)throw Error("The document node has no parent.");this.currentNode?(this.currentNode.children? + this.closeNode(this.currentNode):this.openNode(this.currentNode),this.currentNode=null):this.closeNode(this.openTags[this.currentLevel]);delete this.openTags[this.currentLevel];this.currentLevel--;return this};F.prototype.end=function(){for(;0<=this.currentLevel;)this.up();return this.onEnd()};F.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)};F.prototype.openNode=function(G){if(!G.isOpen)return!this.root&&0===this.currentLevel&& + G instanceof c&&(this.root=G),this.onData(this.writer.openNode(G,this.currentLevel),this.currentLevel),G.isOpen=!0};F.prototype.closeNode=function(G){if(!G.isClosed)return this.onData(this.writer.closeNode(G,this.currentLevel),this.currentLevel),G.isClosed=!0};F.prototype.onData=function(G,k){this.documentStarted=!0;return this.onDataCallback(G,k+1)};F.prototype.onEnd=function(){this.documentCompleted=!0;return this.onEndCallback()};F.prototype.debugInfo=function(G){return null==G?"":"node: <"+G+ + ">"};F.prototype.ele=function(){return this.element.apply(this,arguments)};F.prototype.nod=function(G,k,J){return this.node(G,k,J)};F.prototype.txt=function(G){return this.text(G)};F.prototype.dat=function(G){return this.cdata(G)};F.prototype.com=function(G){return this.comment(G)};F.prototype.ins=function(G,k){return this.instruction(G,k)};F.prototype.dec=function(G,k,J){return this.declaration(G,k,J)};F.prototype.dtd=function(G,k,J){return this.doctype(G,k,J)};F.prototype.e=function(G,k,J){return this.element(G, + k,J)};F.prototype.n=function(G,k,J){return this.node(G,k,J)};F.prototype.t=function(G){return this.text(G)};F.prototype.d=function(G){return this.cdata(G)};F.prototype.c=function(G){return this.comment(G)};F.prototype.r=function(G){return this.raw(G)};F.prototype.i=function(G,k){return this.instruction(G,k)};F.prototype.att=function(){return this.currentNode&&this.currentNode instanceof U?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)};F.prototype.a=function(){return this.currentNode&& + this.currentNode instanceof U?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)};F.prototype.ent=function(G,k){return this.entity(G,k)};F.prototype.pent=function(G,k){return this.pEntity(G,k)};F.prototype.not=function(G,k){return this.notation(G,k)};return F}()}).call(this)},{"./Utility":158,"./XMLAttribute":159,"./XMLCData":160,"./XMLComment":161,"./XMLDTDAttList":162,"./XMLDTDElement":163,"./XMLDTDEntity":164,"./XMLDTDNotation":165,"./XMLDeclaration":166,"./XMLDocType":167, + "./XMLElement":170,"./XMLProcessingInstruction":172,"./XMLRaw":173,"./XMLStringWriter":175,"./XMLStringifier":176,"./XMLText":177}],170:[function(x,W,D){(function(){var n=function(t,p){function w(){this.constructor=t}for(var r in p)m.call(p,r)&&(t[r]=p[r]);w.prototype=p.prototype;t.prototype=new w;t.__super__=p.prototype;return t},m={}.hasOwnProperty;var g=x("./Utility");var b=g.isObject;var l=g.isFunction;var a=g.getValue;g=x("./XMLNode");var c=x("./XMLAttribute");W.exports=function(t){function p(w, + r,E){p.__super__.constructor.call(this,w);if(null==r)throw Error("Missing element name. "+this.debugInfo());this.name=this.stringify.eleName(r);this.attributes={};null!=E&&this.attribute(E);w.isDocument&&(this.isRoot=!0,this.documentObject=w,w.rootObject=this)}n(p,t);p.prototype.clone=function(){var w;var r=Object.create(this);r.isRoot&&(r.documentObject=null);r.attributes={};var E=this.attributes;for(w in E)if(m.call(E,w)){var K=E[w];r.attributes[w]=K.clone()}r.children=[];this.children.forEach(function(U){U= + U.clone();U.parent=r;return r.children.push(U)});return r};p.prototype.attribute=function(w,r){var E;null!=w&&(w=a(w));if(b(w))for(E in w)m.call(w,E)&&(r=w[E],this.attribute(E,r));else l(r)&&(r=r.apply()),this.options.skipNullAttributes&&null==r||(this.attributes[w]=new c(this,w,r));return this};p.prototype.removeAttribute=function(w){var r;if(null==w)throw Error("Missing attribute name. "+this.debugInfo());w=a(w);if(Array.isArray(w)){var E=0;for(r=w.length;Ez)throw Error("Already at the first node. "+this.debugInfo());return this.parent.children[z-1]};O.prototype.next=function(){var z=this.parent.children.indexOf(this); + if(-1===z||z===this.parent.children.length-1)throw Error("Already at the last node. "+this.debugInfo());return this.parent.children[z+1]};O.prototype.importDocument=function(z){z=z.root().clone();z.parent=this;z.isRoot=!1;this.children.push(z);return this};O.prototype.debugInfo=function(z){var M,f;z=z||this.name;return null!=z||null!=(M=this.parent)&&M.name?null==z?"parent: <"+this.parent.name+">":null!=(f=this.parent)&&f.name?"node: <"+z+">, parent: <"+this.parent.name+">":"node: <"+z+">":""};O.prototype.ele= + function(z,M,f){return this.element(z,M,f)};O.prototype.nod=function(z,M,f){return this.node(z,M,f)};O.prototype.txt=function(z){return this.text(z)};O.prototype.dat=function(z){return this.cdata(z)};O.prototype.com=function(z){return this.comment(z)};O.prototype.ins=function(z,M){return this.instruction(z,M)};O.prototype.doc=function(){return this.document()};O.prototype.dec=function(z,M,f){return this.declaration(z,M,f)};O.prototype.dtd=function(z,M){return this.doctype(z,M)};O.prototype.e=function(z, + M,f){return this.element(z,M,f)};O.prototype.n=function(z,M,f){return this.node(z,M,f)};O.prototype.t=function(z){return this.text(z)};O.prototype.d=function(z){return this.cdata(z)};O.prototype.c=function(z){return this.comment(z)};O.prototype.r=function(z){return this.raw(z)};O.prototype.i=function(z,M){return this.instruction(z,M)};O.prototype.u=function(){return this.up()};O.prototype.importXMLBuilder=function(z){return this.importDocument(z)};return O}()}).call(this)},{"./Utility":158,"./XMLCData":160, + "./XMLComment":161,"./XMLDeclaration":166,"./XMLDocType":167,"./XMLElement":170,"./XMLProcessingInstruction":172,"./XMLRaw":173,"./XMLText":177}],172:[function(x,W,D){(function(){var n=function(b,l){function a(){this.constructor=b}for(var c in l)m.call(l,c)&&(b[c]=l[c]);a.prototype=l.prototype;b.prototype=new a;b.__super__=l.prototype;return b},m={}.hasOwnProperty;var g=x("./XMLNode");W.exports=function(b){function l(a,c,t){l.__super__.constructor.call(this,a);if(null==c)throw Error("Missing instruction target. "+ + this.debugInfo());this.target=this.stringify.insTarget(c);t&&(this.value=this.stringify.insValue(t))}n(l,b);l.prototype.clone=function(){return Object.create(this)};l.prototype.toString=function(a){return this.options.writer.set(a).processingInstruction(this)};return l}(g)}).call(this)},{"./XMLNode":171}],173:[function(x,W,D){(function(){var n=function(b,l){function a(){this.constructor=b}for(var c in l)m.call(l,c)&&(b[c]=l[c]);a.prototype=l.prototype;b.prototype=new a;b.__super__=l.prototype;return b}, + m={}.hasOwnProperty;var g=x("./XMLNode");W.exports=function(b){function l(a,c){l.__super__.constructor.call(this,a);if(null==c)throw Error("Missing raw text. "+this.debugInfo());this.value=this.stringify.raw(c)}n(l,b);l.prototype.clone=function(){return Object.create(this)};l.prototype.toString=function(a){return this.options.writer.set(a).raw(this)};return l}(g)}).call(this)},{"./XMLNode":171}],174:[function(x,W,D){(function(){var n=function(z,M){function f(){this.constructor=z}for(var N in M)m.call(M, + N)&&(z[N]=M[N]);f.prototype=M.prototype;z.prototype=new f;z.__super__=M.prototype;return z},m={}.hasOwnProperty;var g=x("./XMLDeclaration");var b=x("./XMLDocType");var l=x("./XMLCData");var a=x("./XMLComment");var c=x("./XMLElement");var t=x("./XMLRaw");var p=x("./XMLText");var w=x("./XMLProcessingInstruction");var r=x("./XMLDTDAttList");var E=x("./XMLDTDElement");var K=x("./XMLDTDEntity");var U=x("./XMLDTDNotation");var O=x("./XMLWriterBase");W.exports=function(z){function M(f,N){M.__super__.constructor.call(this, + N);this.stream=f}n(M,z);M.prototype.document=function(f){var N;var T=f.children;var q=0;for(N=T.length;q");return this.stream.write(this.endline(f))};M.prototype.docType=function(f,N){var T;N||(N=0);this.stream.write(this.space(N));this.stream.write("");return this.stream.write(this.endline(f))};M.prototype.element=function(f,N){N||(N=0);var T=this.space(N);this.stream.write(T+"<"+f.name);var q=f.attributes;for(k in q)if(m.call(q,k)){var F=q[k];this.attribute(F)}if(0===f.children.length||f.children.every(function(J){return""===J.value}))this.allowEmpty?this.stream.write(">"):this.stream.write(this.spacebeforeslash+"/>");else if(this.pretty&&1===f.children.length&& + null!=f.children[0].value)this.stream.write(">"),this.stream.write(f.children[0].value),this.stream.write("");else{this.stream.write(">"+this.newline);var G=f.children;var k=0;for(q=G.length;k")}return this.stream.write(this.endline(f))};M.prototype.processingInstruction=function(f,N){this.stream.write(this.space(N)+""+this.endline(f))};M.prototype.raw=function(f,N){return this.stream.write(this.space(N)+f.value+this.endline(f))};M.prototype.text=function(f,N){return this.stream.write(this.space(N)+ + f.value+this.endline(f))};M.prototype.dtdAttList=function(f,N){this.stream.write(this.space(N)+""+this.endline(f))};M.prototype.dtdElement=function(f,N){this.stream.write(this.space(N)+""+this.endline(f))};M.prototype.dtdEntity=function(f,N){this.stream.write(this.space(N)+""+this.endline(f))};M.prototype.dtdNotation=function(f,N){this.stream.write(this.space(N)+ + ""+this.endline(f))};M.prototype.endline=function(f){return f.isLastRootNode?"":this.newline};return M}(O)}).call(this)},{"./XMLCData":160,"./XMLComment":161,"./XMLDTDAttList":162,"./XMLDTDElement":163,"./XMLDTDEntity":164,"./XMLDTDNotation":165,"./XMLDeclaration":166, + "./XMLDocType":167,"./XMLElement":170,"./XMLProcessingInstruction":172,"./XMLRaw":173,"./XMLText":177,"./XMLWriterBase":178}],175:[function(x,W,D){(function(){var n=function(z,M){function f(){this.constructor=z}for(var N in M)m.call(M,N)&&(z[N]=M[N]);f.prototype=M.prototype;z.prototype=new f;z.__super__=M.prototype;return z},m={}.hasOwnProperty;var g=x("./XMLDeclaration");var b=x("./XMLDocType");var l=x("./XMLCData");var a=x("./XMLComment");var c=x("./XMLElement");var t=x("./XMLRaw");var p=x("./XMLText"); + var w=x("./XMLProcessingInstruction");var r=x("./XMLDTDAttList");var E=x("./XMLDTDElement");var K=x("./XMLDTDEntity");var U=x("./XMLDTDNotation");var O=x("./XMLWriterBase");W.exports=function(z){function M(f){M.__super__.constructor.call(this,f)}n(M,z);M.prototype.document=function(f){var N;this.textispresent=!1;var T="";var q=f.children;f=0;for(N=q.length;f";return N+=this.newline};M.prototype.docType=function(f,N){var T;N||(N=0);var q=this.space(N);q+="";return q+=this.newline};M.prototype.element=function(f,N){var T;N||(N=0);var q=!1;this.textispresent?(this.newline="",this.pretty=!1):(this.newline=this.newlinedefault,this.pretty=this.prettydefault);var F=this.space(N);var G=F+"<"+f.name;var k=f.attributes;for(T in k)if(m.call(k,T)){var J=k[T];G+=this.attribute(J)}if(0===f.children.length||f.children.every(function(S){return""===S.value}))G=this.allowEmpty?G+(">"+this.newline):G+(this.spacebeforeslash+"/>"+ + this.newline);else if(this.pretty&&1===f.children.length&&null!=f.children[0].value)G=G+">"+f.children[0].value,G+=""+this.newline;else{if(this.dontprettytextnodes)for(k=f.children,J=0,T=k.length;J"+this.newline;k=f.children;J=0;for(T=k.length;J"+this.newline}return G};M.prototype.processingInstruction= + function(f,N){N=this.space(N)+""+this.newline};M.prototype.raw=function(f,N){return this.space(N)+f.value+this.newline};M.prototype.text=function(f,N){return this.space(N)+f.value+this.newline};M.prototype.dtdAttList=function(f,N){N=this.space(N)+""+this.newline};M.prototype.dtdElement=function(f,N){return this.space(N)+""+this.newline};M.prototype.dtdEntity=function(f,N){N=this.space(N)+""+this.newline};M.prototype.dtdNotation=function(f, + N){N=this.space(N)+""+this.newline};M.prototype.openNode=function(f,N){var T;N||(N=0);if(f instanceof c){var q=this.space(N)+"<"+f.name;var F=f.attributes;for(T in F)m.call(F,T)&&(N=F[T],q+=this.attribute(N));q+=(f.children?">":"/>")+this.newline}else q=this.space(N)+"")+this.newline;return q};M.prototype.closeNode=function(f,N){N||(N=0);switch(!1){case !(f instanceof c):return this.space(N)+""+this.newline;case !(f instanceof b):return this.space(N)+"]>"+this.newline}};return M}(O)}).call(this)},{"./XMLCData":160,"./XMLComment":161,"./XMLDTDAttList":162,"./XMLDTDElement":163,"./XMLDTDEntity":164,"./XMLDTDNotation":165,"./XMLDeclaration":166,"./XMLDocType":167, + "./XMLElement":170,"./XMLProcessingInstruction":172,"./XMLRaw":173,"./XMLText":177,"./XMLWriterBase":178}],176:[function(x,W,D){(function(){var n=function(g,b){return function(){return g.apply(b,arguments)}},m={}.hasOwnProperty;W.exports=function(){function g(b){this.assertLegalChar=n(this.assertLegalChar,this);var l;b||(b={});this.noDoubleEncoding=b.noDoubleEncoding;b=b.stringify||{};for(l in b)if(m.call(b,l)){var a=b[l];this[l]=a}}g.prototype.eleName=function(b){return this.assertLegalChar(""+b|| + "")};g.prototype.eleText=function(b){return this.assertLegalChar(this.elEscape(""+b||""))};g.prototype.cdata=function(b){b=(""+b||"").replace("]]\x3e","]]]]\x3e");return this.assertLegalChar(b)};g.prototype.comment=function(b){b=""+b||"";if(b.match(/--/))throw Error("Comment text cannot contain double-hypen: "+b);return this.assertLegalChar(b)};g.prototype.raw=function(b){return""+b||""};g.prototype.attName=function(b){return""+b||""};g.prototype.attValue=function(b){return this.attEscape(""+ + b||"")};g.prototype.insTarget=function(b){return""+b||""};g.prototype.insValue=function(b){b=""+b||"";if(b.match(/\?>/))throw Error("Invalid processing instruction value: "+b);return b};g.prototype.xmlVersion=function(b){b=""+b||"";if(!b.match(/1\.[0-9]+/))throw Error("Invalid version number: "+b);return b};g.prototype.xmlEncoding=function(b){b=""+b||"";if(!b.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw Error("Invalid encoding: "+b);return b};g.prototype.xmlStandalone=function(b){return b?"yes":"no"}; + g.prototype.dtdPubID=function(b){return""+b||""};g.prototype.dtdSysID=function(b){return""+b||""};g.prototype.dtdElementValue=function(b){return""+b||""};g.prototype.dtdAttType=function(b){return""+b||""};g.prototype.dtdAttDefault=function(b){return null!=b?""+b||"":b};g.prototype.dtdEntityValue=function(b){return""+b||""};g.prototype.dtdNData=function(b){return""+b||""};g.prototype.convertAttKey="@";g.prototype.convertPIKey="?";g.prototype.convertTextKey="#text";g.prototype.convertCDataKey="#cdata"; + g.prototype.convertCommentKey="#comment";g.prototype.convertRawKey="#raw";g.prototype.assertLegalChar=function(b){var l;if(l=b.match(/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/))throw Error("Invalid character in string: "+b+" at index "+l.index);return b};g.prototype.elEscape=function(b){return b.replace(this.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,"&").replace(//g,">").replace(/\r/g," ")};g.prototype.attEscape=function(b){return b.replace(this.noDoubleEncoding? + /(?!&\S+;)&/g:/&/g,"&").replace(/'); +c.ui.registry.addButton("importword",{icon:"importword",tooltip:"\u5bfc\u5165Word",onAction:function(){u()}});return{getMetadata:function(){return{name:"\u5bfc\u5165Word",url:"https://github.com/Five-great/tinymce-plugins"}}}}); \ No newline at end of file diff --git a/public/static/js/tinymce5/plugins/insertdatetime/plugin.min.js b/public/static/js/tinymce5/plugins/insertdatetime/plugin.min.js new file mode 100755 index 0000000..f790e7f --- /dev/null +++ b/public/static/js/tinymce5/plugins/insertdatetime/plugin.min.js @@ -0,0 +1,9 @@ +/** + * Copyright (c) Tiny Technologies, Inc. All rights reserved. + * Licensed under the LGPL or a commercial license. + * For LGPL see License.txt in the project root for license information. + * For commercial licenses see https://www.tiny.cloud/ + * + * Version: 5.10.3 (2022-02-09) + */ +!function(){"use strict";function l(e){return e.getParam("insertdatetime_timeformat",e.translate("%H:%M:%S"))}function s(e){return e.getParam("insertdatetime_formats",["%H:%M:%S","%Y-%m-%d","%I:%M:%S %p","%D"])}function r(e,t){if((e=""+e).length'+n+"")):e.insertContent(d(e,t))}var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),a="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),i="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),o="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),u="January February March April May June July August September October November December".split(" "),g=tinymce.util.Tools.resolve("tinymce.util.Tools");e.add("insertdatetime",function(e){var n,r,t,a,i,o,u,c;function m(e){return r.execCommand("mceInsertDate",!1,e)}(n=e).addCommand("mceInsertDate",function(e,t){p(n,null!=t?t:n.getParam("insertdatetime_dateformat",n.translate("%Y-%m-%d")))}),n.addCommand("mceInsertTime",function(e,t){p(n,null!=t?t:l(n))}),u=s(r=e),t=0<(o=s(i=r)).length?o[0]:l(i),a=t,c={get:function(){return a},set:function(e){a=e}},r.ui.registry.addSplitButton("insertdatetime",{icon:"insert-time",tooltip:"Insert date/time",select:function(e){return e===c.get()},fetch:function(e){e(g.map(u,function(e){return{type:"choiceitem",text:d(r,e),value:e}}))},onAction:function(e){m(c.get())},onItemAction:function(e,t){c.set(t),m(t)}}),r.ui.registry.addNestedMenuItem("insertdatetime",{icon:"insert-time",text:"Date/time",getSubmenuItems:function(){return g.map(u,function(e){return{type:"menuitem",text:d(r,e),onAction:(t=e,function(){c.set(t),m(t)})};var t})}})})}(); \ No newline at end of file diff --git a/public/static/js/tinymce5/plugins/legacyoutput/plugin.min.js b/public/static/js/tinymce5/plugins/legacyoutput/plugin.min.js new file mode 100755 index 0000000..ba81c3d --- /dev/null +++ b/public/static/js/tinymce5/plugins/legacyoutput/plugin.min.js @@ -0,0 +1,9 @@ +/** + * Copyright (c) Tiny Technologies, Inc. All rights reserved. + * Licensed under the LGPL or a commercial license. + * For LGPL see License.txt in the project root for license information. + * For commercial licenses see https://www.tiny.cloud/ + * + * Version: 5.10.3 (2022-02-09) + */ +!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),l=tinymce.util.Tools.resolve("tinymce.util.Tools");e.add("legacyoutput",function(e){var s,t;(t=s=e).settings.inline_styles=!1,t.getParam("fontsize_formats")||(t.settings.fontsize_formats="8pt=1 10pt=2 12pt=3 14pt=4 18pt=5 24pt=6 36pt=7"),t.getParam("font_formats")||(t.settings.font_formats="Andale Mono=andale mono,monospace;Arial=arial,helvetica,sans-serif;Arial Black=arial black,sans-serif;Book Antiqua=book antiqua,palatino,serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,palatino,serif;Helvetica=helvetica,arial,sans-serif;Impact=impact,sans-serif;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco,monospace;Times New Roman=times new roman,times,serif;Trebuchet MS=trebuchet ms,geneva,sans-serif;Verdana=verdana,geneva,sans-serif;Webdings=webdings;Wingdings=wingdings,zapf dingbats"),s.on("PreInit",function(){var e=s,t="p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table",i=l.explode(e.getParam("font_size_style_values","xx-small,x-small,small,medium,large,x-large,xx-large")),a=e.schema;e.formatter.register({alignleft:{selector:t,attributes:{align:"left"}},aligncenter:{selector:t,attributes:{align:"center"}},alignright:{selector:t,attributes:{align:"right"}},alignjustify:{selector:t,attributes:{align:"justify"}},bold:[{inline:"b",remove:"all",preserve_attributes:["class","style"]},{inline:"strong",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontWeight:"bold"}}],italic:[{inline:"i",remove:"all",preserve_attributes:["class","style"]},{inline:"em",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontStyle:"italic"}}],underline:[{inline:"u",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{textDecoration:"underline"},exact:!0}],strikethrough:[{inline:"strike",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{textDecoration:"line-through"},exact:!0}],fontname:{inline:"font",toggle:!1,attributes:{face:"%value"}},fontsize:{inline:"font",toggle:!1,attributes:{size:function(e){return String(l.inArray(i,e.value)+1)}}},forecolor:{inline:"font",attributes:{color:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},hilitecolor:{inline:"font",styles:{backgroundColor:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0}}),l.each("b,i,u,strike".split(","),function(e){a.addValidElements(e+"[*]")}),a.getElementRule("font")||a.addValidElements("font[face|size|color|style]"),l.each(t.split(","),function(e){var t=a.getElementRule(e);t&&(t.attributes.align||(t.attributes.align={},t.attributesOrder.push("align")))})})})}(); \ No newline at end of file diff --git a/public/static/js/tinymce5/plugins/link/plugin.min.js b/public/static/js/tinymce5/plugins/link/plugin.min.js new file mode 100755 index 0000000..fc30962 --- /dev/null +++ b/public/static/js/tinymce5/plugins/link/plugin.min.js @@ -0,0 +1,9 @@ +/** + * Copyright (c) Tiny Technologies, Inc. All rights reserved. + * Licensed under the LGPL or a commercial license. + * For LGPL see License.txt in the project root for license information. + * For commercial licenses see https://www.tiny.cloud/ + * + * Version: 5.10.3 (2022-02-09) + */ +!function(){"use strict";function t(r){return function(t){return e=typeof(n=t),(null===n?"null":"object"==e&&(Array.prototype.isPrototypeOf(n)||n.constructor&&"Array"===n.constructor.name)?"array":"object"==e&&(String.prototype.isPrototypeOf(n)||n.constructor&&"String"===n.constructor.name)?"string":e)===r;var n,e}}function n(n){return function(t){return typeof t===n}}function h(){}function i(t){return function(){return t}}function e(t){return t}function r(t,n){return t===n}function o(){return v}var u,a=tinymce.util.Tools.resolve("tinymce.PluginManager"),c=tinymce.util.Tools.resolve("tinymce.util.VK"),l=t("string"),d=t("array"),p=function(t){return u===t},f=n("boolean"),s=n("function"),m=i(!1),g=i(!(u=null)),v={fold:function(t,n){return t()},isSome:m,isNone:g,getOr:e,getOrThunk:y,getOrDie:function(t){throw new Error(t||"error: getOrDie called on none.")},getOrNull:i(null),getOrUndefined:i(void 0),or:e,orThunk:y,map:o,each:h,bind:o,exists:m,forall:g,filter:function(){return v},toArray:function(){return[]},toString:i("none()")};function y(t){return t()}function k(t,o,i){return function(t){for(var n,e=0,r=t.length;e=e.childNodes.length?n.data.length:0}:n.previousSibling&&Me(n.previousSibling)?{container:n.previousSibling,offset:n.previousSibling.data.length}:n.nextSibling&&Me(n.nextSibling)?{container:n.nextSibling,offset:0}:{container:e,offset:t}}function We(e){var t=e.cloneRange(),n=Ve(e.startContainer,e.startOffset);t.setStart(n.container,n.offset);var r=Ve(e.endContainer,e.endOffset);return t.setEnd(r.container,r.offset),t}function Qe(e,t){var n=t||e.selection.getStart(!0);return e.dom.getParent(n,"OL,UL,DL",qt(e,n))}function Xe(e){var t,n,r=e.selection.getSelectedBlocks();return L((t=e,n=Mt.map(r,function(e){return t.dom.getParent(e,"li,dd,dt",qt(t,e))||e}),Xt.unique(n)),Ft)}function qe(e,t){return w(e.dom.getParents(t,"ol,ul",qt(e,t)))}function ze(e,t,n){return void 0===n&&(n=r),e.exists(function(e){return n(e,t)})}function Ye(e,t,n){return e.isSome()&&t.isSome()?E.some(n(e.getOrDie(),t.getOrDie())):E.none()}function Ze(e,t,n){return e.fire("ListMutation",{action:t,element:n})}function Ge(e,t){we(e.item,t.list)}function Je(e,t){for(var n=0;ne.length?tt:et)(r,e,t)},[])).map(function(e){return e.list}).toArray()}function ft(e,t){b(L(e,it),function(e){return function(e){switch(t){case"Indent":e.depth++;break;case"Outdent":e.depth--;break;case"Flatten":e.depth=0}e.dirty=!0}(e),0})}function dt(e,t){var n,r,o,i,a,s,u,c,f,d,l,m,p,g=C((i=qe(o=r=e,o.selection.getStart()),a=L(o.selection.getSelectedBlocks(),_t),s=i.toArray().concat(a),zt(r,s)),me.fromDom),v=C(L(Xe(e),Ht),me.fromDom),h=!1;return(g.length||v.length)&&(n=e.selection.getBookmark(),c=t,b((f=g,p=C(Xe(u=e),me.fromDom),d=Ye(N(p,y(rt)),N(D(p),y(rt)),function(e,t){return{start:e,end:t}}),l=!1,m={get:function(){return l},set:function(e){l=e}},C(f,function(e){return{sourceList:e,entries:Yt(0,d,m,e)}})),function(e){ft(e.entries,c);var t,n,r=(t=u,T(function(e,t){if(0===e.length)return[];for(var n=t(e[0]),r=[],o=[],i=0,a=e.length;i"):"application/x-shockwave-flash"===n.sourcemime?(u='',n.poster&&(u+=''),u+""):-1!==n.sourcemime.indexOf("audio")?(s=n,m?m(s):'"):"script"===n.type?'#i', '', $html); + } + + return $html; + } + + /** + * Takes a string of HTML (fragment or document) and returns the content + * @todo Consider making protected + */ + public function extractBody($html) + { + $matches = array(); + $result = preg_match('|(.*?)]*>(.*)|is', $html, $matches); + if ($result) { + // Make sure it's not in a comment + $comment_start = strrpos($matches[1], ''); + if ($comment_start === false || + ($comment_end !== false && $comment_end > $comment_start)) { + return $matches[2]; + } + } + return $html; + } +} + +// vim: et sw=4 sts=4 diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer/DOMLex.php b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer/DOMLex.php new file mode 100755 index 0000000..ca5f25b --- /dev/null +++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer/DOMLex.php @@ -0,0 +1,338 @@ +factory = new HTMLPurifier_TokenFactory(); + } + + /** + * @param string $html + * @param HTMLPurifier_Config $config + * @param HTMLPurifier_Context $context + * @return HTMLPurifier_Token[] + */ + public function tokenizeHTML($html, $config, $context) + { + $html = $this->normalize($html, $config, $context); + + // attempt to armor stray angled brackets that cannot possibly + // form tags and thus are probably being used as emoticons + if ($config->get('Core.AggressivelyFixLt')) { + $char = '[^a-z!\/]'; + $comment = "/|\z)/is"; + $html = preg_replace_callback($comment, array($this, 'callbackArmorCommentEntities'), $html); + do { + $old = $html; + $html = preg_replace("/<($char)/i", '<\\1', $html); + } while ($html !== $old); + $html = preg_replace_callback($comment, array($this, 'callbackUndoCommentSubst'), $html); // fix comments + } + + // preprocess html, essential for UTF-8 + $html = $this->wrapHTML($html, $config, $context); + + $doc = new DOMDocument(); + $doc->encoding = 'UTF-8'; // theoretically, the above has this covered + + $options = 0; + if ($config->get('Core.AllowParseManyTags') && defined('LIBXML_PARSEHUGE')) { + $options |= LIBXML_PARSEHUGE; + } + + set_error_handler(array($this, 'muteErrorHandler')); + // loadHTML() fails on PHP 5.3 when second parameter is given + if ($options) { + $doc->loadHTML($html, $options); + } else { + $doc->loadHTML($html); + } + restore_error_handler(); + + $body = $doc->getElementsByTagName('html')->item(0)-> // + getElementsByTagName('body')->item(0); // + + $div = $body->getElementsByTagName('div')->item(0); //
    + $tokens = array(); + $this->tokenizeDOM($div, $tokens, $config); + // If the div has a sibling, that means we tripped across + // a premature
    tag. So remove the div we parsed, + // and then tokenize the rest of body. We can't tokenize + // the sibling directly as we'll lose the tags in that case. + if ($div->nextSibling) { + $body->removeChild($div); + $this->tokenizeDOM($body, $tokens, $config); + } + return $tokens; + } + + /** + * Iterative function that tokenizes a node, putting it into an accumulator. + * To iterate is human, to recurse divine - L. Peter Deutsch + * @param DOMNode $node DOMNode to be tokenized. + * @param HTMLPurifier_Token[] $tokens Array-list of already tokenized tokens. + * @return HTMLPurifier_Token of node appended to previously passed tokens. + */ + protected function tokenizeDOM($node, &$tokens, $config) + { + $level = 0; + $nodes = array($level => new HTMLPurifier_Queue(array($node))); + $closingNodes = array(); + do { + while (!$nodes[$level]->isEmpty()) { + $node = $nodes[$level]->shift(); // FIFO + $collect = $level > 0 ? true : false; + $needEndingTag = $this->createStartNode($node, $tokens, $collect, $config); + if ($needEndingTag) { + $closingNodes[$level][] = $node; + } + if ($node->childNodes && $node->childNodes->length) { + $level++; + $nodes[$level] = new HTMLPurifier_Queue(); + foreach ($node->childNodes as $childNode) { + $nodes[$level]->push($childNode); + } + } + } + $level--; + if ($level && isset($closingNodes[$level])) { + while ($node = array_pop($closingNodes[$level])) { + $this->createEndNode($node, $tokens); + } + } + } while ($level > 0); + } + + /** + * Portably retrieve the tag name of a node; deals with older versions + * of libxml like 2.7.6 + * @param DOMNode $node + */ + protected function getTagName($node) + { + if (isset($node->tagName)) { + return $node->tagName; + } else if (isset($node->nodeName)) { + return $node->nodeName; + } else if (isset($node->localName)) { + return $node->localName; + } + return null; + } + + /** + * Portably retrieve the data of a node; deals with older versions + * of libxml like 2.7.6 + * @param DOMNode $node + */ + protected function getData($node) + { + if (isset($node->data)) { + return $node->data; + } else if (isset($node->nodeValue)) { + return $node->nodeValue; + } else if (isset($node->textContent)) { + return $node->textContent; + } + return null; + } + + + /** + * @param DOMNode $node DOMNode to be tokenized. + * @param HTMLPurifier_Token[] $tokens Array-list of already tokenized tokens. + * @param bool $collect Says whether or start and close are collected, set to + * false at first recursion because it's the implicit DIV + * tag you're dealing with. + * @return bool if the token needs an endtoken + * @todo data and tagName properties don't seem to exist in DOMNode? + */ + protected function createStartNode($node, &$tokens, $collect, $config) + { + // intercept non element nodes. WE MUST catch all of them, + // but we're not getting the character reference nodes because + // those should have been preprocessed + if ($node->nodeType === XML_TEXT_NODE) { + $data = $this->getData($node); // Handle variable data property + if ($data !== null) { + $tokens[] = $this->factory->createText($data); + } + return false; + } elseif ($node->nodeType === XML_CDATA_SECTION_NODE) { + // undo libxml's special treatment of )#si', + array($this, 'scriptCallback'), + $html + ); + } + + $html = $this->normalize($html, $config, $context); + + $cursor = 0; // our location in the text + $inside_tag = false; // whether or not we're parsing the inside of a tag + $array = array(); // result array + + // This is also treated to mean maintain *column* numbers too + $maintain_line_numbers = $config->get('Core.MaintainLineNumbers'); + + if ($maintain_line_numbers === null) { + // automatically determine line numbering by checking + // if error collection is on + $maintain_line_numbers = $config->get('Core.CollectErrors'); + } + + if ($maintain_line_numbers) { + $current_line = 1; + $current_col = 0; + $length = strlen($html); + } else { + $current_line = false; + $current_col = false; + $length = false; + } + $context->register('CurrentLine', $current_line); + $context->register('CurrentCol', $current_col); + $nl = "\n"; + // how often to manually recalculate. This will ALWAYS be right, + // but it's pretty wasteful. Set to 0 to turn off + $synchronize_interval = $config->get('Core.DirectLexLineNumberSyncInterval'); + + $e = false; + if ($config->get('Core.CollectErrors')) { + $e =& $context->get('ErrorCollector'); + } + + // for testing synchronization + $loops = 0; + + while (++$loops) { + // $cursor is either at the start of a token, or inside of + // a tag (i.e. there was a < immediately before it), as indicated + // by $inside_tag + + if ($maintain_line_numbers) { + // $rcursor, however, is always at the start of a token. + $rcursor = $cursor - (int)$inside_tag; + + // Column number is cheap, so we calculate it every round. + // We're interested at the *end* of the newline string, so + // we need to add strlen($nl) == 1 to $nl_pos before subtracting it + // from our "rcursor" position. + $nl_pos = strrpos($html, $nl, $rcursor - $length); + $current_col = $rcursor - (is_bool($nl_pos) ? 0 : $nl_pos + 1); + + // recalculate lines + if ($synchronize_interval && // synchronization is on + $cursor > 0 && // cursor is further than zero + $loops % $synchronize_interval === 0) { // time to synchronize! + $current_line = 1 + $this->substrCount($html, $nl, 0, $cursor); + } + } + + $position_next_lt = strpos($html, '<', $cursor); + $position_next_gt = strpos($html, '>', $cursor); + + // triggers on "asdf" but not "asdf " + // special case to set up context + if ($position_next_lt === $cursor) { + $inside_tag = true; + $cursor++; + } + + if (!$inside_tag && $position_next_lt !== false) { + // We are not inside tag and there still is another tag to parse + $token = new + HTMLPurifier_Token_Text( + $this->parseText( + substr( + $html, + $cursor, + $position_next_lt - $cursor + ), $config + ) + ); + if ($maintain_line_numbers) { + $token->rawPosition($current_line, $current_col); + $current_line += $this->substrCount($html, $nl, $cursor, $position_next_lt - $cursor); + } + $array[] = $token; + $cursor = $position_next_lt + 1; + $inside_tag = true; + continue; + } elseif (!$inside_tag) { + // We are not inside tag but there are no more tags + // If we're already at the end, break + if ($cursor === strlen($html)) { + break; + } + // Create Text of rest of string + $token = new + HTMLPurifier_Token_Text( + $this->parseText( + substr( + $html, + $cursor + ), $config + ) + ); + if ($maintain_line_numbers) { + $token->rawPosition($current_line, $current_col); + } + $array[] = $token; + break; + } elseif ($inside_tag && $position_next_gt !== false) { + // We are in tag and it is well formed + // Grab the internals of the tag + $strlen_segment = $position_next_gt - $cursor; + + if ($strlen_segment < 1) { + // there's nothing to process! + $token = new HTMLPurifier_Token_Text('<'); + $cursor++; + continue; + } + + $segment = substr($html, $cursor, $strlen_segment); + + if ($segment === false) { + // somehow, we attempted to access beyond the end of + // the string, defense-in-depth, reported by Nate Abele + break; + } + + // Check if it's a comment + if (substr($segment, 0, 3) === '!--') { + // re-determine segment length, looking for --> + $position_comment_end = strpos($html, '-->', $cursor); + if ($position_comment_end === false) { + // uh oh, we have a comment that extends to + // infinity. Can't be helped: set comment + // end position to end of string + if ($e) { + $e->send(E_WARNING, 'Lexer: Unclosed comment'); + } + $position_comment_end = strlen($html); + $end = true; + } else { + $end = false; + } + $strlen_segment = $position_comment_end - $cursor; + $segment = substr($html, $cursor, $strlen_segment); + $token = new + HTMLPurifier_Token_Comment( + substr( + $segment, + 3, + $strlen_segment - 3 + ) + ); + if ($maintain_line_numbers) { + $token->rawPosition($current_line, $current_col); + $current_line += $this->substrCount($html, $nl, $cursor, $strlen_segment); + } + $array[] = $token; + $cursor = $end ? $position_comment_end : $position_comment_end + 3; + $inside_tag = false; + continue; + } + + // Check if it's an end tag + $is_end_tag = (strpos($segment, '/') === 0); + if ($is_end_tag) { + $type = substr($segment, 1); + $token = new HTMLPurifier_Token_End($type); + if ($maintain_line_numbers) { + $token->rawPosition($current_line, $current_col); + $current_line += $this->substrCount($html, $nl, $cursor, $position_next_gt - $cursor); + } + $array[] = $token; + $inside_tag = false; + $cursor = $position_next_gt + 1; + continue; + } + + // Check leading character is alnum, if not, we may + // have accidently grabbed an emoticon. Translate into + // text and go our merry way + if (!ctype_alpha($segment[0])) { + // XML: $segment[0] !== '_' && $segment[0] !== ':' + if ($e) { + $e->send(E_NOTICE, 'Lexer: Unescaped lt'); + } + $token = new HTMLPurifier_Token_Text('<'); + if ($maintain_line_numbers) { + $token->rawPosition($current_line, $current_col); + $current_line += $this->substrCount($html, $nl, $cursor, $position_next_gt - $cursor); + } + $array[] = $token; + $inside_tag = false; + continue; + } + + // Check if it is explicitly self closing, if so, remove + // trailing slash. Remember, we could have a tag like
    , so + // any later token processing scripts must convert improperly + // classified EmptyTags from StartTags. + $is_self_closing = (strrpos($segment, '/') === $strlen_segment - 1); + if ($is_self_closing) { + $strlen_segment--; + $segment = substr($segment, 0, $strlen_segment); + } + + // Check if there are any attributes + $position_first_space = strcspn($segment, $this->_whitespace); + + if ($position_first_space >= $strlen_segment) { + if ($is_self_closing) { + $token = new HTMLPurifier_Token_Empty($segment); + } else { + $token = new HTMLPurifier_Token_Start($segment); + } + if ($maintain_line_numbers) { + $token->rawPosition($current_line, $current_col); + $current_line += $this->substrCount($html, $nl, $cursor, $position_next_gt - $cursor); + } + $array[] = $token; + $inside_tag = false; + $cursor = $position_next_gt + 1; + continue; + } + + // Grab out all the data + $type = substr($segment, 0, $position_first_space); + $attribute_string = + trim( + substr( + $segment, + $position_first_space + ) + ); + if ($attribute_string) { + $attr = $this->parseAttributeString( + $attribute_string, + $config, + $context + ); + } else { + $attr = array(); + } + + if ($is_self_closing) { + $token = new HTMLPurifier_Token_Empty($type, $attr); + } else { + $token = new HTMLPurifier_Token_Start($type, $attr); + } + if ($maintain_line_numbers) { + $token->rawPosition($current_line, $current_col); + $current_line += $this->substrCount($html, $nl, $cursor, $position_next_gt - $cursor); + } + $array[] = $token; + $cursor = $position_next_gt + 1; + $inside_tag = false; + continue; + } else { + // inside tag, but there's no ending > sign + if ($e) { + $e->send(E_WARNING, 'Lexer: Missing gt'); + } + $token = new + HTMLPurifier_Token_Text( + '<' . + $this->parseText( + substr($html, $cursor), $config + ) + ); + if ($maintain_line_numbers) { + $token->rawPosition($current_line, $current_col); + } + // no cursor scroll? Hmm... + $array[] = $token; + break; + } + break; + } + + $context->destroy('CurrentLine'); + $context->destroy('CurrentCol'); + return $array; + } + + /** + * PHP 5.0.x compatible substr_count that implements offset and length + * @param string $haystack + * @param string $needle + * @param int $offset + * @param int $length + * @return int + */ + protected function substrCount($haystack, $needle, $offset, $length) + { + static $oldVersion; + if ($oldVersion === null) { + $oldVersion = version_compare(PHP_VERSION, '5.1', '<'); + } + if ($oldVersion) { + $haystack = substr($haystack, $offset, $length); + return substr_count($haystack, $needle); + } else { + return substr_count($haystack, $needle, $offset, $length); + } + } + + /** + * Takes the inside of an HTML tag and makes an assoc array of attributes. + * + * @param string $string Inside of tag excluding name. + * @param HTMLPurifier_Config $config + * @param HTMLPurifier_Context $context + * @return array Assoc array of attributes. + */ + public function parseAttributeString($string, $config, $context) + { + $string = (string)$string; // quick typecast + + if ($string == '') { + return array(); + } // no attributes + + $e = false; + if ($config->get('Core.CollectErrors')) { + $e =& $context->get('ErrorCollector'); + } + + // let's see if we can abort as quickly as possible + // one equal sign, no spaces => one attribute + $num_equal = substr_count($string, '='); + $has_space = strpos($string, ' '); + if ($num_equal === 0 && !$has_space) { + // bool attribute + return array($string => $string); + } elseif ($num_equal === 1 && !$has_space) { + // only one attribute + list($key, $quoted_value) = explode('=', $string); + $quoted_value = trim($quoted_value); + if (!$key) { + if ($e) { + $e->send(E_ERROR, 'Lexer: Missing attribute key'); + } + return array(); + } + if (!$quoted_value) { + return array($key => ''); + } + $first_char = @$quoted_value[0]; + $last_char = @$quoted_value[strlen($quoted_value) - 1]; + + $same_quote = ($first_char == $last_char); + $open_quote = ($first_char == '"' || $first_char == "'"); + + if ($same_quote && $open_quote) { + // well behaved + $value = substr($quoted_value, 1, strlen($quoted_value) - 2); + } else { + // not well behaved + if ($open_quote) { + if ($e) { + $e->send(E_ERROR, 'Lexer: Missing end quote'); + } + $value = substr($quoted_value, 1); + } else { + $value = $quoted_value; + } + } + if ($value === false) { + $value = ''; + } + return array($key => $this->parseAttr($value, $config)); + } + + // setup loop environment + $array = array(); // return assoc array of attributes + $cursor = 0; // current position in string (moves forward) + $size = strlen($string); // size of the string (stays the same) + + // if we have unquoted attributes, the parser expects a terminating + // space, so let's guarantee that there's always a terminating space. + $string .= ' '; + + $old_cursor = -1; + while ($cursor < $size) { + if ($old_cursor >= $cursor) { + throw new Exception("Infinite loop detected"); + } + $old_cursor = $cursor; + + $cursor += ($value = strspn($string, $this->_whitespace, $cursor)); + // grab the key + + $key_begin = $cursor; //we're currently at the start of the key + + // scroll past all characters that are the key (not whitespace or =) + $cursor += strcspn($string, $this->_whitespace . '=', $cursor); + + $key_end = $cursor; // now at the end of the key + + $key = substr($string, $key_begin, $key_end - $key_begin); + + if (!$key) { + if ($e) { + $e->send(E_ERROR, 'Lexer: Missing attribute key'); + } + $cursor += 1 + strcspn($string, $this->_whitespace, $cursor + 1); // prevent infinite loop + continue; // empty key + } + + // scroll past all whitespace + $cursor += strspn($string, $this->_whitespace, $cursor); + + if ($cursor >= $size) { + $array[$key] = $key; + break; + } + + // if the next character is an equal sign, we've got a regular + // pair, otherwise, it's a bool attribute + $first_char = @$string[$cursor]; + + if ($first_char == '=') { + // key="value" + + $cursor++; + $cursor += strspn($string, $this->_whitespace, $cursor); + + if ($cursor === false) { + $array[$key] = ''; + break; + } + + // we might be in front of a quote right now + + $char = @$string[$cursor]; + + if ($char == '"' || $char == "'") { + // it's quoted, end bound is $char + $cursor++; + $value_begin = $cursor; + $cursor = strpos($string, $char, $cursor); + $value_end = $cursor; + } else { + // it's not quoted, end bound is whitespace + $value_begin = $cursor; + $cursor += strcspn($string, $this->_whitespace, $cursor); + $value_end = $cursor; + } + + // we reached a premature end + if ($cursor === false) { + $cursor = $size; + $value_end = $cursor; + } + + $value = substr($string, $value_begin, $value_end - $value_begin); + if ($value === false) { + $value = ''; + } + $array[$key] = $this->parseAttr($value, $config); + $cursor++; + } else { + // boolattr + if ($key !== '') { + $array[$key] = $key; + } else { + // purely theoretical + if ($e) { + $e->send(E_ERROR, 'Lexer: Missing attribute key'); + } + } + } + } + return $array; + } +} + +// vim: et sw=4 sts=4 diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer/PH5P.php b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer/PH5P.php new file mode 100755 index 0000000..72476dd --- /dev/null +++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Lexer/PH5P.php @@ -0,0 +1,4788 @@ +normalize($html, $config, $context); + $new_html = $this->wrapHTML($new_html, $config, $context, false /* no div */); + try { + $parser = new HTML5($new_html); + $doc = $parser->save(); + } catch (DOMException $e) { + // Uh oh, it failed. Punt to DirectLex. + $lexer = new HTMLPurifier_Lexer_DirectLex(); + $context->register('PH5PError', $e); // save the error, so we can detect it + return $lexer->tokenizeHTML($html, $config, $context); // use original HTML + } + $tokens = array(); + $this->tokenizeDOM( + $doc->getElementsByTagName('html')->item(0)-> // + getElementsByTagName('body')->item(0) // + , + $tokens, $config + ); + return $tokens; + } +} + +/* + +Copyright 2007 Jeroen van der Meer + +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. + +*/ + +class HTML5 +{ + private $data; + private $char; + private $EOF; + private $state; + private $tree; + private $token; + private $content_model; + private $escape = false; + private $entities = array( + 'AElig;', + 'AElig', + 'AMP;', + 'AMP', + 'Aacute;', + 'Aacute', + 'Acirc;', + 'Acirc', + 'Agrave;', + 'Agrave', + 'Alpha;', + 'Aring;', + 'Aring', + 'Atilde;', + 'Atilde', + 'Auml;', + 'Auml', + 'Beta;', + 'COPY;', + 'COPY', + 'Ccedil;', + 'Ccedil', + 'Chi;', + 'Dagger;', + 'Delta;', + 'ETH;', + 'ETH', + 'Eacute;', + 'Eacute', + 'Ecirc;', + 'Ecirc', + 'Egrave;', + 'Egrave', + 'Epsilon;', + 'Eta;', + 'Euml;', + 'Euml', + 'GT;', + 'GT', + 'Gamma;', + 'Iacute;', + 'Iacute', + 'Icirc;', + 'Icirc', + 'Igrave;', + 'Igrave', + 'Iota;', + 'Iuml;', + 'Iuml', + 'Kappa;', + 'LT;', + 'LT', + 'Lambda;', + 'Mu;', + 'Ntilde;', + 'Ntilde', + 'Nu;', + 'OElig;', + 'Oacute;', + 'Oacute', + 'Ocirc;', + 'Ocirc', + 'Ograve;', + 'Ograve', + 'Omega;', + 'Omicron;', + 'Oslash;', + 'Oslash', + 'Otilde;', + 'Otilde', + 'Ouml;', + 'Ouml', + 'Phi;', + 'Pi;', + 'Prime;', + 'Psi;', + 'QUOT;', + 'QUOT', + 'REG;', + 'REG', + 'Rho;', + 'Scaron;', + 'Sigma;', + 'THORN;', + 'THORN', + 'TRADE;', + 'Tau;', + 'Theta;', + 'Uacute;', + 'Uacute', + 'Ucirc;', + 'Ucirc', + 'Ugrave;', + 'Ugrave', + 'Upsilon;', + 'Uuml;', + 'Uuml', + 'Xi;', + 'Yacute;', + 'Yacute', + 'Yuml;', + 'Zeta;', + 'aacute;', + 'aacute', + 'acirc;', + 'acirc', + 'acute;', + 'acute', + 'aelig;', + 'aelig', + 'agrave;', + 'agrave', + 'alefsym;', + 'alpha;', + 'amp;', + 'amp', + 'and;', + 'ang;', + 'apos;', + 'aring;', + 'aring', + 'asymp;', + 'atilde;', + 'atilde', + 'auml;', + 'auml', + 'bdquo;', + 'beta;', + 'brvbar;', + 'brvbar', + 'bull;', + 'cap;', + 'ccedil;', + 'ccedil', + 'cedil;', + 'cedil', + 'cent;', + 'cent', + 'chi;', + 'circ;', + 'clubs;', + 'cong;', + 'copy;', + 'copy', + 'crarr;', + 'cup;', + 'curren;', + 'curren', + 'dArr;', + 'dagger;', + 'darr;', + 'deg;', + 'deg', + 'delta;', + 'diams;', + 'divide;', + 'divide', + 'eacute;', + 'eacute', + 'ecirc;', + 'ecirc', + 'egrave;', + 'egrave', + 'empty;', + 'emsp;', + 'ensp;', + 'epsilon;', + 'equiv;', + 'eta;', + 'eth;', + 'eth', + 'euml;', + 'euml', + 'euro;', + 'exist;', + 'fnof;', + 'forall;', + 'frac12;', + 'frac12', + 'frac14;', + 'frac14', + 'frac34;', + 'frac34', + 'frasl;', + 'gamma;', + 'ge;', + 'gt;', + 'gt', + 'hArr;', + 'harr;', + 'hearts;', + 'hellip;', + 'iacute;', + 'iacute', + 'icirc;', + 'icirc', + 'iexcl;', + 'iexcl', + 'igrave;', + 'igrave', + 'image;', + 'infin;', + 'int;', + 'iota;', + 'iquest;', + 'iquest', + 'isin;', + 'iuml;', + 'iuml', + 'kappa;', + 'lArr;', + 'lambda;', + 'lang;', + 'laquo;', + 'laquo', + 'larr;', + 'lceil;', + 'ldquo;', + 'le;', + 'lfloor;', + 'lowast;', + 'loz;', + 'lrm;', + 'lsaquo;', + 'lsquo;', + 'lt;', + 'lt', + 'macr;', + 'macr', + 'mdash;', + 'micro;', + 'micro', + 'middot;', + 'middot', + 'minus;', + 'mu;', + 'nabla;', + 'nbsp;', + 'nbsp', + 'ndash;', + 'ne;', + 'ni;', + 'not;', + 'not', + 'notin;', + 'nsub;', + 'ntilde;', + 'ntilde', + 'nu;', + 'oacute;', + 'oacute', + 'ocirc;', + 'ocirc', + 'oelig;', + 'ograve;', + 'ograve', + 'oline;', + 'omega;', + 'omicron;', + 'oplus;', + 'or;', + 'ordf;', + 'ordf', + 'ordm;', + 'ordm', + 'oslash;', + 'oslash', + 'otilde;', + 'otilde', + 'otimes;', + 'ouml;', + 'ouml', + 'para;', + 'para', + 'part;', + 'permil;', + 'perp;', + 'phi;', + 'pi;', + 'piv;', + 'plusmn;', + 'plusmn', + 'pound;', + 'pound', + 'prime;', + 'prod;', + 'prop;', + 'psi;', + 'quot;', + 'quot', + 'rArr;', + 'radic;', + 'rang;', + 'raquo;', + 'raquo', + 'rarr;', + 'rceil;', + 'rdquo;', + 'real;', + 'reg;', + 'reg', + 'rfloor;', + 'rho;', + 'rlm;', + 'rsaquo;', + 'rsquo;', + 'sbquo;', + 'scaron;', + 'sdot;', + 'sect;', + 'sect', + 'shy;', + 'shy', + 'sigma;', + 'sigmaf;', + 'sim;', + 'spades;', + 'sub;', + 'sube;', + 'sum;', + 'sup1;', + 'sup1', + 'sup2;', + 'sup2', + 'sup3;', + 'sup3', + 'sup;', + 'supe;', + 'szlig;', + 'szlig', + 'tau;', + 'there4;', + 'theta;', + 'thetasym;', + 'thinsp;', + 'thorn;', + 'thorn', + 'tilde;', + 'times;', + 'times', + 'trade;', + 'uArr;', + 'uacute;', + 'uacute', + 'uarr;', + 'ucirc;', + 'ucirc', + 'ugrave;', + 'ugrave', + 'uml;', + 'uml', + 'upsih;', + 'upsilon;', + 'uuml;', + 'uuml', + 'weierp;', + 'xi;', + 'yacute;', + 'yacute', + 'yen;', + 'yen', + 'yuml;', + 'yuml', + 'zeta;', + 'zwj;', + 'zwnj;' + ); + + const PCDATA = 0; + const RCDATA = 1; + const CDATA = 2; + const PLAINTEXT = 3; + + const DOCTYPE = 0; + const STARTTAG = 1; + const ENDTAG = 2; + const COMMENT = 3; + const CHARACTR = 4; + const EOF = 5; + + public function __construct($data) + { + $this->data = $data; + $this->char = -1; + $this->EOF = strlen($data); + $this->tree = new HTML5TreeConstructer; + $this->content_model = self::PCDATA; + + $this->state = 'data'; + + while ($this->state !== null) { + $this->{$this->state . 'State'}(); + } + } + + public function save() + { + return $this->tree->save(); + } + + private function char() + { + return ($this->char < $this->EOF) + ? $this->data[$this->char] + : false; + } + + private function character($s, $l = 0) + { + if ($s + $l < $this->EOF) { + if ($l === 0) { + return $this->data[$s]; + } else { + return substr($this->data, $s, $l); + } + } + } + + private function characters($char_class, $start) + { + return preg_replace('#^([' . $char_class . ']+).*#s', '\\1', substr($this->data, $start)); + } + + private function dataState() + { + // Consume the next input character + $this->char++; + $char = $this->char(); + + if ($char === '&' && ($this->content_model === self::PCDATA || $this->content_model === self::RCDATA)) { + /* U+0026 AMPERSAND (&) + When the content model flag is set to one of the PCDATA or RCDATA + states: switch to the entity data state. Otherwise: treat it as per + the "anything else" entry below. */ + $this->state = 'entityData'; + + } elseif ($char === '-') { + /* If the content model flag is set to either the RCDATA state or + the CDATA state, and the escape flag is false, and there are at + least three characters before this one in the input stream, and the + last four characters in the input stream, including this one, are + U+003C LESS-THAN SIGN, U+0021 EXCLAMATION MARK, U+002D HYPHEN-MINUS, + and U+002D HYPHEN-MINUS (""), + set the escape flag to false. */ + if (($this->content_model === self::RCDATA || + $this->content_model === self::CDATA) && $this->escape === true && + $this->character($this->char, 3) === '-->' + ) { + $this->escape = false; + } + + /* In any case, emit the input character as a character token. + Stay in the data state. */ + $this->emitToken( + array( + 'type' => self::CHARACTR, + 'data' => $char + ) + ); + + } elseif ($this->char === $this->EOF) { + /* EOF + Emit an end-of-file token. */ + $this->EOF(); + + } elseif ($this->content_model === self::PLAINTEXT) { + /* When the content model flag is set to the PLAINTEXT state + THIS DIFFERS GREATLY FROM THE SPEC: Get the remaining characters of + the text and emit it as a character token. */ + $this->emitToken( + array( + 'type' => self::CHARACTR, + 'data' => substr($this->data, $this->char) + ) + ); + + $this->EOF(); + + } else { + /* Anything else + THIS DIFFERS GREATLY FROM THE SPEC: Get as many character that + otherwise would also be treated as a character token and emit it + as a single character token. Stay in the data state. */ + $len = strcspn($this->data, '<&', $this->char); + $char = substr($this->data, $this->char, $len); + $this->char += $len - 1; + + $this->emitToken( + array( + 'type' => self::CHARACTR, + 'data' => $char + ) + ); + + $this->state = 'data'; + } + } + + private function entityDataState() + { + // Attempt to consume an entity. + $entity = $this->entity(); + + // If nothing is returned, emit a U+0026 AMPERSAND character token. + // Otherwise, emit the character token that was returned. + $char = (!$entity) ? '&' : $entity; + $this->emitToken( + array( + 'type' => self::CHARACTR, + 'data' => $char + ) + ); + + // Finally, switch to the data state. + $this->state = 'data'; + } + + private function tagOpenState() + { + switch ($this->content_model) { + case self::RCDATA: + case self::CDATA: + /* If the next input character is a U+002F SOLIDUS (/) character, + consume it and switch to the close tag open state. If the next + input character is not a U+002F SOLIDUS (/) character, emit a + U+003C LESS-THAN SIGN character token and switch to the data + state to process the next input character. */ + if ($this->character($this->char + 1) === '/') { + $this->char++; + $this->state = 'closeTagOpen'; + + } else { + $this->emitToken( + array( + 'type' => self::CHARACTR, + 'data' => '<' + ) + ); + + $this->state = 'data'; + } + break; + + case self::PCDATA: + // If the content model flag is set to the PCDATA state + // Consume the next input character: + $this->char++; + $char = $this->char(); + + if ($char === '!') { + /* U+0021 EXCLAMATION MARK (!) + Switch to the markup declaration open state. */ + $this->state = 'markupDeclarationOpen'; + + } elseif ($char === '/') { + /* U+002F SOLIDUS (/) + Switch to the close tag open state. */ + $this->state = 'closeTagOpen'; + + } elseif (preg_match('/^[A-Za-z]$/', $char)) { + /* U+0041 LATIN LETTER A through to U+005A LATIN LETTER Z + Create a new start tag token, set its tag name to the lowercase + version of the input character (add 0x0020 to the character's code + point), then switch to the tag name state. (Don't emit the token + yet; further details will be filled in before it is emitted.) */ + $this->token = array( + 'name' => strtolower($char), + 'type' => self::STARTTAG, + 'attr' => array() + ); + + $this->state = 'tagName'; + + } elseif ($char === '>') { + /* U+003E GREATER-THAN SIGN (>) + Parse error. Emit a U+003C LESS-THAN SIGN character token and a + U+003E GREATER-THAN SIGN character token. Switch to the data state. */ + $this->emitToken( + array( + 'type' => self::CHARACTR, + 'data' => '<>' + ) + ); + + $this->state = 'data'; + + } elseif ($char === '?') { + /* U+003F QUESTION MARK (?) + Parse error. Switch to the bogus comment state. */ + $this->state = 'bogusComment'; + + } else { + /* Anything else + Parse error. Emit a U+003C LESS-THAN SIGN character token and + reconsume the current input character in the data state. */ + $this->emitToken( + array( + 'type' => self::CHARACTR, + 'data' => '<' + ) + ); + + $this->char--; + $this->state = 'data'; + } + break; + } + } + + private function closeTagOpenState() + { + $next_node = strtolower($this->characters('A-Za-z', $this->char + 1)); + $the_same = count($this->tree->stack) > 0 && $next_node === end($this->tree->stack)->nodeName; + + if (($this->content_model === self::RCDATA || $this->content_model === self::CDATA) && + (!$the_same || ($the_same && (!preg_match( + '/[\t\n\x0b\x0c >\/]/', + $this->character($this->char + 1 + strlen($next_node)) + ) || $this->EOF === $this->char))) + ) { + /* If the content model flag is set to the RCDATA or CDATA states then + examine the next few characters. If they do not match the tag name of + the last start tag token emitted (case insensitively), or if they do but + they are not immediately followed by one of the following characters: + * U+0009 CHARACTER TABULATION + * U+000A LINE FEED (LF) + * U+000B LINE TABULATION + * U+000C FORM FEED (FF) + * U+0020 SPACE + * U+003E GREATER-THAN SIGN (>) + * U+002F SOLIDUS (/) + * EOF + ...then there is a parse error. Emit a U+003C LESS-THAN SIGN character + token, a U+002F SOLIDUS character token, and switch to the data state + to process the next input character. */ + $this->emitToken( + array( + 'type' => self::CHARACTR, + 'data' => 'state = 'data'; + + } else { + /* Otherwise, if the content model flag is set to the PCDATA state, + or if the next few characters do match that tag name, consume the + next input character: */ + $this->char++; + $char = $this->char(); + + if (preg_match('/^[A-Za-z]$/', $char)) { + /* U+0041 LATIN LETTER A through to U+005A LATIN LETTER Z + Create a new end tag token, set its tag name to the lowercase version + of the input character (add 0x0020 to the character's code point), then + switch to the tag name state. (Don't emit the token yet; further details + will be filled in before it is emitted.) */ + $this->token = array( + 'name' => strtolower($char), + 'type' => self::ENDTAG + ); + + $this->state = 'tagName'; + + } elseif ($char === '>') { + /* U+003E GREATER-THAN SIGN (>) + Parse error. Switch to the data state. */ + $this->state = 'data'; + + } elseif ($this->char === $this->EOF) { + /* EOF + Parse error. Emit a U+003C LESS-THAN SIGN character token and a U+002F + SOLIDUS character token. Reconsume the EOF character in the data state. */ + $this->emitToken( + array( + 'type' => self::CHARACTR, + 'data' => 'char--; + $this->state = 'data'; + + } else { + /* Parse error. Switch to the bogus comment state. */ + $this->state = 'bogusComment'; + } + } + } + + private function tagNameState() + { + // Consume the next input character: + $this->char++; + $char = $this->character($this->char); + + if (preg_match('/^[\t\n\x0b\x0c ]$/', $char)) { + /* U+0009 CHARACTER TABULATION + U+000A LINE FEED (LF) + U+000B LINE TABULATION + U+000C FORM FEED (FF) + U+0020 SPACE + Switch to the before attribute name state. */ + $this->state = 'beforeAttributeName'; + + } elseif ($char === '>') { + /* U+003E GREATER-THAN SIGN (>) + Emit the current tag token. Switch to the data state. */ + $this->emitToken($this->token); + $this->state = 'data'; + + } elseif ($this->char === $this->EOF) { + /* EOF + Parse error. Emit the current tag token. Reconsume the EOF + character in the data state. */ + $this->emitToken($this->token); + + $this->char--; + $this->state = 'data'; + + } elseif ($char === '/') { + /* U+002F SOLIDUS (/) + Parse error unless this is a permitted slash. Switch to the before + attribute name state. */ + $this->state = 'beforeAttributeName'; + + } else { + /* Anything else + Append the current input character to the current tag token's tag name. + Stay in the tag name state. */ + $this->token['name'] .= strtolower($char); + $this->state = 'tagName'; + } + } + + private function beforeAttributeNameState() + { + // Consume the next input character: + $this->char++; + $char = $this->character($this->char); + + if (preg_match('/^[\t\n\x0b\x0c ]$/', $char)) { + /* U+0009 CHARACTER TABULATION + U+000A LINE FEED (LF) + U+000B LINE TABULATION + U+000C FORM FEED (FF) + U+0020 SPACE + Stay in the before attribute name state. */ + $this->state = 'beforeAttributeName'; + + } elseif ($char === '>') { + /* U+003E GREATER-THAN SIGN (>) + Emit the current tag token. Switch to the data state. */ + $this->emitToken($this->token); + $this->state = 'data'; + + } elseif ($char === '/') { + /* U+002F SOLIDUS (/) + Parse error unless this is a permitted slash. Stay in the before + attribute name state. */ + $this->state = 'beforeAttributeName'; + + } elseif ($this->char === $this->EOF) { + /* EOF + Parse error. Emit the current tag token. Reconsume the EOF + character in the data state. */ + $this->emitToken($this->token); + + $this->char--; + $this->state = 'data'; + + } else { + /* Anything else + Start a new attribute in the current tag token. Set that attribute's + name to the current input character, and its value to the empty string. + Switch to the attribute name state. */ + $this->token['attr'][] = array( + 'name' => strtolower($char), + 'value' => null + ); + + $this->state = 'attributeName'; + } + } + + private function attributeNameState() + { + // Consume the next input character: + $this->char++; + $char = $this->character($this->char); + + if (preg_match('/^[\t\n\x0b\x0c ]$/', $char)) { + /* U+0009 CHARACTER TABULATION + U+000A LINE FEED (LF) + U+000B LINE TABULATION + U+000C FORM FEED (FF) + U+0020 SPACE + Stay in the before attribute name state. */ + $this->state = 'afterAttributeName'; + + } elseif ($char === '=') { + /* U+003D EQUALS SIGN (=) + Switch to the before attribute value state. */ + $this->state = 'beforeAttributeValue'; + + } elseif ($char === '>') { + /* U+003E GREATER-THAN SIGN (>) + Emit the current tag token. Switch to the data state. */ + $this->emitToken($this->token); + $this->state = 'data'; + + } elseif ($char === '/' && $this->character($this->char + 1) !== '>') { + /* U+002F SOLIDUS (/) + Parse error unless this is a permitted slash. Switch to the before + attribute name state. */ + $this->state = 'beforeAttributeName'; + + } elseif ($this->char === $this->EOF) { + /* EOF + Parse error. Emit the current tag token. Reconsume the EOF + character in the data state. */ + $this->emitToken($this->token); + + $this->char--; + $this->state = 'data'; + + } else { + /* Anything else + Append the current input character to the current attribute's name. + Stay in the attribute name state. */ + $last = count($this->token['attr']) - 1; + $this->token['attr'][$last]['name'] .= strtolower($char); + + $this->state = 'attributeName'; + } + } + + private function afterAttributeNameState() + { + // Consume the next input character: + $this->char++; + $char = $this->character($this->char); + + if (preg_match('/^[\t\n\x0b\x0c ]$/', $char)) { + /* U+0009 CHARACTER TABULATION + U+000A LINE FEED (LF) + U+000B LINE TABULATION + U+000C FORM FEED (FF) + U+0020 SPACE + Stay in the after attribute name state. */ + $this->state = 'afterAttributeName'; + + } elseif ($char === '=') { + /* U+003D EQUALS SIGN (=) + Switch to the before attribute value state. */ + $this->state = 'beforeAttributeValue'; + + } elseif ($char === '>') { + /* U+003E GREATER-THAN SIGN (>) + Emit the current tag token. Switch to the data state. */ + $this->emitToken($this->token); + $this->state = 'data'; + + } elseif ($char === '/' && $this->character($this->char + 1) !== '>') { + /* U+002F SOLIDUS (/) + Parse error unless this is a permitted slash. Switch to the + before attribute name state. */ + $this->state = 'beforeAttributeName'; + + } elseif ($this->char === $this->EOF) { + /* EOF + Parse error. Emit the current tag token. Reconsume the EOF + character in the data state. */ + $this->emitToken($this->token); + + $this->char--; + $this->state = 'data'; + + } else { + /* Anything else + Start a new attribute in the current tag token. Set that attribute's + name to the current input character, and its value to the empty string. + Switch to the attribute name state. */ + $this->token['attr'][] = array( + 'name' => strtolower($char), + 'value' => null + ); + + $this->state = 'attributeName'; + } + } + + private function beforeAttributeValueState() + { + // Consume the next input character: + $this->char++; + $char = $this->character($this->char); + + if (preg_match('/^[\t\n\x0b\x0c ]$/', $char)) { + /* U+0009 CHARACTER TABULATION + U+000A LINE FEED (LF) + U+000B LINE TABULATION + U+000C FORM FEED (FF) + U+0020 SPACE + Stay in the before attribute value state. */ + $this->state = 'beforeAttributeValue'; + + } elseif ($char === '"') { + /* U+0022 QUOTATION MARK (") + Switch to the attribute value (double-quoted) state. */ + $this->state = 'attributeValueDoubleQuoted'; + + } elseif ($char === '&') { + /* U+0026 AMPERSAND (&) + Switch to the attribute value (unquoted) state and reconsume + this input character. */ + $this->char--; + $this->state = 'attributeValueUnquoted'; + + } elseif ($char === '\'') { + /* U+0027 APOSTROPHE (') + Switch to the attribute value (single-quoted) state. */ + $this->state = 'attributeValueSingleQuoted'; + + } elseif ($char === '>') { + /* U+003E GREATER-THAN SIGN (>) + Emit the current tag token. Switch to the data state. */ + $this->emitToken($this->token); + $this->state = 'data'; + + } else { + /* Anything else + Append the current input character to the current attribute's value. + Switch to the attribute value (unquoted) state. */ + $last = count($this->token['attr']) - 1; + $this->token['attr'][$last]['value'] .= $char; + + $this->state = 'attributeValueUnquoted'; + } + } + + private function attributeValueDoubleQuotedState() + { + // Consume the next input character: + $this->char++; + $char = $this->character($this->char); + + if ($char === '"') { + /* U+0022 QUOTATION MARK (") + Switch to the before attribute name state. */ + $this->state = 'beforeAttributeName'; + + } elseif ($char === '&') { + /* U+0026 AMPERSAND (&) + Switch to the entity in attribute value state. */ + $this->entityInAttributeValueState('double'); + + } elseif ($this->char === $this->EOF) { + /* EOF + Parse error. Emit the current tag token. Reconsume the character + in the data state. */ + $this->emitToken($this->token); + + $this->char--; + $this->state = 'data'; + + } else { + /* Anything else + Append the current input character to the current attribute's value. + Stay in the attribute value (double-quoted) state. */ + $last = count($this->token['attr']) - 1; + $this->token['attr'][$last]['value'] .= $char; + + $this->state = 'attributeValueDoubleQuoted'; + } + } + + private function attributeValueSingleQuotedState() + { + // Consume the next input character: + $this->char++; + $char = $this->character($this->char); + + if ($char === '\'') { + /* U+0022 QUOTATION MARK (') + Switch to the before attribute name state. */ + $this->state = 'beforeAttributeName'; + + } elseif ($char === '&') { + /* U+0026 AMPERSAND (&) + Switch to the entity in attribute value state. */ + $this->entityInAttributeValueState('single'); + + } elseif ($this->char === $this->EOF) { + /* EOF + Parse error. Emit the current tag token. Reconsume the character + in the data state. */ + $this->emitToken($this->token); + + $this->char--; + $this->state = 'data'; + + } else { + /* Anything else + Append the current input character to the current attribute's value. + Stay in the attribute value (single-quoted) state. */ + $last = count($this->token['attr']) - 1; + $this->token['attr'][$last]['value'] .= $char; + + $this->state = 'attributeValueSingleQuoted'; + } + } + + private function attributeValueUnquotedState() + { + // Consume the next input character: + $this->char++; + $char = $this->character($this->char); + + if (preg_match('/^[\t\n\x0b\x0c ]$/', $char)) { + /* U+0009 CHARACTER TABULATION + U+000A LINE FEED (LF) + U+000B LINE TABULATION + U+000C FORM FEED (FF) + U+0020 SPACE + Switch to the before attribute name state. */ + $this->state = 'beforeAttributeName'; + + } elseif ($char === '&') { + /* U+0026 AMPERSAND (&) + Switch to the entity in attribute value state. */ + $this->entityInAttributeValueState(); + + } elseif ($char === '>') { + /* U+003E GREATER-THAN SIGN (>) + Emit the current tag token. Switch to the data state. */ + $this->emitToken($this->token); + $this->state = 'data'; + + } else { + /* Anything else + Append the current input character to the current attribute's value. + Stay in the attribute value (unquoted) state. */ + $last = count($this->token['attr']) - 1; + $this->token['attr'][$last]['value'] .= $char; + + $this->state = 'attributeValueUnquoted'; + } + } + + private function entityInAttributeValueState() + { + // Attempt to consume an entity. + $entity = $this->entity(); + + // If nothing is returned, append a U+0026 AMPERSAND character to the + // current attribute's value. Otherwise, emit the character token that + // was returned. + $char = (!$entity) + ? '&' + : $entity; + + $last = count($this->token['attr']) - 1; + $this->token['attr'][$last]['value'] .= $char; + } + + private function bogusCommentState() + { + /* Consume every character up to the first U+003E GREATER-THAN SIGN + character (>) or the end of the file (EOF), whichever comes first. Emit + a comment token whose data is the concatenation of all the characters + starting from and including the character that caused the state machine + to switch into the bogus comment state, up to and including the last + consumed character before the U+003E character, if any, or up to the + end of the file otherwise. (If the comment was started by the end of + the file (EOF), the token is empty.) */ + $data = $this->characters('^>', $this->char); + $this->emitToken( + array( + 'data' => $data, + 'type' => self::COMMENT + ) + ); + + $this->char += strlen($data); + + /* Switch to the data state. */ + $this->state = 'data'; + + /* If the end of the file was reached, reconsume the EOF character. */ + if ($this->char === $this->EOF) { + $this->char = $this->EOF - 1; + } + } + + private function markupDeclarationOpenState() + { + /* If the next two characters are both U+002D HYPHEN-MINUS (-) + characters, consume those two characters, create a comment token whose + data is the empty string, and switch to the comment state. */ + if ($this->character($this->char + 1, 2) === '--') { + $this->char += 2; + $this->state = 'comment'; + $this->token = array( + 'data' => null, + 'type' => self::COMMENT + ); + + /* Otherwise if the next seven chacacters are a case-insensitive match + for the word "DOCTYPE", then consume those characters and switch to the + DOCTYPE state. */ + } elseif (strtolower($this->character($this->char + 1, 7)) === 'doctype') { + $this->char += 7; + $this->state = 'doctype'; + + /* Otherwise, is is a parse error. Switch to the bogus comment state. + The next character that is consumed, if any, is the first character + that will be in the comment. */ + } else { + $this->char++; + $this->state = 'bogusComment'; + } + } + + private function commentState() + { + /* Consume the next input character: */ + $this->char++; + $char = $this->char(); + + /* U+002D HYPHEN-MINUS (-) */ + if ($char === '-') { + /* Switch to the comment dash state */ + $this->state = 'commentDash'; + + /* EOF */ + } elseif ($this->char === $this->EOF) { + /* Parse error. Emit the comment token. Reconsume the EOF character + in the data state. */ + $this->emitToken($this->token); + $this->char--; + $this->state = 'data'; + + /* Anything else */ + } else { + /* Append the input character to the comment token's data. Stay in + the comment state. */ + $this->token['data'] .= $char; + } + } + + private function commentDashState() + { + /* Consume the next input character: */ + $this->char++; + $char = $this->char(); + + /* U+002D HYPHEN-MINUS (-) */ + if ($char === '-') { + /* Switch to the comment end state */ + $this->state = 'commentEnd'; + + /* EOF */ + } elseif ($this->char === $this->EOF) { + /* Parse error. Emit the comment token. Reconsume the EOF character + in the data state. */ + $this->emitToken($this->token); + $this->char--; + $this->state = 'data'; + + /* Anything else */ + } else { + /* Append a U+002D HYPHEN-MINUS (-) character and the input + character to the comment token's data. Switch to the comment state. */ + $this->token['data'] .= '-' . $char; + $this->state = 'comment'; + } + } + + private function commentEndState() + { + /* Consume the next input character: */ + $this->char++; + $char = $this->char(); + + if ($char === '>') { + $this->emitToken($this->token); + $this->state = 'data'; + + } elseif ($char === '-') { + $this->token['data'] .= '-'; + + } elseif ($this->char === $this->EOF) { + $this->emitToken($this->token); + $this->char--; + $this->state = 'data'; + + } else { + $this->token['data'] .= '--' . $char; + $this->state = 'comment'; + } + } + + private function doctypeState() + { + /* Consume the next input character: */ + $this->char++; + $char = $this->char(); + + if (preg_match('/^[\t\n\x0b\x0c ]$/', $char)) { + $this->state = 'beforeDoctypeName'; + + } else { + $this->char--; + $this->state = 'beforeDoctypeName'; + } + } + + private function beforeDoctypeNameState() + { + /* Consume the next input character: */ + $this->char++; + $char = $this->char(); + + if (preg_match('/^[\t\n\x0b\x0c ]$/', $char)) { + // Stay in the before DOCTYPE name state. + + } elseif (preg_match('/^[a-z]$/', $char)) { + $this->token = array( + 'name' => strtoupper($char), + 'type' => self::DOCTYPE, + 'error' => true + ); + + $this->state = 'doctypeName'; + + } elseif ($char === '>') { + $this->emitToken( + array( + 'name' => null, + 'type' => self::DOCTYPE, + 'error' => true + ) + ); + + $this->state = 'data'; + + } elseif ($this->char === $this->EOF) { + $this->emitToken( + array( + 'name' => null, + 'type' => self::DOCTYPE, + 'error' => true + ) + ); + + $this->char--; + $this->state = 'data'; + + } else { + $this->token = array( + 'name' => $char, + 'type' => self::DOCTYPE, + 'error' => true + ); + + $this->state = 'doctypeName'; + } + } + + private function doctypeNameState() + { + /* Consume the next input character: */ + $this->char++; + $char = $this->char(); + + if (preg_match('/^[\t\n\x0b\x0c ]$/', $char)) { + $this->state = 'AfterDoctypeName'; + + } elseif ($char === '>') { + $this->emitToken($this->token); + $this->state = 'data'; + + } elseif (preg_match('/^[a-z]$/', $char)) { + $this->token['name'] .= strtoupper($char); + + } elseif ($this->char === $this->EOF) { + $this->emitToken($this->token); + $this->char--; + $this->state = 'data'; + + } else { + $this->token['name'] .= $char; + } + + $this->token['error'] = ($this->token['name'] === 'HTML') + ? false + : true; + } + + private function afterDoctypeNameState() + { + /* Consume the next input character: */ + $this->char++; + $char = $this->char(); + + if (preg_match('/^[\t\n\x0b\x0c ]$/', $char)) { + // Stay in the DOCTYPE name state. + + } elseif ($char === '>') { + $this->emitToken($this->token); + $this->state = 'data'; + + } elseif ($this->char === $this->EOF) { + $this->emitToken($this->token); + $this->char--; + $this->state = 'data'; + + } else { + $this->token['error'] = true; + $this->state = 'bogusDoctype'; + } + } + + private function bogusDoctypeState() + { + /* Consume the next input character: */ + $this->char++; + $char = $this->char(); + + if ($char === '>') { + $this->emitToken($this->token); + $this->state = 'data'; + + } elseif ($this->char === $this->EOF) { + $this->emitToken($this->token); + $this->char--; + $this->state = 'data'; + + } else { + // Stay in the bogus DOCTYPE state. + } + } + + private function entity() + { + $start = $this->char; + + // This section defines how to consume an entity. This definition is + // used when parsing entities in text and in attributes. + + // The behaviour depends on the identity of the next character (the + // one immediately after the U+0026 AMPERSAND character): + + switch ($this->character($this->char + 1)) { + // U+0023 NUMBER SIGN (#) + case '#': + + // The behaviour further depends on the character after the + // U+0023 NUMBER SIGN: + switch ($this->character($this->char + 1)) { + // U+0078 LATIN SMALL LETTER X + // U+0058 LATIN CAPITAL LETTER X + case 'x': + case 'X': + // Follow the steps below, but using the range of + // characters U+0030 DIGIT ZERO through to U+0039 DIGIT + // NINE, U+0061 LATIN SMALL LETTER A through to U+0066 + // LATIN SMALL LETTER F, and U+0041 LATIN CAPITAL LETTER + // A, through to U+0046 LATIN CAPITAL LETTER F (in other + // words, 0-9, A-F, a-f). + $char = 1; + $char_class = '0-9A-Fa-f'; + break; + + // Anything else + default: + // Follow the steps below, but using the range of + // characters U+0030 DIGIT ZERO through to U+0039 DIGIT + // NINE (i.e. just 0-9). + $char = 0; + $char_class = '0-9'; + break; + } + + // Consume as many characters as match the range of characters + // given above. + $this->char++; + $e_name = $this->characters($char_class, $this->char + $char + 1); + $entity = $this->character($start, $this->char); + $cond = strlen($e_name) > 0; + + // The rest of the parsing happens below. + break; + + // Anything else + default: + // Consume the maximum number of characters possible, with the + // consumed characters case-sensitively matching one of the + // identifiers in the first column of the entities table. + + $e_name = $this->characters('0-9A-Za-z;', $this->char + 1); + $len = strlen($e_name); + + for ($c = 1; $c <= $len; $c++) { + $id = substr($e_name, 0, $c); + $this->char++; + + if (in_array($id, $this->entities)) { + if ($e_name[$c - 1] !== ';') { + if ($c < $len && $e_name[$c] == ';') { + $this->char++; // consume extra semicolon + } + } + $entity = $id; + break; + } + } + + $cond = isset($entity); + // The rest of the parsing happens below. + break; + } + + if (!$cond) { + // If no match can be made, then this is a parse error. No + // characters are consumed, and nothing is returned. + $this->char = $start; + return false; + } + + // Return a character token for the character corresponding to the + // entity name (as given by the second column of the entities table). + return html_entity_decode('&' . rtrim($entity, ';') . ';', ENT_QUOTES, 'UTF-8'); + } + + private function emitToken($token) + { + $emit = $this->tree->emitToken($token); + + if (is_int($emit)) { + $this->content_model = $emit; + + } elseif ($token['type'] === self::ENDTAG) { + $this->content_model = self::PCDATA; + } + } + + private function EOF() + { + $this->state = null; + $this->tree->emitToken( + array( + 'type' => self::EOF + ) + ); + } +} + +class HTML5TreeConstructer +{ + public $stack = array(); + + private $phase; + private $mode; + private $dom; + private $foster_parent = null; + private $a_formatting = array(); + + private $head_pointer = null; + private $form_pointer = null; + + private $scoping = array('button', 'caption', 'html', 'marquee', 'object', 'table', 'td', 'th'); + private $formatting = array( + 'a', + 'b', + 'big', + 'em', + 'font', + 'i', + 'nobr', + 's', + 'small', + 'strike', + 'strong', + 'tt', + 'u' + ); + private $special = array( + 'address', + 'area', + 'base', + 'basefont', + 'bgsound', + 'blockquote', + 'body', + 'br', + 'center', + 'col', + 'colgroup', + 'dd', + 'dir', + 'div', + 'dl', + 'dt', + 'embed', + 'fieldset', + 'form', + 'frame', + 'frameset', + 'h1', + 'h2', + 'h3', + 'h4', + 'h5', + 'h6', + 'head', + 'hr', + 'iframe', + 'image', + 'img', + 'input', + 'isindex', + 'li', + 'link', + 'listing', + 'menu', + 'meta', + 'noembed', + 'noframes', + 'noscript', + 'ol', + 'optgroup', + 'option', + 'p', + 'param', + 'plaintext', + 'pre', + 'script', + 'select', + 'spacer', + 'style', + 'tbody', + 'textarea', + 'tfoot', + 'thead', + 'title', + 'tr', + 'ul', + 'wbr' + ); + + // The different phases. + const INIT_PHASE = 0; + const ROOT_PHASE = 1; + const MAIN_PHASE = 2; + const END_PHASE = 3; + + // The different insertion modes for the main phase. + const BEFOR_HEAD = 0; + const IN_HEAD = 1; + const AFTER_HEAD = 2; + const IN_BODY = 3; + const IN_TABLE = 4; + const IN_CAPTION = 5; + const IN_CGROUP = 6; + const IN_TBODY = 7; + const IN_ROW = 8; + const IN_CELL = 9; + const IN_SELECT = 10; + const AFTER_BODY = 11; + const IN_FRAME = 12; + const AFTR_FRAME = 13; + + // The different types of elements. + const SPECIAL = 0; + const SCOPING = 1; + const FORMATTING = 2; + const PHRASING = 3; + + const MARKER = 0; + + public function __construct() + { + $this->phase = self::INIT_PHASE; + $this->mode = self::BEFOR_HEAD; + $this->dom = new DOMDocument; + + $this->dom->encoding = 'UTF-8'; + $this->dom->preserveWhiteSpace = true; + $this->dom->substituteEntities = true; + $this->dom->strictErrorChecking = false; + } + + // Process tag tokens + public function emitToken($token) + { + switch ($this->phase) { + case self::INIT_PHASE: + return $this->initPhase($token); + break; + case self::ROOT_PHASE: + return $this->rootElementPhase($token); + break; + case self::MAIN_PHASE: + return $this->mainPhase($token); + break; + case self::END_PHASE : + return $this->trailingEndPhase($token); + break; + } + } + + private function initPhase($token) + { + /* Initially, the tree construction stage must handle each token + emitted from the tokenisation stage as follows: */ + + /* A DOCTYPE token that is marked as being in error + A comment token + A start tag token + An end tag token + A character token that is not one of one of U+0009 CHARACTER TABULATION, + U+000A LINE FEED (LF), U+000B LINE TABULATION, U+000C FORM FEED (FF), + or U+0020 SPACE + An end-of-file token */ + if ((isset($token['error']) && $token['error']) || + $token['type'] === HTML5::COMMENT || + $token['type'] === HTML5::STARTTAG || + $token['type'] === HTML5::ENDTAG || + $token['type'] === HTML5::EOF || + ($token['type'] === HTML5::CHARACTR && isset($token['data']) && + !preg_match('/^[\t\n\x0b\x0c ]+$/', $token['data'])) + ) { + /* This specification does not define how to handle this case. In + particular, user agents may ignore the entirety of this specification + altogether for such documents, and instead invoke special parse modes + with a greater emphasis on backwards compatibility. */ + + $this->phase = self::ROOT_PHASE; + return $this->rootElementPhase($token); + + /* A DOCTYPE token marked as being correct */ + } elseif (isset($token['error']) && !$token['error']) { + /* Append a DocumentType node to the Document node, with the name + attribute set to the name given in the DOCTYPE token (which will be + "HTML"), and the other attributes specific to DocumentType objects + set to null, empty lists, or the empty string as appropriate. */ + $doctype = new DOMDocumentType(null, null, 'HTML'); + + /* Then, switch to the root element phase of the tree construction + stage. */ + $this->phase = self::ROOT_PHASE; + + /* A character token that is one of one of U+0009 CHARACTER TABULATION, + U+000A LINE FEED (LF), U+000B LINE TABULATION, U+000C FORM FEED (FF), + or U+0020 SPACE */ + } elseif (isset($token['data']) && preg_match( + '/^[\t\n\x0b\x0c ]+$/', + $token['data'] + ) + ) { + /* Append that character to the Document node. */ + $text = $this->dom->createTextNode($token['data']); + $this->dom->appendChild($text); + } + } + + private function rootElementPhase($token) + { + /* After the initial phase, as each token is emitted from the tokenisation + stage, it must be processed as described in this section. */ + + /* A DOCTYPE token */ + if ($token['type'] === HTML5::DOCTYPE) { + // Parse error. Ignore the token. + + /* A comment token */ + } elseif ($token['type'] === HTML5::COMMENT) { + /* Append a Comment node to the Document object with the data + attribute set to the data given in the comment token. */ + $comment = $this->dom->createComment($token['data']); + $this->dom->appendChild($comment); + + /* A character token that is one of one of U+0009 CHARACTER TABULATION, + U+000A LINE FEED (LF), U+000B LINE TABULATION, U+000C FORM FEED (FF), + or U+0020 SPACE */ + } elseif ($token['type'] === HTML5::CHARACTR && + preg_match('/^[\t\n\x0b\x0c ]+$/', $token['data']) + ) { + /* Append that character to the Document node. */ + $text = $this->dom->createTextNode($token['data']); + $this->dom->appendChild($text); + + /* A character token that is not one of U+0009 CHARACTER TABULATION, + U+000A LINE FEED (LF), U+000B LINE TABULATION, U+000C FORM FEED + (FF), or U+0020 SPACE + A start tag token + An end tag token + An end-of-file token */ + } elseif (($token['type'] === HTML5::CHARACTR && + !preg_match('/^[\t\n\x0b\x0c ]+$/', $token['data'])) || + $token['type'] === HTML5::STARTTAG || + $token['type'] === HTML5::ENDTAG || + $token['type'] === HTML5::EOF + ) { + /* Create an HTMLElement node with the tag name html, in the HTML + namespace. Append it to the Document object. Switch to the main + phase and reprocess the current token. */ + $html = $this->dom->createElement('html'); + $this->dom->appendChild($html); + $this->stack[] = $html; + + $this->phase = self::MAIN_PHASE; + return $this->mainPhase($token); + } + } + + private function mainPhase($token) + { + /* Tokens in the main phase must be handled as follows: */ + + /* A DOCTYPE token */ + if ($token['type'] === HTML5::DOCTYPE) { + // Parse error. Ignore the token. + + /* A start tag token with the tag name "html" */ + } elseif ($token['type'] === HTML5::STARTTAG && $token['name'] === 'html') { + /* If this start tag token was not the first start tag token, then + it is a parse error. */ + + /* For each attribute on the token, check to see if the attribute + is already present on the top element of the stack of open elements. + If it is not, add the attribute and its corresponding value to that + element. */ + foreach ($token['attr'] as $attr) { + if (!$this->stack[0]->hasAttribute($attr['name'])) { + $this->stack[0]->setAttribute($attr['name'], $attr['value']); + } + } + + /* An end-of-file token */ + } elseif ($token['type'] === HTML5::EOF) { + /* Generate implied end tags. */ + $this->generateImpliedEndTags(); + + /* Anything else. */ + } else { + /* Depends on the insertion mode: */ + switch ($this->mode) { + case self::BEFOR_HEAD: + return $this->beforeHead($token); + break; + case self::IN_HEAD: + return $this->inHead($token); + break; + case self::AFTER_HEAD: + return $this->afterHead($token); + break; + case self::IN_BODY: + return $this->inBody($token); + break; + case self::IN_TABLE: + return $this->inTable($token); + break; + case self::IN_CAPTION: + return $this->inCaption($token); + break; + case self::IN_CGROUP: + return $this->inColumnGroup($token); + break; + case self::IN_TBODY: + return $this->inTableBody($token); + break; + case self::IN_ROW: + return $this->inRow($token); + break; + case self::IN_CELL: + return $this->inCell($token); + break; + case self::IN_SELECT: + return $this->inSelect($token); + break; + case self::AFTER_BODY: + return $this->afterBody($token); + break; + case self::IN_FRAME: + return $this->inFrameset($token); + break; + case self::AFTR_FRAME: + return $this->afterFrameset($token); + break; + case self::END_PHASE: + return $this->trailingEndPhase($token); + break; + } + } + } + + private function beforeHead($token) + { + /* Handle the token as follows: */ + + /* A character token that is one of one of U+0009 CHARACTER TABULATION, + U+000A LINE FEED (LF), U+000B LINE TABULATION, U+000C FORM FEED (FF), + or U+0020 SPACE */ + if ($token['type'] === HTML5::CHARACTR && + preg_match('/^[\t\n\x0b\x0c ]+$/', $token['data']) + ) { + /* Append the character to the current node. */ + $this->insertText($token['data']); + + /* A comment token */ + } elseif ($token['type'] === HTML5::COMMENT) { + /* Append a Comment node to the current node with the data attribute + set to the data given in the comment token. */ + $this->insertComment($token['data']); + + /* A start tag token with the tag name "head" */ + } elseif ($token['type'] === HTML5::STARTTAG && $token['name'] === 'head') { + /* Create an element for the token, append the new element to the + current node and push it onto the stack of open elements. */ + $element = $this->insertElement($token); + + /* Set the head element pointer to this new element node. */ + $this->head_pointer = $element; + + /* Change the insertion mode to "in head". */ + $this->mode = self::IN_HEAD; + + /* A start tag token whose tag name is one of: "base", "link", "meta", + "script", "style", "title". Or an end tag with the tag name "html". + Or a character token that is not one of U+0009 CHARACTER TABULATION, + U+000A LINE FEED (LF), U+000B LINE TABULATION, U+000C FORM FEED (FF), + or U+0020 SPACE. Or any other start tag token */ + } elseif ($token['type'] === HTML5::STARTTAG || + ($token['type'] === HTML5::ENDTAG && $token['name'] === 'html') || + ($token['type'] === HTML5::CHARACTR && !preg_match( + '/^[\t\n\x0b\x0c ]$/', + $token['data'] + )) + ) { + /* Act as if a start tag token with the tag name "head" and no + attributes had been seen, then reprocess the current token. */ + $this->beforeHead( + array( + 'name' => 'head', + 'type' => HTML5::STARTTAG, + 'attr' => array() + ) + ); + + return $this->inHead($token); + + /* Any other end tag */ + } elseif ($token['type'] === HTML5::ENDTAG) { + /* Parse error. Ignore the token. */ + } + } + + private function inHead($token) + { + /* Handle the token as follows: */ + + /* A character token that is one of one of U+0009 CHARACTER TABULATION, + U+000A LINE FEED (LF), U+000B LINE TABULATION, U+000C FORM FEED (FF), + or U+0020 SPACE. + + THIS DIFFERS FROM THE SPEC: If the current node is either a title, style + or script element, append the character to the current node regardless + of its content. */ + if (($token['type'] === HTML5::CHARACTR && + preg_match('/^[\t\n\x0b\x0c ]+$/', $token['data'])) || ( + $token['type'] === HTML5::CHARACTR && in_array( + end($this->stack)->nodeName, + array('title', 'style', 'script') + )) + ) { + /* Append the character to the current node. */ + $this->insertText($token['data']); + + /* A comment token */ + } elseif ($token['type'] === HTML5::COMMENT) { + /* Append a Comment node to the current node with the data attribute + set to the data given in the comment token. */ + $this->insertComment($token['data']); + + } elseif ($token['type'] === HTML5::ENDTAG && + in_array($token['name'], array('title', 'style', 'script')) + ) { + array_pop($this->stack); + return HTML5::PCDATA; + + /* A start tag with the tag name "title" */ + } elseif ($token['type'] === HTML5::STARTTAG && $token['name'] === 'title') { + /* Create an element for the token and append the new element to the + node pointed to by the head element pointer, or, if that is null + (innerHTML case), to the current node. */ + if ($this->head_pointer !== null) { + $element = $this->insertElement($token, false); + $this->head_pointer->appendChild($element); + + } else { + $element = $this->insertElement($token); + } + + /* Switch the tokeniser's content model flag to the RCDATA state. */ + return HTML5::RCDATA; + + /* A start tag with the tag name "style" */ + } elseif ($token['type'] === HTML5::STARTTAG && $token['name'] === 'style') { + /* Create an element for the token and append the new element to the + node pointed to by the head element pointer, or, if that is null + (innerHTML case), to the current node. */ + if ($this->head_pointer !== null) { + $element = $this->insertElement($token, false); + $this->head_pointer->appendChild($element); + + } else { + $this->insertElement($token); + } + + /* Switch the tokeniser's content model flag to the CDATA state. */ + return HTML5::CDATA; + + /* A start tag with the tag name "script" */ + } elseif ($token['type'] === HTML5::STARTTAG && $token['name'] === 'script') { + /* Create an element for the token. */ + $element = $this->insertElement($token, false); + $this->head_pointer->appendChild($element); + + /* Switch the tokeniser's content model flag to the CDATA state. */ + return HTML5::CDATA; + + /* A start tag with the tag name "base", "link", or "meta" */ + } elseif ($token['type'] === HTML5::STARTTAG && in_array( + $token['name'], + array('base', 'link', 'meta') + ) + ) { + /* Create an element for the token and append the new element to the + node pointed to by the head element pointer, or, if that is null + (innerHTML case), to the current node. */ + if ($this->head_pointer !== null) { + $element = $this->insertElement($token, false); + $this->head_pointer->appendChild($element); + array_pop($this->stack); + + } else { + $this->insertElement($token); + } + + /* An end tag with the tag name "head" */ + } elseif ($token['type'] === HTML5::ENDTAG && $token['name'] === 'head') { + /* If the current node is a head element, pop the current node off + the stack of open elements. */ + if ($this->head_pointer->isSameNode(end($this->stack))) { + array_pop($this->stack); + + /* Otherwise, this is a parse error. */ + } else { + // k + } + + /* Change the insertion mode to "after head". */ + $this->mode = self::AFTER_HEAD; + + /* A start tag with the tag name "head" or an end tag except "html". */ + } elseif (($token['type'] === HTML5::STARTTAG && $token['name'] === 'head') || + ($token['type'] === HTML5::ENDTAG && $token['name'] !== 'html') + ) { + // Parse error. Ignore the token. + + /* Anything else */ + } else { + /* If the current node is a head element, act as if an end tag + token with the tag name "head" had been seen. */ + if ($this->head_pointer->isSameNode(end($this->stack))) { + $this->inHead( + array( + 'name' => 'head', + 'type' => HTML5::ENDTAG + ) + ); + + /* Otherwise, change the insertion mode to "after head". */ + } else { + $this->mode = self::AFTER_HEAD; + } + + /* Then, reprocess the current token. */ + return $this->afterHead($token); + } + } + + private function afterHead($token) + { + /* Handle the token as follows: */ + + /* A character token that is one of one of U+0009 CHARACTER TABULATION, + U+000A LINE FEED (LF), U+000B LINE TABULATION, U+000C FORM FEED (FF), + or U+0020 SPACE */ + if ($token['type'] === HTML5::CHARACTR && + preg_match('/^[\t\n\x0b\x0c ]+$/', $token['data']) + ) { + /* Append the character to the current node. */ + $this->insertText($token['data']); + + /* A comment token */ + } elseif ($token['type'] === HTML5::COMMENT) { + /* Append a Comment node to the current node with the data attribute + set to the data given in the comment token. */ + $this->insertComment($token['data']); + + /* A start tag token with the tag name "body" */ + } elseif ($token['type'] === HTML5::STARTTAG && $token['name'] === 'body') { + /* Insert a body element for the token. */ + $this->insertElement($token); + + /* Change the insertion mode to "in body". */ + $this->mode = self::IN_BODY; + + /* A start tag token with the tag name "frameset" */ + } elseif ($token['type'] === HTML5::STARTTAG && $token['name'] === 'frameset') { + /* Insert a frameset element for the token. */ + $this->insertElement($token); + + /* Change the insertion mode to "in frameset". */ + $this->mode = self::IN_FRAME; + + /* A start tag token whose tag name is one of: "base", "link", "meta", + "script", "style", "title" */ + } elseif ($token['type'] === HTML5::STARTTAG && in_array( + $token['name'], + array('base', 'link', 'meta', 'script', 'style', 'title') + ) + ) { + /* Parse error. Switch the insertion mode back to "in head" and + reprocess the token. */ + $this->mode = self::IN_HEAD; + return $this->inHead($token); + + /* Anything else */ + } else { + /* Act as if a start tag token with the tag name "body" and no + attributes had been seen, and then reprocess the current token. */ + $this->afterHead( + array( + 'name' => 'body', + 'type' => HTML5::STARTTAG, + 'attr' => array() + ) + ); + + return $this->inBody($token); + } + } + + private function inBody($token) + { + /* Handle the token as follows: */ + + switch ($token['type']) { + /* A character token */ + case HTML5::CHARACTR: + /* Reconstruct the active formatting elements, if any. */ + $this->reconstructActiveFormattingElements(); + + /* Append the token's character to the current node. */ + $this->insertText($token['data']); + break; + + /* A comment token */ + case HTML5::COMMENT: + /* Append a Comment node to the current node with the data + attribute set to the data given in the comment token. */ + $this->insertComment($token['data']); + break; + + case HTML5::STARTTAG: + switch ($token['name']) { + /* A start tag token whose tag name is one of: "script", + "style" */ + case 'script': + case 'style': + /* Process the token as if the insertion mode had been "in + head". */ + return $this->inHead($token); + break; + + /* A start tag token whose tag name is one of: "base", "link", + "meta", "title" */ + case 'base': + case 'link': + case 'meta': + case 'title': + /* Parse error. Process the token as if the insertion mode + had been "in head". */ + return $this->inHead($token); + break; + + /* A start tag token with the tag name "body" */ + case 'body': + /* Parse error. If the second element on the stack of open + elements is not a body element, or, if the stack of open + elements has only one node on it, then ignore the token. + (innerHTML case) */ + if (count($this->stack) === 1 || $this->stack[1]->nodeName !== 'body') { + // Ignore + + /* Otherwise, for each attribute on the token, check to see + if the attribute is already present on the body element (the + second element) on the stack of open elements. If it is not, + add the attribute and its corresponding value to that + element. */ + } else { + foreach ($token['attr'] as $attr) { + if (!$this->stack[1]->hasAttribute($attr['name'])) { + $this->stack[1]->setAttribute($attr['name'], $attr['value']); + } + } + } + break; + + /* A start tag whose tag name is one of: "address", + "blockquote", "center", "dir", "div", "dl", "fieldset", + "listing", "menu", "ol", "p", "ul" */ + case 'address': + case 'blockquote': + case 'center': + case 'dir': + case 'div': + case 'dl': + case 'fieldset': + case 'listing': + case 'menu': + case 'ol': + case 'p': + case 'ul': + /* If the stack of open elements has a p element in scope, + then act as if an end tag with the tag name p had been + seen. */ + if ($this->elementInScope('p')) { + $this->emitToken( + array( + 'name' => 'p', + 'type' => HTML5::ENDTAG + ) + ); + } + + /* Insert an HTML element for the token. */ + $this->insertElement($token); + break; + + /* A start tag whose tag name is "form" */ + case 'form': + /* If the form element pointer is not null, ignore the + token with a parse error. */ + if ($this->form_pointer !== null) { + // Ignore. + + /* Otherwise: */ + } else { + /* If the stack of open elements has a p element in + scope, then act as if an end tag with the tag name p + had been seen. */ + if ($this->elementInScope('p')) { + $this->emitToken( + array( + 'name' => 'p', + 'type' => HTML5::ENDTAG + ) + ); + } + + /* Insert an HTML element for the token, and set the + form element pointer to point to the element created. */ + $element = $this->insertElement($token); + $this->form_pointer = $element; + } + break; + + /* A start tag whose tag name is "li", "dd" or "dt" */ + case 'li': + case 'dd': + case 'dt': + /* If the stack of open elements has a p element in scope, + then act as if an end tag with the tag name p had been + seen. */ + if ($this->elementInScope('p')) { + $this->emitToken( + array( + 'name' => 'p', + 'type' => HTML5::ENDTAG + ) + ); + } + + $stack_length = count($this->stack) - 1; + + for ($n = $stack_length; 0 <= $n; $n--) { + /* 1. Initialise node to be the current node (the + bottommost node of the stack). */ + $stop = false; + $node = $this->stack[$n]; + $cat = $this->getElementCategory($node->tagName); + + /* 2. If node is an li, dd or dt element, then pop all + the nodes from the current node up to node, including + node, then stop this algorithm. */ + if ($token['name'] === $node->tagName || ($token['name'] !== 'li' + && ($node->tagName === 'dd' || $node->tagName === 'dt')) + ) { + for ($x = $stack_length; $x >= $n; $x--) { + array_pop($this->stack); + } + + break; + } + + /* 3. If node is not in the formatting category, and is + not in the phrasing category, and is not an address or + div element, then stop this algorithm. */ + if ($cat !== self::FORMATTING && $cat !== self::PHRASING && + $node->tagName !== 'address' && $node->tagName !== 'div' + ) { + break; + } + } + + /* Finally, insert an HTML element with the same tag + name as the token's. */ + $this->insertElement($token); + break; + + /* A start tag token whose tag name is "plaintext" */ + case 'plaintext': + /* If the stack of open elements has a p element in scope, + then act as if an end tag with the tag name p had been + seen. */ + if ($this->elementInScope('p')) { + $this->emitToken( + array( + 'name' => 'p', + 'type' => HTML5::ENDTAG + ) + ); + } + + /* Insert an HTML element for the token. */ + $this->insertElement($token); + + return HTML5::PLAINTEXT; + break; + + /* A start tag whose tag name is one of: "h1", "h2", "h3", "h4", + "h5", "h6" */ + case 'h1': + case 'h2': + case 'h3': + case 'h4': + case 'h5': + case 'h6': + /* If the stack of open elements has a p element in scope, + then act as if an end tag with the tag name p had been seen. */ + if ($this->elementInScope('p')) { + $this->emitToken( + array( + 'name' => 'p', + 'type' => HTML5::ENDTAG + ) + ); + } + + /* If the stack of open elements has in scope an element whose + tag name is one of "h1", "h2", "h3", "h4", "h5", or "h6", then + this is a parse error; pop elements from the stack until an + element with one of those tag names has been popped from the + stack. */ + while ($this->elementInScope(array('h1', 'h2', 'h3', 'h4', 'h5', 'h6'))) { + array_pop($this->stack); + } + + /* Insert an HTML element for the token. */ + $this->insertElement($token); + break; + + /* A start tag whose tag name is "a" */ + case 'a': + /* If the list of active formatting elements contains + an element whose tag name is "a" between the end of the + list and the last marker on the list (or the start of + the list if there is no marker on the list), then this + is a parse error; act as if an end tag with the tag name + "a" had been seen, then remove that element from the list + of active formatting elements and the stack of open + elements if the end tag didn't already remove it (it + might not have if the element is not in table scope). */ + $leng = count($this->a_formatting); + + for ($n = $leng - 1; $n >= 0; $n--) { + if ($this->a_formatting[$n] === self::MARKER) { + break; + + } elseif ($this->a_formatting[$n]->nodeName === 'a') { + $this->emitToken( + array( + 'name' => 'a', + 'type' => HTML5::ENDTAG + ) + ); + break; + } + } + + /* Reconstruct the active formatting elements, if any. */ + $this->reconstructActiveFormattingElements(); + + /* Insert an HTML element for the token. */ + $el = $this->insertElement($token); + + /* Add that element to the list of active formatting + elements. */ + $this->a_formatting[] = $el; + break; + + /* A start tag whose tag name is one of: "b", "big", "em", "font", + "i", "nobr", "s", "small", "strike", "strong", "tt", "u" */ + case 'b': + case 'big': + case 'em': + case 'font': + case 'i': + case 'nobr': + case 's': + case 'small': + case 'strike': + case 'strong': + case 'tt': + case 'u': + /* Reconstruct the active formatting elements, if any. */ + $this->reconstructActiveFormattingElements(); + + /* Insert an HTML element for the token. */ + $el = $this->insertElement($token); + + /* Add that element to the list of active formatting + elements. */ + $this->a_formatting[] = $el; + break; + + /* A start tag token whose tag name is "button" */ + case 'button': + /* If the stack of open elements has a button element in scope, + then this is a parse error; act as if an end tag with the tag + name "button" had been seen, then reprocess the token. (We don't + do that. Unnecessary.) */ + if ($this->elementInScope('button')) { + $this->inBody( + array( + 'name' => 'button', + 'type' => HTML5::ENDTAG + ) + ); + } + + /* Reconstruct the active formatting elements, if any. */ + $this->reconstructActiveFormattingElements(); + + /* Insert an HTML element for the token. */ + $this->insertElement($token); + + /* Insert a marker at the end of the list of active + formatting elements. */ + $this->a_formatting[] = self::MARKER; + break; + + /* A start tag token whose tag name is one of: "marquee", "object" */ + case 'marquee': + case 'object': + /* Reconstruct the active formatting elements, if any. */ + $this->reconstructActiveFormattingElements(); + + /* Insert an HTML element for the token. */ + $this->insertElement($token); + + /* Insert a marker at the end of the list of active + formatting elements. */ + $this->a_formatting[] = self::MARKER; + break; + + /* A start tag token whose tag name is "xmp" */ + case 'xmp': + /* Reconstruct the active formatting elements, if any. */ + $this->reconstructActiveFormattingElements(); + + /* Insert an HTML element for the token. */ + $this->insertElement($token); + + /* Switch the content model flag to the CDATA state. */ + return HTML5::CDATA; + break; + + /* A start tag whose tag name is "table" */ + case 'table': + /* If the stack of open elements has a p element in scope, + then act as if an end tag with the tag name p had been seen. */ + if ($this->elementInScope('p')) { + $this->emitToken( + array( + 'name' => 'p', + 'type' => HTML5::ENDTAG + ) + ); + } + + /* Insert an HTML element for the token. */ + $this->insertElement($token); + + /* Change the insertion mode to "in table". */ + $this->mode = self::IN_TABLE; + break; + + /* A start tag whose tag name is one of: "area", "basefont", + "bgsound", "br", "embed", "img", "param", "spacer", "wbr" */ + case 'area': + case 'basefont': + case 'bgsound': + case 'br': + case 'embed': + case 'img': + case 'param': + case 'spacer': + case 'wbr': + /* Reconstruct the active formatting elements, if any. */ + $this->reconstructActiveFormattingElements(); + + /* Insert an HTML element for the token. */ + $this->insertElement($token); + + /* Immediately pop the current node off the stack of open elements. */ + array_pop($this->stack); + break; + + /* A start tag whose tag name is "hr" */ + case 'hr': + /* If the stack of open elements has a p element in scope, + then act as if an end tag with the tag name p had been seen. */ + if ($this->elementInScope('p')) { + $this->emitToken( + array( + 'name' => 'p', + 'type' => HTML5::ENDTAG + ) + ); + } + + /* Insert an HTML element for the token. */ + $this->insertElement($token); + + /* Immediately pop the current node off the stack of open elements. */ + array_pop($this->stack); + break; + + /* A start tag whose tag name is "image" */ + case 'image': + /* Parse error. Change the token's tag name to "img" and + reprocess it. (Don't ask.) */ + $token['name'] = 'img'; + return $this->inBody($token); + break; + + /* A start tag whose tag name is "input" */ + case 'input': + /* Reconstruct the active formatting elements, if any. */ + $this->reconstructActiveFormattingElements(); + + /* Insert an input element for the token. */ + $element = $this->insertElement($token, false); + + /* If the form element pointer is not null, then associate the + input element with the form element pointed to by the form + element pointer. */ + $this->form_pointer !== null + ? $this->form_pointer->appendChild($element) + : end($this->stack)->appendChild($element); + + /* Pop that input element off the stack of open elements. */ + array_pop($this->stack); + break; + + /* A start tag whose tag name is "isindex" */ + case 'isindex': + /* Parse error. */ + // w/e + + /* If the form element pointer is not null, + then ignore the token. */ + if ($this->form_pointer === null) { + /* Act as if a start tag token with the tag name "form" had + been seen. */ + $this->inBody( + array( + 'name' => 'body', + 'type' => HTML5::STARTTAG, + 'attr' => array() + ) + ); + + /* Act as if a start tag token with the tag name "hr" had + been seen. */ + $this->inBody( + array( + 'name' => 'hr', + 'type' => HTML5::STARTTAG, + 'attr' => array() + ) + ); + + /* Act as if a start tag token with the tag name "p" had + been seen. */ + $this->inBody( + array( + 'name' => 'p', + 'type' => HTML5::STARTTAG, + 'attr' => array() + ) + ); + + /* Act as if a start tag token with the tag name "label" + had been seen. */ + $this->inBody( + array( + 'name' => 'label', + 'type' => HTML5::STARTTAG, + 'attr' => array() + ) + ); + + /* Act as if a stream of character tokens had been seen. */ + $this->insertText( + 'This is a searchable index. ' . + 'Insert your search keywords here: ' + ); + + /* Act as if a start tag token with the tag name "input" + had been seen, with all the attributes from the "isindex" + token, except with the "name" attribute set to the value + "isindex" (ignoring any explicit "name" attribute). */ + $attr = $token['attr']; + $attr[] = array('name' => 'name', 'value' => 'isindex'); + + $this->inBody( + array( + 'name' => 'input', + 'type' => HTML5::STARTTAG, + 'attr' => $attr + ) + ); + + /* Act as if a stream of character tokens had been seen + (see below for what they should say). */ + $this->insertText( + 'This is a searchable index. ' . + 'Insert your search keywords here: ' + ); + + /* Act as if an end tag token with the tag name "label" + had been seen. */ + $this->inBody( + array( + 'name' => 'label', + 'type' => HTML5::ENDTAG + ) + ); + + /* Act as if an end tag token with the tag name "p" had + been seen. */ + $this->inBody( + array( + 'name' => 'p', + 'type' => HTML5::ENDTAG + ) + ); + + /* Act as if a start tag token with the tag name "hr" had + been seen. */ + $this->inBody( + array( + 'name' => 'hr', + 'type' => HTML5::ENDTAG + ) + ); + + /* Act as if an end tag token with the tag name "form" had + been seen. */ + $this->inBody( + array( + 'name' => 'form', + 'type' => HTML5::ENDTAG + ) + ); + } + break; + + /* A start tag whose tag name is "textarea" */ + case 'textarea': + $this->insertElement($token); + + /* Switch the tokeniser's content model flag to the + RCDATA state. */ + return HTML5::RCDATA; + break; + + /* A start tag whose tag name is one of: "iframe", "noembed", + "noframes" */ + case 'iframe': + case 'noembed': + case 'noframes': + $this->insertElement($token); + + /* Switch the tokeniser's content model flag to the CDATA state. */ + return HTML5::CDATA; + break; + + /* A start tag whose tag name is "select" */ + case 'select': + /* Reconstruct the active formatting elements, if any. */ + $this->reconstructActiveFormattingElements(); + + /* Insert an HTML element for the token. */ + $this->insertElement($token); + + /* Change the insertion mode to "in select". */ + $this->mode = self::IN_SELECT; + break; + + /* A start or end tag whose tag name is one of: "caption", "col", + "colgroup", "frame", "frameset", "head", "option", "optgroup", + "tbody", "td", "tfoot", "th", "thead", "tr". */ + case 'caption': + case 'col': + case 'colgroup': + case 'frame': + case 'frameset': + case 'head': + case 'option': + case 'optgroup': + case 'tbody': + case 'td': + case 'tfoot': + case 'th': + case 'thead': + case 'tr': + // Parse error. Ignore the token. + break; + + /* A start or end tag whose tag name is one of: "event-source", + "section", "nav", "article", "aside", "header", "footer", + "datagrid", "command" */ + case 'event-source': + case 'section': + case 'nav': + case 'article': + case 'aside': + case 'header': + case 'footer': + case 'datagrid': + case 'command': + // Work in progress! + break; + + /* A start tag token not covered by the previous entries */ + default: + /* Reconstruct the active formatting elements, if any. */ + $this->reconstructActiveFormattingElements(); + + $this->insertElement($token, true, true); + break; + } + break; + + case HTML5::ENDTAG: + switch ($token['name']) { + /* An end tag with the tag name "body" */ + case 'body': + /* If the second element in the stack of open elements is + not a body element, this is a parse error. Ignore the token. + (innerHTML case) */ + if (count($this->stack) < 2 || $this->stack[1]->nodeName !== 'body') { + // Ignore. + + /* If the current node is not the body element, then this + is a parse error. */ + } elseif (end($this->stack)->nodeName !== 'body') { + // Parse error. + } + + /* Change the insertion mode to "after body". */ + $this->mode = self::AFTER_BODY; + break; + + /* An end tag with the tag name "html" */ + case 'html': + /* Act as if an end tag with tag name "body" had been seen, + then, if that token wasn't ignored, reprocess the current + token. */ + $this->inBody( + array( + 'name' => 'body', + 'type' => HTML5::ENDTAG + ) + ); + + return $this->afterBody($token); + break; + + /* An end tag whose tag name is one of: "address", "blockquote", + "center", "dir", "div", "dl", "fieldset", "listing", "menu", + "ol", "pre", "ul" */ + case 'address': + case 'blockquote': + case 'center': + case 'dir': + case 'div': + case 'dl': + case 'fieldset': + case 'listing': + case 'menu': + case 'ol': + case 'pre': + case 'ul': + /* If the stack of open elements has an element in scope + with the same tag name as that of the token, then generate + implied end tags. */ + if ($this->elementInScope($token['name'])) { + $this->generateImpliedEndTags(); + + /* Now, if the current node is not an element with + the same tag name as that of the token, then this + is a parse error. */ + // w/e + + /* If the stack of open elements has an element in + scope with the same tag name as that of the token, + then pop elements from this stack until an element + with that tag name has been popped from the stack. */ + for ($n = count($this->stack) - 1; $n >= 0; $n--) { + if ($this->stack[$n]->nodeName === $token['name']) { + $n = -1; + } + + array_pop($this->stack); + } + } + break; + + /* An end tag whose tag name is "form" */ + case 'form': + /* If the stack of open elements has an element in scope + with the same tag name as that of the token, then generate + implied end tags. */ + if ($this->elementInScope($token['name'])) { + $this->generateImpliedEndTags(); + + } + + if (end($this->stack)->nodeName !== $token['name']) { + /* Now, if the current node is not an element with the + same tag name as that of the token, then this is a parse + error. */ + // w/e + + } else { + /* Otherwise, if the current node is an element with + the same tag name as that of the token pop that element + from the stack. */ + array_pop($this->stack); + } + + /* In any case, set the form element pointer to null. */ + $this->form_pointer = null; + break; + + /* An end tag whose tag name is "p" */ + case 'p': + /* If the stack of open elements has a p element in scope, + then generate implied end tags, except for p elements. */ + if ($this->elementInScope('p')) { + $this->generateImpliedEndTags(array('p')); + + /* If the current node is not a p element, then this is + a parse error. */ + // k + + /* If the stack of open elements has a p element in + scope, then pop elements from this stack until the stack + no longer has a p element in scope. */ + for ($n = count($this->stack) - 1; $n >= 0; $n--) { + if ($this->elementInScope('p')) { + array_pop($this->stack); + + } else { + break; + } + } + } + break; + + /* An end tag whose tag name is "dd", "dt", or "li" */ + case 'dd': + case 'dt': + case 'li': + /* If the stack of open elements has an element in scope + whose tag name matches the tag name of the token, then + generate implied end tags, except for elements with the + same tag name as the token. */ + if ($this->elementInScope($token['name'])) { + $this->generateImpliedEndTags(array($token['name'])); + + /* If the current node is not an element with the same + tag name as the token, then this is a parse error. */ + // w/e + + /* If the stack of open elements has an element in scope + whose tag name matches the tag name of the token, then + pop elements from this stack until an element with that + tag name has been popped from the stack. */ + for ($n = count($this->stack) - 1; $n >= 0; $n--) { + if ($this->stack[$n]->nodeName === $token['name']) { + $n = -1; + } + + array_pop($this->stack); + } + } + break; + + /* An end tag whose tag name is one of: "h1", "h2", "h3", "h4", + "h5", "h6" */ + case 'h1': + case 'h2': + case 'h3': + case 'h4': + case 'h5': + case 'h6': + $elements = array('h1', 'h2', 'h3', 'h4', 'h5', 'h6'); + + /* If the stack of open elements has in scope an element whose + tag name is one of "h1", "h2", "h3", "h4", "h5", or "h6", then + generate implied end tags. */ + if ($this->elementInScope($elements)) { + $this->generateImpliedEndTags(); + + /* Now, if the current node is not an element with the same + tag name as that of the token, then this is a parse error. */ + // w/e + + /* If the stack of open elements has in scope an element + whose tag name is one of "h1", "h2", "h3", "h4", "h5", or + "h6", then pop elements from the stack until an element + with one of those tag names has been popped from the stack. */ + while ($this->elementInScope($elements)) { + array_pop($this->stack); + } + } + break; + + /* An end tag whose tag name is one of: "a", "b", "big", "em", + "font", "i", "nobr", "s", "small", "strike", "strong", "tt", "u" */ + case 'a': + case 'b': + case 'big': + case 'em': + case 'font': + case 'i': + case 'nobr': + case 's': + case 'small': + case 'strike': + case 'strong': + case 'tt': + case 'u': + /* 1. Let the formatting element be the last element in + the list of active formatting elements that: + * is between the end of the list and the last scope + marker in the list, if any, or the start of the list + otherwise, and + * has the same tag name as the token. + */ + while (true) { + for ($a = count($this->a_formatting) - 1; $a >= 0; $a--) { + if ($this->a_formatting[$a] === self::MARKER) { + break; + + } elseif ($this->a_formatting[$a]->tagName === $token['name']) { + $formatting_element = $this->a_formatting[$a]; + $in_stack = in_array($formatting_element, $this->stack, true); + $fe_af_pos = $a; + break; + } + } + + /* If there is no such node, or, if that node is + also in the stack of open elements but the element + is not in scope, then this is a parse error. Abort + these steps. The token is ignored. */ + if (!isset($formatting_element) || ($in_stack && + !$this->elementInScope($token['name'])) + ) { + break; + + /* Otherwise, if there is such a node, but that node + is not in the stack of open elements, then this is a + parse error; remove the element from the list, and + abort these steps. */ + } elseif (isset($formatting_element) && !$in_stack) { + unset($this->a_formatting[$fe_af_pos]); + $this->a_formatting = array_merge($this->a_formatting); + break; + } + + /* 2. Let the furthest block be the topmost node in the + stack of open elements that is lower in the stack + than the formatting element, and is not an element in + the phrasing or formatting categories. There might + not be one. */ + $fe_s_pos = array_search($formatting_element, $this->stack, true); + $length = count($this->stack); + + for ($s = $fe_s_pos + 1; $s < $length; $s++) { + $category = $this->getElementCategory($this->stack[$s]->nodeName); + + if ($category !== self::PHRASING && $category !== self::FORMATTING) { + $furthest_block = $this->stack[$s]; + } + } + + /* 3. If there is no furthest block, then the UA must + skip the subsequent steps and instead just pop all + the nodes from the bottom of the stack of open + elements, from the current node up to the formatting + element, and remove the formatting element from the + list of active formatting elements. */ + if (!isset($furthest_block)) { + for ($n = $length - 1; $n >= $fe_s_pos; $n--) { + array_pop($this->stack); + } + + unset($this->a_formatting[$fe_af_pos]); + $this->a_formatting = array_merge($this->a_formatting); + break; + } + + /* 4. Let the common ancestor be the element + immediately above the formatting element in the stack + of open elements. */ + $common_ancestor = $this->stack[$fe_s_pos - 1]; + + /* 5. If the furthest block has a parent node, then + remove the furthest block from its parent node. */ + if ($furthest_block->parentNode !== null) { + $furthest_block->parentNode->removeChild($furthest_block); + } + + /* 6. Let a bookmark note the position of the + formatting element in the list of active formatting + elements relative to the elements on either side + of it in the list. */ + $bookmark = $fe_af_pos; + + /* 7. Let node and last node be the furthest block. + Follow these steps: */ + $node = $furthest_block; + $last_node = $furthest_block; + + while (true) { + for ($n = array_search($node, $this->stack, true) - 1; $n >= 0; $n--) { + /* 7.1 Let node be the element immediately + prior to node in the stack of open elements. */ + $node = $this->stack[$n]; + + /* 7.2 If node is not in the list of active + formatting elements, then remove node from + the stack of open elements and then go back + to step 1. */ + if (!in_array($node, $this->a_formatting, true)) { + unset($this->stack[$n]); + $this->stack = array_merge($this->stack); + + } else { + break; + } + } + + /* 7.3 Otherwise, if node is the formatting + element, then go to the next step in the overall + algorithm. */ + if ($node === $formatting_element) { + break; + + /* 7.4 Otherwise, if last node is the furthest + block, then move the aforementioned bookmark to + be immediately after the node in the list of + active formatting elements. */ + } elseif ($last_node === $furthest_block) { + $bookmark = array_search($node, $this->a_formatting, true) + 1; + } + + /* 7.5 If node has any children, perform a + shallow clone of node, replace the entry for + node in the list of active formatting elements + with an entry for the clone, replace the entry + for node in the stack of open elements with an + entry for the clone, and let node be the clone. */ + if ($node->hasChildNodes()) { + $clone = $node->cloneNode(); + $s_pos = array_search($node, $this->stack, true); + $a_pos = array_search($node, $this->a_formatting, true); + + $this->stack[$s_pos] = $clone; + $this->a_formatting[$a_pos] = $clone; + $node = $clone; + } + + /* 7.6 Insert last node into node, first removing + it from its previous parent node if any. */ + if ($last_node->parentNode !== null) { + $last_node->parentNode->removeChild($last_node); + } + + $node->appendChild($last_node); + + /* 7.7 Let last node be node. */ + $last_node = $node; + } + + /* 8. Insert whatever last node ended up being in + the previous step into the common ancestor node, + first removing it from its previous parent node if + any. */ + if ($last_node->parentNode !== null) { + $last_node->parentNode->removeChild($last_node); + } + + $common_ancestor->appendChild($last_node); + + /* 9. Perform a shallow clone of the formatting + element. */ + $clone = $formatting_element->cloneNode(); + + /* 10. Take all of the child nodes of the furthest + block and append them to the clone created in the + last step. */ + while ($furthest_block->hasChildNodes()) { + $child = $furthest_block->firstChild; + $furthest_block->removeChild($child); + $clone->appendChild($child); + } + + /* 11. Append that clone to the furthest block. */ + $furthest_block->appendChild($clone); + + /* 12. Remove the formatting element from the list + of active formatting elements, and insert the clone + into the list of active formatting elements at the + position of the aforementioned bookmark. */ + $fe_af_pos = array_search($formatting_element, $this->a_formatting, true); + unset($this->a_formatting[$fe_af_pos]); + $this->a_formatting = array_merge($this->a_formatting); + + $af_part1 = array_slice($this->a_formatting, 0, $bookmark - 1); + $af_part2 = array_slice($this->a_formatting, $bookmark, count($this->a_formatting)); + $this->a_formatting = array_merge($af_part1, array($clone), $af_part2); + + /* 13. Remove the formatting element from the stack + of open elements, and insert the clone into the stack + of open elements immediately after (i.e. in a more + deeply nested position than) the position of the + furthest block in that stack. */ + $fe_s_pos = array_search($formatting_element, $this->stack, true); + $fb_s_pos = array_search($furthest_block, $this->stack, true); + unset($this->stack[$fe_s_pos]); + + $s_part1 = array_slice($this->stack, 0, $fb_s_pos); + $s_part2 = array_slice($this->stack, $fb_s_pos + 1, count($this->stack)); + $this->stack = array_merge($s_part1, array($clone), $s_part2); + + /* 14. Jump back to step 1 in this series of steps. */ + unset($formatting_element, $fe_af_pos, $fe_s_pos, $furthest_block); + } + break; + + /* An end tag token whose tag name is one of: "button", + "marquee", "object" */ + case 'button': + case 'marquee': + case 'object': + /* If the stack of open elements has an element in scope whose + tag name matches the tag name of the token, then generate implied + tags. */ + if ($this->elementInScope($token['name'])) { + $this->generateImpliedEndTags(); + + /* Now, if the current node is not an element with the same + tag name as the token, then this is a parse error. */ + // k + + /* Now, if the stack of open elements has an element in scope + whose tag name matches the tag name of the token, then pop + elements from the stack until that element has been popped from + the stack, and clear the list of active formatting elements up + to the last marker. */ + for ($n = count($this->stack) - 1; $n >= 0; $n--) { + if ($this->stack[$n]->nodeName === $token['name']) { + $n = -1; + } + + array_pop($this->stack); + } + + $marker = end(array_keys($this->a_formatting, self::MARKER, true)); + + for ($n = count($this->a_formatting) - 1; $n > $marker; $n--) { + array_pop($this->a_formatting); + } + } + break; + + /* Or an end tag whose tag name is one of: "area", "basefont", + "bgsound", "br", "embed", "hr", "iframe", "image", "img", + "input", "isindex", "noembed", "noframes", "param", "select", + "spacer", "table", "textarea", "wbr" */ + case 'area': + case 'basefont': + case 'bgsound': + case 'br': + case 'embed': + case 'hr': + case 'iframe': + case 'image': + case 'img': + case 'input': + case 'isindex': + case 'noembed': + case 'noframes': + case 'param': + case 'select': + case 'spacer': + case 'table': + case 'textarea': + case 'wbr': + // Parse error. Ignore the token. + break; + + /* An end tag token not covered by the previous entries */ + default: + for ($n = count($this->stack) - 1; $n >= 0; $n--) { + /* Initialise node to be the current node (the bottommost + node of the stack). */ + $node = end($this->stack); + + /* If node has the same tag name as the end tag token, + then: */ + if ($token['name'] === $node->nodeName) { + /* Generate implied end tags. */ + $this->generateImpliedEndTags(); + + /* If the tag name of the end tag token does not + match the tag name of the current node, this is a + parse error. */ + // k + + /* Pop all the nodes from the current node up to + node, including node, then stop this algorithm. */ + for ($x = count($this->stack) - $n; $x >= $n; $x--) { + array_pop($this->stack); + } + + } else { + $category = $this->getElementCategory($node); + + if ($category !== self::SPECIAL && $category !== self::SCOPING) { + /* Otherwise, if node is in neither the formatting + category nor the phrasing category, then this is a + parse error. Stop this algorithm. The end tag token + is ignored. */ + return false; + } + } + } + break; + } + break; + } + } + + private function inTable($token) + { + $clear = array('html', 'table'); + + /* A character token that is one of one of U+0009 CHARACTER TABULATION, + U+000A LINE FEED (LF), U+000B LINE TABULATION, U+000C FORM FEED (FF), + or U+0020 SPACE */ + if ($token['type'] === HTML5::CHARACTR && + preg_match('/^[\t\n\x0b\x0c ]+$/', $token['data']) + ) { + /* Append the character to the current node. */ + $text = $this->dom->createTextNode($token['data']); + end($this->stack)->appendChild($text); + + /* A comment token */ + } elseif ($token['type'] === HTML5::COMMENT) { + /* Append a Comment node to the current node with the data + attribute set to the data given in the comment token. */ + $comment = $this->dom->createComment($token['data']); + end($this->stack)->appendChild($comment); + + /* A start tag whose tag name is "caption" */ + } elseif ($token['type'] === HTML5::STARTTAG && + $token['name'] === 'caption' + ) { + /* Clear the stack back to a table context. */ + $this->clearStackToTableContext($clear); + + /* Insert a marker at the end of the list of active + formatting elements. */ + $this->a_formatting[] = self::MARKER; + + /* Insert an HTML element for the token, then switch the + insertion mode to "in caption". */ + $this->insertElement($token); + $this->mode = self::IN_CAPTION; + + /* A start tag whose tag name is "colgroup" */ + } elseif ($token['type'] === HTML5::STARTTAG && + $token['name'] === 'colgroup' + ) { + /* Clear the stack back to a table context. */ + $this->clearStackToTableContext($clear); + + /* Insert an HTML element for the token, then switch the + insertion mode to "in column group". */ + $this->insertElement($token); + $this->mode = self::IN_CGROUP; + + /* A start tag whose tag name is "col" */ + } elseif ($token['type'] === HTML5::STARTTAG && + $token['name'] === 'col' + ) { + $this->inTable( + array( + 'name' => 'colgroup', + 'type' => HTML5::STARTTAG, + 'attr' => array() + ) + ); + + $this->inColumnGroup($token); + + /* A start tag whose tag name is one of: "tbody", "tfoot", "thead" */ + } elseif ($token['type'] === HTML5::STARTTAG && in_array( + $token['name'], + array('tbody', 'tfoot', 'thead') + ) + ) { + /* Clear the stack back to a table context. */ + $this->clearStackToTableContext($clear); + + /* Insert an HTML element for the token, then switch the insertion + mode to "in table body". */ + $this->insertElement($token); + $this->mode = self::IN_TBODY; + + /* A start tag whose tag name is one of: "td", "th", "tr" */ + } elseif ($token['type'] === HTML5::STARTTAG && + in_array($token['name'], array('td', 'th', 'tr')) + ) { + /* Act as if a start tag token with the tag name "tbody" had been + seen, then reprocess the current token. */ + $this->inTable( + array( + 'name' => 'tbody', + 'type' => HTML5::STARTTAG, + 'attr' => array() + ) + ); + + return $this->inTableBody($token); + + /* A start tag whose tag name is "table" */ + } elseif ($token['type'] === HTML5::STARTTAG && + $token['name'] === 'table' + ) { + /* Parse error. Act as if an end tag token with the tag name "table" + had been seen, then, if that token wasn't ignored, reprocess the + current token. */ + $this->inTable( + array( + 'name' => 'table', + 'type' => HTML5::ENDTAG + ) + ); + + return $this->mainPhase($token); + + /* An end tag whose tag name is "table" */ + } elseif ($token['type'] === HTML5::ENDTAG && + $token['name'] === 'table' + ) { + /* If the stack of open elements does not have an element in table + scope with the same tag name as the token, this is a parse error. + Ignore the token. (innerHTML case) */ + if (!$this->elementInScope($token['name'], true)) { + return false; + + /* Otherwise: */ + } else { + /* Generate implied end tags. */ + $this->generateImpliedEndTags(); + + /* Now, if the current node is not a table element, then this + is a parse error. */ + // w/e + + /* Pop elements from this stack until a table element has been + popped from the stack. */ + while (true) { + $current = end($this->stack)->nodeName; + array_pop($this->stack); + + if ($current === 'table') { + break; + } + } + + /* Reset the insertion mode appropriately. */ + $this->resetInsertionMode(); + } + + /* An end tag whose tag name is one of: "body", "caption", "col", + "colgroup", "html", "tbody", "td", "tfoot", "th", "thead", "tr" */ + } elseif ($token['type'] === HTML5::ENDTAG && in_array( + $token['name'], + array( + 'body', + 'caption', + 'col', + 'colgroup', + 'html', + 'tbody', + 'td', + 'tfoot', + 'th', + 'thead', + 'tr' + ) + ) + ) { + // Parse error. Ignore the token. + + /* Anything else */ + } else { + /* Parse error. Process the token as if the insertion mode was "in + body", with the following exception: */ + + /* If the current node is a table, tbody, tfoot, thead, or tr + element, then, whenever a node would be inserted into the current + node, it must instead be inserted into the foster parent element. */ + if (in_array( + end($this->stack)->nodeName, + array('table', 'tbody', 'tfoot', 'thead', 'tr') + ) + ) { + /* The foster parent element is the parent element of the last + table element in the stack of open elements, if there is a + table element and it has such a parent element. If there is no + table element in the stack of open elements (innerHTML case), + then the foster parent element is the first element in the + stack of open elements (the html element). Otherwise, if there + is a table element in the stack of open elements, but the last + table element in the stack of open elements has no parent, or + its parent node is not an element, then the foster parent + element is the element before the last table element in the + stack of open elements. */ + for ($n = count($this->stack) - 1; $n >= 0; $n--) { + if ($this->stack[$n]->nodeName === 'table') { + $table = $this->stack[$n]; + break; + } + } + + if (isset($table) && $table->parentNode !== null) { + $this->foster_parent = $table->parentNode; + + } elseif (!isset($table)) { + $this->foster_parent = $this->stack[0]; + + } elseif (isset($table) && ($table->parentNode === null || + $table->parentNode->nodeType !== XML_ELEMENT_NODE) + ) { + $this->foster_parent = $this->stack[$n - 1]; + } + } + + $this->inBody($token); + } + } + + private function inCaption($token) + { + /* An end tag whose tag name is "caption" */ + if ($token['type'] === HTML5::ENDTAG && $token['name'] === 'caption') { + /* If the stack of open elements does not have an element in table + scope with the same tag name as the token, this is a parse error. + Ignore the token. (innerHTML case) */ + if (!$this->elementInScope($token['name'], true)) { + // Ignore + + /* Otherwise: */ + } else { + /* Generate implied end tags. */ + $this->generateImpliedEndTags(); + + /* Now, if the current node is not a caption element, then this + is a parse error. */ + // w/e + + /* Pop elements from this stack until a caption element has + been popped from the stack. */ + while (true) { + $node = end($this->stack)->nodeName; + array_pop($this->stack); + + if ($node === 'caption') { + break; + } + } + + /* Clear the list of active formatting elements up to the last + marker. */ + $this->clearTheActiveFormattingElementsUpToTheLastMarker(); + + /* Switch the insertion mode to "in table". */ + $this->mode = self::IN_TABLE; + } + + /* A start tag whose tag name is one of: "caption", "col", "colgroup", + "tbody", "td", "tfoot", "th", "thead", "tr", or an end tag whose tag + name is "table" */ + } elseif (($token['type'] === HTML5::STARTTAG && in_array( + $token['name'], + array( + 'caption', + 'col', + 'colgroup', + 'tbody', + 'td', + 'tfoot', + 'th', + 'thead', + 'tr' + ) + )) || ($token['type'] === HTML5::ENDTAG && + $token['name'] === 'table') + ) { + /* Parse error. Act as if an end tag with the tag name "caption" + had been seen, then, if that token wasn't ignored, reprocess the + current token. */ + $this->inCaption( + array( + 'name' => 'caption', + 'type' => HTML5::ENDTAG + ) + ); + + return $this->inTable($token); + + /* An end tag whose tag name is one of: "body", "col", "colgroup", + "html", "tbody", "td", "tfoot", "th", "thead", "tr" */ + } elseif ($token['type'] === HTML5::ENDTAG && in_array( + $token['name'], + array( + 'body', + 'col', + 'colgroup', + 'html', + 'tbody', + 'tfoot', + 'th', + 'thead', + 'tr' + ) + ) + ) { + // Parse error. Ignore the token. + + /* Anything else */ + } else { + /* Process the token as if the insertion mode was "in body". */ + $this->inBody($token); + } + } + + private function inColumnGroup($token) + { + /* A character token that is one of one of U+0009 CHARACTER TABULATION, + U+000A LINE FEED (LF), U+000B LINE TABULATION, U+000C FORM FEED (FF), + or U+0020 SPACE */ + if ($token['type'] === HTML5::CHARACTR && + preg_match('/^[\t\n\x0b\x0c ]+$/', $token['data']) + ) { + /* Append the character to the current node. */ + $text = $this->dom->createTextNode($token['data']); + end($this->stack)->appendChild($text); + + /* A comment token */ + } elseif ($token['type'] === HTML5::COMMENT) { + /* Append a Comment node to the current node with the data + attribute set to the data given in the comment token. */ + $comment = $this->dom->createComment($token['data']); + end($this->stack)->appendChild($comment); + + /* A start tag whose tag name is "col" */ + } elseif ($token['type'] === HTML5::STARTTAG && $token['name'] === 'col') { + /* Insert a col element for the token. Immediately pop the current + node off the stack of open elements. */ + $this->insertElement($token); + array_pop($this->stack); + + /* An end tag whose tag name is "colgroup" */ + } elseif ($token['type'] === HTML5::ENDTAG && + $token['name'] === 'colgroup' + ) { + /* If the current node is the root html element, then this is a + parse error, ignore the token. (innerHTML case) */ + if (end($this->stack)->nodeName === 'html') { + // Ignore + + /* Otherwise, pop the current node (which will be a colgroup + element) from the stack of open elements. Switch the insertion + mode to "in table". */ + } else { + array_pop($this->stack); + $this->mode = self::IN_TABLE; + } + + /* An end tag whose tag name is "col" */ + } elseif ($token['type'] === HTML5::ENDTAG && $token['name'] === 'col') { + /* Parse error. Ignore the token. */ + + /* Anything else */ + } else { + /* Act as if an end tag with the tag name "colgroup" had been seen, + and then, if that token wasn't ignored, reprocess the current token. */ + $this->inColumnGroup( + array( + 'name' => 'colgroup', + 'type' => HTML5::ENDTAG + ) + ); + + return $this->inTable($token); + } + } + + private function inTableBody($token) + { + $clear = array('tbody', 'tfoot', 'thead', 'html'); + + /* A start tag whose tag name is "tr" */ + if ($token['type'] === HTML5::STARTTAG && $token['name'] === 'tr') { + /* Clear the stack back to a table body context. */ + $this->clearStackToTableContext($clear); + + /* Insert a tr element for the token, then switch the insertion + mode to "in row". */ + $this->insertElement($token); + $this->mode = self::IN_ROW; + + /* A start tag whose tag name is one of: "th", "td" */ + } elseif ($token['type'] === HTML5::STARTTAG && + ($token['name'] === 'th' || $token['name'] === 'td') + ) { + /* Parse error. Act as if a start tag with the tag name "tr" had + been seen, then reprocess the current token. */ + $this->inTableBody( + array( + 'name' => 'tr', + 'type' => HTML5::STARTTAG, + 'attr' => array() + ) + ); + + return $this->inRow($token); + + /* An end tag whose tag name is one of: "tbody", "tfoot", "thead" */ + } elseif ($token['type'] === HTML5::ENDTAG && + in_array($token['name'], array('tbody', 'tfoot', 'thead')) + ) { + /* If the stack of open elements does not have an element in table + scope with the same tag name as the token, this is a parse error. + Ignore the token. */ + if (!$this->elementInScope($token['name'], true)) { + // Ignore + + /* Otherwise: */ + } else { + /* Clear the stack back to a table body context. */ + $this->clearStackToTableContext($clear); + + /* Pop the current node from the stack of open elements. Switch + the insertion mode to "in table". */ + array_pop($this->stack); + $this->mode = self::IN_TABLE; + } + + /* A start tag whose tag name is one of: "caption", "col", "colgroup", + "tbody", "tfoot", "thead", or an end tag whose tag name is "table" */ + } elseif (($token['type'] === HTML5::STARTTAG && in_array( + $token['name'], + array('caption', 'col', 'colgroup', 'tbody', 'tfoor', 'thead') + )) || + ($token['type'] === HTML5::STARTTAG && $token['name'] === 'table') + ) { + /* If the stack of open elements does not have a tbody, thead, or + tfoot element in table scope, this is a parse error. Ignore the + token. (innerHTML case) */ + if (!$this->elementInScope(array('tbody', 'thead', 'tfoot'), true)) { + // Ignore. + + /* Otherwise: */ + } else { + /* Clear the stack back to a table body context. */ + $this->clearStackToTableContext($clear); + + /* Act as if an end tag with the same tag name as the current + node ("tbody", "tfoot", or "thead") had been seen, then + reprocess the current token. */ + $this->inTableBody( + array( + 'name' => end($this->stack)->nodeName, + 'type' => HTML5::ENDTAG + ) + ); + + return $this->mainPhase($token); + } + + /* An end tag whose tag name is one of: "body", "caption", "col", + "colgroup", "html", "td", "th", "tr" */ + } elseif ($token['type'] === HTML5::ENDTAG && in_array( + $token['name'], + array('body', 'caption', 'col', 'colgroup', 'html', 'td', 'th', 'tr') + ) + ) { + /* Parse error. Ignore the token. */ + + /* Anything else */ + } else { + /* Process the token as if the insertion mode was "in table". */ + $this->inTable($token); + } + } + + private function inRow($token) + { + $clear = array('tr', 'html'); + + /* A start tag whose tag name is one of: "th", "td" */ + if ($token['type'] === HTML5::STARTTAG && + ($token['name'] === 'th' || $token['name'] === 'td') + ) { + /* Clear the stack back to a table row context. */ + $this->clearStackToTableContext($clear); + + /* Insert an HTML element for the token, then switch the insertion + mode to "in cell". */ + $this->insertElement($token); + $this->mode = self::IN_CELL; + + /* Insert a marker at the end of the list of active formatting + elements. */ + $this->a_formatting[] = self::MARKER; + + /* An end tag whose tag name is "tr" */ + } elseif ($token['type'] === HTML5::ENDTAG && $token['name'] === 'tr') { + /* If the stack of open elements does not have an element in table + scope with the same tag name as the token, this is a parse error. + Ignore the token. (innerHTML case) */ + if (!$this->elementInScope($token['name'], true)) { + // Ignore. + + /* Otherwise: */ + } else { + /* Clear the stack back to a table row context. */ + $this->clearStackToTableContext($clear); + + /* Pop the current node (which will be a tr element) from the + stack of open elements. Switch the insertion mode to "in table + body". */ + array_pop($this->stack); + $this->mode = self::IN_TBODY; + } + + /* A start tag whose tag name is one of: "caption", "col", "colgroup", + "tbody", "tfoot", "thead", "tr" or an end tag whose tag name is "table" */ + } elseif ($token['type'] === HTML5::STARTTAG && in_array( + $token['name'], + array('caption', 'col', 'colgroup', 'tbody', 'tfoot', 'thead', 'tr') + ) + ) { + /* Act as if an end tag with the tag name "tr" had been seen, then, + if that token wasn't ignored, reprocess the current token. */ + $this->inRow( + array( + 'name' => 'tr', + 'type' => HTML5::ENDTAG + ) + ); + + return $this->inCell($token); + + /* An end tag whose tag name is one of: "tbody", "tfoot", "thead" */ + } elseif ($token['type'] === HTML5::ENDTAG && + in_array($token['name'], array('tbody', 'tfoot', 'thead')) + ) { + /* If the stack of open elements does not have an element in table + scope with the same tag name as the token, this is a parse error. + Ignore the token. */ + if (!$this->elementInScope($token['name'], true)) { + // Ignore. + + /* Otherwise: */ + } else { + /* Otherwise, act as if an end tag with the tag name "tr" had + been seen, then reprocess the current token. */ + $this->inRow( + array( + 'name' => 'tr', + 'type' => HTML5::ENDTAG + ) + ); + + return $this->inCell($token); + } + + /* An end tag whose tag name is one of: "body", "caption", "col", + "colgroup", "html", "td", "th" */ + } elseif ($token['type'] === HTML5::ENDTAG && in_array( + $token['name'], + array('body', 'caption', 'col', 'colgroup', 'html', 'td', 'th', 'tr') + ) + ) { + /* Parse error. Ignore the token. */ + + /* Anything else */ + } else { + /* Process the token as if the insertion mode was "in table". */ + $this->inTable($token); + } + } + + private function inCell($token) + { + /* An end tag whose tag name is one of: "td", "th" */ + if ($token['type'] === HTML5::ENDTAG && + ($token['name'] === 'td' || $token['name'] === 'th') + ) { + /* If the stack of open elements does not have an element in table + scope with the same tag name as that of the token, then this is a + parse error and the token must be ignored. */ + if (!$this->elementInScope($token['name'], true)) { + // Ignore. + + /* Otherwise: */ + } else { + /* Generate implied end tags, except for elements with the same + tag name as the token. */ + $this->generateImpliedEndTags(array($token['name'])); + + /* Now, if the current node is not an element with the same tag + name as the token, then this is a parse error. */ + // k + + /* Pop elements from this stack until an element with the same + tag name as the token has been popped from the stack. */ + while (true) { + $node = end($this->stack)->nodeName; + array_pop($this->stack); + + if ($node === $token['name']) { + break; + } + } + + /* Clear the list of active formatting elements up to the last + marker. */ + $this->clearTheActiveFormattingElementsUpToTheLastMarker(); + + /* Switch the insertion mode to "in row". (The current node + will be a tr element at this point.) */ + $this->mode = self::IN_ROW; + } + + /* A start tag whose tag name is one of: "caption", "col", "colgroup", + "tbody", "td", "tfoot", "th", "thead", "tr" */ + } elseif ($token['type'] === HTML5::STARTTAG && in_array( + $token['name'], + array( + 'caption', + 'col', + 'colgroup', + 'tbody', + 'td', + 'tfoot', + 'th', + 'thead', + 'tr' + ) + ) + ) { + /* If the stack of open elements does not have a td or th element + in table scope, then this is a parse error; ignore the token. + (innerHTML case) */ + if (!$this->elementInScope(array('td', 'th'), true)) { + // Ignore. + + /* Otherwise, close the cell (see below) and reprocess the current + token. */ + } else { + $this->closeCell(); + return $this->inRow($token); + } + + /* A start tag whose tag name is one of: "caption", "col", "colgroup", + "tbody", "td", "tfoot", "th", "thead", "tr" */ + } elseif ($token['type'] === HTML5::STARTTAG && in_array( + $token['name'], + array( + 'caption', + 'col', + 'colgroup', + 'tbody', + 'td', + 'tfoot', + 'th', + 'thead', + 'tr' + ) + ) + ) { + /* If the stack of open elements does not have a td or th element + in table scope, then this is a parse error; ignore the token. + (innerHTML case) */ + if (!$this->elementInScope(array('td', 'th'), true)) { + // Ignore. + + /* Otherwise, close the cell (see below) and reprocess the current + token. */ + } else { + $this->closeCell(); + return $this->inRow($token); + } + + /* An end tag whose tag name is one of: "body", "caption", "col", + "colgroup", "html" */ + } elseif ($token['type'] === HTML5::ENDTAG && in_array( + $token['name'], + array('body', 'caption', 'col', 'colgroup', 'html') + ) + ) { + /* Parse error. Ignore the token. */ + + /* An end tag whose tag name is one of: "table", "tbody", "tfoot", + "thead", "tr" */ + } elseif ($token['type'] === HTML5::ENDTAG && in_array( + $token['name'], + array('table', 'tbody', 'tfoot', 'thead', 'tr') + ) + ) { + /* If the stack of open elements does not have an element in table + scope with the same tag name as that of the token (which can only + happen for "tbody", "tfoot" and "thead", or, in the innerHTML case), + then this is a parse error and the token must be ignored. */ + if (!$this->elementInScope($token['name'], true)) { + // Ignore. + + /* Otherwise, close the cell (see below) and reprocess the current + token. */ + } else { + $this->closeCell(); + return $this->inRow($token); + } + + /* Anything else */ + } else { + /* Process the token as if the insertion mode was "in body". */ + $this->inBody($token); + } + } + + private function inSelect($token) + { + /* Handle the token as follows: */ + + /* A character token */ + if ($token['type'] === HTML5::CHARACTR) { + /* Append the token's character to the current node. */ + $this->insertText($token['data']); + + /* A comment token */ + } elseif ($token['type'] === HTML5::COMMENT) { + /* Append a Comment node to the current node with the data + attribute set to the data given in the comment token. */ + $this->insertComment($token['data']); + + /* A start tag token whose tag name is "option" */ + } elseif ($token['type'] === HTML5::STARTTAG && + $token['name'] === 'option' + ) { + /* If the current node is an option element, act as if an end tag + with the tag name "option" had been seen. */ + if (end($this->stack)->nodeName === 'option') { + $this->inSelect( + array( + 'name' => 'option', + 'type' => HTML5::ENDTAG + ) + ); + } + + /* Insert an HTML element for the token. */ + $this->insertElement($token); + + /* A start tag token whose tag name is "optgroup" */ + } elseif ($token['type'] === HTML5::STARTTAG && + $token['name'] === 'optgroup' + ) { + /* If the current node is an option element, act as if an end tag + with the tag name "option" had been seen. */ + if (end($this->stack)->nodeName === 'option') { + $this->inSelect( + array( + 'name' => 'option', + 'type' => HTML5::ENDTAG + ) + ); + } + + /* If the current node is an optgroup element, act as if an end tag + with the tag name "optgroup" had been seen. */ + if (end($this->stack)->nodeName === 'optgroup') { + $this->inSelect( + array( + 'name' => 'optgroup', + 'type' => HTML5::ENDTAG + ) + ); + } + + /* Insert an HTML element for the token. */ + $this->insertElement($token); + + /* An end tag token whose tag name is "optgroup" */ + } elseif ($token['type'] === HTML5::ENDTAG && + $token['name'] === 'optgroup' + ) { + /* First, if the current node is an option element, and the node + immediately before it in the stack of open elements is an optgroup + element, then act as if an end tag with the tag name "option" had + been seen. */ + $elements_in_stack = count($this->stack); + + if ($this->stack[$elements_in_stack - 1]->nodeName === 'option' && + $this->stack[$elements_in_stack - 2]->nodeName === 'optgroup' + ) { + $this->inSelect( + array( + 'name' => 'option', + 'type' => HTML5::ENDTAG + ) + ); + } + + /* If the current node is an optgroup element, then pop that node + from the stack of open elements. Otherwise, this is a parse error, + ignore the token. */ + if ($this->stack[$elements_in_stack - 1] === 'optgroup') { + array_pop($this->stack); + } + + /* An end tag token whose tag name is "option" */ + } elseif ($token['type'] === HTML5::ENDTAG && + $token['name'] === 'option' + ) { + /* If the current node is an option element, then pop that node + from the stack of open elements. Otherwise, this is a parse error, + ignore the token. */ + if (end($this->stack)->nodeName === 'option') { + array_pop($this->stack); + } + + /* An end tag whose tag name is "select" */ + } elseif ($token['type'] === HTML5::ENDTAG && + $token['name'] === 'select' + ) { + /* If the stack of open elements does not have an element in table + scope with the same tag name as the token, this is a parse error. + Ignore the token. (innerHTML case) */ + if (!$this->elementInScope($token['name'], true)) { + // w/e + + /* Otherwise: */ + } else { + /* Pop elements from the stack of open elements until a select + element has been popped from the stack. */ + while (true) { + $current = end($this->stack)->nodeName; + array_pop($this->stack); + + if ($current === 'select') { + break; + } + } + + /* Reset the insertion mode appropriately. */ + $this->resetInsertionMode(); + } + + /* A start tag whose tag name is "select" */ + } elseif ($token['name'] === 'select' && + $token['type'] === HTML5::STARTTAG + ) { + /* Parse error. Act as if the token had been an end tag with the + tag name "select" instead. */ + $this->inSelect( + array( + 'name' => 'select', + 'type' => HTML5::ENDTAG + ) + ); + + /* An end tag whose tag name is one of: "caption", "table", "tbody", + "tfoot", "thead", "tr", "td", "th" */ + } elseif (in_array( + $token['name'], + array( + 'caption', + 'table', + 'tbody', + 'tfoot', + 'thead', + 'tr', + 'td', + 'th' + ) + ) && $token['type'] === HTML5::ENDTAG + ) { + /* Parse error. */ + // w/e + + /* If the stack of open elements has an element in table scope with + the same tag name as that of the token, then act as if an end tag + with the tag name "select" had been seen, and reprocess the token. + Otherwise, ignore the token. */ + if ($this->elementInScope($token['name'], true)) { + $this->inSelect( + array( + 'name' => 'select', + 'type' => HTML5::ENDTAG + ) + ); + + $this->mainPhase($token); + } + + /* Anything else */ + } else { + /* Parse error. Ignore the token. */ + } + } + + private function afterBody($token) + { + /* Handle the token as follows: */ + + /* A character token that is one of one of U+0009 CHARACTER TABULATION, + U+000A LINE FEED (LF), U+000B LINE TABULATION, U+000C FORM FEED (FF), + or U+0020 SPACE */ + if ($token['type'] === HTML5::CHARACTR && + preg_match('/^[\t\n\x0b\x0c ]+$/', $token['data']) + ) { + /* Process the token as it would be processed if the insertion mode + was "in body". */ + $this->inBody($token); + + /* A comment token */ + } elseif ($token['type'] === HTML5::COMMENT) { + /* Append a Comment node to the first element in the stack of open + elements (the html element), with the data attribute set to the + data given in the comment token. */ + $comment = $this->dom->createComment($token['data']); + $this->stack[0]->appendChild($comment); + + /* An end tag with the tag name "html" */ + } elseif ($token['type'] === HTML5::ENDTAG && $token['name'] === 'html') { + /* If the parser was originally created in order to handle the + setting of an element's innerHTML attribute, this is a parse error; + ignore the token. (The element will be an html element in this + case.) (innerHTML case) */ + + /* Otherwise, switch to the trailing end phase. */ + $this->phase = self::END_PHASE; + + /* Anything else */ + } else { + /* Parse error. Set the insertion mode to "in body" and reprocess + the token. */ + $this->mode = self::IN_BODY; + return $this->inBody($token); + } + } + + private function inFrameset($token) + { + /* Handle the token as follows: */ + + /* A character token that is one of one of U+0009 CHARACTER TABULATION, + U+000A LINE FEED (LF), U+000B LINE TABULATION, U+000C FORM FEED (FF), + U+000D CARRIAGE RETURN (CR), or U+0020 SPACE */ + if ($token['type'] === HTML5::CHARACTR && + preg_match('/^[\t\n\x0b\x0c ]+$/', $token['data']) + ) { + /* Append the character to the current node. */ + $this->insertText($token['data']); + + /* A comment token */ + } elseif ($token['type'] === HTML5::COMMENT) { + /* Append a Comment node to the current node with the data + attribute set to the data given in the comment token. */ + $this->insertComment($token['data']); + + /* A start tag with the tag name "frameset" */ + } elseif ($token['name'] === 'frameset' && + $token['type'] === HTML5::STARTTAG + ) { + $this->insertElement($token); + + /* An end tag with the tag name "frameset" */ + } elseif ($token['name'] === 'frameset' && + $token['type'] === HTML5::ENDTAG + ) { + /* If the current node is the root html element, then this is a + parse error; ignore the token. (innerHTML case) */ + if (end($this->stack)->nodeName === 'html') { + // Ignore + + } else { + /* Otherwise, pop the current node from the stack of open + elements. */ + array_pop($this->stack); + + /* If the parser was not originally created in order to handle + the setting of an element's innerHTML attribute (innerHTML case), + and the current node is no longer a frameset element, then change + the insertion mode to "after frameset". */ + $this->mode = self::AFTR_FRAME; + } + + /* A start tag with the tag name "frame" */ + } elseif ($token['name'] === 'frame' && + $token['type'] === HTML5::STARTTAG + ) { + /* Insert an HTML element for the token. */ + $this->insertElement($token); + + /* Immediately pop the current node off the stack of open elements. */ + array_pop($this->stack); + + /* A start tag with the tag name "noframes" */ + } elseif ($token['name'] === 'noframes' && + $token['type'] === HTML5::STARTTAG + ) { + /* Process the token as if the insertion mode had been "in body". */ + $this->inBody($token); + + /* Anything else */ + } else { + /* Parse error. Ignore the token. */ + } + } + + private function afterFrameset($token) + { + /* Handle the token as follows: */ + + /* A character token that is one of one of U+0009 CHARACTER TABULATION, + U+000A LINE FEED (LF), U+000B LINE TABULATION, U+000C FORM FEED (FF), + U+000D CARRIAGE RETURN (CR), or U+0020 SPACE */ + if ($token['type'] === HTML5::CHARACTR && + preg_match('/^[\t\n\x0b\x0c ]+$/', $token['data']) + ) { + /* Append the character to the current node. */ + $this->insertText($token['data']); + + /* A comment token */ + } elseif ($token['type'] === HTML5::COMMENT) { + /* Append a Comment node to the current node with the data + attribute set to the data given in the comment token. */ + $this->insertComment($token['data']); + + /* An end tag with the tag name "html" */ + } elseif ($token['name'] === 'html' && + $token['type'] === HTML5::ENDTAG + ) { + /* Switch to the trailing end phase. */ + $this->phase = self::END_PHASE; + + /* A start tag with the tag name "noframes" */ + } elseif ($token['name'] === 'noframes' && + $token['type'] === HTML5::STARTTAG + ) { + /* Process the token as if the insertion mode had been "in body". */ + $this->inBody($token); + + /* Anything else */ + } else { + /* Parse error. Ignore the token. */ + } + } + + private function trailingEndPhase($token) + { + /* After the main phase, as each token is emitted from the tokenisation + stage, it must be processed as described in this section. */ + + /* A DOCTYPE token */ + if ($token['type'] === HTML5::DOCTYPE) { + // Parse error. Ignore the token. + + /* A comment token */ + } elseif ($token['type'] === HTML5::COMMENT) { + /* Append a Comment node to the Document object with the data + attribute set to the data given in the comment token. */ + $comment = $this->dom->createComment($token['data']); + $this->dom->appendChild($comment); + + /* A character token that is one of one of U+0009 CHARACTER TABULATION, + U+000A LINE FEED (LF), U+000B LINE TABULATION, U+000C FORM FEED (FF), + or U+0020 SPACE */ + } elseif ($token['type'] === HTML5::CHARACTR && + preg_match('/^[\t\n\x0b\x0c ]+$/', $token['data']) + ) { + /* Process the token as it would be processed in the main phase. */ + $this->mainPhase($token); + + /* A character token that is not one of U+0009 CHARACTER TABULATION, + U+000A LINE FEED (LF), U+000B LINE TABULATION, U+000C FORM FEED (FF), + or U+0020 SPACE. Or a start tag token. Or an end tag token. */ + } elseif (($token['type'] === HTML5::CHARACTR && + preg_match('/^[\t\n\x0b\x0c ]+$/', $token['data'])) || + $token['type'] === HTML5::STARTTAG || $token['type'] === HTML5::ENDTAG + ) { + /* Parse error. Switch back to the main phase and reprocess the + token. */ + $this->phase = self::MAIN_PHASE; + return $this->mainPhase($token); + + /* An end-of-file token */ + } elseif ($token['type'] === HTML5::EOF) { + /* OMG DONE!! */ + } + } + + private function insertElement($token, $append = true, $check = false) + { + // Proprietary workaround for libxml2's limitations with tag names + if ($check) { + // Slightly modified HTML5 tag-name modification, + // removing anything that's not an ASCII letter, digit, or hyphen + $token['name'] = preg_replace('/[^a-z0-9-]/i', '', $token['name']); + // Remove leading hyphens and numbers + $token['name'] = ltrim($token['name'], '-0..9'); + // In theory, this should ever be needed, but just in case + if ($token['name'] === '') { + $token['name'] = 'span'; + } // arbitrary generic choice + } + + $el = $this->dom->createElement($token['name']); + + foreach ($token['attr'] as $attr) { + if (!$el->hasAttribute($attr['name'])) { + $el->setAttribute($attr['name'], $attr['value']); + } + } + + $this->appendToRealParent($el); + $this->stack[] = $el; + + return $el; + } + + private function insertText($data) + { + $text = $this->dom->createTextNode($data); + $this->appendToRealParent($text); + } + + private function insertComment($data) + { + $comment = $this->dom->createComment($data); + $this->appendToRealParent($comment); + } + + private function appendToRealParent($node) + { + if ($this->foster_parent === null) { + end($this->stack)->appendChild($node); + + } elseif ($this->foster_parent !== null) { + /* If the foster parent element is the parent element of the + last table element in the stack of open elements, then the new + node must be inserted immediately before the last table element + in the stack of open elements in the foster parent element; + otherwise, the new node must be appended to the foster parent + element. */ + for ($n = count($this->stack) - 1; $n >= 0; $n--) { + if ($this->stack[$n]->nodeName === 'table' && + $this->stack[$n]->parentNode !== null + ) { + $table = $this->stack[$n]; + break; + } + } + + if (isset($table) && $this->foster_parent->isSameNode($table->parentNode)) { + $this->foster_parent->insertBefore($node, $table); + } else { + $this->foster_parent->appendChild($node); + } + + $this->foster_parent = null; + } + } + + private function elementInScope($el, $table = false) + { + if (is_array($el)) { + foreach ($el as $element) { + if ($this->elementInScope($element, $table)) { + return true; + } + } + + return false; + } + + $leng = count($this->stack); + + for ($n = 0; $n < $leng; $n++) { + /* 1. Initialise node to be the current node (the bottommost node of + the stack). */ + $node = $this->stack[$leng - 1 - $n]; + + if ($node->tagName === $el) { + /* 2. If node is the target node, terminate in a match state. */ + return true; + + } elseif ($node->tagName === 'table') { + /* 3. Otherwise, if node is a table element, terminate in a failure + state. */ + return false; + + } elseif ($table === true && in_array( + $node->tagName, + array( + 'caption', + 'td', + 'th', + 'button', + 'marquee', + 'object' + ) + ) + ) { + /* 4. Otherwise, if the algorithm is the "has an element in scope" + variant (rather than the "has an element in table scope" variant), + and node is one of the following, terminate in a failure state. */ + return false; + + } elseif ($node === $node->ownerDocument->documentElement) { + /* 5. Otherwise, if node is an html element (root element), terminate + in a failure state. (This can only happen if the node is the topmost + node of the stack of open elements, and prevents the next step from + being invoked if there are no more elements in the stack.) */ + return false; + } + + /* Otherwise, set node to the previous entry in the stack of open + elements and return to step 2. (This will never fail, since the loop + will always terminate in the previous step if the top of the stack + is reached.) */ + } + } + + private function reconstructActiveFormattingElements() + { + /* 1. If there are no entries in the list of active formatting elements, + then there is nothing to reconstruct; stop this algorithm. */ + $formatting_elements = count($this->a_formatting); + + if ($formatting_elements === 0) { + return false; + } + + /* 3. Let entry be the last (most recently added) element in the list + of active formatting elements. */ + $entry = end($this->a_formatting); + + /* 2. If the last (most recently added) entry in the list of active + formatting elements is a marker, or if it is an element that is in the + stack of open elements, then there is nothing to reconstruct; stop this + algorithm. */ + if ($entry === self::MARKER || in_array($entry, $this->stack, true)) { + return false; + } + + for ($a = $formatting_elements - 1; $a >= 0; true) { + /* 4. If there are no entries before entry in the list of active + formatting elements, then jump to step 8. */ + if ($a === 0) { + $step_seven = false; + break; + } + + /* 5. Let entry be the entry one earlier than entry in the list of + active formatting elements. */ + $a--; + $entry = $this->a_formatting[$a]; + + /* 6. If entry is neither a marker nor an element that is also in + thetack of open elements, go to step 4. */ + if ($entry === self::MARKER || in_array($entry, $this->stack, true)) { + break; + } + } + + while (true) { + /* 7. Let entry be the element one later than entry in the list of + active formatting elements. */ + if (isset($step_seven) && $step_seven === true) { + $a++; + $entry = $this->a_formatting[$a]; + } + + /* 8. Perform a shallow clone of the element entry to obtain clone. */ + $clone = $entry->cloneNode(); + + /* 9. Append clone to the current node and push it onto the stack + of open elements so that it is the new current node. */ + end($this->stack)->appendChild($clone); + $this->stack[] = $clone; + + /* 10. Replace the entry for entry in the list with an entry for + clone. */ + $this->a_formatting[$a] = $clone; + + /* 11. If the entry for clone in the list of active formatting + elements is not the last entry in the list, return to step 7. */ + if (end($this->a_formatting) !== $clone) { + $step_seven = true; + } else { + break; + } + } + } + + private function clearTheActiveFormattingElementsUpToTheLastMarker() + { + /* When the steps below require the UA to clear the list of active + formatting elements up to the last marker, the UA must perform the + following steps: */ + + while (true) { + /* 1. Let entry be the last (most recently added) entry in the list + of active formatting elements. */ + $entry = end($this->a_formatting); + + /* 2. Remove entry from the list of active formatting elements. */ + array_pop($this->a_formatting); + + /* 3. If entry was a marker, then stop the algorithm at this point. + The list has been cleared up to the last marker. */ + if ($entry === self::MARKER) { + break; + } + } + } + + private function generateImpliedEndTags($exclude = array()) + { + /* When the steps below require the UA to generate implied end tags, + then, if the current node is a dd element, a dt element, an li element, + a p element, a td element, a th element, or a tr element, the UA must + act as if an end tag with the respective tag name had been seen and + then generate implied end tags again. */ + $node = end($this->stack); + $elements = array_diff(array('dd', 'dt', 'li', 'p', 'td', 'th', 'tr'), $exclude); + + while (in_array(end($this->stack)->nodeName, $elements)) { + array_pop($this->stack); + } + } + + private function getElementCategory($node) + { + $name = $node->tagName; + if (in_array($name, $this->special)) { + return self::SPECIAL; + } elseif (in_array($name, $this->scoping)) { + return self::SCOPING; + } elseif (in_array($name, $this->formatting)) { + return self::FORMATTING; + } else { + return self::PHRASING; + } + } + + private function clearStackToTableContext($elements) + { + /* When the steps above require the UA to clear the stack back to a + table context, it means that the UA must, while the current node is not + a table element or an html element, pop elements from the stack of open + elements. If this causes any elements to be popped from the stack, then + this is a parse error. */ + while (true) { + $node = end($this->stack)->nodeName; + + if (in_array($node, $elements)) { + break; + } else { + array_pop($this->stack); + } + } + } + + private function resetInsertionMode() + { + /* 1. Let last be false. */ + $last = false; + $leng = count($this->stack); + + for ($n = $leng - 1; $n >= 0; $n--) { + /* 2. Let node be the last node in the stack of open elements. */ + $node = $this->stack[$n]; + + /* 3. If node is the first node in the stack of open elements, then + set last to true. If the element whose innerHTML attribute is being + set is neither a td element nor a th element, then set node to the + element whose innerHTML attribute is being set. (innerHTML case) */ + if ($this->stack[0]->isSameNode($node)) { + $last = true; + } + + /* 4. If node is a select element, then switch the insertion mode to + "in select" and abort these steps. (innerHTML case) */ + if ($node->nodeName === 'select') { + $this->mode = self::IN_SELECT; + break; + + /* 5. If node is a td or th element, then switch the insertion mode + to "in cell" and abort these steps. */ + } elseif ($node->nodeName === 'td' || $node->nodeName === 'th') { + $this->mode = self::IN_CELL; + break; + + /* 6. If node is a tr element, then switch the insertion mode to + "in row" and abort these steps. */ + } elseif ($node->nodeName === 'tr') { + $this->mode = self::IN_ROW; + break; + + /* 7. If node is a tbody, thead, or tfoot element, then switch the + insertion mode to "in table body" and abort these steps. */ + } elseif (in_array($node->nodeName, array('tbody', 'thead', 'tfoot'))) { + $this->mode = self::IN_TBODY; + break; + + /* 8. If node is a caption element, then switch the insertion mode + to "in caption" and abort these steps. */ + } elseif ($node->nodeName === 'caption') { + $this->mode = self::IN_CAPTION; + break; + + /* 9. If node is a colgroup element, then switch the insertion mode + to "in column group" and abort these steps. (innerHTML case) */ + } elseif ($node->nodeName === 'colgroup') { + $this->mode = self::IN_CGROUP; + break; + + /* 10. If node is a table element, then switch the insertion mode + to "in table" and abort these steps. */ + } elseif ($node->nodeName === 'table') { + $this->mode = self::IN_TABLE; + break; + + /* 11. If node is a head element, then switch the insertion mode + to "in body" ("in body"! not "in head"!) and abort these steps. + (innerHTML case) */ + } elseif ($node->nodeName === 'head') { + $this->mode = self::IN_BODY; + break; + + /* 12. If node is a body element, then switch the insertion mode to + "in body" and abort these steps. */ + } elseif ($node->nodeName === 'body') { + $this->mode = self::IN_BODY; + break; + + /* 13. If node is a frameset element, then switch the insertion + mode to "in frameset" and abort these steps. (innerHTML case) */ + } elseif ($node->nodeName === 'frameset') { + $this->mode = self::IN_FRAME; + break; + + /* 14. If node is an html element, then: if the head element + pointer is null, switch the insertion mode to "before head", + otherwise, switch the insertion mode to "after head". In either + case, abort these steps. (innerHTML case) */ + } elseif ($node->nodeName === 'html') { + $this->mode = ($this->head_pointer === null) + ? self::BEFOR_HEAD + : self::AFTER_HEAD; + + break; + + /* 15. If last is true, then set the insertion mode to "in body" + and abort these steps. (innerHTML case) */ + } elseif ($last) { + $this->mode = self::IN_BODY; + break; + } + } + } + + private function closeCell() + { + /* If the stack of open elements has a td or th element in table scope, + then act as if an end tag token with that tag name had been seen. */ + foreach (array('td', 'th') as $cell) { + if ($this->elementInScope($cell, true)) { + $this->inCell( + array( + 'name' => $cell, + 'type' => HTML5::ENDTAG + ) + ); + + break; + } + } + } + + public function save() + { + return $this->dom; + } +} diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Node.php b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Node.php new file mode 100755 index 0000000..3995fec --- /dev/null +++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Node.php @@ -0,0 +1,49 @@ +data = $data; + $this->line = $line; + $this->col = $col; + } + + public function toTokenPair() { + return array(new HTMLPurifier_Token_Comment($this->data, $this->line, $this->col), null); + } +} diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Node/Element.php b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Node/Element.php new file mode 100755 index 0000000..6cbf56d --- /dev/null +++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Node/Element.php @@ -0,0 +1,59 @@ + form or the form, i.e. + * is it a pair of start/end tokens or an empty token. + * @bool + */ + public $empty = false; + + public $endCol = null, $endLine = null, $endArmor = array(); + + public function __construct($name, $attr = array(), $line = null, $col = null, $armor = array()) { + $this->name = $name; + $this->attr = $attr; + $this->line = $line; + $this->col = $col; + $this->armor = $armor; + } + + public function toTokenPair() { + // XXX inefficiency here, normalization is not necessary + if ($this->empty) { + return array(new HTMLPurifier_Token_Empty($this->name, $this->attr, $this->line, $this->col, $this->armor), null); + } else { + $start = new HTMLPurifier_Token_Start($this->name, $this->attr, $this->line, $this->col, $this->armor); + $end = new HTMLPurifier_Token_End($this->name, array(), $this->endLine, $this->endCol, $this->endArmor); + //$end->start = $start; + return array($start, $end); + } + } +} + diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Node/Text.php b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Node/Text.php new file mode 100755 index 0000000..aec9166 --- /dev/null +++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Node/Text.php @@ -0,0 +1,54 @@ +data = $data; + $this->is_whitespace = $is_whitespace; + $this->line = $line; + $this->col = $col; + } + + public function toTokenPair() { + return array(new HTMLPurifier_Token_Text($this->data, $this->line, $this->col), null); + } +} + +// vim: et sw=4 sts=4 diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/PercentEncoder.php b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/PercentEncoder.php new file mode 100755 index 0000000..18c8bbb --- /dev/null +++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/PercentEncoder.php @@ -0,0 +1,111 @@ +preserve[$i] = true; + } + for ($i = 65; $i <= 90; $i++) { // upper-case + $this->preserve[$i] = true; + } + for ($i = 97; $i <= 122; $i++) { // lower-case + $this->preserve[$i] = true; + } + $this->preserve[45] = true; // Dash - + $this->preserve[46] = true; // Period . + $this->preserve[95] = true; // Underscore _ + $this->preserve[126]= true; // Tilde ~ + + // extra letters not to escape + if ($preserve !== false) { + for ($i = 0, $c = strlen($preserve); $i < $c; $i++) { + $this->preserve[ord($preserve[$i])] = true; + } + } + } + + /** + * Our replacement for urlencode, it encodes all non-reserved characters, + * as well as any extra characters that were instructed to be preserved. + * @note + * Assumes that the string has already been normalized, making any + * and all percent escape sequences valid. Percents will not be + * re-escaped, regardless of their status in $preserve + * @param string $string String to be encoded + * @return string Encoded string. + */ + public function encode($string) + { + $ret = ''; + for ($i = 0, $c = strlen($string); $i < $c; $i++) { + if ($string[$i] !== '%' && !isset($this->preserve[$int = ord($string[$i])])) { + $ret .= '%' . sprintf('%02X', $int); + } else { + $ret .= $string[$i]; + } + } + return $ret; + } + + /** + * Fix up percent-encoding by decoding unreserved characters and normalizing. + * @warning This function is affected by $preserve, even though the + * usual desired behavior is for this not to preserve those + * characters. Be careful when reusing instances of PercentEncoder! + * @param string $string String to normalize + * @return string + */ + public function normalize($string) + { + if ($string == '') { + return ''; + } + $parts = explode('%', $string); + $ret = array_shift($parts); + foreach ($parts as $part) { + $length = strlen($part); + if ($length < 2) { + $ret .= '%25' . $part; + continue; + } + $encoding = substr($part, 0, 2); + $text = substr($part, 2); + if (!ctype_xdigit($encoding)) { + $ret .= '%25' . $part; + continue; + } + $int = hexdec($encoding); + if (isset($this->preserve[$int])) { + $ret .= chr($int) . $text; + continue; + } + $encoding = strtoupper($encoding); + $ret .= '%' . $encoding . $text; + } + return $ret; + } +} + +// vim: et sw=4 sts=4 diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer.php b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer.php new file mode 100755 index 0000000..549e4ce --- /dev/null +++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer.php @@ -0,0 +1,218 @@ +getAll(); + $context = new HTMLPurifier_Context(); + $this->generator = new HTMLPurifier_Generator($config, $context); + } + + /** + * Main function that renders object or aspect of that object + * @note Parameters vary depending on printer + */ + // function render() {} + + /** + * Returns a start tag + * @param string $tag Tag name + * @param array $attr Attribute array + * @return string + */ + protected function start($tag, $attr = array()) + { + return $this->generator->generateFromToken( + new HTMLPurifier_Token_Start($tag, $attr ? $attr : array()) + ); + } + + /** + * Returns an end tag + * @param string $tag Tag name + * @return string + */ + protected function end($tag) + { + return $this->generator->generateFromToken( + new HTMLPurifier_Token_End($tag) + ); + } + + /** + * Prints a complete element with content inside + * @param string $tag Tag name + * @param string $contents Element contents + * @param array $attr Tag attributes + * @param bool $escape whether or not to escape contents + * @return string + */ + protected function element($tag, $contents, $attr = array(), $escape = true) + { + return $this->start($tag, $attr) . + ($escape ? $this->escape($contents) : $contents) . + $this->end($tag); + } + + /** + * @param string $tag + * @param array $attr + * @return string + */ + protected function elementEmpty($tag, $attr = array()) + { + return $this->generator->generateFromToken( + new HTMLPurifier_Token_Empty($tag, $attr) + ); + } + + /** + * @param string $text + * @return string + */ + protected function text($text) + { + return $this->generator->generateFromToken( + new HTMLPurifier_Token_Text($text) + ); + } + + /** + * Prints a simple key/value row in a table. + * @param string $name Key + * @param mixed $value Value + * @return string + */ + protected function row($name, $value) + { + if (is_bool($value)) { + $value = $value ? 'On' : 'Off'; + } + return + $this->start('tr') . "\n" . + $this->element('th', $name) . "\n" . + $this->element('td', $value) . "\n" . + $this->end('tr'); + } + + /** + * Escapes a string for HTML output. + * @param string $string String to escape + * @return string + */ + protected function escape($string) + { + $string = HTMLPurifier_Encoder::cleanUTF8($string); + $string = htmlspecialchars($string, ENT_COMPAT, 'UTF-8'); + return $string; + } + + /** + * Takes a list of strings and turns them into a single list + * @param string[] $array List of strings + * @param bool $polite Bool whether or not to add an end before the last + * @return string + */ + protected function listify($array, $polite = false) + { + if (empty($array)) { + return 'None'; + } + $ret = ''; + $i = count($array); + foreach ($array as $value) { + $i--; + $ret .= $value; + if ($i > 0 && !($polite && $i == 1)) { + $ret .= ', '; + } + if ($polite && $i == 1) { + $ret .= 'and '; + } + } + return $ret; + } + + /** + * Retrieves the class of an object without prefixes, as well as metadata + * @param object $obj Object to determine class of + * @param string $sec_prefix Further prefix to remove + * @return string + */ + protected function getClass($obj, $sec_prefix = '') + { + static $five = null; + if ($five === null) { + $five = version_compare(PHP_VERSION, '5', '>='); + } + $prefix = 'HTMLPurifier_' . $sec_prefix; + if (!$five) { + $prefix = strtolower($prefix); + } + $class = str_replace($prefix, '', get_class($obj)); + $lclass = strtolower($class); + $class .= '('; + switch ($lclass) { + case 'enum': + $values = array(); + foreach ($obj->valid_values as $value => $bool) { + $values[] = $value; + } + $class .= implode(', ', $values); + break; + case 'css_composite': + $values = array(); + foreach ($obj->defs as $def) { + $values[] = $this->getClass($def, $sec_prefix); + } + $class .= implode(', ', $values); + break; + case 'css_multiple': + $class .= $this->getClass($obj->single, $sec_prefix) . ', '; + $class .= $obj->max; + break; + case 'css_denyelementdecorator': + $class .= $this->getClass($obj->def, $sec_prefix) . ', '; + $class .= $obj->element; + break; + case 'css_importantdecorator': + $class .= $this->getClass($obj->def, $sec_prefix); + if ($obj->allow) { + $class .= ', !important'; + } + break; + } + $class .= ')'; + return $class; + } +} + +// vim: et sw=4 sts=4 diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/CSSDefinition.php b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/CSSDefinition.php new file mode 100755 index 0000000..29505fe --- /dev/null +++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/CSSDefinition.php @@ -0,0 +1,44 @@ +def = $config->getCSSDefinition(); + $ret = ''; + + $ret .= $this->start('div', array('class' => 'HTMLPurifier_Printer')); + $ret .= $this->start('table'); + + $ret .= $this->element('caption', 'Properties ($info)'); + + $ret .= $this->start('thead'); + $ret .= $this->start('tr'); + $ret .= $this->element('th', 'Property', array('class' => 'heavy')); + $ret .= $this->element('th', 'Definition', array('class' => 'heavy', 'style' => 'width:auto;')); + $ret .= $this->end('tr'); + $ret .= $this->end('thead'); + + ksort($this->def->info); + foreach ($this->def->info as $property => $obj) { + $name = $this->getClass($obj, 'AttrDef_'); + $ret .= $this->row($property, $name); + } + + $ret .= $this->end('table'); + $ret .= $this->end('div'); + + return $ret; + } +} + +// vim: et sw=4 sts=4 diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/ConfigForm.css b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/ConfigForm.css new file mode 100755 index 0000000..3ff1a88 --- /dev/null +++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/ConfigForm.css @@ -0,0 +1,10 @@ + +.hp-config {} + +.hp-config tbody th {text-align:right; padding-right:0.5em;} +.hp-config thead, .hp-config .namespace {background:#3C578C; color:#FFF;} +.hp-config .namespace th {text-align:center;} +.hp-config .verbose {display:none;} +.hp-config .controls {text-align:center;} + +/* vim: et sw=4 sts=4 */ diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/ConfigForm.js b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/ConfigForm.js new file mode 100755 index 0000000..cba00c9 --- /dev/null +++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/ConfigForm.js @@ -0,0 +1,5 @@ +function toggleWriteability(id_of_patient, checked) { + document.getElementById(id_of_patient).disabled = checked; +} + +// vim: et sw=4 sts=4 diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/ConfigForm.php b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/ConfigForm.php new file mode 100755 index 0000000..33ae113 --- /dev/null +++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/ConfigForm.php @@ -0,0 +1,451 @@ +docURL = $doc_url; + $this->name = $name; + $this->compress = $compress; + // initialize sub-printers + $this->fields[0] = new HTMLPurifier_Printer_ConfigForm_default(); + $this->fields[HTMLPurifier_VarParser::C_BOOL] = new HTMLPurifier_Printer_ConfigForm_bool(); + } + + /** + * Sets default column and row size for textareas in sub-printers + * @param $cols Integer columns of textarea, null to use default + * @param $rows Integer rows of textarea, null to use default + */ + public function setTextareaDimensions($cols = null, $rows = null) + { + if ($cols) { + $this->fields['default']->cols = $cols; + } + if ($rows) { + $this->fields['default']->rows = $rows; + } + } + + /** + * Retrieves styling, in case it is not accessible by webserver + */ + public static function getCSS() + { + return file_get_contents(HTMLPURIFIER_PREFIX . '/HTMLPurifier/Printer/ConfigForm.css'); + } + + /** + * Retrieves JavaScript, in case it is not accessible by webserver + */ + public static function getJavaScript() + { + return file_get_contents(HTMLPURIFIER_PREFIX . '/HTMLPurifier/Printer/ConfigForm.js'); + } + + /** + * Returns HTML output for a configuration form + * @param HTMLPurifier_Config|array $config Configuration object of current form state, or an array + * where [0] has an HTML namespace and [1] is being rendered. + * @param array|bool $allowed Optional namespace(s) and directives to restrict form to. + * @param bool $render_controls + * @return string + */ + public function render($config, $allowed = true, $render_controls = true) + { + if (is_array($config) && isset($config[0])) { + $gen_config = $config[0]; + $config = $config[1]; + } else { + $gen_config = $config; + } + + $this->config = $config; + $this->genConfig = $gen_config; + $this->prepareGenerator($gen_config); + + $allowed = HTMLPurifier_Config::getAllowedDirectivesForForm($allowed, $config->def); + $all = array(); + foreach ($allowed as $key) { + list($ns, $directive) = $key; + $all[$ns][$directive] = $config->get($ns . '.' . $directive); + } + + $ret = ''; + $ret .= $this->start('table', array('class' => 'hp-config')); + $ret .= $this->start('thead'); + $ret .= $this->start('tr'); + $ret .= $this->element('th', 'Directive', array('class' => 'hp-directive')); + $ret .= $this->element('th', 'Value', array('class' => 'hp-value')); + $ret .= $this->end('tr'); + $ret .= $this->end('thead'); + foreach ($all as $ns => $directives) { + $ret .= $this->renderNamespace($ns, $directives); + } + if ($render_controls) { + $ret .= $this->start('tbody'); + $ret .= $this->start('tr'); + $ret .= $this->start('td', array('colspan' => 2, 'class' => 'controls')); + $ret .= $this->elementEmpty('input', array('type' => 'submit', 'value' => 'Submit')); + $ret .= '[Reset]'; + $ret .= $this->end('td'); + $ret .= $this->end('tr'); + $ret .= $this->end('tbody'); + } + $ret .= $this->end('table'); + return $ret; + } + + /** + * Renders a single namespace + * @param $ns String namespace name + * @param array $directives array of directives to values + * @return string + */ + protected function renderNamespace($ns, $directives) + { + $ret = ''; + $ret .= $this->start('tbody', array('class' => 'namespace')); + $ret .= $this->start('tr'); + $ret .= $this->element('th', $ns, array('colspan' => 2)); + $ret .= $this->end('tr'); + $ret .= $this->end('tbody'); + $ret .= $this->start('tbody'); + foreach ($directives as $directive => $value) { + $ret .= $this->start('tr'); + $ret .= $this->start('th'); + if ($this->docURL) { + $url = str_replace('%s', urlencode("$ns.$directive"), $this->docURL); + $ret .= $this->start('a', array('href' => $url)); + } + $attr = array('for' => "{$this->name}:$ns.$directive"); + + // crop directive name if it's too long + if (!$this->compress || (strlen($directive) < $this->compress)) { + $directive_disp = $directive; + } else { + $directive_disp = substr($directive, 0, $this->compress - 2) . '...'; + $attr['title'] = $directive; + } + + $ret .= $this->element( + 'label', + $directive_disp, + // component printers must create an element with this id + $attr + ); + if ($this->docURL) { + $ret .= $this->end('a'); + } + $ret .= $this->end('th'); + + $ret .= $this->start('td'); + $def = $this->config->def->info["$ns.$directive"]; + if (is_int($def)) { + $allow_null = $def < 0; + $type = abs($def); + } else { + $type = $def->type; + $allow_null = isset($def->allow_null); + } + if (!isset($this->fields[$type])) { + $type = 0; + } // default + $type_obj = $this->fields[$type]; + if ($allow_null) { + $type_obj = new HTMLPurifier_Printer_ConfigForm_NullDecorator($type_obj); + } + $ret .= $type_obj->render($ns, $directive, $value, $this->name, array($this->genConfig, $this->config)); + $ret .= $this->end('td'); + $ret .= $this->end('tr'); + } + $ret .= $this->end('tbody'); + return $ret; + } + +} + +/** + * Printer decorator for directives that accept null + */ +class HTMLPurifier_Printer_ConfigForm_NullDecorator extends HTMLPurifier_Printer +{ + /** + * Printer being decorated + * @type HTMLPurifier_Printer + */ + protected $obj; + + /** + * @param HTMLPurifier_Printer $obj Printer to decorate + */ + public function __construct($obj) + { + parent::__construct(); + $this->obj = $obj; + } + + /** + * @param string $ns + * @param string $directive + * @param string $value + * @param string $name + * @param HTMLPurifier_Config|array $config + * @return string + */ + public function render($ns, $directive, $value, $name, $config) + { + if (is_array($config) && isset($config[0])) { + $gen_config = $config[0]; + $config = $config[1]; + } else { + $gen_config = $config; + } + $this->prepareGenerator($gen_config); + + $ret = ''; + $ret .= $this->start('label', array('for' => "$name:Null_$ns.$directive")); + $ret .= $this->element('span', "$ns.$directive:", array('class' => 'verbose')); + $ret .= $this->text(' Null/Disabled'); + $ret .= $this->end('label'); + $attr = array( + 'type' => 'checkbox', + 'value' => '1', + 'class' => 'null-toggle', + 'name' => "$name" . "[Null_$ns.$directive]", + 'id' => "$name:Null_$ns.$directive", + 'onclick' => "toggleWriteability('$name:$ns.$directive',checked)" // INLINE JAVASCRIPT!!!! + ); + if ($this->obj instanceof HTMLPurifier_Printer_ConfigForm_bool) { + // modify inline javascript slightly + $attr['onclick'] = + "toggleWriteability('$name:Yes_$ns.$directive',checked);" . + "toggleWriteability('$name:No_$ns.$directive',checked)"; + } + if ($value === null) { + $attr['checked'] = 'checked'; + } + $ret .= $this->elementEmpty('input', $attr); + $ret .= $this->text(' or '); + $ret .= $this->elementEmpty('br'); + $ret .= $this->obj->render($ns, $directive, $value, $name, array($gen_config, $config)); + return $ret; + } +} + +/** + * Swiss-army knife configuration form field printer + */ +class HTMLPurifier_Printer_ConfigForm_default extends HTMLPurifier_Printer +{ + /** + * @type int + */ + public $cols = 18; + + /** + * @type int + */ + public $rows = 5; + + /** + * @param string $ns + * @param string $directive + * @param string $value + * @param string $name + * @param HTMLPurifier_Config|array $config + * @return string + */ + public function render($ns, $directive, $value, $name, $config) + { + if (is_array($config) && isset($config[0])) { + $gen_config = $config[0]; + $config = $config[1]; + } else { + $gen_config = $config; + } + $this->prepareGenerator($gen_config); + // this should probably be split up a little + $ret = ''; + $def = $config->def->info["$ns.$directive"]; + if (is_int($def)) { + $type = abs($def); + } else { + $type = $def->type; + } + if (is_array($value)) { + switch ($type) { + case HTMLPurifier_VarParser::LOOKUP: + $array = $value; + $value = array(); + foreach ($array as $val => $b) { + $value[] = $val; + } + //TODO does this need a break? + case HTMLPurifier_VarParser::ALIST: + $value = implode(PHP_EOL, $value); + break; + case HTMLPurifier_VarParser::HASH: + $nvalue = ''; + foreach ($value as $i => $v) { + if (is_array($v)) { + // HACK + $v = implode(";", $v); + } + $nvalue .= "$i:$v" . PHP_EOL; + } + $value = $nvalue; + break; + default: + $value = ''; + } + } + if ($type === HTMLPurifier_VarParser::C_MIXED) { + return 'Not supported'; + $value = serialize($value); + } + $attr = array( + 'name' => "$name" . "[$ns.$directive]", + 'id' => "$name:$ns.$directive" + ); + if ($value === null) { + $attr['disabled'] = 'disabled'; + } + if (isset($def->allowed)) { + $ret .= $this->start('select', $attr); + foreach ($def->allowed as $val => $b) { + $attr = array(); + if ($value == $val) { + $attr['selected'] = 'selected'; + } + $ret .= $this->element('option', $val, $attr); + } + $ret .= $this->end('select'); + } elseif ($type === HTMLPurifier_VarParser::TEXT || + $type === HTMLPurifier_VarParser::ITEXT || + $type === HTMLPurifier_VarParser::ALIST || + $type === HTMLPurifier_VarParser::HASH || + $type === HTMLPurifier_VarParser::LOOKUP) { + $attr['cols'] = $this->cols; + $attr['rows'] = $this->rows; + $ret .= $this->start('textarea', $attr); + $ret .= $this->text($value); + $ret .= $this->end('textarea'); + } else { + $attr['value'] = $value; + $attr['type'] = 'text'; + $ret .= $this->elementEmpty('input', $attr); + } + return $ret; + } +} + +/** + * Bool form field printer + */ +class HTMLPurifier_Printer_ConfigForm_bool extends HTMLPurifier_Printer +{ + /** + * @param string $ns + * @param string $directive + * @param string $value + * @param string $name + * @param HTMLPurifier_Config|array $config + * @return string + */ + public function render($ns, $directive, $value, $name, $config) + { + if (is_array($config) && isset($config[0])) { + $gen_config = $config[0]; + $config = $config[1]; + } else { + $gen_config = $config; + } + $this->prepareGenerator($gen_config); + $ret = ''; + $ret .= $this->start('div', array('id' => "$name:$ns.$directive")); + + $ret .= $this->start('label', array('for' => "$name:Yes_$ns.$directive")); + $ret .= $this->element('span', "$ns.$directive:", array('class' => 'verbose')); + $ret .= $this->text(' Yes'); + $ret .= $this->end('label'); + + $attr = array( + 'type' => 'radio', + 'name' => "$name" . "[$ns.$directive]", + 'id' => "$name:Yes_$ns.$directive", + 'value' => '1' + ); + if ($value === true) { + $attr['checked'] = 'checked'; + } + if ($value === null) { + $attr['disabled'] = 'disabled'; + } + $ret .= $this->elementEmpty('input', $attr); + + $ret .= $this->start('label', array('for' => "$name:No_$ns.$directive")); + $ret .= $this->element('span', "$ns.$directive:", array('class' => 'verbose')); + $ret .= $this->text(' No'); + $ret .= $this->end('label'); + + $attr = array( + 'type' => 'radio', + 'name' => "$name" . "[$ns.$directive]", + 'id' => "$name:No_$ns.$directive", + 'value' => '0' + ); + if ($value === false) { + $attr['checked'] = 'checked'; + } + if ($value === null) { + $attr['disabled'] = 'disabled'; + } + $ret .= $this->elementEmpty('input', $attr); + + $ret .= $this->end('div'); + + return $ret; + } +} + +// vim: et sw=4 sts=4 diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/HTMLDefinition.php b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/HTMLDefinition.php new file mode 100755 index 0000000..ae86391 --- /dev/null +++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Printer/HTMLDefinition.php @@ -0,0 +1,324 @@ +config =& $config; + + $this->def = $config->getHTMLDefinition(); + + $ret .= $this->start('div', array('class' => 'HTMLPurifier_Printer')); + + $ret .= $this->renderDoctype(); + $ret .= $this->renderEnvironment(); + $ret .= $this->renderContentSets(); + $ret .= $this->renderInfo(); + + $ret .= $this->end('div'); + + return $ret; + } + + /** + * Renders the Doctype table + * @return string + */ + protected function renderDoctype() + { + $doctype = $this->def->doctype; + $ret = ''; + $ret .= $this->start('table'); + $ret .= $this->element('caption', 'Doctype'); + $ret .= $this->row('Name', $doctype->name); + $ret .= $this->row('XML', $doctype->xml ? 'Yes' : 'No'); + $ret .= $this->row('Default Modules', implode(', ', $doctype->modules)); + $ret .= $this->row('Default Tidy Modules', implode(', ', $doctype->tidyModules)); + $ret .= $this->end('table'); + return $ret; + } + + + /** + * Renders environment table, which is miscellaneous info + * @return string + */ + protected function renderEnvironment() + { + $def = $this->def; + + $ret = ''; + + $ret .= $this->start('table'); + $ret .= $this->element('caption', 'Environment'); + + $ret .= $this->row('Parent of fragment', $def->info_parent); + $ret .= $this->renderChildren($def->info_parent_def->child); + $ret .= $this->row('Block wrap name', $def->info_block_wrapper); + + $ret .= $this->start('tr'); + $ret .= $this->element('th', 'Global attributes'); + $ret .= $this->element('td', $this->listifyAttr($def->info_global_attr), null, 0); + $ret .= $this->end('tr'); + + $ret .= $this->start('tr'); + $ret .= $this->element('th', 'Tag transforms'); + $list = array(); + foreach ($def->info_tag_transform as $old => $new) { + $new = $this->getClass($new, 'TagTransform_'); + $list[] = "<$old> with $new"; + } + $ret .= $this->element('td', $this->listify($list)); + $ret .= $this->end('tr'); + + $ret .= $this->start('tr'); + $ret .= $this->element('th', 'Pre-AttrTransform'); + $ret .= $this->element('td', $this->listifyObjectList($def->info_attr_transform_pre)); + $ret .= $this->end('tr'); + + $ret .= $this->start('tr'); + $ret .= $this->element('th', 'Post-AttrTransform'); + $ret .= $this->element('td', $this->listifyObjectList($def->info_attr_transform_post)); + $ret .= $this->end('tr'); + + $ret .= $this->end('table'); + return $ret; + } + + /** + * Renders the Content Sets table + * @return string + */ + protected function renderContentSets() + { + $ret = ''; + $ret .= $this->start('table'); + $ret .= $this->element('caption', 'Content Sets'); + foreach ($this->def->info_content_sets as $name => $lookup) { + $ret .= $this->heavyHeader($name); + $ret .= $this->start('tr'); + $ret .= $this->element('td', $this->listifyTagLookup($lookup)); + $ret .= $this->end('tr'); + } + $ret .= $this->end('table'); + return $ret; + } + + /** + * Renders the Elements ($info) table + * @return string + */ + protected function renderInfo() + { + $ret = ''; + $ret .= $this->start('table'); + $ret .= $this->element('caption', 'Elements ($info)'); + ksort($this->def->info); + $ret .= $this->heavyHeader('Allowed tags', 2); + $ret .= $this->start('tr'); + $ret .= $this->element('td', $this->listifyTagLookup($this->def->info), array('colspan' => 2)); + $ret .= $this->end('tr'); + foreach ($this->def->info as $name => $def) { + $ret .= $this->start('tr'); + $ret .= $this->element('th', "<$name>", array('class' => 'heavy', 'colspan' => 2)); + $ret .= $this->end('tr'); + $ret .= $this->start('tr'); + $ret .= $this->element('th', 'Inline content'); + $ret .= $this->element('td', $def->descendants_are_inline ? 'Yes' : 'No'); + $ret .= $this->end('tr'); + if (!empty($def->excludes)) { + $ret .= $this->start('tr'); + $ret .= $this->element('th', 'Excludes'); + $ret .= $this->element('td', $this->listifyTagLookup($def->excludes)); + $ret .= $this->end('tr'); + } + if (!empty($def->attr_transform_pre)) { + $ret .= $this->start('tr'); + $ret .= $this->element('th', 'Pre-AttrTransform'); + $ret .= $this->element('td', $this->listifyObjectList($def->attr_transform_pre)); + $ret .= $this->end('tr'); + } + if (!empty($def->attr_transform_post)) { + $ret .= $this->start('tr'); + $ret .= $this->element('th', 'Post-AttrTransform'); + $ret .= $this->element('td', $this->listifyObjectList($def->attr_transform_post)); + $ret .= $this->end('tr'); + } + if (!empty($def->auto_close)) { + $ret .= $this->start('tr'); + $ret .= $this->element('th', 'Auto closed by'); + $ret .= $this->element('td', $this->listifyTagLookup($def->auto_close)); + $ret .= $this->end('tr'); + } + $ret .= $this->start('tr'); + $ret .= $this->element('th', 'Allowed attributes'); + $ret .= $this->element('td', $this->listifyAttr($def->attr), array(), 0); + $ret .= $this->end('tr'); + + if (!empty($def->required_attr)) { + $ret .= $this->row('Required attributes', $this->listify($def->required_attr)); + } + + $ret .= $this->renderChildren($def->child); + } + $ret .= $this->end('table'); + return $ret; + } + + /** + * Renders a row describing the allowed children of an element + * @param HTMLPurifier_ChildDef $def HTMLPurifier_ChildDef of pertinent element + * @return string + */ + protected function renderChildren($def) + { + $context = new HTMLPurifier_Context(); + $ret = ''; + $ret .= $this->start('tr'); + $elements = array(); + $attr = array(); + if (isset($def->elements)) { + if ($def->type == 'strictblockquote') { + $def->validateChildren(array(), $this->config, $context); + } + $elements = $def->elements; + } + if ($def->type == 'chameleon') { + $attr['rowspan'] = 2; + } elseif ($def->type == 'empty') { + $elements = array(); + } elseif ($def->type == 'table') { + $elements = array_flip( + array( + 'col', + 'caption', + 'colgroup', + 'thead', + 'tfoot', + 'tbody', + 'tr' + ) + ); + } + $ret .= $this->element('th', 'Allowed children', $attr); + + if ($def->type == 'chameleon') { + + $ret .= $this->element( + 'td', + 'Block: ' . + $this->escape($this->listifyTagLookup($def->block->elements)), + null, + 0 + ); + $ret .= $this->end('tr'); + $ret .= $this->start('tr'); + $ret .= $this->element( + 'td', + 'Inline: ' . + $this->escape($this->listifyTagLookup($def->inline->elements)), + null, + 0 + ); + + } elseif ($def->type == 'custom') { + + $ret .= $this->element( + 'td', + '' . ucfirst($def->type) . ': ' . + $def->dtd_regex + ); + + } else { + $ret .= $this->element( + 'td', + '' . ucfirst($def->type) . ': ' . + $this->escape($this->listifyTagLookup($elements)), + null, + 0 + ); + } + $ret .= $this->end('tr'); + return $ret; + } + + /** + * Listifies a tag lookup table. + * @param array $array Tag lookup array in form of array('tagname' => true) + * @return string + */ + protected function listifyTagLookup($array) + { + ksort($array); + $list = array(); + foreach ($array as $name => $discard) { + if ($name !== '#PCDATA' && !isset($this->def->info[$name])) { + continue; + } + $list[] = $name; + } + return $this->listify($list); + } + + /** + * Listifies a list of objects by retrieving class names and internal state + * @param array $array List of objects + * @return string + * @todo Also add information about internal state + */ + protected function listifyObjectList($array) + { + ksort($array); + $list = array(); + foreach ($array as $obj) { + $list[] = $this->getClass($obj, 'AttrTransform_'); + } + return $this->listify($list); + } + + /** + * Listifies a hash of attributes to AttrDef classes + * @param array $array Array hash in form of array('attrname' => HTMLPurifier_AttrDef) + * @return string + */ + protected function listifyAttr($array) + { + ksort($array); + $list = array(); + foreach ($array as $name => $obj) { + if ($obj === false) { + continue; + } + $list[] = "$name = " . $this->getClass($obj, 'AttrDef_') . ''; + } + return $this->listify($list); + } + + /** + * Creates a heavy header row + * @param string $text + * @param int $num + * @return string + */ + protected function heavyHeader($text, $num = 1) + { + $ret = ''; + $ret .= $this->start('tr'); + $ret .= $this->element('th', $text, array('colspan' => $num, 'class' => 'heavy')); + $ret .= $this->end('tr'); + return $ret; + } +} + +// vim: et sw=4 sts=4 diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/PropertyList.php b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/PropertyList.php new file mode 100755 index 0000000..189348f --- /dev/null +++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/PropertyList.php @@ -0,0 +1,122 @@ +parent = $parent; + } + + /** + * Recursively retrieves the value for a key + * @param string $name + * @throws HTMLPurifier_Exception + */ + public function get($name) + { + if ($this->has($name)) { + return $this->data[$name]; + } + // possible performance bottleneck, convert to iterative if necessary + if ($this->parent) { + return $this->parent->get($name); + } + throw new HTMLPurifier_Exception("Key '$name' not found"); + } + + /** + * Sets the value of a key, for this plist + * @param string $name + * @param mixed $value + */ + public function set($name, $value) + { + $this->data[$name] = $value; + } + + /** + * Returns true if a given key exists + * @param string $name + * @return bool + */ + public function has($name) + { + return array_key_exists($name, $this->data); + } + + /** + * Resets a value to the value of it's parent, usually the default. If + * no value is specified, the entire plist is reset. + * @param string $name + */ + public function reset($name = null) + { + if ($name == null) { + $this->data = array(); + } else { + unset($this->data[$name]); + } + } + + /** + * Squashes this property list and all of its property lists into a single + * array, and returns the array. This value is cached by default. + * @param bool $force If true, ignores the cache and regenerates the array. + * @return array + */ + public function squash($force = false) + { + if ($this->cache !== null && !$force) { + return $this->cache; + } + if ($this->parent) { + return $this->cache = array_merge($this->parent->squash($force), $this->data); + } else { + return $this->cache = $this->data; + } + } + + /** + * Returns the parent plist. + * @return HTMLPurifier_PropertyList + */ + public function getParent() + { + return $this->parent; + } + + /** + * Sets the parent plist. + * @param HTMLPurifier_PropertyList $plist Parent plist + */ + public function setParent($plist) + { + $this->parent = $plist; + } +} + +// vim: et sw=4 sts=4 diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/PropertyListIterator.php b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/PropertyListIterator.php new file mode 100755 index 0000000..15b330e --- /dev/null +++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/PropertyListIterator.php @@ -0,0 +1,42 @@ +l = strlen($filter); + $this->filter = $filter; + } + + /** + * @return bool + */ + public function accept() + { + $key = $this->getInnerIterator()->key(); + if (strncmp($key, $this->filter, $this->l) !== 0) { + return false; + } + return true; + } +} + +// vim: et sw=4 sts=4 diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Queue.php b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Queue.php new file mode 100755 index 0000000..f58db90 --- /dev/null +++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Queue.php @@ -0,0 +1,56 @@ +input = $input; + $this->output = array(); + } + + /** + * Shifts an element off the front of the queue. + */ + public function shift() { + if (empty($this->output)) { + $this->output = array_reverse($this->input); + $this->input = array(); + } + if (empty($this->output)) { + return NULL; + } + return array_pop($this->output); + } + + /** + * Pushes an element onto the front of the queue. + */ + public function push($x) { + array_push($this->input, $x); + } + + /** + * Checks if it's empty. + */ + public function isEmpty() { + return empty($this->input) && empty($this->output); + } +} diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy.php b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy.php new file mode 100755 index 0000000..e1ff3b7 --- /dev/null +++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy.php @@ -0,0 +1,26 @@ +strategies as $strategy) { + $tokens = $strategy->execute($tokens, $config, $context); + } + return $tokens; + } +} + +// vim: et sw=4 sts=4 diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/Core.php b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/Core.php new file mode 100755 index 0000000..4414c17 --- /dev/null +++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/Core.php @@ -0,0 +1,17 @@ +strategies[] = new HTMLPurifier_Strategy_RemoveForeignElements(); + $this->strategies[] = new HTMLPurifier_Strategy_MakeWellFormed(); + $this->strategies[] = new HTMLPurifier_Strategy_FixNesting(); + $this->strategies[] = new HTMLPurifier_Strategy_ValidateAttributes(); + } +} + +// vim: et sw=4 sts=4 diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/FixNesting.php b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/FixNesting.php new file mode 100755 index 0000000..6fa673d --- /dev/null +++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/FixNesting.php @@ -0,0 +1,181 @@ +getHTMLDefinition(); + + $excludes_enabled = !$config->get('Core.DisableExcludes'); + + // setup the context variable 'IsInline', for chameleon processing + // is 'false' when we are not inline, 'true' when it must always + // be inline, and an integer when it is inline for a certain + // branch of the document tree + $is_inline = $definition->info_parent_def->descendants_are_inline; + $context->register('IsInline', $is_inline); + + // setup error collector + $e =& $context->get('ErrorCollector', true); + + //####################################################################// + // Loop initialization + + // stack that contains all elements that are excluded + // it is organized by parent elements, similar to $stack, + // but it is only populated when an element with exclusions is + // processed, i.e. there won't be empty exclusions. + $exclude_stack = array($definition->info_parent_def->excludes); + + // variable that contains the start token while we are processing + // nodes. This enables error reporting to do its job + $node = $top_node; + // dummy token + list($token, $d) = $node->toTokenPair(); + $context->register('CurrentNode', $node); + $context->register('CurrentToken', $token); + + //####################################################################// + // Loop + + // We need to implement a post-order traversal iteratively, to + // avoid running into stack space limits. This is pretty tricky + // to reason about, so we just manually stack-ify the recursive + // variant: + // + // function f($node) { + // foreach ($node->children as $child) { + // f($child); + // } + // validate($node); + // } + // + // Thus, we will represent a stack frame as array($node, + // $is_inline, stack of children) + // e.g. array_reverse($node->children) - already processed + // children. + + $parent_def = $definition->info_parent_def; + $stack = array( + array($top_node, + $parent_def->descendants_are_inline, + $parent_def->excludes, // exclusions + 0) + ); + + while (!empty($stack)) { + list($node, $is_inline, $excludes, $ix) = array_pop($stack); + // recursive call + $go = false; + $def = empty($stack) ? $definition->info_parent_def : $definition->info[$node->name]; + while (isset($node->children[$ix])) { + $child = $node->children[$ix++]; + if ($child instanceof HTMLPurifier_Node_Element) { + $go = true; + $stack[] = array($node, $is_inline, $excludes, $ix); + $stack[] = array($child, + // ToDo: I don't think it matters if it's def or + // child_def, but double check this... + $is_inline || $def->descendants_are_inline, + empty($def->excludes) ? $excludes + : array_merge($excludes, $def->excludes), + 0); + break; + } + }; + if ($go) continue; + list($token, $d) = $node->toTokenPair(); + // base case + if ($excludes_enabled && isset($excludes[$node->name])) { + $node->dead = true; + if ($e) $e->send(E_ERROR, 'Strategy_FixNesting: Node excluded'); + } else { + // XXX I suppose it would be slightly more efficient to + // avoid the allocation here and have children + // strategies handle it + $children = array(); + foreach ($node->children as $child) { + if (!$child->dead) $children[] = $child; + } + $result = $def->child->validateChildren($children, $config, $context); + if ($result === true) { + // nop + $node->children = $children; + } elseif ($result === false) { + $node->dead = true; + if ($e) $e->send(E_ERROR, 'Strategy_FixNesting: Node removed'); + } else { + $node->children = $result; + if ($e) { + // XXX This will miss mutations of internal nodes. Perhaps defer to the child validators + if (empty($result) && !empty($children)) { + $e->send(E_ERROR, 'Strategy_FixNesting: Node contents removed'); + } else if ($result != $children) { + $e->send(E_WARNING, 'Strategy_FixNesting: Node reorganized'); + } + } + } + } + } + + //####################################################################// + // Post-processing + + // remove context variables + $context->destroy('IsInline'); + $context->destroy('CurrentNode'); + $context->destroy('CurrentToken'); + + //####################################################################// + // Return + + return HTMLPurifier_Arborize::flatten($node, $config, $context); + } +} + +// vim: et sw=4 sts=4 diff --git a/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/MakeWellFormed.php b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/MakeWellFormed.php new file mode 100755 index 0000000..a6eb09e --- /dev/null +++ b/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Strategy/MakeWellFormed.php @@ -0,0 +1,659 @@ +getHTMLDefinition(); + + // local variables + $generator = new HTMLPurifier_Generator($config, $context); + $escape_invalid_tags = $config->get('Core.EscapeInvalidTags'); + // used for autoclose early abortion + $global_parent_allowed_elements = $definition->info_parent_def->child->getAllowedElements($config); + $e = $context->get('ErrorCollector', true); + $i = false; // injector index + list($zipper, $token) = HTMLPurifier_Zipper::fromArray($tokens); + if ($token === NULL) { + return array(); + } + $reprocess = false; // whether or not to reprocess the same token + $stack = array(); + + // member variables + $this->stack =& $stack; + $this->tokens =& $tokens; + $this->token =& $token; + $this->zipper =& $zipper; + $this->config = $config; + $this->context = $context; + + // context variables + $context->register('CurrentNesting', $stack); + $context->register('InputZipper', $zipper); + $context->register('CurrentToken', $token); + + // -- begin INJECTOR -- + + $this->injectors = array(); + + $injectors = $config->getBatch('AutoFormat'); + $def_injectors = $definition->info_injector; + $custom_injectors = $injectors['Custom']; + unset($injectors['Custom']); // special case + foreach ($injectors as $injector => $b) { + // XXX: Fix with a legitimate lookup table of enabled filters + if (strpos($injector, '.') !== false) { + continue; + } + $injector = "HTMLPurifier_Injector_$injector"; + if (!$b) { + continue; + } + $this->injectors[] = new $injector; + } + foreach ($def_injectors as $injector) { + // assumed to be objects + $this->injectors[] = $injector; + } + foreach ($custom_injectors as $injector) { + if (!$injector) { + continue; + } + if (is_string($injector)) { + $injector = "HTMLPurifier_Injector_$injector"; + $injector = new $injector; + } + $this->injectors[] = $injector; + } + + // give the injectors references to the definition and context + // variables for performance reasons + foreach ($this->injectors as $ix => $injector) { + $error = $injector->prepare($config, $context); + if (!$error) { + continue; + } + array_splice($this->injectors, $ix, 1); // rm the injector + trigger_error("Cannot enable {$injector->name} injector because $error is not allowed", E_USER_WARNING); + } + + // -- end INJECTOR -- + + // a note on reprocessing: + // In order to reduce code duplication, whenever some code needs + // to make HTML changes in order to make things "correct", the + // new HTML gets sent through the purifier, regardless of its + // status. This means that if we add a start token, because it + // was totally necessary, we don't have to update nesting; we just + // punt ($reprocess = true; continue;) and it does that for us. + + // isset is in loop because $tokens size changes during loop exec + for (;; + // only increment if we don't need to reprocess + $reprocess ? $reprocess = false : $token = $zipper->next($token)) { + + // check for a rewind + if (is_int($i)) { + // possibility: disable rewinding if the current token has a + // rewind set on it already. This would offer protection from + // infinite loop, but might hinder some advanced rewinding. + $rewind_offset = $this->injectors[$i]->getRewindOffset(); + if (is_int($rewind_offset)) { + for ($j = 0; $j < $rewind_offset; $j++) { + if (empty($zipper->front)) break; + $token = $zipper->prev($token); + // indicate that other injectors should not process this token, + // but we need to reprocess it. See Note [Injector skips] + unset($token->skip[$i]); + $token->rewind = $i; + if ($token instanceof HTMLPurifier_Token_Start) { + array_pop($this->stack); + } elseif ($token instanceof HTMLPurifier_Token_End) { + $this->stack[] = $token->start; + } + } + } + $i = false; + } + + // handle case of document end + if ($token === NULL) { + // kill processing if stack is empty + if (empty($this->stack)) { + break; + } + + // peek + $top_nesting = array_pop($this->stack); + $this->stack[] = $top_nesting; + + // send error [TagClosedSuppress] + if ($e && !isset($top_nesting->armor['MakeWellFormed_TagClosedError'])) { + $e->send(E_NOTICE, 'Strategy_MakeWellFormed: Tag closed by document end', $top_nesting); + } + + // append, don't splice, since this is the end + $token = new HTMLPurifier_Token_End($top_nesting->name); + + // punt! + $reprocess = true; + continue; + } + + //echo '
    '; printZipper($zipper, $token);//printTokens($this->stack); + //flush(); + + // quick-check: if it's not a tag, no need to process + if (empty($token->is_tag)) { + if ($token instanceof HTMLPurifier_Token_Text) { + foreach ($this->injectors as $i => $injector) { + if (isset($token->skip[$i])) { + // See Note [Injector skips] + continue; + } + if ($token->rewind !== null && $token->rewind !== $i) { + continue; + } + // XXX fuckup + $r = $token; + $injector->handleText($r); + $token = $this->processToken($r, $i); + $reprocess = true; + break; + } + } + // another possibility is a comment + continue; + } + + if (isset($definition->info[$token->name])) { + $type = $definition->info[$token->name]->child->type; + } else { + $type = false; // Type is unknown, treat accordingly + } + + // quick tag checks: anything that's *not* an end tag + $ok = false; + if ($type === 'empty' && $token instanceof HTMLPurifier_Token_Start) { + // claims to be a start tag but is empty + $token = new HTMLPurifier_Token_Empty( + $token->name, + $token->attr, + $token->line, + $token->col, + $token->armor + ); + $ok = true; + } elseif ($type && $type !== 'empty' && $token instanceof HTMLPurifier_Token_Empty) { + // claims to be empty but really is a start tag + // NB: this assignment is required + $old_token = $token; + $token = new HTMLPurifier_Token_End($token->name); + $token = $this->insertBefore( + new HTMLPurifier_Token_Start($old_token->name, $old_token->attr, $old_token->line, $old_token->col, $old_token->armor) + ); + // punt (since we had to modify the input stream in a non-trivial way) + $reprocess = true; + continue; + } elseif ($token instanceof HTMLPurifier_Token_Empty) { + // real empty token + $ok = true; + } elseif ($token instanceof HTMLPurifier_Token_Start) { + // start tag + + // ...unless they also have to close their parent + if (!empty($this->stack)) { + + // Performance note: you might think that it's rather + // inefficient, recalculating the autoclose information + // for every tag that a token closes (since when we + // do an autoclose, we push a new token into the + // stream and then /process/ that, before + // re-processing this token.) But this is + // necessary, because an injector can make an + // arbitrary transformations to the autoclosing + // tokens we introduce, so things may have changed + // in the meantime. Also, doing the inefficient thing is + // "easy" to reason about (for certain perverse definitions + // of "easy") + + $parent = array_pop($this->stack); + $this->stack[] = $parent; + + $parent_def = null; + $parent_elements = null; + $autoclose = false; + if (isset($definition->info[$parent->name])) { + $parent_def = $definition->info[$parent->name]; + $parent_elements = $parent_def->child->getAllowedElements($config); + $autoclose = !isset($parent_elements[$token->name]); + } + + if ($autoclose && $definition->info[$token->name]->wrap) { + // Check if an element can be wrapped by another + // element to make it valid in a context (for + // example,